* lisp/isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
8370def5
JL
12012-12-15 Juri Linkov <juri@jurta.org>
2
3 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
4 (Bug#13175)
5
178fb95d
CS
62012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
7
8 * dired-x.el (dired-guess-shell-command): Put colon at the end of
9 the prompt. (Bug#13045)
10
a5f74442
GM
112012-12-14 Glenn Morris <rgm@gnu.org>
12
13 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
14 Try to include filename in non-bytecomp warning. (Bug#13132)
15
97976f9f
PE
162012-12-14 Paul Eggert <eggert@cs.ucla.edu>
17
18 Fix permissions bugs with setgid directories etc. (Bug#13125)
19 * files.el (backup-buffer): Don't rely on 9th output of
20 file-attributes, as it's now a placeholder. Instead, use the new
21 optional arg of file-ownership-preserved-p.
22 (file-ownership-preserved-p): New optional arg GROUP.
23 Fix mishandling of setuid directories that would cause this
24 function to return t when it should have returned nil.
25 Document what happens if the file does not exist, and when
26 it's not known whether the ownership will be preserved.
27 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
28 Likewise.
29 (tramp-get-local-gid): Use group-gid for integer, as that's
30 faster and more reliable.
31
016b2a42
JD
322012-12-14 Julien Danjou <julien@danjou.info>
33
34 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords): Update
35 keywords list, data type and PL/pgSQL.
36
665e5e07
DA
372012-12-14 Dave Abrahams <dave@boostpro.com>
38
39 * vc/ediff-util.el (ediff-buffer-type): New function.
40 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
41 rather than taking it as as argument.
42 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
43
d72e9e92
RC
442012-12-14 Ryan Crum <ryan.crum@eleostech.com>
45
46 * json.el: Add pretty-print option (bug#12634).
47 (json-encoding-separator, json-encoding-default-indentation)
48 (json--encoding-current-indentation, json-encoding-pretty-print)
49 (json-encoding-lisp-style-closings): New vars.
50 (json--with-indentation): New macro.
51 (json-encode-hash-table, json-encode-alist, json-encode-plist)
52 (json-encode-array): Use it to obey json-encoding-pretty-print.
53 (json-pretty-print-buffer, json-pretty-print): New commands.
54
dbb530d9
DG
552012-12-14 Dmitry Gutov <dgutov@yandex.ru>
56
57 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
58 Extract `ruby-syntax-propertize-expansions'.
59 (ruby-syntax-propertize-expansions): Only change syntax on
60 certain string delimiters, to punctuation. This way the common
61 functions like forward-word and thing-at-point still work.
62 (ruby-match-expression-expansion): Improve readability.
bb808526
DG
63 (ruby-block-contains-point): New function.
64 (ruby-add-log-current-method): Handle several edge cases.
dbb530d9 65
ce0440ff
JB
662012-12-13 Juanma Barranquero <lekktu@gmail.com>
67
68 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
69 unload-feature finishes even when aborting an ongoing edebug session.
70 Also, do not worry about edebug-mode, unload-feature takes care of it.
71
f10331bf
AS
722012-12-13 Andreas Schwab <schwab@suse.de>
73
74 * net/tls.el (tls-program): Update customize type.
75
5f3a3bb1
JB
762012-12-13 Juanma Barranquero <lekktu@gmail.com>
77
78 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
79 (edebug-setup-hook, cl-read-load-hooks): Use it.
80 (edebug-unload-function): New function. (Bug#13163)
81
6ce21463
MA
822012-12-13 Michael Albinus <michael.albinus@gmx.de>
83
84 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
85 Otherwise, there could be errors in autoloading. (Bug#13151)
86
d754b364
JH
872012-12-13 Jürgen Hötzel <juergen@archlinux.org>
88
89 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
90 sequences.
91
727f9739 922012-12-13 Alan Mackenzie <acm@muc.de>
14b8c3d9
AM
93
94 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
95 * progmodes/cc-engine.el (c-backward-comments): Add code to work
96 around `forward-comment' not recognizing ^M as whitespace.
97
727f9739 982012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2c43a9ad
FEG
99
100 * progmodes/python.el (python-skeleton-class)
101 (python-skeleton-def): Do not add space after defun name.
102
eb8006c6
SM
1032012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
104
105 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
106 (cl--symbol-function): Remove (now that funbound is like nil).
107
4c74b1e4
GM
1082012-12-12 Glenn Morris <rgm@gnu.org>
109
110 * button.el (button--area-button-p): Fix typo.
111
37f38bca
SS
1122012-12-12 Sam Steingold <sds@gnu.org>
113
114 * frame.el (frame-maximization-style): New user option.
115 (toggle-frame-maximized): Toggle frame maximization according to
116 `frame-maximization-style', bound to <f11>.
117 (cycle-frame-maximized): Cycle between all maximization styles and
118 non-maximized frame, bound to shift-<f11>.
119
fd49a218
DC
1202012-12-12 David Cadé <codename68@gmail.com>
121
122 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
123
69e1c203
JB
1242012-12-12 Jonas Bernoulli <jonas@bernoul.li>
125
126 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
127 (eieio-override-prin1): Don't quote kewords and booleans.
128 (object-write) <eieio-default-superclass>: Don't put closing parens
129 on new line, avoid needless empty lines, align values that are objects
130 with the slot keyword (instead of beginning on the same line).
131 (eieio-list-prin1): Align value with slot keyword; increase
132 eieio-print-depth before printing members of the list.
133
4b0df848
SM
1342012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
135
030f4af5
SM
136 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
137 a display text-property.
138 (report-emacs-bug-hook): Don't bother deleting it any more.
139
6ac1f8ca
SM
140 * hilit-chg.el (highlight-save-buffer-state): Delete.
141 Use with-silent-modifications instead.
142 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
143
4b0df848
SM
144 * button.el: Handle buttons in display text-properties.
145 (button--area-button-p, button--area-button-string):
146 Use (STRING . STRING-POS) representation instead of just STRING.
147
d46d2d3a
EZ
1482012-12-11 Eli Zaretskii <eliz@gnu.org>
149
150 * makefile.w32-in (compile4-SH): Fix a typo that caused term
151 subdirectory be skipped.
152
a0099d31
GM
1532012-12-11 Glenn Morris <rgm@gnu.org>
154
36327e4f
GM
155 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
156
a0099d31
GM
157 * progmodes/f90.el (f90-line-continued, f90-indent-region):
158 Treat preprocessor lines embedded in continuations like comments.
159 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
160
ff3f6c26
JB
1612012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
162
163 * calc/calc.el (calc-standard-date-formats): Add more date
164 formats.
165 * calc/calc-forms.el (math-parse-iso-date): New function.
166 (math-parse-date): Use `math-parse-iso-date' when appropriate.
167 (math-parse-iso-date-validate): Add extra error checking.
168 (calc-date-notation): Add ability to access new date formats.
169
ed6f2cd4
SM
1702012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
171
172 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
173 font-lock as well as when there's no text-property.
174
c868b919
J
1752012-12-10 Jambunathan K <kjambunathan@gmail.com>
176
177 * hi-lock.el: Refine the choice of default face.
178 (hi-lock-keyword->face): New function. Use it wherever we used
179 cadadadr instead.
180 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
181 (hi-lock--last-face): Remove var.
182 (hi-lock--unused-faces): New var to replace it.
183 (hi-lock-read-face-name): Use/maintain it.
184 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
185 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
186 if it has another face.
187
2b8c9064
EZ
1882012-12-10 Eli Zaretskii <eliz@gnu.org>
189
190 * subr.el (w32notify-handle-event): New function.
191 (inotify-handle-event): Doc fix.
192
81606b10
RS
1932012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
194
195 * subr.el (inotify-event-p, inotify-handle-event): New functions.
196
265c2fbf 1972012-12-10 Dani Moncayo <dmoncayo@gmail.com>
6ce49f24
DM
198
199 * simple.el (just-one-space): Doc fix.
200
265c2fbf 2012012-12-10 Eli Zaretskii <eliz@gnu.org>
8d43bd30 202
c868b919 203 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
8d43bd30 204
265c2fbf 2052012-12-10 Le Wang <l26wang@gmail.com>
3a21537c
LW
206
207 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
208 narrowed buffer (bug#12361).
209
265c2fbf 2102012-12-10 Juanma Barranquero <lekktu@gmail.com>
bf741d33
JB
211
212 * vc/vc-hooks.el (vc-state): Doc fix.
213
265c2fbf 2142012-12-10 Glenn Morris <rgm@gnu.org>
07026166
GM
215
216 * mail/rmail.el (rmail-maybe-display-summary):
217 Preserve buffer, in case select-window changes it. (Bug#13066)
218
265c2fbf 2192012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
82e1f390
SM
220
221 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
222 cl-load-hook where they belong.
223
bad162fd
SM
2242012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
225
226 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
227
ca065258
EZ
2282012-12-09 Eli Zaretskii <eliz@gnu.org>
229
230 Parallelize byte compilation on MS-Windows.
231 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
bad162fd 232 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
ca065258
EZ
233 (WINS_BASIC): Define as concatenation of the above.
234 (compile): Subdivide into 4 separate and independent jobs that can
235 be run in parallel.
236 (compile0-CMD, compile0-SH): New targets for compiling
237 COMPILE_FIRST files, which are prerequisites for the rest of the
238 byte-compilation.
bad162fd
SM
239 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
240 New targets for parallel compilation with cmd.exe.
ca065258
EZ
241 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
242 compiling under a Unixy shell.
243
5dea55d2
CY
2442012-12-09 Chong Yidong <cyd@gnu.org>
245
246 * simple.el (set-mark-default-inactive): Delete this
247 accidentally-introduced option.
248 (set-mark-command, exchange-point-and-mark): Remove calls.
249
c6c08d3f
GM
2502012-12-09 Glenn Morris <rgm@gnu.org>
251
252 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
253 Respect a defcustom's :set function, if appropriate. (Bug#109)
254 (eval-defun): Doc fix.
255
858aab4c
JL
2562012-12-08 Juri Linkov <juri@jurta.org>
257
258 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
259 (Info-fontify-node, Info-bookmark-make-record): Remove the
260 file extension from Info-current-file (Bug#13016).
261
2e4ad7e5
SM
2622012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
263
264 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
265 point, still provide some default.
266 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
267 names, since we don't use it right now. Actually return the list.
268 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
269
75498db0
CY
2702012-12-07 Chong Yidong <cyd@gnu.org>
271
ffe7ba8f
CY
272 * novice.el (disabled-command-function): Remove a spurious help
273 xref (Bug#13043). Suggested by Kelly Dean.
274
454eb095
CY
275 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
276 syntax is specified (Bug#13025).
277
75498db0
CY
278 * info.el (Info-set-mode-line): Remove the file extension from
279 Info-current-file if there is one (Bug#13016).
280
13a40633
GM
2812012-12-07 Glenn Morris <rgm@gnu.org>
282
54c8b5ba
GM
283 * mail/rmail.el (rmail-mime-decoded): New permanent local.
284 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
285 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
286 and rmail-mime-decoded. (Bug#9841)
287
13a40633
GM
288 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
289 (batch-unrmail, unrmail): Doc fixes.
290 (unrmail): Respect unrmail-mbox-format.
291 * mail/rmail.el (rmail-mbox-format): New option.
292 (rmail-show-message-1): Respect rmail-mbox-format.
293
4611a3cc
SM
2942012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
295
296 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
297
1812c724
SM
2982012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
299
338bfefa
SM
300 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
301 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
302 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
303 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
304 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
305 (cl-progv): Don't rely on dynamic scoping to find the body.
306 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
307 (cl--proclaims-deferred): Rename from the "cl-" prefix.
308 (cl-declaim): Use backquotes.
309 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
310 Use "cl--" prefix for the object's tag.
311
1812c724
SM
312 * ses.el: Use advice-add/remove.
313 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
314 (copy-region-as-kill, yank): Use advice-add.
315 (ses-unload-function): Use advice-remove.
316
24fc9480
JB
3172012-12-06 Jonas Bernoulli <jonas@bernoul.li>
318
319 * button.el: Make them work in header-lines (bug#12817).
320 (button-map): Add bindings for header-line and mode-line use.
321 (button-get, button-put, button-label): `button' may now be a string.
322 (button-activate): Don't make it a defsubst.
323 (button--area-button-p, button--area-button-string): New functions.
324 (make-text-button): Fix the return value when `beg' was a string.
325 (push-button): Handle the mode-line case.
326
853c1ffc
SM
3272012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
328
93852cb0
SM
329 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
330 (sql-signum): Remove. Use `cl-signum' instead.
331 (sql-read-passwd): Remove; use read-passwd instread.
332 (sql-get-login-ext): Use read-string.
333 (sql-get-login): Use dolist and pcase.
334 (sql--completion-table): Rename from sql-try-completion.
335 Use complete-with-action.
336 (sql-mode): Don't change abbrev-all-caps globally.
337 (sql-connect): Don't rely on dynamic scoping for `new-name'.
338 (sql-postgres-completion-object): Initialize vars in their `let'.
339 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
340 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
341 (sql-comint-interbase): Use a single append, without setq.
342 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
343
853c1ffc
SM
344 * hi-lock.el: Rework the default face and the serialize regexp code.
345 (hi-lock--auto-select-face-defaults): Remove.
346 (hi-lock-string-serialize-serial): Remove.
347 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
348 make weak.
349 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
350 equal string.
351 (hi-lock-set-pattern): Adjust accordingly.
352 (hi-lock--regexps-at-point): Simplify accordingly.
353 (hi-lock--auto-select-face-defaults): Remove.
354 (hi-lock--last-face): New var to replace it.
355 (hi-lock-read-face-name): Rewrite (bug#11095).
356 (hi-lock-unface-buffer): Arrange for the face to be the next default.
357
5504e2c7
MA
3582012-12-06 Michael Albinus <michael.albinus@gmx.de>
359
853c1ffc
SM
360 * net/tramp.el (tramp-replace-environment-variables):
361 Hide compiler warning.
5504e2c7
MA
362 (tramp-file-name-for-operation): Remove `executable-find',
363 `start-process', `call-process' and `call-process-region'.
364
853c1ffc 365 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5504e2c7
MA
366
367 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
368 compatibility.
369
370 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
371
e1d51545
CY
3722012-12-06 Chong Yidong <cyd@gnu.org>
373
374 * ffap.el (ffap-replace-file-component): Fix typo.
375
d8ad4d3f 3762012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
ef54d315
SM
377
378 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
379 fix open-paren-like token test (bug#12785).
380
d8ad4d3f 3812012-12-06 Glenn Morris <rgm@gnu.org>
52d129cd
GM
382
383 * mail/rmailsum.el (rmail-new-summary): Tweak for
384 rmail-maybe-display-summary changing buffer. (Bug#13066)
385
d8ad4d3f 3862012-12-06 Juri Linkov <juri@jurta.org>
68bf4e09
JL
387
388 * info.el (Info-fontify-node): Don't hide the last newline.
389 (Bug#12272)
390
9ad948e2
KY
3912012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
392
393 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
394 so as to enable message-read-from-minibuffer to expand mail aliases.
395
4b5c89ee
SM
3962012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
397
398 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
399 the `intangible' property.
400 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
401
5602a53a
DD
4022012-12-05 Deniz Dogan <deniz@dogan.se>
403
404 * net/rcirc.el (rcirc-urls): Update documentation.
405 (rcirc-condition-filter): New function.
406 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
407 and exclude consecutive duplicate URLs (Bug#6082).
408
51b890ac
MA
4092012-12-05 Michael Albinus <michael.albinus@gmx.de>
410
d5f97f62
MA
411 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
412 Check return code of copy command.
413
853c1ffc
SM
414 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
415 Use group `tramp'. Add version.
51b890ac 416
04b14f2b
CY
4172012-12-05 Chong Yidong <cyd@gnu.org>
418
a3680194
CY
419 * ffap.el (ffap-url-regexp): Don't require matching at front of
420 string (Bug#4952).
421 (ffap-url-p): If only a substring matches, return that.
422 (ffap-url-at-point): Use the return value of ffap-url-p.
423 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
424 (find-file-at-point, dired-at-point, dired-at-point-prompter)
425 (ffap-guess-file-name-at-point): Likewise.
426 (ffap-replace-file-component): Fix typo.
427
04b14f2b
CY
428 * info.el (info-display-manual): Add existing Info buffers, whose
429 files may not be in Info-directory-list, to the completion.
430 (info--manual-names): New helper function.
431
49596095
GM
4322012-12-05 Glenn Morris <rgm@gnu.org>
433
434 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
435 New functions, for detecting and resolving conflicts. (Bug#10709)
436
b85aec93
J
4372012-12-04 Jambunathan K <kjambunathan@gmail.com>
438
439 * hi-lock.el (hi-lock-auto-select-face): New user variable.
440 (hi-lock-auto-select-face-defaults): New buffer local variable.
441 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
442 (hi-lock-unface-buffer): Prompt user with useful defaults.
443 With prefix arg, unhighlight all hi-lock patterns in buffer.
444
8515507f
SM
4452012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
446
447 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
448
72cebfb7
MA
4492012-12-04 Michael Albinus <michael.albinus@gmx.de>
450
451 * Makefile.in (TRAMP_SRC):
452 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
453
0ec3f7ea
JH
4542012-12-04 Juergen Hoetzel <juergen@archlinux.org>
455
456 * net/tramp-adb.el: New package.
457
770de7cf
CY
4582012-12-04 Chong Yidong <cyd@gnu.org>
459
ce3e7725
CY
460 * terminal.el: Move to obsolete/.
461
770de7cf
CY
462 * longlines.el: Move to obsolete/.
463
464 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
465 Remove code referring to longlines mode.
466
c38a186c
JL
4672012-12-03 Juri Linkov <juri@jurta.org>
468
469 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
470
329bfd64
AM
4712012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
472
473 * textmodes/ispell.el (ispell-init-process)
475eea6f
AM
474 (ispell-start-process, ispell-internal-change-dictionary):
475 Make sure personal dictionary name is expanded after initial
476 `default-directory' value. Use expanded strings for
477 keep/restart checks and for value (Bug#13019).
329bfd64 478
77a74935
JB
4792012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
480
481 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
482
c5bc2d1d 4832012-12-03 Leo Liu <sdl.web@gmail.com>
ff3d86d0
LL
484
485 * files.el (dir-locals-read-from-file): Check file non-empty
486 before reading. (Bug#13038)
487
c5bc2d1d 4882012-12-03 Glenn Morris <rgm@gnu.org>
6247eff5
GM
489
490 * jka-cmpr-hook.el (jka-compr-get-compression-info):
491 Remove any version extension before checking filename. (Bug#13006)
492 (jka-compr-compression-info-list): Belated :version bump.
493
c5bc2d1d 4942012-12-03 Chong Yidong <cyd@gnu.org>
a5bf43ba 495
8ecba97d
CY
496 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
497
a5bf43ba
CY
498 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
499 (buffer-menu): Doc fix (Bug#12294).
500
c5bc2d1d 5012012-12-03 Roland Winkler <winkler@gnu.org>
34755291
RW
502
503 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
504 of diary-show-all-entries in the diary buffer (Bug#12994).
505
c5bc2d1d 5062012-12-03 Michael Albinus <michael.albinus@gmx.de>
c2f5b60a
MA
507
508 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
509 "<STDIN>". This is binary safe.
510
682ceaf8
JB
5112012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
512
513 * calc/calc-forms.el (math-absolute-from-iso-dt)
514 (math-date-to-iso-dt, math-parse-iso-date-validate)
515 (math-iso-dt-to-date): New functions.
516 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
517 (math-fd-isoweekday): New variables.
518 (calc-date-notation, math-parse-standard-date, math-format-date)
519 (math-format-date-part): Add support for more formatting codes.
520
db47d5e9
DG
5212012-12-02 Dmitry Gutov <dgutov@yandex.ru>
522
523 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
524 current buffer's file name when called interactively (Bug#12488).
525
3faf4944
JL
5262012-12-02 Juri Linkov <juri@jurta.org>
527
528 * info.el (info-display-manual): Don't clobber an existing Info
010db6da 529 buffer (Bug#10770). Add completion (Bug#10771).
3faf4944 530
cb5d51dc
YN
5312012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
532
533 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
534 before using it for comparison (Bug#5297).
535
f38cd76e
JA
5362012-12-01 Jari Aalto <jari.aalto@cante.net>
537
538 * textmodes/css-mode.el (css-current-defun-name): New function.
539 (css-mode): Use it.
540
541 * textmodes/sgml-mode.el (html-current-defun-name): New function.
542 (html-mode): Use it.
543
ba03d0d9
CY
5442012-12-01 Chong Yidong <cyd@gnu.org>
545
546 Modularize add-log-current-defun (Bug#2224).
547 Suggested by Jari Aalto.
548
549 * vc/add-log.el (add-log-current-defun-function): Doc fix.
550 (add-log-current-defun): Move mode-specific code to other files.
551 (add-log-lisp-like-modes, add-log-c-like-modes)
552 (add-log-tex-like-modes): Variables deleted.
553
554 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
555 (lisp-mode-variables): Use it.
556
557 * progmodes/cc-mode.el (c-common-init):
558 * progmodes/cperl-mode.el (cperl-mode): Set a value for
559 add-log-current-defun-function.
560
561 * progmodes/m4-mode.el (m4-current-defun-name): New function.
562 (m4-mode): Use it.
563
564 * progmodes/perl-mode.el (perl-current-defun-name): New.
565 (perl-mode): Use it.
566
853c1ffc
SM
567 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
568 Use lisp-current-defun-name.
ba03d0d9
CY
569
570 * textmodes/tex-mode.el (tex-current-defun-name): New.
571 (tex-common-initialization): Use it.
572
573 * textmodes/texinfo.el (texinfo-current-defun-name): New.
574 (texinfo-mode): Use it.
575
92eadba5
CY
5762012-12-01 Chong Yidong <cyd@gnu.org>
577
578 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
579 * progmodes/autoconf.el (autoconf-mode):
580 * progmodes/js.el (js-mode):
581 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
582 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
583 * progmodes/perl-mode.el (perl-mode):
584 * progmodes/sh-script.el (sh-mode, sh-set-shell):
585 * textmodes/css-mode.el (css-mode):
586 * textmodes/sgml-mode.el (html-mode, sgml-mode)
587 (sgml-tags-invisible, sgml-guess-indent):
588 * textmodes/tex-mode.el (tex-common-initialization)
589 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
590 (doctex-mode, plain-tex-mode, latex-mode):
591 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
592
3ddbf803
KK
5932012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
594
595 * vc/vc-hg.el (vc-hg-next-revision):
596 Ensure use of default "tip" output format. (Bug#6968)
597
f0b6ae63
KS
5982012-12-01 Kim F. Storm <storm@cua.dk>
599
600 * startup.el (fancy-startup-tail): Add a clickable link
601 (Bug#2176).
602
c01bf73e
CY
6032012-12-01 Chong Yidong <cyd@gnu.org>
604
605 * startup.el (fancy-startup-tail): Improve the message about
606 auto-save files (Bug#2176).
607
f0b6ae63
KS
608 * files.el (recover-session): Improve the descriptive message, and
609 use substitute-command-keys.
610
a9400458
GM
6112012-12-01 Glenn Morris <rgm@gnu.org>
612
613 * ido.el (ido-file-internal):
614 Handle other-window, other-frame for dired. (Bug#13036)
615
fb3bf6ce
GM
6162012-11-30 Glenn Morris <rgm@gnu.org>
617
618 * icomplete.el (icomplete-separator): Fix :version.
619
a813fe3f
CY
6202012-11-30 Chong Yidong <cyd@gnu.org>
621
622 * shell.el (shell): For C-u M-x shell, use an inactive shell
623 buffer as the default (Bug#1975).
276479fd
CY
624 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
625 (shell-mode): Use them to reapply ansi colorization if Shell mode
626 is re-enabled.
a813fe3f 627
a8b733a5
CY
6282012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
629
630 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
631
6fccd6e8
SB
6322012-11-30 Samuel Bronson <naesten@gmail.com>
633
634 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
635 flag to xargs, for compatibility with BSD xargs (Bug#11703).
636
53c9a337
TT
6372012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
638
639 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
640 by move-to-column (Bug#3234).
641
ccf520bb
CY
6422012-11-30 Chong Yidong <cyd@gnu.org>
643
644 * longlines.el (longlines-wrap-line, longlines-encode-region):
645 Preserve text properties (Bug#1425).
646
171b0949
OT
6472012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
648
649 * vc/vc.el (vc-register): Allow registering a file which is
650 already registered with a different backend (Bug#10589).
651
cc37e70f
J
6522012-11-29 Jambunathan K <kjambunathan@gmail.com>
653 Stefan Monnier <monnier@iro.umontreal.ca>
654
655 * icomplete.el: Change separator; add ido-style commands.
656 (icomplete-show-key-bindings): Remove custom var.
657 (icomplete-get-keys): Remove function.
658 (icomplete-forward-completions, icomplete-backward-completions):
659 New commands.
660 (icomplete-minibuffer-map): New var.
661 (icomplete-minibuffer-setup): Use it.
662 (icomplete-exhibit): Don't delay if the list of completions is known.
663 (icomplete-separator): New custom.
664 (icomplete-completions): Use it.
665 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
666 (minibuffer-force-complete-and-exit): New command.
667 (minibuffer--complete-and-exit): New function extracted from
668 minibuffer-complete-and-exit.
669 (minibuffer-complete-and-exit): Use it.
83e12fe0
SM
670
671 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
672 error message when the file doesn't exist (bug#12974).
673
31646597
KD
6742012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
675
676 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
677
e9df8f87
GM
6782012-11-29 Glenn Morris <rgm@gnu.org>
679
824eefe4
GM
680 * files.el (hack-dir-local-variables): Warn if try to set
681 coding via dir-locals, since it doesn't work. (Bug#7169)
682
4ad900d9
GM
683 Add desktop support for restoring vc-dir buffers. (Bug#10606)
684 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
685 Set buffer-local value of desktop-save-buffer.
686 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
687 New functions.
688 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
689 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
690
e9df8f87
GM
691 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
692 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
693 Doc fix.
694 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
695 Doc fixes.
696
e7c8fcc4
JB
6972012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
698
699 * calc/calc-forms.el (calc-date-notation): Fix regexp
700 used to find time codes. Fix symbol for seconds.
701
48d6d9c0
GM
7022012-11-27 Glenn Morris <rgm@gnu.org>
703
704 * emacs-lisp/derived.el (derived-mode-make-docstring):
705 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
706
369f945d
SM
7072012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
708
709 * textmodes/table.el (table-insert): Don't use `symbol-name' on
710 lexically scoped variables (bug#13005).
711
5c9cf0a3 7122012-11-27 Glenn Morris <rgm@gnu.org>
98f99594 713
999e745e
GM
714 * vc/vc-hooks.el (vc-mistrust-permissions):
715 Default to t, to avoid data-loss. (Bug#11490)
98f99594 716
5c9cf0a3 7172012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
207cb73c 718
999e745e
GM
719 * progmodes/python.el (python-indent-guess-indent-offset):
720 If indentation is guessed make python-indent-offset buffer-local.
721
207cb73c 722 Fix Imenu regression.
999e745e
GM
723 * progmodes/python.el (python-nav-beginning-of-defun):
724 Fix forward movement when statement(s) separates point from defun.
207cb73c
FEG
725 (python-imenu-prev-index-position): New function.
726
5c9cf0a3 7272012-11-27 Eli Zaretskii <eliz@gnu.org>
33a488e4
EZ
728
729 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
730
731 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
865f7d8f 732 Don't set buffer-file-type. Return nil. (Bug#12989)
33a488e4 733
5c9cf0a3 7342012-11-27 Glenn Morris <rgm@gnu.org>
50207191
GM
735
736 * hippie-exp.el (hippie-expand-try-functions-list):
737 Re-autoload it. (Bug#12982)
738
5c9cf0a3 7392012-11-27 Eli Zaretskii <eliz@gnu.org>
2147c6ab 740
369f945d
SM
741 * descr-text.el (describe-char-padded-string):
742 Call internal-char-font only on GUI frames. (Bug#11964)
2147c6ab 743
5c9cf0a3 7442012-11-27 Andreas Schwab <schwab@linux-m68k.org>
58b1ae1e
AS
745
746 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
747 and obsoletion message.
748
5c9cf0a3 7492012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
35a10516
SM
750
751 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
752 the constructs to keep outside of the `cl-block' (bug#12977).
753
5c9cf0a3 7542012-11-27 Chong Yidong <cyd@gnu.org>
0c5ef133
CY
755
756 * mouse.el (mouse-drag-line): Even if the line is not draggable,
757 keep reading until we get the up-event anyway, in order to process
758 the up-event for mouse-1-click-follows-link (Bug#12971).
759
848a2dd1
SM
7602012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
761
762 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
763 base function is not yet defined (bug#12965).
764 (ad-activate-advised-definition): Use ad-compile-function.
765 (ad-activate): Use cond.
766
9ad79506
LL
7672012-11-25 Leo Liu <sdl.web@gmail.com>
768
769 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
770 (Bug#12979)
771
e2cb57f5
VB
7722012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
773
774 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
775 reftex-section-info-function in order to be compatible with
776 Texinfo integration.
777
778 * textmodes/reftex.el (reftex-section-pre-regexp)
848a2dd1
SM
779 (reftex-section-post-regexp, reftex-section-info-function):
780 New variable.
781 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
782 reftex-section-post-regexp, and reftex-section-info-function in order
783 to be compatible with Texinfo integration.
784
785 * textmodes/reftex-toc.el (reftex-toc-promote-action):
786 use reftex-section-pre-regexp variable in order to be compatible with
e2cb57f5
VB
787 Texinfo integration.
788
1c4f115d
CY
7892012-11-25 Chong Yidong <cyd@gnu.org>
790
791 * faces.el: Make face-spec-set more analogous to setq.
792 (face-spec-set): Change the third arg to specify whether this
793 function is being called via defface, customize, or a third party.
794 Set the appropriate symbol properties. Clear the override spec if
795 setting via Custom. Initialize face if necessary. (Bug#4988)
796 (face-spec-recalc): Allow theme faces to completely replace the
797 defface spec, in the same way as custom faces (Bug#8454).
798
799 * cus-face.el (custom-declare-face): Move face initialization to
800 face-spec-set.
801 (custom-theme-set-faces): Don't initialize the face name here, as
802 that is now done in face-spec-set.
803
804 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
805 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
806 Simplify by using the new arg to face-spec-set.
807
808 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
809 reset face-override-spec too, and use custom-declare-face.
810
c2350548
JD
8112012-11-24 Jan Djärv <jan.h.d@swipnet.se>
812
813 * term/ns-win.el (ns-initialize-window-system): Move creation of
814 fontsets here (Bug#11964).
815
ecfc364c
VB
8162012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
817
818 * ses.el (ses-rename-cell): Correct bug on mode-line update after
819 cell renaming.
820
0917cc54
CY
8212012-11-24 Chong Yidong <cyd@gnu.org>
822
433212bf
CY
823 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
824 obsolete.
825
0917cc54
CY
826 * custom.el (custom-theme-set-variables): Use a topological sort
827 for ordering by custom dependencies (Bug#12952).
828 (custom--sort-vars, custom--sort-vars-1): New functions.
829
d125ca15 8302012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
002c019c
SM
831
832 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
833 lexical-binding (bug#12938).
834
d125ca15 8352012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
977f9325
WJ
836
837 * image-mode.el (image-transform-check-size): Use assertions only
838 for images of type imagemagick.
839
840 Otherwise no error, image-transform-fit-to-{width,height} is
841 silently ignored, as before. Doc fix.
842
d125ca15 8432012-11-24 Chong Yidong <cyd@gnu.org>
bccffa83
CY
844
845 * faces.el (color-defined-p): Doc fix (Bug#12853).
846
d125ca15 8472012-11-24 Juri Linkov <juri@jurta.org>
61a2a122
JL
848
849 * dired.el (dired-mark): Add optional arg `interactive'.
850 Check for `use-region-p' if `interactive' is non-nil.
851 (dired-unmark, dired-flag-file-deletion): Add optional arg
852 `interactive'. Call `dired-mark' with the arg `interactive'.
853 (Bug#10624)
854
cc4c01bd
JL
855 * wdired.el: Revert 2012-10-17 change partly and replace it with
856 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
857 (wdired-finish-edit): Add marks for new file names to
858 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
859 after `revert-buffer'.
860 (wdired-do-renames): Remove calls to `dired-remove-file',
861 `dired-add-file', `dired-add-entry'. (Bug#11795)
862
d125ca15 8632012-11-24 Alan Mackenzie <acm@muc.de>
b03aabda 864
dc310ed0
AM
865 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
866
b03aabda
AM
867 Fix bugs in the state cache. Enhance a debugging mechanism.
868 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
869 "brace at column zero" strategy for C++.
870 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
871 (c-parse-state-point): New variable.
872 (c-record-parse-state-state): Record old parse state with
873 `copy-tree'. Record previous value of point.
874 (c-debug-parse-state-double-cons): New debugging function.
875 (c-debug-parse-state): Call the above new function.
876 (c-toggle-parse-state-debug): Output a confirmatory message.
877
002c019c
SM
878 * progmodes/cc-mode.el (c-before-change, c-after-change):
879 Call c-invalidate-state-cache from `c-before-change' instead of
b03aabda
AM
880 `c-after-change'.
881
930a6273
CY
8822012-11-23 Chong Yidong <cyd@gnu.org>
883
884 * find-cmd.el (find-constituents): Add executable, ipath,
885 readable, samefile, writable, daystart, regextype (Bug#12856).
886
15c9d04e
SM
8872012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
888
889 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
890
2ecb2679
PE
8912012-11-22 Paul Eggert <eggert@cs.ucla.edu>
892
893 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
894 definition. This fixes a bootstrap failure.
a14a5a40
PE
895 (calc-gregorian-switch): In menu, put dates before regions.
896 This is easier to follow, lines up better in the menu, and lets us
897 coalesce regions that switch at the same time. Give country
15c9d04e
SM
898 names, not "Vatican", as that's better for non-expert users.
899 Use names that are stable between the date of switch and now, e.g.,
a14a5a40
PE
900 Bohemia and Moravia (which existed then and now) and not
901 Czechoslovakia (which didn't exist then and doesn't exist now).
902 What is now the U.S. mostly did not switch at the same time as
903 Britain, so omit the U.S. Correct spelling of "Britain".
904 Catholic Switzerland was too much of a mess, so omit it.
2ecb2679 905
723da6aa
JB
9062012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
907
908 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
909 after the variable is changed.
910
21fa2482
DC
9112012-11-21 Daniel Colascione <dancol@dancol.org>
912
913 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
b6096e85
DC
914 in SQL declarations for font-lock.
915 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
21fa2482 916
3ca2f1bf
GM
9172012-11-21 Glenn Morris <rgm@gnu.org>
918
1bf335cf
GM
919 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
920 (face-italic-p): Add optional argument "inherit".
921
3ca2f1bf
GM
922 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
923 Remove -p suffix from names, for consistency with other set-face-*.
924 (set-face-inverse-video): Fix interactive spec.
925 * play/gamegrid.el (gamegrid-make-mono-tty-face):
926 * textmodes/table.el (table--update-cell-face):
927 Use set-face-inverse-video rather than now obsolete alias.
928
6ef2e5ef 9292012-11-21 Eli Zaretskii <eliz@gnu.org>
7cf95797
EZ
930
931 * simple.el (line-move): Don't call line-move-partial if
932 scroll-conservatively is in effect. (Bug#12927)
933
6ef2e5ef 9342012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
63f25172 935
93b05041
SM
936 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
937 Fallback on completion-at-point rather than
938 pcomplete-expand-and-complete, and only if pcomplete actually failed.
939 (eshell-cmpl-initialize): Setup completion-at-point.
940
941 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
942
bc715d67
SM
943 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
944
6ef2e5ef 9452012-11-21 Michael Albinus <michael.albinus@gmx.de>
d7f2a65c
MA
946
947 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
948 are remote, check out-of-band property for both.
949
6ef2e5ef 9502012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
d1c0cddf
SM
951
952 * window.el (switch-to-buffer): Re-add the warning that was lost in the
953 code rewrite.
954
6ef2e5ef 9552012-11-21 Paul Eggert <eggert@cs.ucla.edu>
0c93aa38 956
535efd4a
PE
957 More minor time fixes.
958 * calendar/time-date.el: Commentary fix.
959 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
960 too much other code depends on (0 0) time stamps.
961 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
962 Add a couple of FIXME comments.
963
0c93aa38
PE
964 Minor cleanup for times as lists of four integers.
965 * files.el (dir-locals-directory-cache):
966 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
967 Doc fixes.
968 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
969 * ps-bdf.el (bdf-file-newer-than-time):
970 Process four-integers time stamps, not two. Doc fixes.
971
23ba2705
SM
9722012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
973
2e31777b
SM
974 * uniquify.el (uniquify-managed): Use defvar-local.
975 (rename-buffer, create-file-buffer): Advise with advice-add.
976 (uniquify-unload-function): Unadvise accordingly.
977
8b62d742
SM
978 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
979 (trace-buffer): Don't purecopy.
980 (trace-entry-message, trace-exit-message): Add `context' arg.
981 (trace--timer): New var.
982 (trace-make-advice): Adjust for use in nadvice.
983 Add `context' argument. Delay `display-buffer' via a timer.
984 (trace-function-internal): Use advice-add.
985 (trace--read-args): New function.
986 (trace-function-foreground, trace-function-background): Use it.
987 (trace-function): Rename to trace-function-foreground and redefine as
988 an alias to that new name.
989 (untrace-function, untrace-all): Adjust to the use of nadvice.
990
5d0ccd95
SM
991 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
992
3837d988
SM
993 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
994
23ba2705
SM
995 * subr.el (called-interactively-p-functions): New var.
996 (internal--called-interactively-p--get-frame): New macro.
997 (called-interactively-p, interactive-p): Rewrite in Lisp.
998 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
999 (called-interactively-p-functions): Use it.
1000 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
1001 (called-interactively-p-functions): Use it.
1002 * allout.el (allout-called-interactively-p): Don't assume
1003 called-interactively-p is a subr.
1004
b0636be7
GM
10052012-11-20 Glenn Morris <rgm@gnu.org>
1006
1007 * profiler.el (profiler-report-mode-map): Add a menu.
1008 No need to bind `q' because we derive from special-mode.
1009 (profiler-report-find-entry): Handle calls from the menu-bar.
1010
855b17af
SM
10112012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
1012
14146222
SM
1013 * emacs-lisp/byte-run.el (defun-declarations-alist):
1014 Allow a compiler-macro to be a lambda expression.
1015
1016 * progmodes/python.el: Use cl-lib. Move var declarations outside of
1017 eval-when-compile.
1018 (python-syntax-context): Add compiler-macro.
1019 (python-font-lock-keywords): Simplify with De Morgan.
1020
1000d895
SM
1021 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
1022
ac5392dc
SM
1023 * files.el (load-file): Require match in minibuffer selection, as was
1024 the case in Emacs-20 before we changed the spec to allow .elc files
1025 (bug#12935).
1026
19dc7206
SM
1027 * json.el: Don't require cl since we don't use it.
1028 * color.el: Don't require cl.
1029 (color-complement): `caddr' -> `nth 2'.
1030
855b17af
SM
1031 * calendar/time-date.el (time-to-seconds): De-obsolete.
1032
e8909bdc
JB
10332012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
1034
1035 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
1036 year numbers.
1037 (math-date-to-julian-dt): Adjust the initial approximation for the
1038 year to deal with the new definition of the DATE.
1039
6e9f7997
DC
10402012-11-19 Daniel Colascione <dancol@dancol.org>
1041
855b17af
SM
1042 * term/w32-win.el (cygwin-convert-path-from-windows):
1043 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6e9f7997 1044
6a3dd257
CY
10452012-11-18 Chong Yidong <cyd@gnu.org>
1046
1047 * filecache.el (file-cache--read-list): New function.
1048 (file-cache-add-directory-list, file-cache-add-file-list)
1049 (file-cache-delete-file-list, file-cache-delete-directory-list):
1050 Use it to read a list of files or directories (Bug#12846).
1051 (file-cache-add-file, file-cache-add-directory)
1052 (file-cache-delete-file-list, file-cache-delete-file-regexp)
1053 (file-cache-delete-directory): Print an message.
1054
eef97f35
JB
10552012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
1056
1057 * calc/calc-forms.el (math-date-to-dt): Use integer date when
1058 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
1059
913c8291
GM
10602012-11-18 Glenn Morris <rgm@gnu.org>
1061
1062 * image.el (insert-image, insert-sliced-image): Doc fix.
1063
2ac9538d 10642012-11-18 Chong Yidong <cyd@gnu.org>
ec6f8ce6
CY
1065
1066 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
1067 (Bug#12810).
1068
2ac9538d 10692012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
c2d07557
CY
1070
1071 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
1072 response when the target file is in a subdirectory (Bug#12757).
1073
2ac9538d 10742012-11-18 Chong Yidong <cyd@gnu.org>
33f8917c
CY
1075
1076 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
1077
2ac9538d 10782012-11-18 Glenn Morris <rgm@gnu.org>
65463c40 1079
9a5e2ee3
GM
1080 * emacs-lisp/cl-lib.el (face-underline-p):
1081 Use set-face-underline rather than the alias set-face-underline-p.
1082
65463c40 1083 * window.el (with-temp-buffer-window): Doc fix.
95f0501e
GM
1084 * subr.el (with-output-to-temp-buffer):
1085 Add doc xref to with-temp-buffer-window.
65463c40 1086
c9ed8e3d
JB
10872012-11-18 Juanma Barranquero <lekktu@gmail.com>
1088
1089 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
1090 * calc/calc.el (math-format-date-cache): Declare.
1091
310e60d9
PE
10922012-11-17 Paul Eggert <eggert@cs.ucla.edu>
1093
6f6b82d6
PE
1094 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
1095 It also uses January 1, 1 AD as its day number 1.
310e60d9 1096 * calc/calc-forms.el (math-julian-date-beginning)
6f6b82d6 1097 (math-julian-date-beginning-int): Implement this.
310e60d9 1098
d7fe6352
JB
10992012-11-17 Juanma Barranquero <lekktu@gmail.com>
1100
1101 * descr-text.el (quail-find-key):
1102 * dired.el (desktop-file-name):
1103 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
1104 * generic-x.el (comint-mode, comint-exec):
1105 * image-dired.el (widget-forward):
1106 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
1107 (speedbar-change-expand-button-char)
1108 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
1109 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
1110 * printing.el (easy-menu-add-item, easy-menu-remove-item)
1111 (widget-field-action, widget-value-set):
1112 * speedbar.el (imenu--make-index-alist):
1113 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
1114 (ring-length, ring-insert):
1115 * vcursor.el (compare-windows-skip-whitespace):
1116 * woman.el (dired-get-filename):
1117 Declare functions.
1118
1119 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
1120
c9f618db
JB
11212012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1122
1123 * calc/calc.el (calc-gregorian-switch): New variable.
1124
1125 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
1126 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
1127 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
1128 (math-leap-year-p): Add option to distinguish between Julian
1129 and Gregorian calendars.
1130 (math-day-number): Use `math-day-in-year' to do the computations.
1131 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
1132 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
1133 to do the computations.
1134 (math-date-to-dt): Use `math-date-to-julian-dt' and
1135 `math-date-to-gregorian-dt' to do the computations.
1136 (calcFunc-weekday, math-format-date-part): Use the new version of
1137 the DATE to determine the weekday.
1138 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
1139 when necessary.
1140
3804f7bc
EZ
11412012-11-17 Eli Zaretskii <eliz@gnu.org>
1142
1143 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
1144 Cygwin; otherwise use 'file:'. (Bug#12914)
1145 (cygwin-convert-path-from-windows): Declare, to avoid
1146 byte-compiler warnings.
1147
de959d4d
AP
11482012-11-17 Andreas Politz <politza@fh-trier.de>
1149
1150 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
1151 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
1152 prefix and negative numeric prefix args (Bug#12795).
1153
e45deaef
SB
11542012-11-17 Stephen Berman <stephen.berman@gmx.net>
1155
1156 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
1157 Don't signal an error with a score that is too low to add to the
1158 list of top scores. (Bug#12779)
1159
ec15e0ff
CY
11602012-11-17 Chong Yidong <cyd@gnu.org>
1161
8e7696a1
CY
1162 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
1163
ec15e0ff
CY
1164 * filecache.el (file-cache-add-file): Handle relative file name in
1165 the argument (Bug#12694).
1166
60c4ee66
JH
11672012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
1168
1169 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
1170
cdc5d88c
SM
11712012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1172
dd0c5bbb
SM
1173 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
1174
cdc5d88c
SM
1175 * emacs-lisp/cl-lib.el: Set more meaningful version number.
1176
0ff7851c
MR
11772012-11-16 Martin Rudalics <rudalics@gmx.at>
1178
1179 * window.el (enlarge-window, shrink-window): Don't mention return
1180 value in doc-string (Bug#12896).
1181 (window--display-buffer): Don't resize frames - it won't work
1182 with all window managers and defeat pop-up-frame-alist.
1183 (display-buffer-alist): In doc-string explain that CONDITION can
1184 be a function and which arguments are passed to it (Bug#12854).
1185 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
1186 expressions (Bug#12854).
1187 (display-buffer): Pass ACTION argument to
1188 display-buffer-assq-regexp.
1189
dedd1884
GM
11902012-11-16 Glenn Morris <rgm@gnu.org>
1191
7c82753d
GM
1192 * window.el (fit-frame-to-buffer-bottom-margin)
1193 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
1194
dedd1884
GM
1195 * faces.el (face-underline-p): Use face-attribute-specified-or.
1196
96e05507 11972012-11-16 Juanma Barranquero <lekktu@gmail.com>
662b0ee6
JB
1198
1199 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
1200
96e05507 12012012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
eb31fa40
SM
1202
1203 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
1204
96e05507 12052012-11-16 Glenn Morris <rgm@gnu.org>
e2e13f18 1206
17c083ac
GM
1207 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
1208 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
1209
bde3c6c0
GM
1210 * faces.el (face-underline-p): Doc fix. Handle :underline being
1211 things other than `t' (a string, a list).
1212 (face-inverse-video-p): Doc fix.
1213 (set-face-underline): Rename it back from set-face-underline-p.
1214 Doc fix. Allow interactive input of values other than t.
1215 (read-face-attribute): Apply formatting to :underline,
1216 since like :box and :stipple it can take list values.
1217
e2e13f18
GM
1218 * term.el (ansi-term): Don't let C-x escape-char binding
1219 clobber the more standard C-c binding. (Bug#12842)
1220
e0ea8060
GM
1221 * subr.el (set-temporary-overlay-map): Doc fix.
1222
96e05507 12232012-11-16 Martin Rudalics <rudalics@gmx.at>
92346275
MR
1224
1225 * window.el (record-window-buffer)
1226 (display-buffer-record-window): When copying the markers to
1227 window-point preserve window-point-insertion-type. (Bug#12588)
1228
96e05507 12292012-11-16 Glenn Morris <rgm@gnu.org>
7b1bf173
GM
1230
1231 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
1232 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
1233 Use new names for hooks rather than obsolete aliases.
1234
faeafc01
DC
12352012-11-15 Daniel Colascione <dancol@dancol.org>
1236
1237 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
9533048d
DC
1238 prefix instead of "file:" so that when FILE-NAME begins with "//",
1239 as it does when the target file is on a network share, url-handler
1240 isn't confused.
1241
1232d6c2
SM
12422012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1243
1244 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
1245 a preactivated advice from an old advice.el; they're not compatible!
1246
47f01a8a
KY
12472012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
1248
1249 * emacs-lisp/nadvice.el (advice--make-interactive-form):
1250 Fix string-spec case.
1251
1252 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
1253
a61428c4
SM
12542012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1255
1256 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
1257 (advice--buffer-local-function-sample): New var.
1258 (advice--set-buffer-local, advice--buffer-local): New functions.
1259 (add-function, remove-function): Use them.
1260
875ce3a7
DA
12612012-11-15 Drew Adams <drew.adams@oracle.com>
1262
1263 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
1264
589fc479
SM
12652012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1266
1267 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
1268 potential binding of print-gensym to t, and prettify (back)quotes in
1269 case they appear in args's default values (bug#12884).
1270
1668ea90
SM
12712012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1272
1273 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
1274 (advice-eval-interactive-spec): New function.
1275 (advice--make-interactive-form): Support around advice (bug#12844).
1276
8619323f
DG
12772012-11-14 Dmitry Gutov <dgutov@yandex.ru>
1278
1279 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
1280 more strict. Add docstring.
c62792e7
DG
1281 (ruby-expression-expansion-re): Extract from
1282 `ruby-match-expression-expansion'.
1283 (ruby-syntax-propertize-function): After everything else, search
1284 for expansions in string literals, mark their insides as
1285 whitespace syntax and save match data for font-lock.
1286 (ruby-font-lock-keywords): Use the 2nd group from expression
1287 expansion matches.
1288 (ruby-match-expression-expansion): Use the match data saved to the
1289 text property in ruby-syntax-propertize-function.
8619323f 1290
9c3912d3
SM
12912012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1292
1293 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
1294 (bug#12879).
1295
5e9419e8
DG
12962012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1297
1298 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
1299 start/end keyword a bit harder. Works with different values of N.
1300 Add more comments.
1301 (ruby-end-of-block): Update accordingly.
1302
3c442f8b
SM
13032012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1304
fa470af0
SM
1305 * woman.el (woman-file-name): Don't mess with unread-command-events
1306 (bug#12861).
1307
3c442f8b
SM
1308 * emacs-lisp/advice.el: Layer on top of nadvice.el.
1309 Remove out of date self-require hack.
1310 (ad-do-advised-functions): Use simple `dolist'.
1311 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
1312 (ad-advice-definition): Redefine as functions.
1313 (ad-advice-classes): Move before first use.
1314 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
fa470af0 1315 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3c442f8b 1316 (ad--defalias-fset): Remove functions.
fa470af0 1317 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3c442f8b
SM
1318 (ad-get-orig-definition): Rewrite.
1319 (ad-make-advised-definition-docstring): Change base docstring.
1320 (ad-real-orig-definition): Rewrite.
1321 (ad-map-arglists): Change name of called function.
1322 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
1323 (ad-make-advised-definition): Simplify.
1324 (ad-assemble-advised-definition): Tweak for new calling context.
fa470af0 1325 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3c442f8b
SM
1326 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
1327 function and call ad-activate if needed.
1328 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
1329 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
1330 (ad-compile-function): Compile ad-Advice-*.
1331 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
1332 (ad-start-advice, ad-stop-advice): Remove.
1333
5745cae6
DG
13342012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1335
1336 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
1337 period before class method names, not after. Remove handling of
1338 one impossible case. Add comments.
1339
413d4689
SM
13402012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1341
7db1bda8
SM
1342 * emacs-lisp/advice.el: Remove support for freezing.
1343 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
1344 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
1345 Remove support for `freeze'.
1346
413d4689
SM
1347 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
1348 override the default.
1349 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
1350 cl--dotimes/dolist.
1351 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
1352 `cl' is loaded.
1353
1354 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
1355 from add-advice.
1356 (advice--strip-macro): New function.
1357 (advice--defalias-fset): Use them to handle macros.
1358 (advice-add): Use them.
1359 (advice-member-p): Correctly handle macros.
1360
f178c32d
DG
13612012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1362
7db1bda8
SM
1363 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1364 Never font-lock the beginning of singleton class as heredoc.
f178c32d 1365
f78ee6af 13662012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
f8705f6e
SM
1367
1368 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
1369
f78ee6af 13702012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
9db94175
WJ
1371
1372 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
f78ee6af
GM
1373 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
1374 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
9db94175 1375
f78ee6af 13762012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
2e6625b5
FEG
1377
1378 Fix end-of-defun misbehavior.
1379 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
1380 python-beginning-of-defun-function. Handle nested defuns
1381 correctly.
1382 (python-nav-end-of-defun): Rename from
1383 python-end-of-defun-function. Ensure forward movement.
f8705f6e 1384 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
1385 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
1386 parent defuns as soon as possible.
1387
f78ee6af 13882012-11-13 Glenn Morris <rgm@gnu.org>
24c38527
GM
1389
1390 * progmodes/flymake.el (flymake-error-bitmap)
1391 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
1392 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
1393
f78ee6af 13942012-11-13 Dmitry Gutov <dgutov@yandex.ru>
d1e1e53d
DG
1395
1396 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
1397 backward, always stop at indentation. Reverts the change from
1398 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
1399
f78ee6af 14002012-11-13 Glenn Morris <rgm@gnu.org>
68146aa5 1401
a1d3e07e
GM
1402 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
1403 Add ibuffer-filter-by-derived-mode.
1404
84acf328
GM
1405 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
1406 the same name shadowing each other.
1407
38785e75
GM
1408 * window.el (with-temp-buffer-window): Doc tweak.
1409
57fc0fee
GM
1410 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
1411
6ba6a3e5
GM
1412 * help.el (temp-buffer-max-height):
1413 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
1414 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
1415
231d8498
SM
14162012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1417
1418 * emacs-lisp/nadvice.el: New package.
1419 * subr.el (special-form-p): New function.
1420 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
1421 (elp-all-instrumented-list): Remove var.
1422 (elp-not-profilable): Remove elp-wrapper.
1423 (elp-profilable-p): Use autoloadp and special-form-p.
1424 (elp--advice-name): New const.
1425 (elp-instrument-function): Use advice-add.
1426 (elp--instrumented-p): New predicate.
1427 (elp-restore-function): Use advice-remove.
1428 (elp-restore-all, elp-reset-all): Use mapatoms.
1429 (elp-set-master): Use elp--instrumented-p.
1430 (elp--make-wrapper): Rename from elp-wrapper, return a function
1431 suitable for advice-add. Use cl-inf.
1432 (elp-results): Use mapatoms+elp--instrumented-p.
1433 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
1434 (debug-function-list): Remove var.
1435 (debug): Rename arg, and then let-bind it explicitly inside.
1436 (debugger-setup-buffer): Rename arg.
1437 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
1438 (debugger-frame-number): Adjust to new debug-on-entry setup.
1439 (debug--implement-debug-on-entry): Rename from
1440 implement-debug-on-entry, add argument.
1441 (debugger-special-form-p): Remove, use special-form-p instead.
1442 (debug-on-entry): Use advice-add.
1443 (debug--function-list): New function.
1444 (cancel-debug-on-entry): Use it, along with advice-remove.
1445 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
1446 (debugger-list-functions): Use debug--function-list instead of
1447 debug-function-list.
1448 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
1449 (ad-special-form-p): Remove, use special-form-p instead.
1450 (ad-set-advice-info): Use add-function and remove-function.
1451 (ad--defalias-fset): Adjust accordingly.
1452
19e09879
GM
14532012-11-10 Glenn Morris <rgm@gnu.org>
1454
714cebd1
GM
1455 * mail/emacsbug.el (report-emacs-bug-tracker-url)
1456 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
1457 (report-emacs-bug-create-existing-bugs-buffer)
1458 (report-emacs-bug-parse-query-results)
1459 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
1460
bf67dafa
GM
1461 * term.el (term-default-fg-color, term-default-bg-color):
1462 Make obsolete, rather than just saying "deprecated" in the doc.
1463
19e09879
GM
1464 * term.el (term): Rename from `term-face'.
1465 (term-current-face, ansi-term-color-vector)
1466 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
1467 Update all users.
1468
6baf66d5 14692012-11-10 Jan Djärv <jan.h.d@swipnet.se>
531bdce6
JD
1470
1471 * server.el (server-create-window-system-frame): Handle Nextstep
1472 specially (Bug#12780).
1473
6baf66d5 14742012-11-10 Glenn Morris <rgm@gnu.org>
fedb154e
GM
1475
1476 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1477 Unautoload, and make obsolete. (Bug#7449)
1478
6baf66d5 14792012-11-10 Chong Yidong <cyd@gnu.org>
9d9e48d9
CY
1480
1481 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
1482 rename from diff-remove-trailing-whitespace (Bug#12831).
1483
6baf66d5 14842012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
32170f7f
SM
1485
1486 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
1487 miscompilation of trace.el.
1488
6baf66d5 14892012-11-10 Glenn Morris <rgm@gnu.org>
26f59676
GM
1490
1491 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
1492
6baf66d5 14932012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
41626722
SM
1494
1495 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
1496 (bug#12812).
1497
6baf66d5 14982012-11-10 Chong Yidong <cyd@gnu.org>
7d806bfe
CY
1499
1500 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
1501 a defcustom with an appropriate :set function.
1502 (minibuffer-default--in-prompt-regexps): New function.
1503
6baf66d5 15042012-11-10 Glenn Morris <rgm@gnu.org>
2ee1d59f 1505
031b2ea7
GM
1506 * emacs-lisp/cl.el (define-setf-expander, defsetf)
1507 (define-modify-macro): Doc fixes.
1508
2ee1d59f
GM
1509 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
1510 (gv-define-simple-setter): Update doc of `fix-return'.
1511
6baf66d5 15122012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
d57c286e 1513
b715ed44
SM
1514 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
1515 twice when `fix-return' is set (bug#12813).
1516
d57c286e
SM
1517 * emacs-lisp/cl.el (defsetf): Pass the third arg to
1518 gv-define-simple-setter (bug#12812).
1519
c9cac599
SM
1520 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
1521 (bug#12756).
1522
6baf66d5 15232012-11-10 Glenn Morris <rgm@gnu.org>
6b3770fb
GM
1524
1525 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
1526
5593ed90
GM
1527 * emacs-lisp/cl-extra.el (cl-prettyexpand):
1528 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
1529 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
1530 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
1531
1532 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
1533
05a859c1
LL
15342012-11-10 Leo Liu <sdl.web@gmail.com>
1535
1536 * ido.el (ido-set-matches-1): Improve flex matching performance by
1537 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
1538
32e5c58c
SM
15392012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1540
1541 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
1542 (ad--defalias-fset): New function.
1543 (ad-safe-fset): Remove.
1544 (ad-make-freeze-definition): Use cl-letf*.
1545
f5925cd9
SM
15462012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1547
da03ef8a
SM
1548 * subr.el (dolist): Don't bind VAR in RESULT.
1549
6858633a
SM
1550 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
1551 (fset, documentation): Don't save real def since we don't advise.
1552 (ad-do-advised-functions): Remove problematic `result-form'.
1553 (ad-safe-fset): `ad-real-fset' => `fset'.
1554 (ad-read-advised-function): Don't assume that ad-do-advised-functions
1555 uses CL's dolist internally.
1556 (ad-arglist): Remove unused arg `name'.
1557 (ad-docstring, ad-make-advised-docstring):
1558 `ad-real-documentation' => `documentation'.
1559 (warning-suppress-types): Declare.
1560 (ad-set-arguments): Simple CSE.
1561 (ad-recover-normality): Sanity check.
1562
f5925cd9
SM
1563 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
1564 (funcall '(lambda ..) ..) into ((lambda ..) ..).
1565
93a66b3a
VB
15662012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
1567
1568 * ses.el: symbol to coordinate mapping is made by symbol property
f5925cd9
SM
1569 `ses-cell'. This means that the same mapping is done for all SES
1570 sheets. That is good enough for cells with standard A1 names, but
1571 not for named cell. So a hash map is added for the latter.
1572 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
93a66b3a
VB
1573 (ses-sym-rowcol): Use hashmap for named cell.
1574 (ses-is-cell-sym-p): New defun.
1575 (ses-decode-cell-symbol): New defun.
f5925cd9
SM
1576 (ses-create-cell-variable): Add cell to hashmap when name is not
1577 A1-like.
93a66b3a
VB
1578 (ses-rename-cell): Check that cell new name is not already in
1579 spreadsheet with the use of ses-is-cell-sym-p
1580 (ses-rename-cell): Use hash map for named cells, but accept also
1581 renaming back to A1-like.
1582
67dd8ad1
SM
15832012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1584
57618ecf
SM
1585 * emacs-lisp/advice.el: Use new dynamic docstrings.
1586 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1587 Use dynamic-docstring-function instead of ad-advice-info.
1588 (ad--make-advised-docstring): New function extracted from
1589 ad-make-advised-docstring.
1590 (ad-make-advised-docstring): Use it.
1591 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
1592 from sql-help.
1593 (sql-help): Use it with dynamic-docstring-function.
1594
67dd8ad1
SM
1595 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
1596
be883b34
SM
15972012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1598
d41706aa
SM
1599 * files.el (hack-one-local-variable--obsolete): New function.
1600 (hack-one-local-variable): Use it for obsolete settings.
1601
85e55412
SM
1602 * subr.el (locate-user-emacs-file): If both old and new name exist, use
1603 the new name.
1604
be883b34
SM
1605 * progmodes/js.el (js--filling-paragraph): New var.
1606 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
1607 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
1608 less sneaky.
1609
cabc040a
JD
16102012-11-08 Julien Danjou <julien@danjou.info>
1611
1612 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
1613 `auto-mode-alist' (Bug#12835).
1614
d14bb752
SM
16152012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1616
79b3e376
SM
1617 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
1618 (perl--prettify-symbols-alist): New const.
1619 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
1620 New functions.
1621 (perl-font-lock-keywords-2): Use them.
1622 (perl-electric-noindent-p): New function.
1623 (perl-mode): Use it to set up electric-indent-mode.
1624 (perl-electric-terminator, perl-indent-command): Mark obsolete.
1625 (perl-mode-map): Remove bindings for them.
1626 (perl-imenu-generic-expression, perl-outline-level):
1627 Match functions&packages in column>0.
1628
3b11e6ac
SM
1629 * env.el (env--substitute-vars-regexp): New const.
1630 (substitute-env-vars): Use it. Add `only-defined' arg.
1631 * net/tramp.el (tramp-replace-environment-variables): Use it.
1632
784c1a7b
SM
1633 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1634 Byte-compile *before* eval in eval-and-compile.
1635 (byte-compile-log-warning): Remove redundant inhibit-read-only.
1636 (byte-compile-file-form-autoload): Don't hide actual definition.
1637 (byte-compile-maybe-guarded): Accept `functionp' as well.
1638
d14bb752
SM
1639 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
1640
499a0f7a
MA
16412012-11-07 Michael Albinus <michael.albinus@gmx.de>
1642
1643 * notifications.el (notifications-get-server-information-method):
1644 New defconst.
1645 (notifications-get-capabilities): Fix docstring.
1646 (notifications-get-server-information): New defun.
1647
f0704a9a
AM
16482012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1649
1650 * textmodes/ispell.el (ispell-region): Standard re-indent for better
1651 readability.
1652
b159a1fd
AM
1653 * textmodes/ispell.el: Experimental support for support debugging.
1654 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
1655 buffer for ispell.
1656 (ispell-print-if-debug): New function to print stuff to
1657 `ispell-debug-buffer' if debugging is enabled.
1658 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
1659 show some debugging info.
1660 (ispell-buffer-with-debug): New function that creates a debugging
1661 buffer and calls `ispell-buffer' with debugging enabled.
1662
056cb3a1
AM
1663 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
1664 comment in autoconf mode. (Bug#12768)
1665
8e6a67b7
DA
16662012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
1667
1668 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
1669 frame-first-window, frame-root-window, frame-selected-window,
1670 minibuffer-selected-window, minibuffer-window,
1671 window-absolute-pixel-edges, window-at, window-body-height,
1672 window-body-width, window-display-table, window-combination-limit,
1673 window-frame, window-fringes, window-inside-absolute-pixel-edges,
1674 window-inside-edges, window-inside-pixel-edges, window-left-child,
1675 window-left-column, window-margins, window-next-buffers,
1676 window-next-sibling, window-new-normal, window-new-total,
1677 window-normal-size, window-parameter, window-parameters, window-parent,
1678 window-pixel-edges, window-point, window-prev-buffers,
1679 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
1680 window-start, window-text-height, window-top-child, window-top-line,
1681 window-total-height, window-total-width and window-use-time to the list
1682 of functions without side-effects.
1683 (toplevel): Add window-valid-p to the list of error-free functions
1684 without side-effects.
1685
53fc914f
AM
16862012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1687
f5925cd9
SM
1688 * textmodes/ispell.el (ispell-program-name):
1689 Update spellchecker parameters when customized.
53fc914f 1690
9749e2b0
GM
16912012-11-04 Glenn Morris <rgm@gnu.org>
1692
1693 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
1694
2cbafa56
CY
16952012-11-04 Chong Yidong <cyd@gnu.org>
1696
1697 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
1698 same-window-* variables.
1699
85178ca1
JL
17002012-11-04 Juri Linkov <juri@jurta.org>
1701
1702 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
1703 (isearch-describe-key, isearch-describe-mode): Use a display
1704 action instead of binding same-window-* variables (Bug#10040).
1705
5c677d44
GM
17062012-11-03 Glenn Morris <rgm@gnu.org>
1707
49138400
GM
1708 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1709 Rename handler properties back from cl-- to cl-. (Bug#12788)
1710
5c677d44
GM
1711 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
1712
1d4341f9
EZ
17132012-11-03 Eli Zaretskii <eliz@gnu.org>
1714
1715 * term/pc-win.el: Don't load term/internal from here.
1716
1717 * loadup.el: Load term/internal from here.
1718
12fd5ee1
FEG
17192012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
1720
1721 * progmodes/python.el (inferior-python-mode): Fix hang in
1722 jit-lock (Bug#12645).
1723
43bcfda6
MR
17242012-11-03 Martin Rudalics <rudalics@gmx.at>
1725
1726 * window.el (switch-to-visible-buffer)
1727 (switch-to-buffer-preserve-window-point): Fix doc-strings.
1728
376a8e83
GM
17292012-11-03 Glenn Morris <rgm@gnu.org>
1730
1731 * emacs-lisp/cl-lib.el (cl--random-time):
1732 Rename from cl-random-time. (Bug#12773)
1733 (cl--gensym-counter, cl--random-state): Update callers.
1734 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
1735
0f7b074f
CY
17362012-11-03 Chong Yidong <cyd@gnu.org>
1737
1738 * cus-start.el: Make cursor-type customizable (Bug#11633).
1739
3a6851d9
GM
17402012-11-02 Glenn Morris <rgm@gnu.org>
1741
00a3b041
GM
1742 * filecache.el: No need to load find-lisp when compiling.
1743 (find-lisp-find-files): Autoload it.
1744 (file-cache-add-directory-recursively): Don't require find-lisp.
1745
11fef14a
GM
1746 * image.el (image-type-from-file-name): Trivial simplification.
1747
3a6851d9
GM
1748 * emacs-lisp/bytecomp.el (byte-compile-eval):
1749 Decouple "noruntime" and "cl-functions" warnings.
1750
b4b096e4
SB
17512012-11-01 Stephen Berman <stephen.berman@gmx.net>
1752
1753 * play/gomoku.el (gomoku-display-statistics): Update mode line
1754 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
1755
218e997a
MR
17562012-10-31 Martin Rudalics <rudalics@gmx.at>
1757
1758 * window.el (quit-restore-window): If the window has been
1759 created on an existing frame and ended up as the sole window on
1760 that frame, do not delete it (Bug#12764).
1761
b08b6da7
SM
17622012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
1763
3618df45
SM
1764 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1765 Rename from sh--inside-arithmetic-expression, handle more cases
1766 (bug#11263).
1767
b08b6da7
SM
1768 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
1769 (sh-font-lock-open-heredoc): Use it (bug#12770).
1770
4ddedf94
GM
17712012-10-30 Glenn Morris <rgm@gnu.org>
1772
f43a5263
GM
1773 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
1774
4ddedf94
GM
1775 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
1776
748b0d84
CY
17772012-10-29 Chong Yidong <cyd@gnu.org>
1778
b5dd9a77
CY
1779 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
1780 function key is stored in a keyboard macro (Bug#4894).
1781
748b0d84
CY
1782 * thingatpt.el (number-at-point): Apply a thing-at-point property.
1783
e07fcbdc
SM
17842012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1785
d7f9cc85
SM
1786 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
1787 header comments".
1788 (diff-unified->context, diff-context->unified)
1789 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
1790
c606253c
SM
1791 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
1792
e07fcbdc
SM
1793 * files.el (find-alternate-file): Only ask one question (bug#12487).
1794
894b9dd9
CY
17952012-10-29 Chong Yidong <cyd@gnu.org>
1796
1dc2755a
CY
1797 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
1798 Suggested by Dan Nicolaescu (Bug#6326).
1799
329c48d8
CY
1800 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
1801
2230fa5b 1802 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 1803
e84cad57
CY
1804 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
1805
1913c5f5
CY
1806 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
1807
894b9dd9
CY
1808 * face-remap.el (face-remap-add-relative): Handle the case where a
1809 face-remapping-alist entry is a cons cell (Bug#12762).
1810
329c48d8
CY
18112012-10-29 Kevin Ryde <user42@zip.com.au>
1812
1813 * woman.el (woman-parse-numeric-value): Handle picas correctly
1814 (Bug#12639).
1815
a0ccbcbd
GM
18162012-10-29 Glenn Morris <rgm@gnu.org>
1817
1818 * emacs-lisp/cl.el (defsetf): Doc fix.
1819
b3871e59
SM
18202012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1821
1822 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
1823 syntax to the matching opener, if any (bug#12547).
1824 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
1825 matching open as a "case-(".
1826 (sh-smie-rc-grammar): Add a corresponding rule for it.
1827
cd44022c
DH
18282012-10-28 Daniel Hackney <dan@haxney.org>
1829
1830 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
1831 "PKGNAME-autoloads.el" in case we created it.
1832
70edffb1
SM
18332012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1834
86957a0c
SM
1835 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
1836 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 1837 (completion--twq-all): Disable too-strict assertions.
86957a0c 1838
70edffb1
SM
1839 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
1840
d069271c
EZ
18412012-10-27 Eli Zaretskii <eliz@gnu.org>
1842
1843 * profiler.el (profiler-report-make-entry-part): Fix help-echo
1844 text to match the real keybindings.
1845
e2f022a3
JL
18462012-10-27 Juri Linkov <juri@jurta.org>
1847
1848 * wdired.el (wdired-keep-marker-rename): New defcustom.
1849 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
1850 (Bug#11795)
1851
1852 * dired.el (dired-keep-marker-rename): Add reference to
1853 `wdired-keep-marker-rename' in the docstring.
1854 Add default character value ?R to display initially in
1855 Customization UI instead of ?@.
1856
df171c23
MR
18572012-10-27 Martin Rudalics <rudalics@gmx.at>
1858
1859 * window.el (display-buffer): In doc-string describe
1860 window-height and window-width alist entries.
1861
1862 * time.el (display-time-world): Restore fit-window-to-buffer
1863 behavior.
1864
05b621a6
CY
18652012-10-27 Chong Yidong <cyd@gnu.org>
1866
1867 * subr.el (insert-buffer-substring-as-yank): Doc fix.
1868
55f197b2
J
18692012-10-26 Jambunathan K <kjambunathan@gmail.com>
1870
1871 * minibuffer.el (completion-category-overrides): New completion
1872 category `bookmark' (bug#11131).
1873
372212df
SM
18742012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1875
150f809c
SM
1876 * emacs-lisp/advice.el (ad-assemble-advised-definition):
1877 Silence bogus compiler warnings for ad-do-it.
1878
372212df
SM
1879 * bookmark.el (bookmark-completing-read): Set the completion category
1880 to `bookmark' (bug#11131).
1881
c5772569
B
18822012-10-26 Bastien <bzg@altern.org>
1883 Stefan Monnier <monnier@iro.umontreal.ca>
1884
1885 * face-remap.el: Use lexical-binding.
1886 (text-scale-adjust): Improve docstring. Use itself for the temporary
1887 overlay-map bindings, so as to repeat the "Use..." message each time.
1888
a2be0357
SM
18892012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1890
63314e57
SM
1891 * emacs-lisp/macroexp.el (macroexp--expand-all):
1892 Obey byte-compile-warning-enabled-p (bug#12486).
1893
a2be0357
SM
1894 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
1895 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
1896
8c7727c3
MR
18972012-10-26 Martin Rudalics <rudalics@gmx.at>
1898
1899 * mouse.el (mouse-drag-line): Move last form into preceding when
1900 clause (Bug#12731).
1901
1902 * help.el (resize-temp-buffer-window): Fix doc-string.
1903
3f2a848d
DE
19042012-10-25 David Engster <deng@randomsample.de>
1905
1906 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 1907 Remove. This feature is already integrated in imenu.
3f2a848d
DE
1908
1909 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
1910 always loaded. Require `speedbar' unconditionally.
1911
a7723be6
SM
19122012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1913
aaabfc8b
SM
1914 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
1915
414a8595
SM
1916 * minibuffer.el (minibuffer-force-complete): Fix thinko.
1917
fb5b9475
SM
1918 * net/ldap.el (ldap-search-internal): The official ldif format starts
1919 with a "version: 1" header (bug#12724).
1920
a7723be6
SM
1921 * emacs-lisp/package.el (package-installed-p): Warn if not ready
1922 (bug#12721).
1923
a05cb6e3
GM
19242012-10-25 Glenn Morris <rgm@gnu.org>
1925
1926 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
1927
3c92de70
SM
19282012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1929
1930 * minibuffer.el (minibuffer-force-complete): Use one more marker
1931 for the temporary-overlay-map command (bug#12619).
1932
a4b6d7c6
CY
19332012-10-24 Chong Yidong <cyd@gnu.org>
1934
1935 * time.el (display-time-world-mode): Derive from special-mode.
1936 (display-time-world): Use display-buffer (Bug#12708).
1937 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
1938 (display-time-world-display): Wrap the final delete-char inside
1939 inhibit-read-only.
a4b6d7c6 1940
75e8f9d2
CY
19412012-10-24 Chong Yidong <cyd@gnu.org>
1942
cd996018
CY
1943 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
1944 Doc fix.
1945
75e8f9d2
CY
1946 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
1947
d92df117
SM
19482012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1949
1950 * minibuffer.el (completion--all-sorted-completions-location): New var.
1951 (completion--cache-all-sorted-completions)
1952 (completion--flush-all-sorted-completions): Use it.
1953 (completion-in-region, completion-in-region--postch)
1954 (completion-at-point, completion-help-at-point): Use markers in
1955 completion-in-region--data (bug#12619).
1956
9c3e39f3
SM
19572012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1958
c79825bd
SM
1959 * progmodes/compile.el (compilation-start): Try to handle common
1960 quoting of `cd' argument (bug#12640).
1961
9c3e39f3
SM
1962 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
1963 (bug#12671).
1964
a6709bc7
GM
19652012-10-23 Glenn Morris <rgm@gnu.org>
1966
1967 * progmodes/gud.el (gud-menu-map):
1968 Check gdb-active-process is bound. (Bug#12358)
1969
d1069532
SM
19702012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1971
d20d69c0
SM
1972 * repeat.el (repeat): Set real-this-command (bug#12232).
1973
d1069532
SM
1974 * htmlfontify.el (hfy-post-html-hook):
1975 * filesets.el (filesets-cache-fill-content-hook):
1976 * arc-mode.el (archive-extract-hook):
1977 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
1978 * net/rcirc.el (rcirc-sentinel-functions)
1979 (rcirc-receive-message-functions, rcirc-activity-functions)
1980 (rcirc-print-functions):
1981 * net/dbus.el (dbus-event-error-functions):
1982 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
1983 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
1984 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
1985 * term/sun.el (sun-raw-prefix-hooks):
1986 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
1987
f7eac6d8
MA
19882012-10-23 Michael Albinus <michael.albinus@gmx.de>
1989
d1069532
SM
1990 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1991 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
1992 (tramp-smb-wait-for-output): Add timeout to
1993 `tramp-accept-process-output' calls.
1994
608d9d7c
CY
19952012-10-23 Chong Yidong <cyd@gnu.org>
1996
49238e7f
CY
1997 * faces.el (font-list-limit): Define as an obsolete variable.
1998
1999 * startup.el (command-line):
2000 * cus-start.el: Don't refer to font-list-limit.
2001
608d9d7c
CY
2002 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
2003
4ff5b1b2
SM
20042012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2005
2006 * subr.el (internal-temp-output-buffer-show): Rename from
2007 temp-output-buffer-show, since previously compiled files expect this name.
2008
ea1d4aac
GM
20092012-10-23 Glenn Morris <rgm@gnu.org>
2010
2011 * image.el (image-type-from-file-name): If multiple types match,
2012 return the first one that is supported. (Bug#9045)
2013
eda82a31
GM
20142012-10-22 Glenn Morris <rgm@gnu.org>
2015
2016 * image.el (imagemagick-enabled-types): Doc fix.
2017
4f020bec
TA
20182012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
2019
2020 * progmodes/which-func.el (which-func-current): The hash-table may have
2021 an explicit nil (bug#12338).
2022
c77d37e2
SM
20232012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2024
2025 * electric.el (electric-pair-delete-selection-self-insert-function):
2026 Rename to electric-pair-will-use-region, return a boolean.
2027 (electric-pair-mode): Adjust accordingly. Don't require delsel.
2028
2029 * delsel.el (delete-selection-helper): Use a function instead of a hook.
2030 (delete-selection-pre-hook): Use use-region-p.
2031 (delete-selection-self-insert-function): Remove.
2032 (self-insert-command): Obey self-insert-uses-region-functions.
2033 (self-insert-iso): Revert to previous setting, since we don't actually
2034 know what that command does.
2035 (delete-selection-self-insert-hooks): Remove.
2036
b1d39ccc
SL
20372012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
2038
2039 * delsel.el (delete-selection-helper): New function, extracted from
2040 delete-selection-pre-hook.
2041 (delete-selection-pre-hook): Use it.
2042 (delete-selection-self-insert-function): New function.
2043 (delete-selection-self-insert-hooks): New hook.
2044 (self-insert-command, self-insert-iso): Use it.
2045 * electric.el (electric-pair-syntax): New function, extracted from
2046 electric-pair-post-self-insert-function.
2047 (electric-pair-post-self-insert-function): Use it.
2048 (electric-pair-delete-selection-self-insert-function): New function.
2049 (electric-pair-mode): Require delsel and setup
2050 delete-selection-self-insert-hooks (bug#11520).
2051
045ef729
CY
20522012-10-20 Chong Yidong <cyd@gnu.org>
2053
4c5d08a8
CY
2054 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
2055 no changes to show (Bug#12586).
2056
045ef729
CY
2057 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
2058 list explicitly (Bug#12571).
2059
3503c798 20602012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 2061
b1d39ccc
SL
2062 * progmodes/flymake.el (flymake-create-temp-inplace):
2063 Use file-truename.
79e1997a 2064
2068905b
EZ
20652012-10-20 Eli Zaretskii <eliz@gnu.org>
2066
2067 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
2068
4c9e9550
JB
20692012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
2070
2071 * calc/calc-units.el (math-extract-units): Properly extract powers
2072 of units.
2073
1a6e7e38
DC
20742012-10-20 Daniel Colascione <dancol@dancol.org>
2075
2076 * frame.el (make-frame): Set x-display-name as we used to in order
2077 to unbreak creating an X11 frame from an Emacs daemon started
2078 without a display.
2079
8e808318
SM
20802012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2081
2082 * minibuffer.el (minibuffer-force-complete): Make the next completion use
f5925cd9 2083 the same completion-field (bug#12221).
8e808318 2084
fb0104da
MR
20852012-10-19 Martin Rudalics <rudalics@gmx.at>
2086
2087 * emacs-lisp/debug.el (debug): Record height of debugger window
2088 also when debugger will be back (Bug#8789).
2089
8c27235e
CY
20902012-10-18 Chong Yidong <cyd@gnu.org>
2091
2092 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2093 Convert to defcustom.
2094 (gdb-get-source-file): Don't bind pop-up-windows.
2095
2096 * progmodes/gud.el (gud-display-line): Don't specially re-use
2097 other frames for the gdb-mi case (Bug#12648).
2098
90eacf99
SM
20992012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2100
aaf0c300
SM
2101 * emacs-lisp/advice.el: Clean up commentary a bit.
2102 (ad-do-advised-functions, ad-with-originals): Use `declare'.
2103 (byte-code-function-p): Never redefine.
2104
90eacf99
SM
2105 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
2106
281c9d2b
GM
21072012-10-18 Glenn Morris <rgm@gnu.org>
2108
40714e3d
GM
2109 * dired.el (dired-sort-toggle): Some ls implementations only allow
2110 a single option string. (Bug#12666)
2111
281c9d2b
GM
2112 * minibuffer.el (completion-cycle-threshold): Doc fix.
2113
b278604e
KH
21142012-10-17 Kenichi Handa <handa@gnu.org>
2115
90eacf99
SM
2116 * international/mule.el (set-keyboard-coding-system):
2117 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
2118 Supply TERMINAL arg to set-input-meta-mode.
2119
df171c23 21202012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
2121
2122 * wdired.el (wdired-old-marks): New variable.
2123 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
2124 (wdired-do-renames): Move point with renamed file and don't lose
2125 mark status (Bug#11795).
2126
e5a94ec4
JL
21272012-10-16 Juri Linkov <juri@jurta.org>
2128
2129 * replace.el (query-replace-help): Mention multi-buffer replacement
2130 keys in the Help message. (Bug#12655)
2131
d18a0d24
CY
21322012-10-15 Chong Yidong <cyd@gnu.org>
2133
2134 * emacs-lisp/byte-run.el (defsubst): Doc fix.
2135
8111f5e6
EZ
21362012-10-14 Eli Zaretskii <eliz@gnu.org>
2137
7b9abf24
EZ
2138 * window.el (display-buffer): Doc fix.
2139
8111f5e6
EZ
2140 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2141 Adjust the msft regexp to the output of Studio 2010, and move msft
2142 before edg-1. See the discussion on emacs-devel,
2143 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
2144 for the details.
2145
5046ef67
SM
21462012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
2147
9760c73c
SM
2148 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
2149 (oset): Move uses of object-class-fast macro after its definition.
2150
5046ef67
SM
2151 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
2152
0d11ff1c
CY
21532012-10-13 Chong Yidong <cyd@gnu.org>
2154
2155 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
2156 enabled, re-enable it (Bug#11963).
2157
88ded8ac
MR
21582012-10-13 Martin Rudalics <rudalics@gmx.at>
2159
2160 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
2161 non-nil, restore window configuration (Bug#12623).
2162
bd0ffffd
SM
21632012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2164
06485aa8
SM
2165 * help-fns.el (describe-variable, describe-function-1):
2166 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
2167
bd0ffffd
SM
2168 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
2169
3a989246
GM
21702012-10-12 Glenn Morris <rgm@gnu.org>
2171
2172 * mail/rmailsum.el (rmail-header-summary):
2173 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
2174
55cd00c8
FEG
21752012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
2176
bd0ffffd
SM
2177 * progmodes/python.el (python-mode-map):
2178 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
2179 (python-nav--up-list): Fix behavior for blocks on the same level.
2180
ac9fc2c7
SM
21812012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2182
d8cc4c00 2183 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 2184
5253a5fd
SM
2185 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
2186 changes to the format of load-history.
2187
ac9fc2c7
SM
2188 * international/mule-cmds.el (read-char-by-name): Move let-binding of
2189 completion-ignore-case in case that var is buffer-local (bug#12615).
2190
cde44a77
KH
21912012-10-11 Kenichi Handa <handa@gnu.org>
2192
2193 * international/eucjp-ms.el: Re-generated.
2194
4ef4a10d
KH
21952012-10-10 Kenichi Handa <handa@gnu.org>
2196
2197 * select.el (xselect--encode-string): If a coding is specified for
2198 selection, and that is compatible with COMPOUND_TEXT, use it.
2199
9d7f027b
MR
22002012-10-10 Martin Rudalics <rudalics@gmx.at>
2201
2202 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
2203 (switch-to-buffer):
2204 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 2205
238f3a58
SM
22062012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2207
2208 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
2209 Don't document nil as a useful value (bug#12583).
2210
1d51f99c
MA
22112012-10-09 Michael Albinus <michael.albinus@gmx.de>
2212
238f3a58
SM
2213 * net/tramp.el (tramp-debug-message):
2214 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
2215 (with-tramp-progress-reporter): Rename from
2216 `tramp-with-progress-reporter'.
238f3a58
SM
2217 (with-tramp-file-property, with-tramp-connection-property):
2218 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
2219 `with-connection-property', respectively.
2220
2221 * net/tramp-cache.el: Remove `with-file-property' and
2222 `with-connection-property'.
2223
2224 * net/tramp.el:
2225 * net/tramp-gvfs.el:
2226 * net/tramp-sh.el:
2227 * net/tramp-smb.el: Adapt callees.
2228
2229 * net/trampver.el: Update release number.
2230
26b77251
GM
22312012-10-09 Glenn Morris <rgm@gnu.org>
2232
9a5f296f
GM
2233 * w32-fns.el (set-message-beep):
2234 * term/w32-win.el (set-message-beep): Update declarations.
2235
94c66ce5
SM
22362012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2237
10766e9e
SM
2238 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
2239 (mode-line-widen, mode-line-input-method-map)
2240 (mode-line-coding-system-map, mode-line-remote)
2241 (mode-line-unbury-buffer, mode-line-bury-buffer)
2242 (mode-line-next-buffer, mode-line-previous-buffer):
2243 Replace save-selected-window+select-window => with-selected-window.
2244
f754db08
SM
2245 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
2246 * progmodes/cc-vars.el (bq-process): Remove, unused.
2247
94c66ce5
SM
2248 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
2249
a4ff7fe1
FEG
22502012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
2251
2252 Implemented `backward-up-list'-like navigation.
2253 * progmodes/python.el (python-nav-up-list)
2254 (python-nav-backward-up-list): New functions.
2255 (python-mode-map): Define substitute key for backward-up-list to
2256 python-nav-backward-up-list.
2257
24517d82
FEG
22582012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2259
2260 * progmodes/python.el (python-fill-paragraph): Rename from
2261 python-fill-paragraph-function. Fixed fill-paragraph for
2262 decorators (Bug#12605).
2263
51867ae2
FEG
22642012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2265
2266 * progmodes/python.el (python-shell-output-filter): Handle extra
2267 carriage return in OSX (Bug#12409).
2268
a5b773c4
FEG
22692012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2270
2271 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 2272 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
2273 (python-syntax-propertize-function): Use it.
2274 (python-shell-output-syntax-table): New var.
2275 (inferior-python-mode): Prevent unbalanced parens/quotes from
2276 previous output mess with current input context.
2277
13373538
JB
22782012-10-08 Juanma Barranquero <lekktu@gmail.com>
2279
2280 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
2281 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
2282
775a132d
MA
22832012-10-08 Michael Albinus <michael.albinus@gmx.de>
2284
2285 * ffap.el (ffap-replace-file-component): Support Tramp file name
2286 syntax, not only ange-ftp's one.
2287
3ab44929
GM
22882012-10-08 Glenn Morris <rgm@gnu.org>
2289
57f1dee4
GM
2290 * cus-start.el (message-log-max): Set :version.
2291
3ab44929
GM
2292 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
2293
6a088630
MR
22942012-10-08 Martin Rudalics <rudalics@gmx.at>
2295
2296 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
2297 the minibuffer window (Bug#10851).
2298
8dbce54c
FEG
22992012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2300
2301 Enhancements on forward-sexp movement.
2302 * progmodes/python.el (python-nav-beginning-of-statement)
2303 (python-nav-end-of-statement): Return point-marker.
2304 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
2305 (python-info-current-symbol)
2306 (python-info-statement-starts-block-p): Rename from
2307 python-info-beginning-of-block-p.
2308 (python-info-statement-ends-block-p): Rename from
2309 python-info-end-of-block-p.
2310 (python-info-beginning-of-statement-p)
2311 (python-info-end-of-statement-p)
2312 (python-info-beginning-of-block-p, python-info-end-of-block-p):
2313 New functions.
2314
5acd2b3e
SM
23152012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2316
2317 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
2318 frame-selected-windows.
2319
e08348a0
DC
23202012-10-08 Daniel Colascione <dancol@dancol.org>
2321
2322 * battery.el (battery-status-function): Check for
2323 w32-battery-status itself, not system-time windows-nt.
2324
2325 * frame.el: Require cl-lib.
2326 (display-format-alist): New variable mapping frame types to
2327 functions that initialize them.
2328 (window-system-for-display): New function: interprets
2329 display-format-alist.
2330 (make-frame-on-display): Remove existing display-selection logic
2331 and just forward to make-frame, which will now DTRT.
2332 (make-frame): Restructure to use window-system-for-display to
2333 figure out how to create a frame on a given display.
2334 (display-mouse-p): Look for frame-type w32, not a particular
2335 system-type.
2336
2337 * loadup.el: Load w32 lisp code when we have the w32 feature.
2338
2339 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
2340 system-type windows-nt.
2341
2342 * server.el (server-create-window-system-frame): Look for window
2343 type.
2344 (server-proces-filter): Only force a window system when windows-nt
2345 _and_ w32. Explain why.
2346
2347 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
2348 of window systems we configure for the mode.
2349
2350 * startup.el (command-line): Mark window system is initialized
2351 after we've done it.
2352
2353 * common-win.el (x-select-text): Look for w32, not windows-nt.
2354
2355 * ns-win.el: Require cl-lib. Add ourselves to
2356 display-format-alist.
2357 (ns-initialize-window-system): Assert we're not initialized twice.
2358
2359 * w32-win.el: Enable lexical binding; require cl-lib; add
2360 ourselves to display-format-alist.
2361 (w32-handle-dropped-file): Convert incoming dropped files from
2362 Windows paths to Cygwin ones before passing them on to the rest of
2363 Emacs.
2364 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
2365 (w32-initialize-window-system): Assert we're not initialized twice.
2366
2367 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
2368 (x-initialize-window-system): Assert we're not initialized twice.
2369
2370 * w32-common-fns.el: New File.
2371 (w32-version, w32-using-nt, w32-get-clipboard-data)
2372 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2373 (w32-charset-info-alist, x-last-selected, text)
2374 (x-get-selection-value, x-selection-value): Move here.
2375
2376 * w32-fns.el: Require w32-common-fns.
2377 (w32-version, w32-using-nt, w32-get-clipboard-data)
2378 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2379 (w32-charset-info-alist, x-last-selected, text)
2380 (x-get-selection-value, x-selection-value): Move to
2381 w32-common-fns.
2382
2383 * w32-vars.el:
2384 (w32-allow-system-shell, w32-system-shells): Define only in
2385 non-cygwin case.
2386
795b1482
SM
23872012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2388
2389 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
2390 (read-passwd): Remove a few more potential sources of leaks.
2391
f27c99dc
FEG
23922012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2393
2394 * progmodes/python.el (inferior-python-mode)
795b1482 2395 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
2396 variables copied from parent buffer.
2397
fcacb558
JD
23982012-10-07 Jan Djärv <jan.h.d@swipnet.se>
2399
2400 * term/ns-win.el (ns-read-file-name): Update declaration to match
2401 nsfns.m.
2402 (ns-respond-to-change-font): Change fontsize separatly so we are sure
2403 it is set when font is acted upon.
2404
be0d5bae
FEG
24052012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2406
2407 Enhancements to indentation.
2408 * progmodes/python.el (python-indent-context): Give priority to
2409 inside-string context. Make comments indentation markers.
2410 (python-indent-region): Do not mess with strings, unless it's the
2411 enclosing set of quotes.
2412
13af0d10
SM
24132012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2414
662a9d0e
SM
2415 * window.el (internal--before-save-selected-window)
2416 (internal--after-save-selected-window): New functions extracted from
2417 save-selected-window. Make sure we return the `alist' we construct.
2418 (save-selected-window): Use them.
2419
2420 * textmodes/tex-mode.el (tex-recenter-output-buffer):
2421 Use with-selected-window.
2422
13af0d10
SM
2423 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
2424 forms that define macros (bug#12593).
2425
6aa75fb6
KH
24262012-10-07 Kenichi Handa <handa@gnu.org>
2427
13af0d10
SM
2428 * international/mule-conf.el (compound-text-with-extensions):
2429 Add :mime-charset property as x-ctext.
6aa75fb6 2430
78d876b9
SM
24312012-10-07 Stefan Merten <smerten@oekonux.de>
2432
2433 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2434 (rst-indent-literal-normal, rst-indent-literal-minimized)
2435 (rst-indent-comment): Correct :version tag.
557337e9 2436 (rst-official-cvs-rev): Correct version string.
78d876b9 2437
99a1e701
GM
24382012-10-07 Glenn Morris <rgm@gnu.org>
2439
2440 * mail/rmailmm.el (rmail-mime-process-multipart):
2441 Do not confuse a multipart message with an epilogue
2442 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
2443
08f18c3d
FEG
24442012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2445
2446 Fix shell output retrieval and comint-prompt-regexp init.
2447 * progmodes/python.el (inferior-python-mode):
2448 (python-shell-make-comint): Fix initialization of
2449 comint-prompt-regexp from copied file local variables.
2450 (python-shell-fetched-lines): Remove var.
2451 (python-shell-output-filter-in-progress): Rename from
2452 python-shell-fetch-lines-in-progress.
2453 (python-shell-output-filter-buffer): Rename from
2454 python-shell-fetch-lines-string.
2455 (python-shell-fetch-lines-filter): Delete function.
2456 (python-shell-output-filter): New function.
2457 (python-shell-send-string-no-output): Use them.
2458
82ed3ab4
GM
24592012-10-07 Glenn Morris <rgm@gnu.org>
2460
1595ecfa
GM
2461 * hi-lock.el (hi-lock-process-phrase):
2462 Try to make it less fragile. (Bug#7161)
2463
82ed3ab4
GM
2464 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
2465
f1f4dba0
GM
24662012-10-06 Glenn Morris <rgm@gnu.org>
2467
addc11ed 2468 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
2469 non-existent mode `help'.
2470 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 2471
460042b8
GM
2472 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
2473 (reftex-create-bibtex-footer): Fix custom types.
2474
67667c70
GM
2475 * progmodes/sh-script.el (sh-indent-after-continuation):
2476 Add explicit :group.
2477
18dec750
GM
2478 * textmodes/rst.el (rst-preferred-decorations)
2479 (rst-shift-basic-offset): Clarify obsolescence versions.
2480
d1a1c7e6
GM
2481 * profiler.el (profiler): Add missing group :version tag.
2482 * avoid.el (mouse-avoidance-banish-position):
2483 * proced.el (proced-renice-command):
2484 * calc/calc.el (calc-ensure-consistent-units):
2485 * calendar/icalendar.el (icalendar-import-format-uid):
2486 * net/tramp.el (tramp-save-ad-hoc-proxies):
2487 * progmodes/bug-reference.el (bug-reference-bug-regexp):
2488 * progmodes/flymake.el (flymake-error-bitmap)
2489 (flymake-warning-bitmap, flymake-fringe-indicator-position):
2490 * progmodes/sh-script.el (sh-indent-after-continuation):
2491 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
2492 (verilog-before-save-font-hook, verilog-after-save-font-hook):
2493 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
2494 (vhdl-array-index-record-field-in-sensitivity-list)
2495 (vhdl-indent-comment-like-next-code-line):
2496 * textmodes/reftex-vars.el (reftex-ref-style-alist)
2497 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
2498 (reftex-cite-key-separator, reftex-create-bibtex-header)
2499 (reftex-create-bibtex-footer):
2500 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2501 (rst-indent-literal-normal, rst-indent-literal-minimized)
2502 (rst-indent-comment): Add missing custom :version tags.
2503
ef35abb4
GM
2504 * calendar/timeclock.el (timeclock-modeline-display):
2505 Add missing obsolete alias for renamed user option.
2506
d1aae614
GM
2507 * strokes.el (strokes-modeline-string):
2508 * emulation/crisp.el (crisp-mode-modeline-string):
2509 * eshell/esh-mode.el (eshell-status-in-modeline):
2510 Aliases to defcustoms must come before the defcustom.
2511
f1f4dba0
GM
2512 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
2513 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
2514 (cal-tex-cursor-week-monday): Doc fixes.
2515 (cal-tex-cursor-week2-summary): Doc fix.
2516 Rename from cal-tex-cursor-week-at-a-glance.
2517
2518 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
2519 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
2520
2521 * calendar/calendar.el (calendar-mode-map):
2522 Add cal-tex-cursor-week2-summary.
2523
d39109c3
SM
25242012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
2525
685f87b0
SM
2526 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
2527
d39109c3
SM
2528 * subr.el (read-passwd-map): New var.
2529 (read-passwd): Use `read-string' again.
2530 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
2531
5694896d
J
25322012-10-06 Jambunathan K <kjambunathan@gmail.com>
2533
2534 * register.el (append-to-register, prepend-to-register):
2535 Deactivate mark, as does `copy-to-register' (bug#12389).
2536
9414dd8d
CY
25372012-10-06 Chong Yidong <cyd@gnu.org>
2538
2539 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
2540
2b89bca4
KH
25412012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
2542
2543 * international/characters.el: Fix simple mistake ((car chars) ->
2544 elt), delete duplicated code.
2545
d5acb99a
GM
25462012-10-06 Glenn Morris <rgm@gnu.org>
2547
2548 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
2549
123ec157
JS
25502012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
2551
2552 * color.el (color-hsl-to-rgb): Fix incorrect results for
2553 small and large hue values. (Bug#12559)
2554
7fa36ccb
FEG
25552012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
2556
2557 Enhancements to docstring formatting when filling paragraphs.
2558 * progmodes/python.el (python-fill-docstring-style): Rename from
2559 python-fill-string-style. Added new style.
2560 (python-fill-string): Use new style. Better checks for
2561 docstrings.
2562
d8788e1e
GM
25632012-10-05 Glenn Morris <rgm@gnu.org>
2564
204f3953
GM
2565 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
2566
d8788e1e
GM
2567 * color.el (color-name-to-rgb, color-rgb-to-hex)
2568 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
2569 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
2570 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2571 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
2572
8d956cef
GM
2573 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
2574
e8757f09 25752012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
2576
2577 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
2578 to get the correct size across symlinks.
2579
e8757f09
GM
2580 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
2581
0e2ae83d
JL
25822012-10-04 Juri Linkov <juri@jurta.org>
2583
2584 * replace.el (query-replace-interactive): Declare obsolete.
2585 (query-replace-read-from): Add the last incremental search string
2586 to the list of default values accessible via M-n.
2587 (map-query-replace-regexp): Use `read-regexp'.
2588 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2589 (map-query-replace-regexp, replace-string, replace-regexp):
2590 Fix docstrings to replace mentions of `query-replace-interactive'
2591 with alternatives. (Bug#12526)
2592
93cacb6d
JL
25932012-10-04 Juri Linkov <juri@jurta.org>
2594
2595 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
2596 (dired-pop-to-buffer): Declare obsolete.
2597 (dired-mark-pop-up): Doc fix.
2598
fc345011
FEG
25992012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
2600
2601 Allow user to set docstring style for fill-paragraph.
2602 * progmodes/python.el
2603 (python-fill-comment-function, python-fill-string-function)
2604 (python-fill-decorator-function, python-fill-paren-function):
2605 Remove :safe for defcustoms.
2606 (python-fill-string-style): New defcustom
5694896d 2607 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
2608 (python-fill-string): Honor python-fill-string-style settings.
2609
6bab5d8b
MR
26102012-10-04 Martin Rudalics <rudalics@gmx.at>
2611
2612 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
2613 after setting its buffer (Bug#10805).
2614
a1a9f411
FEG
26152012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
2616
2617 Fix cornercase for string syntax.
2618 * progmodes/python.el (python-syntax-propertize-function):
2619 Simplify and enhance the regexp for unescaped quotes. Now it also
2620 matches quotes in weird situations like the single quote in
2621 "something\"'".
2622 (python-syntax-stringify): Simplify num-quotes detecting code.
2623
05e153a6
GM
26242012-10-03 Glenn Morris <rgm@gnu.org>
2625
2626 * help-macro.el (three-step-help):
2627 Revert 2012-09-29 change. (Bug#12567)
2628
2e566ecb
MR
26292012-10-03 Martin Rudalics <rudalics@gmx.at>
2630
96ef9ccd
MR
2631 * menu-bar.el (kill-this-buffer): Don't do anything when
2632 `menu-frame' is not alive or visible (Bug#8184).
2633
2e566ecb
MR
2634 * emacs-lisp/debug.el (debug): When quitting the debugger window
2635 restore current buffer (Bug#12502).
2636
a96e1cb7
CY
26372012-10-02 Chong Yidong <cyd@gnu.org>
2638
5694896d
J
2639 * progmodes/hideif.el (hif-lookup, hif-defined):
2640 Handle semantic-c-takeover-hideif.
a96e1cb7 2641
b3ecad33
PE
26422012-10-02 Paul Eggert <eggert@cs.ucla.edu>
2643
2644 Change sampling interval units from ms to ns.
2645 * profiler.el (profiler-sampling-interval): Change units
2646 from ms to ns, multiplying the default by 1000000 so that
2647 it remains 1 ms.
2648 (profiler-report-cpu-line-format): Give enough room for
2649 the maximum counters on 64-bit hosts.
2650 (profiler-report-render-calltree-1): Call them "CPU samples",
2651 not "Time (ms)", since they are not milliseconds now (and
2652 never really were).
2653
8cb51b66 26542012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 2655
5694896d
J
2656 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
2657 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 2658
fd795bf4
CY
26592012-10-02 Chong Yidong <cyd@gnu.org>
2660
2661 * emacs-lisp/eieio.el: Restore Version header.
2662
fe0a74f9
SM
26632012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2664
6be9197e
SM
2665 * vc/diff-mode.el (diff--auto-refine-data): New var.
2666 (diff-hunk): Use it to delay refinement.
2667 (diff-mode): Remove overlays when we turn off font-lock.
2668
18486139
SM
2669 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
2670 (table-initialize-table-fixed-width-mode)
2671 (table-set-table-fixed-width-mode): Remove functions.
2672 (table-command-list): Move initialization into declaration.
2673 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
2674 (table-with-cache-buffer): Use `declare'.
2675 (table-span-cell): Simplify via CSE.
2676 (table-fixed-width-mode): Use define-minor-mode.
2677 (table-call-interactively, table-funcall, table-apply): Remove.
2678 (table-function): New function, to replace them.
2679
d83ef976
SM
2680 * bookmark.el (bookmark-search-pattern): Remove var.
2681 (bookmark-read-search-input): Remove function.
2682 (bookmark-bmenu-search): Reimplement using a minibuffer.
2683
cd386662
SM
2684 * faces.el (modeline): Remove obsolete face name.
2685
fe0a74f9
SM
2686 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
2687 and give a non-nil default value.
2688 (add-change-log-entry): Simplify accordingly.
2689
9f7b98f8
DG
26902012-10-01 Dmitry Gutov <dgutov@yandex.ru>
2691
2692 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
2693 (vc-git-log-edit-toggle-amend): New function.
2694 (vc-git-log-edit-toggle-signoff): New function.
2695 (vc-git-log-edit-mode): New major mode.
2696 (vc-git-log-edit-mode-map): Keymap for it.
2697 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
2698
2699 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
2700 header names.
2701 (log-edit-toggle-header): New function.
2702 (log-edit-extract-headers): Accept function values in HEADERS alist.
2703
62a81506
CY
27042012-10-01 David Engster <deng@randomsample.de>
2705
2706 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
2707 from symbol property and change message to be more consistent with
2708 Emacs proper.
2709 (eieio-describe-generic): Add filename for each implementation.
2710 Fix indices for generic and normal methods.
2711 (eieio-method-def, eieio-class-def): New buttons.
2712 (eieio-help-find-method-definition)
2713 (eieio-help-find-class-definition): New functions.
2714 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
2715 class, constructor and method definitions.
2716
2717 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
2718 information in symbol property.
2719 (scoped-class): Remove.
2720 (eieio-slot-name-index, call-next-method): Check if it is bound.
2721
27222012-10-01 Leo P. White <lpw25@cam.ac.uk>
2723
2724 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
2725 (eieio-custom-mode): New major mode.
2726 (eieio-customize-object): Use it.
2727
27282012-10-01 Eric Ludlam <zappo@gnu.org>
2729
2730 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
2731 specifying the expected class, and whether subclassing is allowed.
2732 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
2733 (eieio-persistent-validate/fix-slot-value)
2734 (eieio-persistent-slot-type-is-class-p): New functions.
2735 (eieio-named::slot-missing): Doc fix.
62a81506
CY
2736
2737 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
2738 Stop using unused publd variable.
2739
2740 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
2741 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
2742 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
2743 (eieio-speedbar-handle-click): Do not specify a class for the
2744 method. Fixes method invocation order problems with EDE.
2745
375e49d4
SM
27462012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2747
2748 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
2749 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
2750
16ce6ccd
KF
27512012-10-01 Karl Fogel <kfogel@red-bean.com>
2752
2753 * bookmark.el (bookmark-version-control): Give tags in the
2754 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
2755 (bookmark-write-file): Bind `print-circle' to `t' to allow
2756 circular custom bookmark types. (Bug#12503)
16ce6ccd 2757
19e54a4d
PE
27582012-10-01 Paul Eggert <eggert@cs.ucla.edu>
2759
86ec63ba
PE
2760 Revert the FOLLOW-SYMLINKS change for file-attributes.
2761 * files.el (remote-file-name-inhibit-cache, after-find-file):
2762 * time.el (display-time-file-nonempty-p): Undo last change.
2763
19e54a4d
PE
2764 * profiler.el (profiler-sampling-interval): Change default back to 1.
2765 See Stefan Monnier in
2766 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
2767
0478776b
FEG
27682012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
2769
2770 Shell output catching a la gud-gdb.
2771 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
2772 (python-shell-fetch-lines-string, python-shell-fetched-lines):
2773 New Vars.
0478776b
FEG
2774 (python-shell-fetch-lines-filter): New function.
2775 (python-shell-send-string-no-output): Use them.
2776
c22bac2c
TM
27772012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
2778
2779 * profiler.el (profiler-sampling-interval): Rename from
2780 profiler-sample-interval.
2781 (profiler-sampling-interval): Default to 10.
2782 (profiler-find-profile): New command (was profiler-find-log).
2783 (profiler-find-profile-other-window): New command.
2784 (profiler-find-profile-other-frame): New command.
2785 (profiler-profile): Introduce API-level data structure.
2786
e7a2937b
PE
27872012-09-30 Paul Eggert <eggert@cs.ucla.edu>
2788
2789 file-attributes has a new optional arg FOLLOW-SYMLINKS.
2790 * files.el (remote-file-name-inhibit-cache):
2791 * time.el (display-time-file-nonempty-p): Use it.
2792 * files.el (after-find-file): Don't chase links before calling
2793 file-exists-p, as file-exists-p already does the right thing.
2794
4f595e15
RA
27952012-09-30 Ralf Angeli <angeli@caeruleus.net>
2796
2797 Merge from standalone RefTeX repository.
2798
2799 The following ChangeLog entries are shortened versions of the
2800 original ones with file paths adapted. A not so strongly edited
2801 version of the original ChangeLog can be found in the commit log.
2802
2803 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
2804 (reftex-arg-cite): Use `reftex-cite-key-separator'.
2805 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
2806
2807 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
2808 that entries with whitespace at various places are found.
2809 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
2810 Include @String definitions in the resulting bib file. Add header
2811 and footer defined in `reftex-create-bibtex-header' and
2812 `reftex-create-bibtex-footer'.
2813 (reftex-do-citation): Make it possible again to insert
2814 non-existent entries. Save match data when asking for optional
2815 arguments. Return all keys, not just the first one.
2816 (reftex-all-used-citation-keys): Fix regexp to correctly extract
2817 all citations in the same line.
2818 (reftex-parse-bibtex-entry): Accept additional optional argument
2819 `raw' and keep quotes or braces if it is non-nil. Match fields
2820 containing hyphens besides word constituents.
2821 (reftex-get-string-refs): New function.
2822 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
2823 and ask if it should be reread in case it did.
2824 (reftex-pop-to-bibtex-entry)
2825 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
2826 entries with spaces or tabs in front of arguments.
2827 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
2828 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
2829 Match entries containing numbers and symbol constituents.
2830 (reftex-do-citation, reftex-figure-out-cite-format):
2831 Use `reftex-cite-key-separator'.
4f595e15
RA
2832
2833 * textmodes/reftex-dcr.el: Move provide statement to end of file.
2834 (reftex-mouse-view-crossref): Explain why point is set.
2835
2836 * textmodes/reftex-global.el: Whitespace changes.
2837
2838 * textmodes/reftex-index.el: Move provide statement to end of
2839 file.
2840 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
2841 (reftex-index-visit-phrases-buffer): Set marker when visiting
2842 buffer. This allows for returning from the phrases file to the
2843 file one was just editing instead of the file where the last
2844 phrases was added from.
2845 (reftex-index-phrases-syntax-table): New variable. Give ?\"
2846 punctuation syntax as it usually is not used as string quote in
2847 TeX-related modes and may occur unmatched. The change also
2848 prevents fontification of quoted content.
2849 (reftex-index-phrases-mode): Use it.
2850
375e49d4
SM
2851 * textmodes/reftex-parse.el (reftex-parse-from-file):
2852 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
2853 (reftex-parse-from-file): Use beginning of match instead of end as
2854 bound.
2855
2856 * textmodes/reftex-ref.el: Adapt creation of
2857 `reftex-<package>-<macro>' functions to new structure of
2858 `reftex-ref-style-alist'.
375e49d4
SM
2859 (reftex-reference): Use `reftex-ref-style-list' function.
2860 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
2861 reference macro if `reftex-ref-macro-prompt' is non-nil.
2862 (reftex-reference): Pass refstyle to `reftex-format-special'.
2863 Determine reference macro by looking at
375e49d4
SM
2864 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
2865 Use only one special format function.
4f595e15
RA
2866 (reftex-varioref-vref, reftex-fancyref-fref)
2867 (reftex-fancyref-Fref): Remove definitions. The functions are now
2868 generated from `reftex-ref-style-alist'.
2869 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
2870 Remove.
2871 (reftex-format-special): New function.
2872
2873 * textmodes/reftex-sel.el
2874 (reftex-select-cycle-ref-style-internal): Adapt to new structure
2875 of `reftex-ref-style-alist'. Remove code for testing macro type.
2876 (reftex-select-toggle-varioref)
2877 (reftex-select-toggle-fancyref): Remove.
2878 (reftex-select-cycle-ref-style-internal)
2879 (reftex-select-cycle-ref-style-forward)
2880 (reftex-select-cycle-ref-style-backward): New functions.
2881 (reftex-select-label-map): Use `v' and `V' for general cycling
2882 through reference styles. Add `p' for switching between number
2883 and page reference types.
2884
375e49d4
SM
2885 * textmodes/reftex-toc.el (reftex-re-enlarge):
2886 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
2887 the horizontal version throws an error even if the parameter is 0.
2888
2889 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
2890 (reftex-plug-into-AUCTeX): Doc fix.
2891 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
2892 string. Adapt to new name.
2893 (reftex-ref-style-alist): Change structure so that it is not
2894 possible to use multiple different package names within a style.
375e49d4
SM
2895 Remove the symbols for symbols for macro type distinction.
2896 Add characters for macro selection.
4f595e15
RA
2897 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
2898 (reftex-create-bibtex-footer): New variables.
2899 (reftex-format-ref-function): Mention third argument of special
2900 format function.
375e49d4
SM
2901 (reftex-ref-style-alist, reftex-ref-style-default-list):
2902 New variables.
4f595e15
RA
2903 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
2904 to new implementation. Mark as obsolete. Add compatibility code
2905 for honoring the variable values in case they are set.
375e49d4
SM
2906 (reftex-cite-format-builtin, reftex-bibliography-commands):
2907 Add support for ConTeXt.
2908 (reftex-format-ref-function, reftex-format-cite-function):
2909 Fix custom type.
4f595e15
RA
2910 (reftex-cite-key-separator): New variable.
2911
2912 * textmodes/reftex.el (reftex-syntax-table-for-bib)
2913 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
2914 `reftex-syntax-table' because parens have to retain their paren
2915 syntax in order for parsing of BibTeX entries like @book(...) to
2916 work.
2917 (reftex-in-comment): Do not error out if `comment-start-skip' is
2918 not set. Deal correctly with escaped comment characters.
375e49d4
SM
2919 (reftex-tie-multifile-symbols): Add doc string.
2920 Initialize `reftex-ref-style-list'.
4f595e15
RA
2921 (reftex-untie-multifile-symbols): Add doc string.
2922 (reftex-add-index-macros): Doc fix.
2923 (reftex-ref-style-activate, reftex-ref-style-toggle)
2924 (reftex-ref-style-list): New functions.
2925 (reftex-mode-menu): Use them. Adapt to new structure of
2926 `reftex-ref-style-alist'.
2927 (reftex-select-with-char): Kill the RefTeX Select buffer when
2928 done.
2929 (reftex-remove-if): New function.
2930 (reftex-erase-all-selection-and-index-buffers)
2931 (reftex-mode-menu): Reference styles are now computed from
2932 `reftex-ref-style-alist'. Fix typo.
2933 (reftex-report-bug): New function.
2934 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
2935 algorithms with O(n log n). Introduce optional argument SORT (not
2936 yet used).
2937
440ba395
FEG
29382012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
2939
2940 Enhancements for triple-quote string syntax.
375e49d4
SM
2941 * progmodes/python.el (python-syntax-propertize-function):
2942 Match both quote cases in one regexp.
440ba395
FEG
2943 (python-syntax-stringify): Handle matches properly.
2944
4c478e6b
JL
29452012-09-30 Juri Linkov <juri@jurta.org>
2946
2947 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 2948 to nil around the call to `insert' to prevent
4c478e6b
JL
2949 directory time modification by lock_file. (Bug#2295)
2950 * tar-mode.el (tar-summarize-buffer): Idem.
2951
d80d54b2
JL
29522012-09-30 Juri Linkov <juri@jurta.org>
2953
2954 * facemenu.el (list-colors-sort): Add option "Luminance".
2955 (list-colors-sort-key): Implement it.
2956
2957 * vc/diff-mode.el (diff-refine-removed):
2958 * vc/ediff-init.el (ediff-fine-diff-A):
2959 * vc/smerge-mode.el (smerge-refined-removed):
2960 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
2961
d7e642cc
JD
29622012-09-30 Jan Djärv <jan.h.d@swipnet.se>
2963
2964 * term/ns-win.el (x-file-dialog): New function.
2965
ee41332b
JB
29662012-09-30 Juanma Barranquero <lekktu@gmail.com>
2967
2968 * ido.el (ido-max-directory-size): Default to nil; the current
2969 default is small for POSIX systems, and impractical on Windows 7
2970 now that lstat returns directory sizes for NTFS.
2971
5938d519
MR
29722012-09-30 Martin Rudalics <rudalics@gmx.at>
2973
2974 In buffer display functions handle window-height/window-width
2975 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
2976 * window.el (window--display-buffer): New argument ALIST.
2977 Obey window-height and window-width alist entries.
2978 (window--try-to-split-window): New argument ALIST.
2979 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
2980 changed and window-combination-limit equals `window-size'.
2981 (display-buffer-in-atom-window)
2982 (display-buffer-in-major-side-window)
2983 (display-buffer-in-side-window, display-buffer-same-window)
2984 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2985 (display-buffer-pop-up-window, display-buffer-below-selected)
2986 (display-buffer-at-bottom, display-buffer-in-previous-window)
2987 (display-buffer-use-some-window): Adjust all callers of
2988 window--display-buffer and window--try-to-split-window.
2989 (fit-frame-to-buffer): New option.
2990 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
2991 is non-nil.
2992 (display-buffer-in-major-side-window): Evaluate window-height /
2993 window-width alist entries.
2994
2995 * help.el (temp-buffer-resize-frames)
2996 (temp-buffer-resize-regexps): Remove options.
2997 (temp-buffer-resize-mode): Adjust doc-string.
2998 (resize-temp-buffer-window): Don't consult
2999 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
3000 temp-buffer-resize-frames.
3001
375e49d4
SM
3002 * dired.el (dired-mark-pop-up):
3003 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
3004 entry.
3005
c4c0c2df
CY
30062012-09-30 Chong Yidong <cyd@gnu.org>
3007
48de8b12
CY
3008 * server.el (server-host): Document the security implications.
3009 (server-auth-key): Doc fix.
3010
3011 * startup.el (initial-buffer-choice): Doc fix.
3012
3013 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
3014
a97dc380
CY
3015 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
3016 restriction change.
3017
d39d3c8e
CY
3018 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
3019
c4c0c2df
CY
3020 * help-fns.el (help-fns--obsolete): Fix last change.
3021
98a5e33b
SM
30222012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
3023
34cf6f39
SM
3024 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
3025 (minor-mode-map-alist): Remove redundant code.
3026
e01c13fe
SM
3027 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
3028 visited in a buffer.
3029 (cvs-insert-visited-file): New function.
3030 (find-file-hook): Use it.
3031
3032 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
3033
02661b3a
SM
3034 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
3035 chose face.
3036 (log-edit-empty-buffer-p): Don't require a space after a header.
3037
43711d4b
SM
3038 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
3039
38a30d64
SM
3040 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
3041
4ffb41a9
SM
3042 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
3043 a proper minor-mode.
3044
98a5e33b
SM
3045 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
3046
de82e29b
GM
30472012-09-29 Glenn Morris <rgm@gnu.org>
3048
5cc2e639
GM
3049 * winner.el (winner-mode): Remove variable (let define-minor-mode
3050 handle it).
3051 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
3052 Doc fixes.
3053 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
3054 (winner-mode): Use define-minor-mode.
3055
7bd302eb
GM
3056 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
3057 the full definition in loaddefs, rather than duplicating it.
3058
2923922f 3059 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 3060
0e3e4156
GM
3061 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
3062 (inferior-lisp-program, inferior-lisp-load-command)
3063 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 3064 No need to autoload defcustoms.
0e3e4156 3065
de82e29b
GM
3066 * hippie-exp.el (hippie-expand-try-functions-list)
3067 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
3068 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
3069 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 3070 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
3071 * progmodes/vhdl-mode.el (vhdl-line-expand):
3072 Explicitly load hippie-exp, so it does not get autoloaded
3073 while hippie-expand-try-functions-list is let-bound.
3074
e60b51ab
GM
30752012-09-28 Glenn Morris <rgm@gnu.org>
3076
277f0cfa
GM
3077 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
3078
e60b51ab
GM
3079 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
3080 Only "cl.el" counts as cl these days.
3081
53baf48a
JL
30822012-09-28 Juri Linkov <juri@jurta.org>
3083
3084 Display archive errors in the echo area instead of inserting
3085 to the file buffer.
3086
3087 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
3088 to STDERR-TEST that can be a regexp matching a successful output.
3089 Create a temporary file and redirect stderr to it. Search for
3090 STDERR-TEST in the stderr output and display it in the echo area
3091 if no match is found.
3092 (archive-extract-by-file): New function like
3093 `archive-extract-by-stdout' but extracting archives to files
3094 and looking for successful matches in stdout. Function body is
3095 mostly copied from `archive-rar-extract'.
3096 (archive-rar-extract): Use `archive-extract-by-file'.
3097 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
3098
9c1228c3
LL
30992012-09-28 Leo Liu <sdl.web@gmail.com>
3100
375e49d4
SM
3101 * pcomplete.el (pcomplete-show-completions):
3102 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 3103
9c1228c3
LL
3104 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
3105
7f457c06
SM
31062012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3107
3df749b0
SM
3108 * type-break.el: Use lexical-binding.
3109 (type-break-mode): Use define-minor-mode.
3110
7f457c06
SM
3111 * emacs-lisp/pcase.el (pcase--mark-used): New.
3112 (pcase--u1): Use it (bug#12512).
3113
3114 * custom.el (load-theme): Set buffer-file-name so the load is recorded
3115 in load-history with the right file name.
3116
c00ebc98
TH
31172012-09-28 Tassilo Horn <tsdh@gnu.org>
3118
3119 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
3120 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
3121 (doc-view-get-bounding-box): Make bounding box slicing work for
3122 ODF and DVI documents.
3123
96fb7170
GM
31242012-09-28 Glenn Morris <rgm@gnu.org>
3125
3126 * type-break.el (type-break-mode, type-break-interval)
3127 (type-break-good-rest-interval, type-break-keystroke-threshold):
3128 No need to autoload.
3129 (type-break-good-rest-interval, type-break-keystroke-threshold):
3130 Add :set-after.
3131
5bc93c67
CY
31322012-09-28 Chong Yidong <cyd@gnu.org>
3133
3134 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
3135 Add :version tag.
3136
9cad61d6
SM
31372012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3138
e28e67b3 3139 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 3140
daee954c
GM
31412012-09-27 Glenn Morris <rgm@gnu.org>
3142
a88324d4
GM
3143 * faces.el (x-display-name): Declare (for without-x builds).
3144
8e5064e5
GM
3145 * linum.el (linum-format): Don't autoload it. Improve :type.
3146
cc1783c2
GM
3147 * progmodes/tcl.el: Don't require outline when compiling.
3148 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
3149 * textmodes/sgml-mode.el: Don't require outline when compiling.
3150 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
3151
48c339f2
GM
3152 * term.el (term-ansi-reset):
3153 Try setting term-ansi-face-already-done to nil. (Bug#11785)
3154
daee954c
GM
3155 * vc/vc.el (vc-next-action): Only gripe about committing read-only
3156 files for RCS and SCCS. (Bug#9781)
3157
b7f42161
CY
31582012-09-27 Chong Yidong <cyd@gnu.org>
3159
3160 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
3161 change; value should be t.
3162
a2e770db
SM
31632012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3164
83600dc8
SM
3165 * image-mode.el: Use lexical-binding.
3166 (image-mode-winprops): Use t to stand for the window of
3167 a buffer that's not displayed.
3168 * doc-view.el (doc-view-new-window-function): Handle the new
3169 t in winprops.
3170 (doc-view-enlarge): Make it a real nop if the size is not changed.
3171 (doc-view-display): Handle the case where the buffer is not (yet?)
3172 displayed in any window.
3173 (doc-view-saved-settings): New var.
3174 (doc-view-mode): Use it.
3175 (doc-view-fallback-mode): Set it.
3176
a2e770db
SM
3177 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
3178 Set lexical-binding.
3179 (minibuffer-eldef-shorten-default): New var.
3180 (minibuffer-default-in-prompt-regexps): Use it for new default.
3181 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
3182
e3b60857
JB
31832012-09-26 Juanma Barranquero <lekktu@gmail.com>
3184
3185 * international/uni-bidi.el:
3186 * international/uni-category.el:
3187 * international/uni-name.el:
3188 * international/uni-numeric.el: Regenerate.
3189
3a880af4
SM
31902012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
3191 Stefan Monnier <monnier@iro.umontreal.ca>
3192
3193 * profiler.el: New file.
3194
07b1a5fb
SM
31952012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
3196
3197 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
3198 (testcover-reinstrument): Simplify with CSE.
3199
42019c2e
JB
32002012-09-26 Juanma Barranquero <lekktu@gmail.com>
3201
3202 * window.el (temp-buffer-window-setup): Fix typo in docstring.
3203
179f044b
WS
32042012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
3205
3206 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
3207 (verilog-auto-input, verilog-auto-insert-lisp)
3208 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
3209 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
3210 (verilog-auto-unused, verilog-auto-wire)
3211 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
3212 newline. Reported by Andrew Jones.
3213 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
3214 Reported by Brad Dobbie.
07b1a5fb
SM
3215 (verilog-batch-delete-trailing-whitespace):
3216 Create verilog-batch-delete-trailing-whitespace.
3217 Reported by Brad Dobbie.
179f044b
WS
3218 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
3219 parameters from another module. Reported by Dan Katz.
3220 (verilog-auto, verilog-auto-assign-modport)
3221 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
3222 AUTOINOUTMODPORT for UVM interface module shell generation.
3223 Reported by Brad Dobbie.
3224 (verilog-auto-inst-interfaced-ports): Make default nil, as more
3225 standard behavior.
3226 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
3227 Reported by Matt Martin.
3228
9c52dd5a
MR
32292012-09-25 Martin Rudalics <rudalics@gmx.at>
3230
3231 * window.el (window--resize-child-windows): When resizing child
3232 windows proportionally, process them in reverse order to
3233 preserve the "when splitting a window the new one gets the odd
3234 line" behavior.
3235 (window--resize-root-window-vertically): When resizing the
3236 minibuffer window try to affect only windows at the bottom of the
3237 frame. (Bug#12419)
3238
863666eb
CY
32392012-09-25 Chong Yidong <cyd@gnu.org>
3240
3241 * subr.el (declare): Doc fix.
3242
3243 * help-fns.el (help-fns--obsolete): Handle macros properly.
3244
59f7af81
CY
32452012-09-25 Chong Yidong <cyd@gnu.org>
3246
3247 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
3248 this function obsolete.
3249
3250 * calendar/cal-x.el (calendar-two-frame-setup)
3251 (calendar-only-one-frame-setup, calendar-one-frame-setup):
3252 * calendar/calendar.el (american-calendar, european-calendar)
3253 (calendar-for-loop):
3254 * comint.el (comint-dynamic-simple-complete)
3255 (comint-dynamic-complete-as-filename, comint-unquote-filename):
3256 * desktop.el (desktop-load-default):
3257 * dired-x.el (dired-omit-here-always)
3258 (dired-hack-local-variables, dired-default-directory):
3259 * emacs-lisp/derived.el (derived-mode-class):
3260 * emacs-lisp/timer.el (timer-set-time-with-usecs):
3261 * emacs-lock.el (toggle-emacs-lock):
3262 * epa.el (epa-display-verify-result):
3263 * epg.el (epg-sign-keys, epg-start-sign-keys)
3264 (epg-passphrase-callback-function):
3265 * eshell/esh-util.el (eshell-for):
3266 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
3267 (eshell-add-to-window-buffer-names):
3268 * files.el (locate-file-completion):
3269 * imenu.el (imenu-example--create-c-index)
3270 (imenu-example--create-lisp-index)
3271 (imenu-example--lisp-extract-index-name)
3272 (imenu-example--name-and-position):
3273 * international/mule-cmds.el (princ-list):
3274 * international/mule-diag.el (decode-codepage-char):
3275 * international/mule-util.el (detect-coding-with-priority):
3276 * iswitchb.el (iswitchb-read-buffer):
3277 * mail/mailalias.el (mail-complete):
3278 * mail/sendmail.el (mail-sent-via):
3279 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
3280 (mouse-major-mode-menu):
3281 * password-cache.el (password-read-and-add):
3282 * pcomplete.el (pcomplete-parse-comint-arguments):
3283 * progmodes/sh-script.el (sh-maybe-here-document):
3284 * replace.el (query-replace-regexp-eval):
3285 * savehist.el (savehist-load):
3286 * simple.el (choose-completion-delete-max-match):
3287 * term.el (term-dynamic-simple-complete):
3288 * vc/ediff-init.el (ediff-check-version):
3289 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
3290 * vc/vc.el (vc-diff-switches-list):
3291 * view.el (view-return-to-alist-update): Likewise.
3292
3293 * subr.el (eval-next-after-load, makehash, insert-string)
3294 (assoc-ignore-representation, assoc-ignore-case): Use declare to
3295 mark obsolete.
3296 (mode-line-inverse-video): Variable deleted.
3297
3298 * international/mule-util.el (string-to-sequence): Remove.
3299
3300 * calendar/calendar.el (calendar-version):
3301 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
3302 (icalendar-convert-diary-to-ical):
3303 * cus-edit.el (custom-mode):
3304 * ansi-color.el (ansi-color-unfontify-region):
3305 * international/latin1-disp.el (latin1-char-displayable-p):
3306 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
3307 * progmodes/which-func.el (which-func-update-1):
3308 Use define-obsolete-function-alias.
59f7af81
CY
3309
3310 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
3311 * net/newst-treeview.el (newsticker-groups-filename):
3312 Fix incorrect obsolescence declaration.
59f7af81
CY
3313
3314 * allout.el (allout-passphrase-hint-string): Likewise.
3315 (allout-init): Use a declare form to mark obsolete.
3316
3317 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
3318 this applies to functions.
3319
3320 * iswitchb.el (iswitchb-read-buffer): Move code of
3321 iswitchb-define-mode-map here, and delete that obsolete function.
3322
3323 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
3324 font-lock-reference-face.
3325
cca96c97
GM
33262012-09-25 Glenn Morris <rgm@gnu.org>
3327
b06eeda8
GM
3328 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
3329 Doc fixes.
3330
cca96c97
GM
3331 * eshell/em-term.el (eshell-term-name):
3332 Default to term-term-name. (Bug#12485)
3333
dc4f818b
FEG
33342012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
3335
cca96c97
GM
3336 * progmodes/python.el (python-shell-send-buffer): Better handling
3337 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 3338
289c24bd
GM
33392012-09-24 Glenn Morris <rgm@gnu.org>
3340
3341 * eshell/esh-cmd.el (eshell-find-alias-function):
3342 Tighten up file-name regexp. (Bug#12499)
3343
8fb8b88f
FEG
33442012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
3345
3346 Enhancements for triple-quote string syntax.
3347 * progmodes/python.el (python-quote-syntax): Remove.
3348 (python-syntax-propertize-function): New value.
07b1a5fb
SM
3349 (python-syntax-count-quotes, python-syntax-stringify):
3350 New functions.
8fb8b88f 3351
6c27f0f8
CY
33522012-09-24 Chong Yidong <cyd@gnu.org>
3353
a5f2b6ec
CY
3354 * mail/supercite.el (sc-version): Remove obsolete function.
3355 (sc-describe): Don't mark as obsolete, since it is bound.
3356 (sc-submit-bug-report): Remove.
3357
3358 * vc/log-edit.el (cvs-changelog-full-paragraphs)
3359 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
3360 (log-edit-require-final-newline)
3361 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
3362
3363 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
3364 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
3365 * vc/vc.el (vc-checkout-carefully): Likewise.
3366
3367 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
3368 (emerge-version): Remove.
3369
3370 * progmodes/compile.el (compile-internal): Remove.
3371 (compilation-parse-errors-function): Fix typo.
3372
3373 * international/mule.el (set-char-table-default): Remove.
3374 (set-coding-priority, make-coding-system, generic-char-p)
3375 (charset-list, charset-bytes, charset-id): Use declare to mark
3376 functions as obsolete.
3377
3378 * vc/pcvs-defs.el (cvs-buffer-name-alist)
3379 (cvs-invert-ignore-marks): Remove references to obsolete vars.
3380 * vc/vc-hooks.el (vc-default-registered): Don't use
3381 vc-master-templates.
3382
07b1a5fb
SM
3383 * font-lock.el (font-lock-reference-face):
3384 Use define-obsolete-variable-alias.
6c27f0f8
CY
3385
3386 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
3387 * calendar/calendar.el (calendar-font-lock-keywords):
3388 * calendar/diary-lib.el (diary-font-lock-keywords)
3389 (diary-fancy-font-lock-keywords):
3390 * textmodes/reftex-sel.el (reftex-insert-docstruct):
3391 * textmodes/reftex-index.el (reftex-insert-index):
3392 * textmodes/reftex-cite.el (reftex-format-bib-entry):
3393 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3394 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
3395 * progmodes/prolog.el (prolog-font-lock-keywords):
3396 * progmodes/idlwave.el (idlwave-idl-keywords):
3397 * progmodes/ada-mode.el (ada-font-lock-keywords):
3398 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
3399
bcc0adbf
GM
34002012-09-24 Glenn Morris <rgm@gnu.org>
3401
3402 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
3403
095bb823
FEG
34042012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
3405
3406 * progmodes/python.el (python-indent-line): More consistent cursor
3407 movement behavior.
3408
70efc5c9
SM
34092012-09-23 Stefan Merten <smerten@oekonux.de>
3410
3411 * textmodes/rst.el: Fix compiler warning.
3412
2f438239
RW
34132012-09-23 Roland Winkler <winkler@gnu.org>
3414
07b1a5fb
SM
3415 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
3416 Transcribe also LaTeX hyphenation.
2f438239
RW
3417 (bibtex-reformat): Bug fix. Do not quote twice the elements of
3418 bibtex-reformat-previous-options.
3419
936ad041
RW
34202012-09-23 Roland Winkler <winkler@gnu.org>
3421
3422 * proced.el (proced-renice-command): New variable.
3423 (proced-marked-processes): New function.
3424 (proced-with-processes-buffer): New macro.
3425 (proced-send-signal): Use them.
3426 (proced-renice): New command bound to r.
3427
6fab0274
RW
34282012-09-23 Roland Winkler <winkler@gnu.org>
3429
3430 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
3431 ibuffer-saved-filter-groups has one element, shortcut the call of
3432 completing-read. (Bug#12331)
3433
9a930676
CY
34342012-09-23 Chong Yidong <cyd@gnu.org>
3435
3436 * bindings.el (mode-line-toggle-read-only):
3437 * bs.el (bs-toggle-readonly):
3438 * buff-menu.el (Buffer-menu-toggle-read-only):
3439 * dired.el (dired-toggle-read-only):
3440 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
3441
d07ff9db
CY
34422012-09-23 Chong Yidong <cyd@gnu.org>
3443
3444 * image.el (image-type-available-p): Adapt to init-image-library
3445 argument changes.
3446
51c4474e
JL
34472012-09-22 Juri Linkov <juri@jurta.org>
3448
3449 * dired.el (dired-mode-map): Add [remap read-only-mode] for
3450 `dired-toggle-read-only'. (Bug#12462)
3451
43bf5e8e
MR
34522012-09-22 Martin Rudalics <rudalics@gmx.at>
3453
3454 * subr.el (temp-output-buffer-show): New function.
3455 (with-output-to-temp-buffer): Call temp-output-buffer-show
3456 instead of internal-temp-output-buffer-show.
3457
c88b867f
CY
34582012-09-22 Chong Yidong <cyd@gnu.org>
3459
3df47cd5
CY
3460 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
3461 (Bug#12462).
3462
c88b867f
CY
3463 * repeat.el (repeat): Doc fix (Bug#12348).
3464
3465 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
3466 (Bug#10909).
3467
3468 * simple.el (shell-command-on-region): Doc fix.
3171e303 3469 (read-only-mode): Doc fix.
c88b867f 3470
df9685f3
EZ
34712012-09-22 Eli Zaretskii <eliz@gnu.org>
3472
3473 * emacs-lisp/timer.el (run-with-idle-timer)
3474 (timer-activate-when-idle): Warn against reinvoking an idle timer
3475 from within its own timer action. (Bug#12447)
3476
8e17c9ba
MR
34772012-09-22 Martin Rudalics <rudalics@gmx.at>
3478
3479 * cus-start.el (window-combination-limit): Add new optional
3480 values.
3481 * window.el (temp-buffer-window-show)
3482 (window--try-to-split-window): Handle new values of
3483 window-combination-limit (Bug#1806).
3484 (split-window): Test window-combination-limit for t instead of
3485 non-nil.
3486 (display-buffer-at-bottom): New buffer display action function.
3487 * help.el (temp-buffer-resize-regexps): New option.
3488 (temp-buffer-resize-mode): Rewrite doc-string.
3489 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 3490 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 3491
48a24920
SM
34922012-09-22 Stefan Merten <smerten@oekonux.de>
3493
70efc5c9 3494 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
3495 (rst-official-version)
3496 (rst-package-emacs-version-alist): Sync with official version
3497 V1.4.0.
3498 (rst-faces-defaults, rst-set-level-default)
3499 (rst-level-face-max, rst-level-face-base-color)
3500 (rst-level-face-base-light, rst-level-face-format-light)
3501 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
3502 (rst-adornment-faces-alist): Match new setup.
3503 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
3504 (rst-level-5, rst-level-6): New faces.
3505
82f8cd94
CY
35062012-09-22 Chong Yidong <cyd@gnu.org>
3507
3508 * simple.el (undo): Handle indirect buffers (Bug#8207).
3509
acfa068f 35102012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
3511
3512 IDO: Disable match re-ordering for buffer switching.
2bc9406c 3513 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
3514 (ido-set-matches-1): Use it. (Bug#2042)
3515
acfa068f 35162012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
3517
3518 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
3519 Fix 2011-05-17 change. (Bug#12418)
3520
acfa068f 35212012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
3522
3523 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
3524
acfa068f 35252012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
3526
3527 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
3528 Be more robust about locating simple.el.
3529
acfa068f 35302012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
3531
3532 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
3533
acfa068f
CY
35342012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
3535
3536 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
3537
41a97e6f
JL
35382012-09-20 Juri Linkov <juri@jurta.org>
3539
eb2deaff
JL
3540 * replace.el (query-replace-read-from): Use `read-regexp' instead
3541 of `read-from-minibuffer' when `regexp-flag' is non-nil.
3542 (occur-read-primary-args): Use `read-regexp' instead of
3543 `read-string'.
3544 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
3545 `read-from-minibuffer'.
3546 * isearch.el (isearch-occur): Use `read-regexp' instead of
3547 `read-string'.
3548 * dired.el (dired-read-regexp): Use `read-regexp' instead of
3549 `read-from-minibuffer'.
3550 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
3551 of `read-string'. (Bug#7567)
3552
5825610b
JL
3553 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
3554 and allow accepting a list of strings prepended to a list of
3555 standard default values. Doc fix. (Bug#12321)
3556
eebbf404
JL
3557 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
3558
41a97e6f
JL
3559 * replace.el (read-regexp): Don't add ": " when PROMPT already
3560 ends with a colon and space. (Bug#12321)
3561
c9e452d3
TH
35622012-09-20 Tassilo Horn <tsdh@gnu.org>
3563
3564 * doc-view.el (doc-view-display): Better fix for the cl-assertion
3565 error.
3566
ee97deee
SM
35672012-09-20 Stefan Merten <smerten@oekonux.de>
3568
70efc5c9 3569 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
3570 Fixes feature request bug#11711.
3571 (rst-mode): Create `imenu-create-index-function'.
3572 (rst-get-stripped-line): Delete after refactoring.
3573 (rst-section-tree, rst-section-tree-rec)
3574 (rst-section-tree-point): Refactor and document properly.
3575 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
3576 (rst-imenu-convert-cell, rst-imenu-create-index):
3577 New function.
ee97deee 3578
f490dab9
SM
35792012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3580
95b9712e
SM
3581 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
3582 (macroexp--expand-all): Use it.
3583 (macroexp--funcall-and-return): Remove by folding it into its sole
3584 caller (macroexp--warn-and-return).
3585 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
3586 Use macroexp--obsolete-warning.
3587
f490dab9
SM
3588 * calc/calc.el: Fix last change by removing the whole chunk, since it
3589 was only needed back when Calc was not bundled.
3590
96e8d411
MR
35912012-09-20 Martin Rudalics <rudalics@gmx.at>
3592
3593 * emacs-lisp/debug.el (debug): Restore assignment to
3594 debugger-old-buffer removed on 2012-09-08.
3595
0876a82d
JL
35962012-09-20 Juri Linkov <juri@jurta.org>
3597
3598 * dired-aux.el (dired-diff): Remove (require 'diff) since
3599 `diff-latest-backup-file' is now autoloaded.
3600
9f7c28f0
CY
36012012-09-20 Chong Yidong <cyd@gnu.org>
3602
3603 * vc/diff.el (diff-latest-backup-file): Autoload.
3604
7a04bee9
SM
36052012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3606
e6f0a80d
SM
3607 * calc/calc.el: Remove redundant autoload shape check.
3608 (sel-mode): Don't defvar.
3609 (calc-get-stack-element): Add `sel-mode' arg instead.
3610 (calc-top, calc-top-list): Pass it this additional argument.
3611 * calc/calc-store.el (calc-store-map):
3612 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
3613 (calc-map-equation, calc-outer-product, calc-inner-product):
3614 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
3615
7a04bee9
SM
3616 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
3617
12734222
JL
36182012-09-19 Juri Linkov <juri@jurta.org>
3619
3620 * dired-aux.el (dired-diff): Add (require 'diff) because
3621 `diff-latest-backup-file' is not autoloaded.
3622 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
3623 of `dired-get-filename' to t to not report error when there is
3624 no default file on the current line.
3625
46624b4f
SM
36262012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3627
ce97595b
SM
3628 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
3629 macroexp--eval-if-compile.
3630 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
3631 (macroexp--expand-all): Use them (bug#12371).
3632
46624b4f
SM
3633 * doc-view.el (doc-view-guess-paper-size)
3634 (doc-view-scale-bounding-box): Fix unbound `caddr'.
3635
db8a5a18
TH
36362012-09-19 Tassilo Horn <tsdh@gnu.org>
3637
3638 New feature: set optimal slice from BoundingBox information.
3639 * doc-view.el (doc-view-mode-map): Add keybinding.
3640 (doc-view-menu): Add menu entry.
3641 (doc-view-set-slice): Adapt docstring.
3642 (doc-view-get-bounding-box, doc-view-guess-paper-size)
3643 (doc-view-scale-bounding-box)
3644 (doc-view-set-slice-from-bounding-box): New functions.
3645 (doc-view-paper-sizes): New defvar.
3646
69f6644c
GM
36472012-09-19 Glenn Morris <rgm@gnu.org>
3648
35f5b19d
GM
3649 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
3650 (byte-compile-log-warning): Autoload. (Bug#12371)
3651
69f6644c
GM
3652 * calendar/calendar.el (calendar-american-month-header)
3653 (calendar-european-month-header, calendar-iso-month-header)
3654 (calendar-month-header): New options.
3655 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
3656 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
3657
e543ae91
JD
36582012-09-19 Jan Djärv <jan.h.d@swipnet.se>
3659
3660 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
3661
2fd5e67d
JL
36622012-09-18 Juri Linkov <juri@jurta.org>
3663
3664 * dired-aux.el (dired-diff): Restore original functionality of
3665 getting the default value, but keep new feature of using the
3666 latest existing backup file (`diff-latest-backup-file').
3667
42917e79
JL
36682012-09-18 Juri Linkov <juri@jurta.org>
3669
3670 * dired.el (dired-mark): If the region is active in Transient Mark
3671 mode, mark all files in the active region. Doc fix.
3672 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
3673 Doc fix. (Bug#10624)
3674
20f70ede
JL
36752012-09-18 Juri Linkov <juri@jurta.org>
3676
3677 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
3678 attributes for M-n are pulled from the file at point.
3679 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
3680 Suggested by Drew Adams. (Bug#10624)
3681
32fb8162
DG
36822012-09-18 Dmitry Gutov <dgutov@yandex.ru>
3683
3684 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
3685 whitespace after "end".
3686 (ruby-do-end-to-brace): Collapse block to one line if it fits
3687 within fill-column.
3688
37ab5092
MR
36892012-09-18 Martin Rudalics <rudalics@gmx.at>
3690
3691 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
3692 value.
3693 (debug): Don't remove debugger window when debugger is expected
3694 to be back.
3695
ed1f0bd3
CY
36962012-09-18 Chong Yidong <cyd@gnu.org>
3697
3698 * custom.el (defface): Doc fix.
3699
3700 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
3701
a11035b8
MB
37022012-09-18 Martin Blais <blais@furius.ca> (tiny change)
3703
3704 * progmodes/compile.el (compilation-start): Use compilation-always-kill
3705 to initialize query-on-exit; then test that instead (bug#12288).
3706
64f6a736
SM
37072012-09-17 Stefan Merten <smerten@oekonux.de>
3708
70efc5c9 3709 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
3710 (rst-defcustom-testcover, rst-testcover-add-compose)
3711 (rst-testcover-add-1value): New functions.
3712 (rst-portable-mark-active-p): Replace by `use-region-p'.
3713 (rst-update-section, rst-classify-adornment)
3714 (rst-find-title-line): Mark `1value' forms.
3715 (rst-classify-adornment): Remove superfluous form.
3716 (rst-update-section, rst-get-adornments-around)
3717 (rst-adornment-complete-p, rst-get-next-adornment)
3718 (rst-adjust, rst-promote-region)
3719 (rst-display-adornments-hierarchy, rst-straighten-adornments)
3720 (rst-find-pfx-in-region, rst-section-tree-rec)
3721 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
3722 (rst-toc-node, rst-toc, rst-forward-section)
3723 (rst-iterate-leftmost-paragraphs)
3724 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
3725 (rst-bullet-list-region)
3726 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
3727 (rst-compile-find-conf, rst-compile)
3728 (rst-repeat-last-character): Fix style.
3729
580bd868
CY
37302012-09-17 Chong Yidong <cyd@gnu.org>
3731
3732 * comint.el (comint--complete-file-name-data): Don't add a space
3733 if the status is `sole'; that adds a gratuitous space in the
3734 completion-cycling case (Bug#12092).
3735
3736 * pcomplete.el (pcomplete-completions-at-point): Likewise.
3737
69de3ec6
RS
37382012-09-17 Richard Stallman <rms@gnu.org>
3739
0dee970c
RS
3740 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
3741 only in the mime-shown mode, not in raw mode.
3742 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 3743 mime processing. (Bug#12305)
0dee970c 3744
6b250df6
GM
3745 * mail/rmail.el (rmail-retry-failure):
3746 Turn off mime processing first. (Bug#12037)
acb1c47b 3747
69de3ec6
RS
3748 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
3749
d079ee5f
CY
37502012-09-17 Chong Yidong <cyd@gnu.org>
3751
3752 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
3753 (shell-dynamic-complete-functions): Convert to defcustom.
3754 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
3755
865fe16f
CY
3756 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
3757 * comint.el (comint-prompt-read-only):
3758 * custom.el (defcustom):
3759 * hi-lock.el (hi-lock-mode):
3760 * ibuffer.el (ibuffer-formats):
3761 * ielm.el (ielm-prompt-read-only):
3762 * novice.el (disable-command):
3763 * saveplace.el (toggle-save-place):
3764 * speedbar.el (speedbar-supported-extension-expressions):
3765 * startup.el (auto-save-list-file-prefix, init-file-user)
3766 (after-init-hook, inhibit-startup-echo-area-message):
3767 * strokes.el (strokes-help):
3768 * time-stamp.el (time-stamp):
3769 * calendar/calendar.el (calendar, diary-file):
3770 * calendar/diary-lib.el (diary-mail-entries, diary)
3771 (diary-list-entries-hook):
3772 * calendar/holidays.el (holidays, calendar-holidays):
3773 * calendar/lunar.el (lunar-phases):
3774 * calendar/solar.el (sunrise-sunset):
3775 * emulation/edt.el (edt-load-keys):
3776 * emulation/viper.el (viper-mode):
3777 * eshell/em-alias.el (eshell-command-aliases-list):
3778 * eshell/esh-util.el (eshell-convert-numeric-arguments):
3779 * international/ogonek.el (ogonek-information):
3780 * net/tramp-cmds.el (tramp-bug):
3781 * net/quickurl.el (quickurl-reread-hook-postfix):
3782 * play/decipher.el (decipher-font-lock-keywords):
3783 * progmodes/cc-styles.el (c-set-style):
3784 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
3785 * progmodes/inf-lisp.el (inferior-lisp-prompt):
3786 * progmodes/octave-mod.el (octave-mode):
3787 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
3788 * progmodes/verilog-mode.el (verilog-read-defines):
3789 * textmodes/two-column.el (2C-mode): Likewise.
3790
48093eb9
KY
37912012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
3792
3793 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
3794 that holds many addresses.
3795
c584eaf9
CY
37962012-09-16 Chong Yidong <cyd@gnu.org>
3797
40d70ecb
CY
3798 * align.el (align-areas): Call the indication function with
3799 positions instead of markers for arguments (Bug#12343).
3800
1667e065
CY
3801 * files.el (parse-colon-path): Use split-string (Bug#12351).
3802
fdc2806d 3803 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 3804 (display-buffer-function): Mark as obsolete.
fdc2806d 3805
f1be615c 3806 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
3807 values similar to font-lock-keywords (Bug#12136).
3808 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
3809 (compilation-error-regexp-alist): Doc fix.
3810
f40a9709
GM
38112012-09-15 Glenn Morris <rgm@gnu.org>
3812
72aa16e1
GM
3813 * version.el (emacs-bzr-version-bzr): New function.
3814 (emacs-bzr-get-version): Add optional EXTERNAL argument.
3815
82375160
GM
3816 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
3817 checkouts, check the parent dirstate matches the branch.
3818 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
3819 empty string.
3820
f40a9709
GM
3821 * version.el (emacs-bzr-version): Doc fix.
3822 (emacs-bzr-version-dirstate): New function.
3823 (emacs-bzr-get-version): For lightweight checkouts, if the parent
3824 is local try and check that it matches the branch. If not, just
3825 use dirstate information. (Bug#12441)
3826
cb26b7f5
JL
38272012-09-14 Juri Linkov <juri@jurta.org>
3828
3829 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
3830 (Bug#12399)
3831
2de39f08
SM
38322012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3833
0fb3cb7c
SM
3834 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
3835
2de39f08
SM
3836 * emacs-lisp/edebug.el: Miscellaneous cleanup.
3837 Remove obsolete byte-compiler hack that tried to silence some warnings.
3838 (edebug-submit-bug-report): Remove.
3839 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
3840 Remove aliases, use the un-prefixed name instead.
3841 (edebug-pop-to-buffer): Consider other frames.
3842 (edebug-original-read):: Make it more obvious that it's always defined.
3843 (edebug--make-form-data-entry, edebug--form-data-name)
3844 (edebug--form-data-begin, edebug--form-data-end): Rename from the
3845 single-dashed name, and implement with cl-defstruct.
3846 (edebug-set-form-data-entry): Use the standard accessors.
3847 (edebug-make-top-form-data-entry): Use push.
3848 (edebug-no-match): Drop useless `funcall'.
3849 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
3850 to functions.
3851 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
3852 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
3853 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
3854 (easy-menu-define, with-custom-print): Remove redundant specs.
3855 (edebug-outside-overriding-local-map)
3856 (edebug-outside-overriding-terminal-local-map): Remove, unused.
3857 (edebug--display): Bind unread-command-events directly to nil rather
3858 than binding it to unread-command-events and later setting it to nil.
3859 (edebug--display): Kill edebug-eval-buffer here...
3860 (edebug--recursive-edit): ...rather than here.
3861 Bind standard-output and standard-input.
3862 (edebug-eval): Check cl-macroexpand-all is fboundp.
3863 (edebug-temp-display-freq-count): Fix last change.
3864
3865 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
3866 * subr.el (noreturn, 1value): Add `debug' spec.
3867 * emacs-lisp/advice.el: Require cl-lib.
3868 (ad-copy-tree): Remove, use copy-tree instead.
3869 (ad-dolist): Remove use dolist or cl-dolist instead.
3870 (ad-do-return): Remove, use cl-return instead.
3871 (defadvice): Add `debug' spec.
3872
5b68b333
JL
38732012-09-13 Juri Linkov <juri@jurta.org>
3874
3875 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
3876 (Bug#12399)
3877
b9800ec4
GM
38782012-09-13 Glenn Morris <rgm@gnu.org>
3879
6a2e6868
GM
3880 * calc/calc.el (math-compose-expr):
3881 * calc/calc-ext.el (math-compose-expr):
3882 * progmodes/cc-defs.el (cl-macroexpand-all):
3883 * progmodes/cc-langs.el (delete-duplicates, mapcan)
3884 (cl-macroexpand-all): Update declarations.
3885
b9800ec4
GM
3886 * vc/vc.el: No need to require ediff.
3887 (ediff-load-version-control): Declare.
3888 (ediff-vc-internal): Fix declaration.
3889 (vc-version-ediff): Require ediff.
3890
c18e885b
PE
38912012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3892
3893 Use a more backwards-compatible timer format (Bug#12430).
3894 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
3895 being right after USECS, as that better supports old code that
3896 inadvisedly looked directly at the timer vector.
3897
d607d303
KH
38982012-09-13 Kenichi Handa <handa@gnu.org>
3899
3900 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
3901 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
3902 `coding-priority' property of these language environment.
3903
72eac303
PE
39042012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3905
3906 Fix glitches caused by addition of psec to timers (Bug#12430).
3907 * image.el (image-animate-timer):
3908 * time.el (display-time-world-timer):
3909 Use timer--function and timer--args rather than raw access to
3910 timer vector.
3911
2168fe4f
GM
39122012-09-13 Glenn Morris <rgm@gnu.org>
3913
3914 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
3915 If not compiling a file, try using load-file-name.
3916
bd8d6108
SM
39172012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3918
c0c54fbd
SM
3919 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
3920 Fix last change.
3921 (edebug-update-eval-list): Use `push'.
3922
bd8d6108
SM
3923 * emacs-lisp/edebug.el: Use lexical-binding.
3924 Remove the "edebug-" prefix from non-dynamically-scoped variables.
3925 Mark unused args with underscore.
3926 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
3927 (edebug-form-data): Use defvar-local.
3928 (edebug-make-before-and-after-form, edebug-make-after-form):
3929 Use backquote.
3930 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
3931 Not dynamically scoped any more.
3932 (edebug--enter-trace): Add arguments `function' and `args'.
3933 Rename from edebug-enter-trace.
3934 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
3935 (edebug--update-coverage): Add `after-index' and `value' args.
3936 Rename from edebug-update-coverage.
3937 (edebug-slow-after): Call it accordingly.
3938 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
3939 edebug-recursive-edit.
3940 (edebug--display): Call it accordingly. Add args `value',
3941 `offset-index', and `arg-mode'. Rename from edebug-display.
3942 (edebug-debugger, edebug): Call it accordingly.
3943 (edebug-eval-display-list): Use dolist.
3944
a9f9d9de
JL
39452012-09-12 Juri Linkov <juri@jurta.org>
3946
3947 * info.el (Info-search): Don't check for isearch-mode and
3948 isearch-regexp before let-binding search-spaces-regexp to
3949 Info-search-whitespace-regexp.
3950 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
3951 search-whitespace-regexp if isearch-lax-whitespace or
3952 isearch-regexp-lax-whitespace is non-nil.
3953 (Info-mode): Don't set local variable search-whitespace-regexp.
3954 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
3955
bfeae2cf
SM
39562012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3957
3958 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
3959 (debugger-env-macro): Remove support for unread-command-char.
3960
3961 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
3962 the temporary map re-appearing on emulation-mode-map-alists.
3963
3964 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
3965 since 22.1.
3966
3967 * ehelp.el (with-electric-help): Accept functions in
3968 electric-help-form-to-execute.
3969 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
3970 And replace unread-command-char -> unread-command-events.
3971
fbbcaf1b
MA
39722012-09-12 Michael Albinus <michael.albinus@gmx.de>
3973
3974 Sync with Tramp 2.2.6.
3975
3976 * net/tramp.el (tramp-accept-process-output): Don't use
3977 JUST-THIS-ONE in the XEmacs case.
3978
3979 * net/trampver.el: Update release number.
3980
4dece104
MR
39812012-09-12 Martin Rudalics <rudalics@gmx.at>
3982
bfeae2cf
SM
3983 * emacs-lisp/debug.el (debugger-previous-window-height):
3984 New variable.
4dece104
MR
3985 (debug): When debugger-jumping-flag is non-nil try to restore
3986 height of debugger window. (Bug#8789)
3987
45b82ad0
SM
39882012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3989
60c49c0f
SM
3990 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
3991 overriding-local-map and pre/post-command-hook here.
3992 (edebug-recursive-edit): Do it here instead (bug#12345).
3993 (edebug-outside-unread-command-char): Remove all uses of
3994 unread-command-char.
3995
45b82ad0
SM
3996 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
3997 inhibit-debugger is bound instead.
3998
baa26ea0
BG
39992012-09-11 Bastien Guerry <bzg@gnu.org>
4000
4001 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 4002 (Bug#12346)
baa26ea0 4003
04e8abfa
BG
40042012-09-11 Bastien Guerry <bzg@gnu.org>
4005
96d03571 4006 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 4007 (Bug#12347)
96d03571
BG
4008
40092012-09-11 Bastien Guerry <bzg@gnu.org>
4010
fc0c31f8 4011 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 4012
04e082b0
MM
40132012-09-10 Michael R. Mauger <mmaug@yahoo.com>
4014
4015 * progmodes/sql.el: Version 3.1
4016 (sql-db2-escape-newlines): New variable.
4017 (sql-escape-newlines-filter): Use it.
4018
399a361b
JB
40192012-09-10 Juanma Barranquero <lekktu@gmail.com>
4020
4021 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
4022
0780c517
DN
40232012-09-10 Dan Nicolaescu <dann@gnu.org>
4024
45b82ad0
SM
4025 * vc/diff-mode.el (diff-mode-menu):
4026 Bind diff-remove-trailing-whitespace.
0780c517 4027
9b851e25
SM
40282012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4029
4030 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
4031 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
4032 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
4033 (eval-sexp-add-defvars): Don't skip defvars in column >0.
4034 (eval-defun-2): Remove bogus interactive spec.
4035 (lisp-indent-line): Remove redundant whole-exp code, now done in
4036 indent-according-to-mode.
4037 (save-match-data): Remove redundant indent data.
4038
4039 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
4040 Use `declare'.
4041
3231d532
JL
40422012-09-09 Juri Linkov <juri@jurta.org>
4043
4044 * replace.el (replace-regexp-lax-whitespace): New defcustom.
4045 (replace-lax-whitespace, query-replace-regexp)
4046 (query-replace-regexp-eval, replace-regexp): Doc fix.
4047 (perform-replace, replace-highlight): Let-bind
4048 isearch-lax-whitespace to replace-lax-whitespace and
4049 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
4050
4051 * isearch.el (isearch-query-replace): Let-bind
4052 replace-lax-whitespace to isearch-lax-whitespace and
4053 replace-regexp-lax-whitespace to
4054 isearch-regexp-lax-whitespace. (Bug#10885)
4055
70fe8236
SM
40562012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
4057
4058 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
4059
8ed43f15
AM
40602012-09-09 Alan Mackenzie <acm@muc.de>
4061
70fe8236
SM
4062 * progmodes/cc-engine.el (c-state-cache-init):
4063 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
4064 (c-record-parse-state-state):
4065 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 4066
bfabf70a
AS
40672012-09-09 Andreas Schwab <schwab@linux-m68k.org>
4068
4069 * register.el (register-separator): Rename from
4070 separator-register. All uses changed. Doc fix.
4071 (register): Fix version.
4072
011474aa
CY
40732012-09-09 Chong Yidong <cyd@gnu.org>
4074
4075 * replace.el (query-replace-map): Bind four new symbols for
4076 requesting window scrolling.
4077
4078 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
4079 query-replace-map (Bug#8948).
4080
4081 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
4082
4083 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
4084 since they are now in query-replace-map.
4085
4086 * window.el (scroll-other-window-down): Make the arg optional.
4087
a8b7cd8d
CY
40882012-09-09 Chong Yidong <cyd@gnu.org>
4089
4090 * files.el (hack-local-variables-confirm): Use quit-window to kill
4091 the *Local Variables* buffer.
4092
c3268831
DG
40932012-09-08 Dmitry Gutov <dgutov@yandex.ru>
4094
4095 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
4096 not just expect to be at its beginning. Adjust callees.
4097 Succeed when do-end block has no space before the pipe character.
4098 (ruby-brace-to-do-end): When the original block is one-liner,
4099 convert to multiline. Reindent the result.
4100
0979429b
J
41012012-09-08 Jambunathan K <kjambunathan@gmail.com>
4102
4103 * register.el (register): New group.
27359e99 4104 (separator-register): New user option.
0979429b
J
4105 (increment-register): Route it to `append-to-register', if
4106 register contains text. Implication is that `C-x r +' can now be
4107 used for appending to a text register (bug#12217).
4108 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 4109 `separator-register'.
0979429b 4110
ace2989a
AM
41112012-09-08 Alan Mackenzie <acm@muc.de>
4112
4113 AWK Mode: make auto-newline work when there's "==" in the pattern.
4114 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
4115 correctly.
0979429b
J
4116 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
4117 Test more rigorously for "=" token.
ace2989a 4118
616c6c36
DG
41192012-09-08 Dmitry Gutov <dgutov@yandex.ru>
4120
0979429b
J
4121 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
4122 Only fail when reached LIMIT.
616c6c36 4123
35d98877
CY
41242012-09-08 Chong Yidong <cyd@gnu.org>
4125
4126 * dired.el (dired-mode-map): Don't bind M-=.
4127
4128 * dired-aux.el (dired-diff): Use backup file as default.
4129
1715f2db
DA
41302012-09-08 Drew Adams <drew.adams@oracle.com>
4131
4132 * subr.el (add-to-history): Fix delete usage (Bug#12314).
4133
6dcef6ec
CY
41342012-09-08 Chong Yidong <cyd@gnu.org>
4135
4136 * subr.el (syntax-after, syntax-class): Doc fix.
4137
fa2bcf43
MR
41382012-09-08 Martin Rudalics <rudalics@gmx.at>
4139
4140 * window.el (display-buffer-in-previous-window): New buffer
4141 display action function.
4142
4143 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
4144 (debugger-previous-window): New variable.
4145 (debug): Rewrite using display-buffer-in-previous-window,
4146 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
4147
daac280a
SM
41482012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
4149
4150 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
4151
9dd40b00
MM
41522012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
4153
daac280a
SM
4154 * progmodes/python.el (python-shell-send-string):
4155 When default-directory is remote, create temp file on remote
9dd40b00
MM
4156 filesystem.
4157 (python-shell-send-file): When file is remote, pass local view of
4158 file paths to remote Python interpreter. (Bug#12340)
4159
145823ec
CY
41602012-09-07 Chong Yidong <cyd@gnu.org>
4161
cee2e90d
CY
4162 * window.el (switch-to-buffer): Doc fix (Bug#12181).
4163
0d7eb2ea
CY
4164 * files.el (after-find-file): Don't fail on a read-only buffer if
4165 require-final-newline is `visit' or `visit-save' (Bug#11156).
4166
145823ec
CY
4167 * subr.el (read-char-choice): Allow quitting via ESC ESC.
4168
daac280a
SM
4169 * userlock.el (ask-user-about-supersession-threat):
4170 Use read-char-choice (Bug#12093).
145823ec 4171
74c582e6
CY
41722012-09-07 Chong Yidong <cyd@gnu.org>
4173
e5c2edf7
CY
4174 * subr.el (buffer-narrowed-p): New function.
4175
4176 * ses.el (ses-widen):
4177 * simple.el (count-words--buffer-message):
1f9f395d 4178 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
4179
4180 * simple.el (count-words-region): Don't signal an error if there
4181 is a non-nil prefix arg and the mark is not set.
c640e87d 4182
74c582e6
CY
4183 * help.el (describe-key-briefly): Allow the message to be seen
4184 when invoked from the minibuffer (Bug#7014).
4185
d81ceaaf
DG
41862012-09-07 Dmitry Gutov <dgutov@yandex.ru>
4187
4188 * progmodes/ruby-mode.el (ruby-end-of-defun)
4189 (ruby-beginning-of-defun): Simplify, allow indentation before
4190 block beginning and end keywords.
8f06acce
DG
4191 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
4192 (ruby-end-of-defun): Expect that the point is at the beginning of
4193 the defun.
d81ceaaf 4194
d458ef98
SM
41952012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4196
4197 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
4198 (bug#12367).
4199 (cl--make-usage-args): Strip _ from argument names.
4200
20367d28
RS
42012012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4202
4203 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
4204 obsolete alias speedbar-key-map.
4205 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
4206 (vhdl-index-menu-init): Don't use obsolete variable
4207 font-lock-maximum-size.
4208
3424a4f6
CY
42092012-09-06 Chong Yidong <cyd@gnu.org>
4210
4211 * frame.el (window-system-version): Mark as obsolete.
4212
fcbfbdea
CY
4213 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
4214 of obsolete variable speedbar-key-map.
4215
826b3235
JL
42162012-09-06 Juri Linkov <juri@jurta.org>
4217
4218 * replace.el (replace-lax-whitespace): New defcustom.
4219 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4220 (replace-string, replace-regexp): Mention it in docstrings.
4221 (perform-replace, replace-highlight): Let-bind
4222 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
4223 to the values of replace-lax-whitespace and regexp-flag.
4224 Don't let-bind search-whitespace-regexp. (Bug#10885)
4225
4226 * isearch.el (isearch-query-replace): Let-bind
4227 replace-lax-whitespace instead of let-binding
4228 replace-search-function and replace-re-search-function.
4229 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
4230 and isearch-regexp-lax-whitespace to lazy-highlight variables.
4231 (isearch-toggle-symbol): Set isearch-regexp to nil
4232 in isearch-word mode (like in isearch-toggle-word).
4233
1ec5e41d
JL
42342012-09-06 Juri Linkov <juri@jurta.org>
4235
4236 * replace.el (replace-search-function)
4237 (replace-re-search-function): Set default values to nil.
4238 (perform-replace): Let-bind isearch-related variables based on
4239 replace-related values, call `isearch-search-fun' and let-bind
4240 the result to `search-function'. Remove code that sets
4241 `search-function' and `search-string' separately for
4242 `delimited-flag'.
4243 (replace-highlight): Add new argument `delimited-flag' and
4244 rename other arguments to the names used in `perform-replace'.
4245 Let-bind `isearch-word' to the argument `delimited-flag'.
4246 (Bug#10885, bug#10887)
4247
0ba2d4b6
DG
42482012-09-07 Dmitry Gutov <dgutov@yandex.ru>
4249
4250 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
4251 ruby-beginning-of-indent, simplify, allow all keywords to have
4252 indentation before them.
4253 (ruby-beginning-of-indent): Adjust for above. Search until the
4254 found point is not inside a string or comment.
4255 (ruby-font-lock-keywords): Allow symbols to start with "@"
4256 character, give them higher priority than variables.
4257 (ruby-syntax-propertize-function)
4258 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
4259 matchers. Expression expansions are not comments when inside a
4260 string, and there comment syntax status is irrelevant.
4261 (ruby-match-expression-expansion): New function. Check that
4262 expression expansion is inside a string, and it's not escaped.
4263 (ruby-font-lock-keywords): Use it.
4264
ef654460
MR
42652012-09-05 Martin Rudalics <rudalics@gmx.at>
4266
4267 * help.el (temp-buffer-max-height): New default value.
4268 (temp-buffer-resize-frames): New option.
4269 (resize-temp-buffer-window): Optionally resize frame.
4270
4271 * window.el (fit-frame-to-buffer-bottom-margin): New option.
4272 (fit-frame-to-buffer): New function.
4273
7e570fbf 42742012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
4275
4276 * emulation/cua-rect.el (cua--init-rectangles):
4277 * textmodes/picture.el (picture-mode-map):
4278 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
4279 like forward-char and backward-char. (Bug#12317)
4280
7e570fbf 42812012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
4282
4283 * progmodes/flymake.el (flymake-warning-re): New variable.
4284 (flymake-parse-line): Use it.
4285
7e570fbf 42862012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
4287
4288 * calendar/holidays.el (holiday-christian-holidays):
4289 Rename an entry. (Bug#12289)
4290
7e570fbf 42912012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
4292
4293 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
4294 (bug#12222).
4295
972debf2
SM
42962012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4297
4298 * loadup.el: Load macroexp. Remove hack.
4299 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
4300 (macroexp--expand-all): Use it to get better warnings.
4301 (macroexp--backtrace, macroexp--trim-backtrace-frame)
4302 (internal-macroexpand-for-load): New functions.
4303 (macroexp--pending-eager-loads): New var.
4304 (emacs-startup-hook): New hack to replace one in loadup.el.
4305 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
4306 (cl--compiler-macro-cXXr): Move to top, before they can be used.
4307 (cl-psetf): Simplify.
4308 (cl-defstruct): Add indent rule.
4309
8ce192e3
LI
43102012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
4311
4312 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
4313 over `user-mail-address' for the SMTP MAIL FROM envelope.
4314 (smtpmail-via-smtp): Ditto.
4315
6578b4d8
DG
43162012-09-04 Dmitry Gutov <dgutov@yandex.ru>
4317
4318 * progmodes/ruby-mode.el: Clean up keybindings.
4319 (ruby-mode-map): Don't bind ruby-electric-brace,
4320 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
4321 backward-kill-word, reindent-then-newline-and-indent.
4322 (ruby-mark-defun): Remove.
4323 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
4324 (ruby-mode): Set local beginning-of-defun-function and
4325 end-of-defun-function values.
4326
c5e28e39
MR
43272012-09-03 Martin Rudalics <rudalics@gmx.at>
4328
4329 * window.el (temp-buffer-window-setup-hook)
4330 (temp-buffer-window-show-hook): New hooks.
4331 (temp-buffer-window-setup, temp-buffer-window-show)
4332 (with-temp-buffer-window): New functions.
972debf2
SM
4333 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
4334 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
4335
4336 * help.el (temp-buffer-resize-mode): Fix doc-string.
4337 (resize-temp-buffer-window): New optional argument WINDOW.
4338
4339 * files.el (recover-file, save-buffers-kill-emacs):
4340 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
4341
73406194
MA
43422012-09-02 Michael Albinus <michael.albinus@gmx.de>
4343
4344 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
4345 remote definition of `default-directory', ensure we can connect.
4346
63dd1c6f
JL
43472012-09-02 Juri Linkov <juri@jurta.org>
4348
4349 Toggle whitespace matching mode with M-s SPC.
4350 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
4351
4352 * isearch.el (search-whitespace-regexp): Doc fix.
4353 Remove cons cell customization.
4354 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
4355 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
4356 New variables.
4357 (isearch-forward, isearch-forward-regexp): Doc fix.
4358 (isearch-toggle-lax-whitespace): New command.
4359 (search-forward-lax-whitespace, search-backward-lax-whitespace)
4360 (re-search-forward-lax-whitespace)
4361 (re-search-backward-lax-whitespace): New functions.
4362 (isearch-whitespace-regexp): Remove function.
4363 (isearch-query-replace): Let-bind replace-search-function and
4364 replace-re-search-function.
4365 (isearch-occur): Let-bind search-spaces-regexp according to the
4366 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
4367 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
4368 condition for C-q SPC.
4369 (isearch-search-fun-default): Use new functions mentioned above.
4370 (isearch-search-forward, isearch-search-backward): Remove functions.
4371 (isearch-search): Don't let-bind search-spaces-regexp.
4372 (isearch-lazy-highlight-space-regexp): Remove variable.
4373 (isearch-lazy-highlight-lax-whitespace)
4374 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
4375 (isearch-lazy-highlight-new-loop): Use them.
4376 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
4377
af7dda05
CY
43782012-09-02 Chong Yidong <cyd@gnu.org>
4379
4380 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
4381
d67d3afd
GM
43822012-09-02 Glenn Morris <rgm@gnu.org>
4383
4384 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
4385
69678719
GM
43862012-09-01 Glenn Morris <rgm@gnu.org>
4387
4388 * term.el: Tidy up menu definitions.
4389 (term-mode-map): Use easymenu for In/Out, Complete menus.
4390 (term-pager-break-map): Initialize in the defvar.
4391 (term-terminal-menu, term-signals-menu): Define with easymenu.
4392 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
4393 (term-pager-menu): New, extracted from term-process-pager.
4394 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
4395 (term-update-mode-line): Propertize line/char and page items.
4396 (term-process-pager): Move keymap initialization elsewhere.
4397
78dd6ab1
MR
43982012-09-01 Martin Rudalics <rudalics@gmx.at>
4399
4400 * window.el (switch-to-prev-buffer): Handle additional values of
4401 BURY-OR-KILL argument. Don't switch in minibuffer window.
4402 (switch-to-next-buffer): Don't switch in minibuffer window.
4403 (quit-restore-window): New function based on quit-window.
4404 Handle additional values of former KILL argument.
4405 (quit-window): Call quit-restore-window with appropriate
4406 interpretation of KILL argument.
4407 (display-buffer-below-selected): New buffer display action
4408 function.
4409
3d10e134
SM
44102012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
4411
4412 * minibuffer.el (completion-at-point-functions): Complete docstring
4413 (bug#12254).
4414
0e23ef9d
PE
44152012-09-01 Paul Eggert <eggert@cs.ucla.edu>
4416
4417 Better seed support for (random).
4418 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
4419 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
4420 * play/mpuz.el, play/tetris.el, play/zone.el:
4421 * calc/calc-comb.el (math-init-random-base):
4422 * play/blackbox.el (bb-init-board):
4423 * play/life.el (life):
4424 * server.el (server-use-tcp):
4425 * type-break.el (type-break):
4426 Remove unnecessary call to (random t).
4427 * net/sasl.el (sasl-unique-id-function):
4428 Change (random t) to (random), now that the latter is more random.
4429 * play/life.el (life-initialized): Remove no-longer-needed var.
4430
862382df
MR
44312012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
4432
4433 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4434 Consider frame's buffer predicate when choosing the buffer.
4435 (Bug#12081)
4436
262a66e1
RS
44372012-08-30 Richard Stallman <rms@gnu.org>
4438
4439 * simple.el (special-mode-map): Delete binding for `z'.
4440
f17e1d00
AS
44412012-08-30 Andreas Schwab <schwab@linux-m68k.org>
4442
4443 * progmodes/compile.el (compilation-always-kill): Doc fix.
4444
24777832
CY
44452012-08-30 Chong Yidong <cyd@gnu.org>
4446
4447 * window.el (display-buffer-reuse-frames): Make the obsolescence
4448 message more informative.
4449
69ba1f04
GM
44502012-08-30 Glenn Morris <rgm@gnu.org>
4451
4452 * paren.el (show-paren-delay):
4453 Add a :set function. Doc fix. (Bug#12297)
4454
f0019ede
MB
44552012-08-29 Martin Blais <blais@furius.ca> (tiny change)
4456
4457 * progmodes/compile.el (compilation-always-kill): New var.
4458 (compilation-start): Use it.
4459
35e62fc9
SM
44602012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4461
af070a1c
SM
4462 * simple.el (read-only-mode): Move from files.el for bootstrapping.
4463 * files.el (read-only-mode): Move to simple.el.
4464
35e62fc9
SM
4465 * files.el (read-only-mode): New minor mode.
4466 (toggle-read-only): Use it and mark obsolete.
4467 (find-file--read-only):
4468 * vc/vc.el (vc-next-action, vc-checkout):
4469 * vc/vc-cvs.el (vc-cvs-checkout):
4470 * obsolete/vc-mcvs.el (vc-mcvs-update):
4471 * ffap.el (ffap--toggle-read-only): Update callers.
4472
c2c43c23
MA
44732012-08-29 Michael Albinus <michael.albinus@gmx.de>
4474
4475 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
4476 remote shell scripts.
4477 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
4478
4479 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
4480 "/usr/local/sbin".
4481
9fba804b
SM
44822012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4483
4484 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
4485
eada0861 44862012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 4487
806f0cc7
LL
4488 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
4489 completion-at-point. (Bug#12220)
4490
3bb213b9
LL
4491 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
4492
22ab32ef
LL
4493 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
4494
eada0861 44952012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 4496
19c17fc1
CY
4497 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
4498 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 4499
eada0861 45002012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
4501
4502 * progmodes/hideif.el (hif-compress-define-list):
4503 Fix typo. (Bug#11951)
4504
eada0861 45052012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
4506
4507 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
4508 buffer local setting.
4509
27d6c5a8
LL
4510 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
4511 rcirc-encode-coding-system.
4512
eada0861 45132012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
4514
4515 * net/rcirc.el (rcirc-split-message): New function.
4516 (rcirc-send-message): Use it. (Bug#12051)
4517
d44688e4
JL
45182012-08-28 Juri Linkov <juri@jurta.org>
4519
4520 * info.el (Info-fontify-node): Hide empty lines at the end of
4521 the node. (Bug#12272)
4522
34f10d41
MR
45232012-08-27 Drew Adams <drew.adams@oracle.com>
4524
4525 * dired.el (dired-pop-to-buffer): Make window start at beginning
4526 of buffer (Bug#12281).
4527
77f1f99c
CY
45282012-08-26 Chong Yidong <cyd@gnu.org>
4529
4530 * window.el (special-display-regexps, special-display-frame-alist)
4531 (special-display-buffer-names, special-display-function)
4532 (display-buffer-reuse-frames): Mark as obsolete.
4533
4534 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
4535
4536 * help.el (help-print-return-message): Don't treat
4537 display-buffer-reuse-frames specially.
4538
d97af5a0
CY
45392012-08-26 Chong Yidong <cyd@gnu.org>
4540
9fba804b
SM
4541 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4542 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
4543 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
4544 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
4545 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
4546 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
4547 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
4548 the functions directly with gdb-display-buffer-other-frame-action.
4549 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
4550 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
4551 (gdb-display-stack-buffer, gdb-display-locals-buffer)
4552 (gdb-display-registers-buffer): Define directly.
4553 (def-gdb-display-buffer): Macro deleted.
4554 (gdb-display-buffer): Remove second and third args, callers don't
4555 use them. Defer to the default display-buffer behavior, apart
4556 from making windows dedicated.
4557 (gdb-setup-windows): Don't call display-buffer unnecessarily.
4558
4559 * progmodes/gud.el (gud-display-line): Just use display-buffer.
4560
4561 * window.el (display-buffer-pop-up-frame): Handle a
4562 pop-up-frame-parameters alist entry.
4563 (display-buffer): Document it.
4564
dd7ffad6
CY
45652012-08-26 Chong Yidong <cyd@gnu.org>
4566
4567 * isearch.el (search-whitespace-regexp): Make string and nil
4568 values apply to both ordinary and regexp search. Allow a cons
4569 cell value to distinguish between the two.
4570 (isearch-whitespace-regexp, isearch-search-forward)
4571 (isearch-search-backward): New functions.
4572 (isearch-occur, isearch-search-fun-default, isearch-search)
4573 (isearch-lazy-highlight-new-loop): Use them.
4574 (isearch-forward, isearch-forward-regexp): Doc fix.
4575
4c47bd1e
CY
45762012-08-26 Chong Yidong <cyd@gnu.org>
4577
4578 * faces.el (help-argument-name): Always inherit from italic
4579 (Bug#12213).
4580
9aba119d
MR
45812012-08-25 Martin Rudalics <rudalics@gmx.at>
4582
4583 * window.el (window--even-window-heights): Even heights when
4584 WINDOW and the selected window form a vertical combination.
4585 (display-buffer-use-some-window): Provide that window used gets
4586 sized back by quit-window. (Bug#11880) and (Bug#12091)
4587
ca5256ad
PE
45882012-08-24 Paul Eggert <eggert@cs.ucla.edu>
4589
4590 Fix file time stamp problem with bzr and CVS (Bug#12001).
4591 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
4592 in the file's time stamp, since the version control system loses
4593 that information.
4594
d1c0d176
JL
45952012-08-22 Juri Linkov <juri@jurta.org>
4596
4597 * info.el (Info-fontify-node): Hide the suffix of the
4598 Info file name in the header line. (Bug#12187)
4599
141562ff
GM
46002012-08-22 Glenn Morris <rgm@gnu.org>
4601
4602 * calendar/cal-tex.el (cal-tex-weekly-common):
4603 Restore leading blank page.
4604
3a21537c 46052012-08-22 Le Wang <l26wang@gmail.com>
add9ca2d
BG
4606
4607 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
4608 the region under `shift-select-mode'. (Bug#12231)
4609
46102012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
4611
4612 * progmodes/executable.el (executable-prefix): Set to "#!" instead
4613 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
4614 gives details on why the space is never needed.
4615
ea95074e
MR
46162012-08-22 Martin Rudalics <rudalics@gmx.at>
4617
9fba804b
SM
4618 * window.el (walk-window-tree, window-with-parameter):
4619 New optional argument MINIBUF to control whether these functions
ea95074e
MR
4620 should run on the minibuffer window.
4621 (window-at-side-list): Don't operate on minibuffer window.
4622 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
4623 (window--size-ignore): Rename to window--size-ignore-p.
4624 Update callers.
caceae25
MR
4625 (display-buffer-in-atom-window, window--major-non-side-window)
4626 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
4627 (delete-side-window, display-buffer-in-side-window):
4628 New functions.
caceae25
MR
4629 (window--side-check, window-deletable-p, delete-window)
4630 (delete-other-windows, split-window): Handle side windows and
4631 atomic windows appropriately.
4632 (window--display-buffer): Call display-buffer-record-window also
4633 when the window buffer did not change.
ea95074e 4634
80a51fa0
CS
46352012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
4636
4637 * help-fns.el (help-fns--key-bindings):
4638 Abbreviate non-symbol remap targets. (Bug#12174)
4639
fbb6300b
MR
46402012-08-22 Martin Rudalics <rudalics@gmx.at>
4641
4642 * dired.el (dired-mark-remembered): Don't clobber point.
4643 (Bug#11795)
4644
2b2c0794
GM
46452012-08-22 Glenn Morris <rgm@gnu.org>
4646
4647 * progmodes/bug-reference.el (bug-reference): New custom group.
4648 (bug-reference-bug-regexp): Make it a defcustom.
4649
37219830
DU
46502012-08-22 Daiki Ueno <ueno@unixuser.org>
4651
4652 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
4653 (js-paren-indent-offset, js-square-indent-offset)
4654 (js-curly-indent-offset): Add :safe (Bug#12257).
4655
94e0e559
EC
46562012-08-22 Edward O'Connor <hober0@gmail.com>
4657
4658 * json.el (json-key-format): Add error properties.
4659 (json-encode-key): New function.
4660 (json-encode-hash-table, json-encode-alist, json-encode-plist):
4661 Use json-encode-key.
4662
da485f5e
GM
46632012-08-22 Glenn Morris <rgm@gnu.org>
4664
4665 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
4666 (cal-tex-leftday, cal-tex-rightday): Remove functions.
4667 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
4668 Update for above change.
4669
c6cc78b8
AS
46702012-08-21 Andreas Schwab <schwab@linux-m68k.org>
4671
4672 * cus-face.el (custom-face-attributes): Fix customize type for the
4673 :underline attribute. (Bug#11805)
4674
5481664a
MR
46752012-08-21 Martin Rudalics <rudalics@gmx.at>
4676
4677 * window.el (window-point-1, set-window-point-1): Remove.
4678 (window-in-direction, record-window-buffer)
4679 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
4680 (window--state-get-1, display-buffer-record-window):
4681 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
4682 window-point and set-window-point respectively.
4683
6d74698e
GM
46842012-08-21 Glenn Morris <rgm@gnu.org>
4685
b7fa2691
GM
4686 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
4687 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
4688 Use it.
4689
52f56d5a
GM
4690 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
4691 (cal-tex-shortday): New function.
4692 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
4693 (cal-tex-cursor-filofax-daily): Use the above.
4694
9f1ee09e
GM
4695 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
4696 New functions.
4697 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4698 (cal-tex-cursor-filofax-week): Use them.
4699
79858159
GM
4700 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
4701 New constants.
4702 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4703 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
4704
d346b2b4
GM
4705 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
4706 (cal-tex-end-document): Don't rely on buffer name.
4707
b2403709
GM
4708 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
4709 Use cal-tex-vspace.
4710 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
4711 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
4712 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
4713 Use cal-tex-arg.
b2403709 4714
1cebb5c0
GM
4715 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
4716 (cal-tex-cursor-week, cal-tex-cursor-week2)
4717 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
4718 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4719 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
4720 (cal-tex-insert-preamble, cal-tex-b-document)
4721 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
4722 Improve cal-tex-cmd usage.
4723
c68cd5d4
GM
4724 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
4725 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
4726 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
4727 (cal-tex-weekly-paper): New function.
4728 (cal-tex-cursor-week, cal-tex-cursor-week2)
4729 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
4730 (cal-tex-cursor-day): Use it.
4731
9dca4801
GM
4732 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
4733 (cal-tex-cursor-filofax-week): Remove leading blank page.
4734
1941e134
GM
4735 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4736 Add autoload cookie. For now at least, don't use color, since
4737 no other cal-tex function does.
4738
6d74698e
GM
4739 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
4740 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4741 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
4742
64cde199
JL
47432012-08-21 Juri Linkov <juri@jurta.org>
4744
4745 * info.el (Info-file-attributes): New variable.
4746 (info-insert-file-contents): Add file attributes to
4747 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
4748 `Info-toc-nodes' when previous modtime of the Info file is less
4749 than new modtime.
4750 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
4751 of info.el. (Bug#12230)
4752
32757648
GM
47532012-08-20 Glenn Morris <rgm@gnu.org>
4754
4755 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
4756 * calendar/holidays.el (calendar-holiday-list):
4757 Report errors with display-warning rather than beep'n'sleep.
4758
a32fbbcf
MA
47592012-08-20 Michael Albinus <michael.albinus@gmx.de>
4760
4761 * net/tramp.el (tramp-accept-process-output): Accept only output
4762 from PROC. Otherwise, process filters and sentinels might be
4763 confused. (Bug#12145)
4764
a05731a0
CY
47652012-08-20 Chong Yidong <cyd@gnu.org>
4766
4767 * descr-text.el (describe-text-properties-1): Use overlays-in to
4768 report on empty overlays (Bug#3322).
4769
36e8d1eb
GM
47702012-08-20 Glenn Morris <rgm@gnu.org>
4771
3d300447
GM
4772 * mail/rmailout.el (rmail-output-read-file-name):
4773 Trap and report errors in rmail-output-file-alist elements.
4774
36e8d1eb
GM
4775 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
4776 since most non-font-lock faces are not also variables).
4777
b96e5814
ER
47782012-08-20 Edward Reingold <reingold@iit.edu>
4779
4780 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4781 New function. (Bug12160)
4782
7cef3569
GM
47832012-08-19 Glenn Morris <rgm@gnu.org>
4784
4785 * mail/rmailout.el (rmail-output-read-file-name):
4786 Fix previous change (when the alist is nil or does not match).
4787
17975d7f
CY
47882012-08-19 Chong Yidong <cyd@gnu.org>
4789
4790 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
4791 (Bug#12228).
4792
2170b1bd
CY
47932012-08-18 Chong Yidong <cyd@gnu.org>
4794
4795 * simple.el (yank-handled-properties): New defcustom.
4796 (yank-excluded-properties): Add font-lock-face and category.
4797 (yank): Doc fix.
4798
9fba804b
SM
4799 * subr.el (remove-yank-excluded-properties):
4800 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
4801 and category is now done this way, instead of being hard-coded.
4802 (insert-for-yank-1): Remove font-lock-face handling.
4803 (yank-handle-font-lock-face-property)
4804 (yank-handle-category-property): New function.
4805
ee218151
GM
48062012-08-17 Glenn Morris <rgm@gnu.org>
4807
4808 * mail/rmailout.el (rmail-output-read-file-name):
4809 Check rmail-output-file-alist against the full message body
4810 in the correct rmail buffer. (Bug#12214)
4811
4a6bc3fd
MA
48122012-08-17 Michael Albinus <michael.albinus@gmx.de>
4813
9fba804b
SM
4814 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4815 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 4816
383dcbf9
CY
48172012-08-17 Chong Yidong <cyd@gnu.org>
4818
4819 * mouse.el (mouse-appearance-menu): If x-select-font returns a
4820 font spec, set the font directly (Bug#3228).
4821
998c4a6a
MR
48222012-08-17 Martin Rudalics <rudalics@gmx.at>
4823
4824 * window.el (delete-window): Fix last fix.
4825
52162052
MR
48262012-08-16 Martin Rudalics <rudalics@gmx.at>
4827
4828 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
4829 (window-child, window-child-count, window-last-child)
4830 (window-normalize-window, window-combined-p)
4831 (window-combinations, window-atom-root, window-min-size)
4832 (window-sizable, window-sizable-p, window-size-fixed-p)
4833 (window-min-delta, window-max-delta, window--resizable)
4834 (window--resizable-p, window-resizable, window-total-size)
4835 (window-full-height-p, window-full-width-p, window-body-size)
4836 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
4837 (minimize-window, window-deletable-p, delete-window)
4838 (delete-other-windows, set-window-buffer-start-and-point)
4839 (next-buffer, previous-buffer, split-window, balance-windows-2)
4840 (set-window-text-height, window-buffer-height)
4841 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
4842 (truncated-partial-width-window-p): Minor code adjustments.
4843 In doc-strings state whether the argument window has to denote a
85c2386b 4844 live, valid or any window.
52162052 4845
1c308380
PS
48462012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
4847
4848 * progmodes/subword.el (subword-forward-function)
4849 (subword-backward-function, subword-forward-regexp)
4850 (subword-backward-regexp): New variables.
4851 (subword-forward, subword-forward-internal, subword-backward-internal):
4852 Use new variables, eg so that different "word" definitions
4853 can be easily used. (Bug#11411)
4854
94c9ece1
SM
48552012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4856
4857 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
4858 for composite selectors.
4859 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
4860 operation just because we can't find a previous revision.
4861
f2045622
CY
48622012-08-15 Chong Yidong <cyd@gnu.org>
4863
4864 * frame.el (set-frame-font): Accept font objects.
4865
582db660
SM
48662012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4867
4868 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
4869
2f29c200
WJ
48702012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
4871
456e62c2
WJ
4872 * man.el (Man-overstrike-face, Man-underline-face)
4873 (Man-reverse-face): Remove variables.
4874 (Man-overstrike, Man-underline, Man-reverse): New faces.
4875 (Man-fontify-manpage): Use them instead of the variables.
4876 (Man-cleanup-manpage): Comment change.
4877 (Man-ansi-color-map): New variable.
4878 (Man-fontify-manpage): Use it.
4879 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
4880
2f29c200
WJ
4881 Implement ANSI SGR parameters 22-27 (bug#12146).
4882 * ansi-color.el (ansi-colors): Doc fix.
4883 (ansi-color-context, ansi-color-context-region): Doc fix.
4884 (ansi-color--find-face): New function.
4885 (ansi-color-apply, ansi-color-apply-on-region): Use it.
4886 Rename the local variable `face' to `codes' since it is now a list of
4887 ansi codes. Doc fix.
4888 (ansi-color-get-face): Remove.
4889 (ansi-color-parse-sequence): New function, derived from
4890 ansi-color-get-face.
4891 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
4892 codes 22-27.
4893
b4f5e9df
SM
48942012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
4895
4896 * subr.el (read-passwd): Allow use from a minibuffer.
4897
ba025fbd
EZ
48982012-08-14 Eli Zaretskii <eliz@gnu.org>
4899
4900 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
4901 inside comments and strings as identifiers.
4902
4903 * progmodes/gud.el (gud-tooltip-print-command): Quote the
4904 expression to evaluate. This allows to evaluate expressions with
4905 embedded whitespace.
4906 (gud-tooltip-tips): Add a blank before the newline in the
4907 message-box text, for the benefit of message-box emulation on
4908 MS-Windows.
4909
4910 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
4911 messages from GDB, pop them up in a tooltip to give feedback to
4912 user.
b4f5e9df
SM
4913 (gdb-tooltip-print-1): Quote the expression to evaluate.
4914 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
4915 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
4916 if the TTY name is nil or empty (which happens when communicating
4917 with the inferior via pipes, e.g. on MS-Windows).
4918 (gdb-internals): If GDB sends a "&\n" empty debugging message,
4919 don't send that to the GUD buffer.
4920
c548f821
GM
49212012-08-14 Glenn Morris <rgm@gnu.org>
4922
4923 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
4924 Optimize away setq-default with no args, as for setq. (Bug#12195)
4925
55802e4a
CY
49262012-08-14 Chong Yidong <cyd@gnu.org>
4927
4abcdac8
CY
4928 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
4929
55802e4a
CY
4930 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
4931 (Bug#12085).
4932
3c3cda1a
GM
49332012-08-14 Glenn Morris <rgm@gnu.org>
4934
4935 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
4936
e1873bd0
MA
49372012-08-14 Michael Albinus <michael.albinus@gmx.de>
4938
4939 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
4940 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4941 Use cached shell name.
4942
925411b4
FEG
49432012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4944
4945 * progmodes/python.el (python-shell-send-string):
3c3cda1a 4946 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 4947
e636fafe
DG
49482012-08-14 Dmitry Gutov <dgutov@yandex.ru>
4949
4950 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
4951 (ruby-percent-literal-beg-re): New constant.
4952 (ruby-syntax-general-delimiters-goto-beg): Rename to
4953 `ruby-syntax-enclosing-percent-literal', improve literal type check.
4954 (ruby-syntax-propertize-general-delimiters): Rename to
4955 `ruby-syntax-propertize-percent-literal', it's a shorter and more
4956 popular term. Adjust comments everywhere.
4957 (ruby-syntax-propertize-percent-literal): Only propertize when not
4958 inside a simple string or comment. When the literal is unclosed,
4959 leave the text after it unpropertized.
f063063a
DG
4960 (ruby-syntax-methods-before-regexp): New constant.
4961 (ruby-syntax-propertize-function): Use it to recognize regexps.
4962 Don't look at the text after regexp, just use the whitelist.
e636fafe 4963
e5b19827
AS
49642012-08-14 Andreas Schwab <schwab@linux-m68k.org>
4965
4966 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
4967 non-nil always load the compiled file if it exists. (Bug#12197)
4968
a9f6f311
CY
49692012-08-14 Chong Yidong <cyd@gnu.org>
4970
4971 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
4972 (hi-lock-set-pattern): When deciding whether to use font lock or
4973 overlays, look at font-lock-mode instead of font-lock-fontified
4974 (Bug#12168).
4975 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
4976 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
4977
7d806b1e
DU
49782012-08-14 Daiki Ueno <ueno@unixuser.org>
4979
4980 * subr.el (internal--after-with-selected-window): Fix typo
4981 (Bug#12193).
4982
5beed586
FEG
49832012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4984
4985 Use `completion-table-dynamic' for completion functions.
4986 * progmodes/python.el
4987 (python-shell-completion--do-completion-at-point)
e636fafe
DG
4988 (python-shell-completion--get-completions):
4989 Remove functions.
5beed586
FEG
4990 (python-shell-completion-complete-at-point): New function.
4991 (python-completion-complete-at-point): Use it.
4992
92cb3b04
J
49932012-08-13 Jambunathan K <kjambunathan@gmail.com>
4994
4995 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
4996 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
4997
89660017
SM
49982012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4999
3c98c962
SM
5000 * subr.el (function-get): Refine `autoload' arg so it can also
5001 autoload functions for gv.el (bug#12191).
5002 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
5003 autoloads macros.
5004
aa7c6dbe
SM
5005 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
5006 Prefer pcase-let over destructuring-bind.
5007 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
5008 Also, remove whitespace as we go, rather than after accumulating the
5009 various places.
5010
89660017
SM
5011 * subr.el (internal--before-with-selected-window)
5012 (internal--after-with-selected-window): Fix typo seleted->selected.
5013 (with-selected-window): Adjust callers.
5014 Reported by Dmitry Gutov <dgutov@yandex.ru>.
5015
31cd32c9
BG
50162012-08-13 Bastien Guerry <bzg@gnu.org>
5017
0fcd3d9f 5018 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
5019 enhancement. (Bug#12172)
5020
1b15d8ad
AS
50212012-08-13 Andreas Schwab <schwab@linux-m68k.org>
5022
31e54db0
AS
5023 * tar-mode.el (tar-header-data-end): Only ignore size for files of
5024 type 1-6.
5025 (tar-header-block-summarize, tar-get-descriptor): Handle pax
5026 extended headers.
5027
1b15d8ad
AS
5028 * files.el (hack-local-variables-filter): Remove useless eval.
5029
35cb9c06
MR
50302012-08-13 Martin Rudalics <rudalics@gmx.at>
5031
5032 * subr.el (with-selected-window): Fix last change.
5033
1439443b
SM
50342012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5035
5036 * subr.el (internal--before-with-seleted-window)
5037 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
5038 (with-selected-window): Use them, to replace dependency on
5039 tty-top-frame.
1439443b 5040
0d9e2599
NN
50412012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
5042
5043 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
5044 binding for `newline'.
5045 (ruby-move-to-block): When moving backward, stop at block opening,
5046 not indentation.
5047 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
5048 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
5049 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5050 `ruby-toggle-block'.
5051
ba10c48c
SM
50522012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5053
5054 * ibuffer.el (ibuffer-do-toggle-read-only):
5055 * dired.el (dired-toggle-read-only):
5056 * buff-menu.el (Buffer-menu-toggle-read-only):
5057 * bindings.el (mode-line-toggle-read-only):
5058 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
5059
9229c658
AS
50602012-08-12 Andreas Schwab <schwab@linux-m68k.org>
5061
5062 * descr-text.el (describe-char): Put the overlays over the
5063 "displayed as" character.
5064
0fd09128
JB
50652012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
5066
5067 * calc/calc-units.el (math-default-units-table): Give an
5068 initial value.
5069 (math-put-default-units): Add options to put composite units and
5070 unit systems in the default units table.
5071 (calc-convert-units): Send composite units to
5072 `math-put-default-units' when appropriate.
5073
9ff9402d 50742012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 5075
fbb5e336
GM
5076 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
5077
7aacaf15
GM
5078 * tutorial.el (help-with-tutorial):
5079 * emacs-lisp/copyright.el (copyright-update-directory):
5080 * emacs-lisp/autoload.el (autoload-find-generated-file)
5081 (autoload-find-file): Disable local eval: (for insurance).
5082
f40b9f10
GM
5083 * files.el (hack-local-variables-filter): If an eval: form is not
5084 known to be safe, and enable-local-variables is :safe, then ignore
5085 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 5086 This is CVE-2012-3479.
f40b9f10 5087
daa9f1a6
SM
50882012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5089
5090 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
5091 (rx-form): Simplify.
5092
9cd80478
DG
50932012-08-09 Dmitry Gutov <dgutov@yandex.ru>
5094
0d9e2599
NN
5095 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
5096 ?, _, and : are symbol constituents, ! is not (but kinda should be).
5097 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
5098 (ruby-syntax-propertize-function): Adjust for changes in
5099 `ruby-syntax-propertize-heredoc'.
5100
51012012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
5102
9cd80478
DG
5103 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
5104 binding (use `M-;' instead).
9cd80478 5105 (ruby-singleton-class-p): New function.
0d9e2599 5106 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 5107
d301b413
SM
51082012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5109
5110 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
5111
1530c98e
CY
51122012-08-10 Chong Yidong <cyd@gnu.org>
5113
5114 * progmodes/python.el (python-shell-get-process-name): Don't mess
5115 with same-window-buffer-names.
5116
5117 * eshell/eshell.el (eshell-add-to-window-buffer-names)
5118 (eshell-remove-from-window-buffer-names): Make obsolete.
5119 (eshell-buffer-name, eshell-unload-hook): Don't use them.
5120 (eshell): Just use pop-to-buffer-same-window instead.
5121
e1293765
CY
51222012-08-10 Chong Yidong <cyd@gnu.org>
5123
5124 * bindings.el: Bind M-= back to count-words-region.
5125
5126 * simple.el (count-words-region): Accept a prefix arg for acting
5127 on the entire buffer.
5128 (count-words--buffer-message): New helper function.
5129
e1894109
SM
51302012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5131
5132 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
5133 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
5134 (event-start, event-end): Use posn-at-point to return a more
5135 informative posn.
5136 (posnp): New function.
5137 * mouse.el (popup-menu-normalize-position): Use it.
5138
c69f56a2
MY
51392012-08-10 Masatake YAMATO <yamato@redhat.com>
5140
5141 * mouse.el (popup-menu-normalize-position): New function.
5142 (popup-menu): Use `popup-menu-normalize-position' to normalize
5143 the form for POSITION argument.
5144
5145 * term/x-win.el (x-menu-bar-open):
5146 Use the value returend from (posn-at-point) as position
5147 passed to `popup-menu'.
5148
31673780
JB
51492012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
5150
5151 * calc/calccomp.el (math-compose-expr): Add extra argument
5152 indicating that parentheses should be put around products in
5153 denominators. Give multiplication precedence over division during
5154 composition.
5155
dab7711b
CY
51562012-08-09 Chong Yidong <cyd@gnu.org>
5157
dee4ef93
CY
5158 * man.el (Man-switches, Man-sed-command, Man-awk-command)
5159 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
5160 (Man-untabify-command, manual-program): Convert to defcustom
5161 (Bug#10429).
5162
73e2bbc5
CY
5163 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
5164
3e861c8a
CY
5165 * descr-text.el (describe-char): Don't insert extra newlines
5166 (Bug#10127).
5167
a9f5a649
CY
5168 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
5169 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
5170
dab7711b
CY
5171 * align.el (align-region): Delete temporary markers (Bug#10047).
5172 Plus some code cleanups.
5173
e0cc4efa
FEG
51742012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
5175
5176 * progmodes/python.el (python-pdbtrack-tracked-buffer)
5177 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
5178 (python-shell-internal-last-output): Use make-local-variable
5179 instead of make-variable-buffer-local.
5180
489af14f
FEG
51812012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
5182
5183 * progmodes/python.el: Enhancements to forward-sexp.
5184 (python-nav-forward-sexp): Rename from
5185 python-nav-forward-sexp-function.
c69f56a2
MY
5186 (python-nav--forward-sexp, python-nav--backward-sexp):
5187 New functions.
489af14f 5188
0fc50303
JB
51892012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
5190
5191 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
5192 modes and simplification modes.
5193
5d65606a
SM
51942012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5195
5196 * delsel.el (delete-selection-pre-hook): Don't propagate the
5197 file-supersession signals (bug#12161).
5198
4250fdf5
SM
51992012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5200
5201 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
5202 (cl-map-extents): Add compatibility aliases (bug#12135).
5203
d9f9b465
MA
52042012-08-08 Michael Albinus <michael.albinus@gmx.de>
5205
5206 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
5207 tests by `ignore-error'.
5208 (tramp-find-shell): Open also a new shell, when cache is already
5209 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
5210
ce0fcefa
JL
52112012-08-08 Juri Linkov <juri@jurta.org>
5212
5213 * bookmark.el: Add `defaults' property to the bookmark record.
5214 (bookmark-current-buffer): Doc fix.
5215 (bookmark-make-record): Add `defaults' property with default values
5216 to the bookmark record.
5217 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
5218 with `bookmark-insert-current-bookmark'.
5219 (bookmark-set): Get `defaults' property from the bookmark record
5220 and use it in `read-from-minibuffer'.
5221 (bookmark-insert-current-bookmark): Remove function.
5222
5223 * info.el (Info-bookmark-make-record): Add `defaults' property
5224 with values of canonical Info node name, the current Info file
5225 name and the current Info node name. (Bug#12107)
5226
53fa8652
JL
52272012-08-08 Juri Linkov <juri@jurta.org>
5228
5229 * files.el (basic-save-buffer): Use `buffer-name' as the default
5230 of `read-file-name' when buffer is not visiting a file (bug#12128).
5231
242c0a95
JL
52322012-08-08 Juri Linkov <juri@jurta.org>
5233
5234 * info.el (Info-isearch-search): Doc fix.
5235 (Info-search): Change search-failed message from "initial node" to
5236 "end of node" (bug#12078).
5237 (Info-isearch-search): Change `isearch-string-state' to
5238 `isearch--state-string'.
5239
32ac3a6b
GM
52402012-08-08 Glenn Morris <rgm@gnu.org>
5241
5242 * language/persian.el: Remove file.
f8c1afd5 5243 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
5244 * loadup.el: Remove language/persian.
5245
2c2d9c9c
OF
52462012-08-08 Óscar Fuentes <ofv@wanadoo.es>
5247
5248 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
5249
2d79ec42
FEG
52502012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
5251
5252 * progmodes/python.el Fixed defsubst warning.
5253 (python-syntax-context) Rename from python-info-ppss-context.
5254 (python-syntax-context-type): Rename from
5255 python-info-ppss-context-type.
5256 (python-syntax-comment-or-string-p): Rename from
5257 python-info-ppss-comment-or-string-p.
5258
2bd255dd
JB
52592012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
5260
5261 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
5262
c395097f
AS
52632012-08-07 Andreas Schwab <schwab@linux-m68k.org>
5264
6125983e
AS
5265 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
5266 a defcustom that is quoted with backquote.
5267
4250fdf5
SM
5268 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
5269 Fix handling of interactive spec when the body uses return.
651eaf36
AS
5270 (math-do-arg-check, math-define-function-body): Use backquote forms.
5271 * calc/calc-ext.el (math-defcache): Likewise.
5272 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
5273 * allout.el (allout-new-exposure): Likewise.
5274 * calc/calcalg2.el (math-tracing-integral): Likewise.
5275 * info.el (Info-last-menu-item): Likewise.
5276 * emulation/vip.el (vip-loop): Likewise.
5277 * textmodes/artist.el (artist-funcall): Likewise.
5278 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
5279 Construct menu-item directly.
5280
4250fdf5
SM
5281 * progmodes/autoconf.el (font-lock-syntactic-keywords):
5282 Don't declare.
c395097f 5283
5fb50dd3
CY
52842012-08-07 Chong Yidong <cyd@gnu.org>
5285
5286 * simple.el (deactivate-mark): Preserve text properties when
5287 saving the primary selection (Bug#8384).
5288
54eea618
KR
52892012-08-07 Kevin Ryde <user42@zip.com.au>
5290
5291 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
5292 (woman-parse-numeric-value): On a bad .IP line, issue a warning
5293 and continue processing (Bug#12110).
5294
638eaeb9
SM
52952012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
5296
5297 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
5298 syntax-propertize-function (bug#10095).
5299
ea376861
SM
53002012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
5301
f91b35be
SM
5302 * help-fns.el (help-fns--key-bindings, help-fns--signature)
5303 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
5304 describe-function-1.
5305 (describe-function-1): Use them. Move compiler macro after sig.
5306 (help-fns--compiler-macro): Use function-get. Assume we're already in
5307 standard-output. Adjust layout to new call order.
5308
ea376861
SM
5309 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
5310 re-binding a symbol that has a symbol-macro (bug#12119).
5311
d5be7bd0
MB
53122012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
5313
5314 * language/persian.el: New file. (Bug#11812)
5315 * loadup.el: Add language/persian.el.
5316
90749b53
CY
53172012-08-06 Chong Yidong <cyd@gnu.org>
5318
5319 * window.el (window--maybe-raise-frame): New function.
5320 (window--display-buffer): Split off from here.
5321 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5322 (display-buffer-pop-up-window, display-buffer-use-some-window):
5323 Obey an inhibit-switch-frame action alist entry.
5324 (display-buffer): Update doc.
5325
5326 * replace.el (occur-after-change-function): Avoid losing focus by
5327 using the inhibit-switch-frame display parameter (Bug#12139).
5328
ba7b0154
FEG
53292012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
5330
5331 Make internal shell process buffer names start with space.
5332 * progmodes/python.el (python-shell-make-comint): Add optional
5333 argument INTERNAL.
5334 (run-python-internal): Use it.
5335 (python-shell-internal-get-or-create-process): Check for new
5336 internal buffer names.
5337
5eaeacb5
GM
53382012-08-06 Glenn Morris <rgm@gnu.org>
5339
e296d94b 5340 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
5341 Do less getting and setting of environment variables.
5342
b7ccbdc2
CY
53432012-08-05 Chong Yidong <cyd@gnu.org>
5344
777fe95e
CY
5345 * proced.el (proced): Add substitution string to docstring to
5346 trigger autoloading of the proced library on C-h f (Bug#1768).
5347
4250fdf5
SM
5348 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5349 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
5350
5351 * imenu.el (imenu-generic-expression): Move documentation here
5352 from imenu--generic-function.
5353 (imenu--generic-function): Refer to imenu-generic-expression.
5354
9e3b7800 53552012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
5356
5357 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
5358 indentation declaration.
5359 (viper-loop): Add indentation declaration (Bug#7025).
5360
e5d9c0d1
CY
53612012-08-05 Chong Yidong <cyd@gnu.org>
5362
f0422feb
CY
5363 * help-fns.el (describe-variable): Add hyperlink for
5364 directory-local variables files. Improve buffer-local and
5365 permanent-local reporting; suggested by MON KEY (Bug#6644).
5366
5367 * help-mode.el (help-dir-local-var-def): New button type.
5368
e5d9c0d1
CY
5369 * files.el (kill-buffer-hook): Provide a defvar.
5370
a4f2deaa
GM
53712012-08-05 Glenn Morris <rgm@gnu.org>
5372
5373 * eshell/esh-ext.el (eshell/addpath):
5374 Also update eshell-path-env. (Bug#12013)
5375
a9dd5754
CY
53762012-08-05 Chong Yidong <cyd@gnu.org>
5377
a4f2deaa 5378 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 5379
d014c740
CY
5380 * fringe.el (fringe-styles): Add docstring.
5381 (fringe--check-mode): New function.
5382 (set-fringe-mode, set-fringe-style): Use it.
5383 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
5384
a9dd5754
CY
5385 * files.el (set-auto-mode): Fix invalid setq call.
5386
7c2dc8bd
SM
53872012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5388
5389 * isearch.el: Misc simplification; use defstruct.
5390 (isearch-mode-map): Dense maps now work like sparse ones.
5391 (isearch--state): New defstruct.
5392 (isearch-string-state, isearch-message-state, isearch-point-state)
5393 (isearch-success-state, isearch-forward-state)
5394 (isearch-other-end-state, isearch-word-state, isearch-error-state)
5395 (isearch-wrapped-state, isearch-barrier-state)
5396 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
5397 replaced by defstruct's accessors.
5398 (isearch--set-state): Rename from isearch-top-state and change
5399 calling convention.
5400 (isearch-push-state): Use new isearch--get-state.
5401 (isearch-toggle-word): Disable regexp when enabling word.
5402 (isearch-message-prefix): Remove unused arg _c-q-hack.
5403 (isearch-message-suffix): Remove unused arg _ellipsis.
5404
7fcc0070
AS
54052012-08-04 Andreas Schwab <schwab@linux-m68k.org>
5406
5407 * simple.el (list-processes--refresh): For a server use :host or
5408 :local as the address.
97ad0769 5409 (list-processes): Doc fix.
7fcc0070 5410
a11035b8 54112012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
5412
5413 * lisp/mpc.el: Support password in host argument.
5414 (mpc--proc-connect): Parse and use new password element.
5415 Set mpc-proc variable instead of returning process.
5416 (mpc-proc): Adjust accordingly.
5417
6dad7178
EZ
54182012-08-03 Eli Zaretskii <eliz@gnu.org>
5419
18949c2f
EZ
5420 * whitespace.el (whitespace-display-mappings): Use Unicode
5421 codepoints, instead of emacs-mule codepoints. See
5422 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
5423 for the details.
5424
6dad7178
EZ
5425 * files.el (file-truename): Don't skip symlink-chasing part on
5426 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
5427 Windows into the loop that recursively chases symlinks.
5428 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
5429 MS-DOS.
5430
385b0198
CY
54312012-08-03 Chong Yidong <cyd@gnu.org>
5432
6200f3c4
CY
5433 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
5434
385b0198
CY
5435 * sort.el (sort-regexp-fields): Doc fix.
5436
b9e74744
TH
54372012-08-03 Tassilo Horn <tsdh@gnu.org>
5438
5439 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
5440 labels regex position point at the expected place.
5441
41013cb4
MK
54422012-08-03 MON KEY <monkey@sandpframing.com>
5443
5444 * net/imap.el (imap-interactive-login, imap-authenticate)
5445 (imap-mailbox-lsub, imap-mailbox-list)
5446 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
5447 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
5448 (imap-parse-response): Doc fix.
5449
0ffee616
JT
54502012-08-03 João Távora <joaotavora@gmail.com>
5451
5452 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
5453 if sexp scanning does not move point (Bug#5734).
5454
cfcc9cc8
TH
54552012-08-02 Tassilo Horn <tsdh@gnu.org>
5456
5457 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
5458 Add listings, minted, and ctable packages.
5459 (reftex-label-alist-builtin): Move listings, minted, and ctable
5460 entries before LaTeX.
a01bbb84 5461 (reftex-label-alist): Docfix.
cfcc9cc8 5462
66ec2442
BG
54632012-08-02 Bastien Guerry <bzg@gnu.org>
5464
5465 * replace.el (occur): Fix docstring (bug#12122).
5466
837b365b
GM
54672012-08-02 Glenn Morris <rgm@gnu.org>
5468
5469 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
5470
e098de97
PE
54712012-08-02 Paul Eggert <eggert@cs.ucla.edu>
5472
5473 Obsolete alias inactivate-current-input-method-function (Bug#10150).
5474 * international/mule-cmds.el: Create
5475 inactivate-current-input-method-function as an obsolete alias for
5476 deactivate-current-input-method-function. See Katsumi Yamaoka in
5477 <http://bugs.gnu.org/10150#46>.
5478
a0f95636
JB
54792012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
5480
5481 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
5482 of nested `if's.
5483
0d26d7c4
GM
54842012-08-01 Glenn Morris <rgm@gnu.org>
5485
5486 * progmodes/autoconf.el (autoconf-definition-regexp):
5487 Add AH_TEMPLATE, adjust submatch numbering.
5488 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
5489 (autoconf-current-defun-function): Update for above change.
5490 (autoconf-current-defun-function): First skip to end of current word.
5491
b686ba06
RS
54922012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
5493
5494 * calendar/cal-html.el (cal-html-insert-agenda-days):
5495 Fix typo. (Bug#12018)
5496
0d49da68
FEG
54972012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
5498
5499 Shell processes: enhancements to startup and CEDET compatibility.
5500 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
5501 (python-shell-make-comint): accept-process-output at startup.
5502 (run-python-internal): Set inferior-python-mode-hook to nil.
5503 (python-shell-internal-get-or-create-process): call sit-for.
5504 (python-preoutput-result): Add obsolete alias.
5505 (python-shell-internal-send-string): Use it.
5506 (python-shell-send-setup-code): Remove call to
5507 accept-process-output.
5508
f1a71c6e
AS
55092012-07-31 Andreas Schwab <schwab@linux-m68k.org>
5510
5511 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
5512 (Bug#12108)
5513
d2605269
JB
55142012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
5515
5516 * calc-mode.el (calc-basic-simplification-mode): Rename from
5517 `calc-limited-simplification-mode'.
5518 (calc-alg-simplification-mode): New function.
fc0c31f8 5519 (calc-set-simplify-mode): Adjust message.
f1a71c6e 5520
d2605269
JB
5521 * calc.el (calc-set-mode-line): Adjust mode line display for
5522 basic simplification mode.
5523
5524 * calc-help.el (calc-m-prefix-help): Update help message.
5525
5526 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
5527 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
5528
a3827a43
BG
55292012-07-31 Bastien Guerry <bzg@gnu.org>
5530
5531 * man.el (man): Fix comment. (bug#12101)
5532
502e3f89
MR
55332012-07-31 Martin Rudalics <rudalics@gmx.at>
5534
5535 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5536 Don't return a non-nil value when no suitable buffer was found.
5537
d7714961
FEG
55382012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
5539
5540 * progmodes/python.el (run-python-internal): Disable font lock for
5541 internal shells.
5542
1f45e27e
SM
55432012-07-30 Stefan Merten <smerten@oekonux.de>
5544
70efc5c9 5545 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
5546 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5547 (rst-official-version, rst-official-cvs-rev)
5548 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
5549 (rst-mode-map): New key binding.
5550
0aee6912
PE
55512012-07-30 Paul Eggert <eggert@cs.ucla.edu>
5552
5553 Update .PHONY listings in makefiles.
5554 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
5555 autoloads, update-subdirs, updates, bzr-update, update-authors,
5556 compile-onefile, compile-calc, backup-compiled-files,
5557 compile-after-backup, compile-one-process, mh-autoloads,
5558 bootstrap-clean, distclean, maintainer-clean.
5559
9052f9f0
JB
55602012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
5561
1823ac5a
JB
5562 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
5563 (calc-set-mode-line): Don't display "AlgSimp ".
5564
5565 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
5566 (calc-lim-simplify-mode): New function.
5567 (calc-set-simplify-mode): Default to 'alg.
5568 (calc-default-simplify-mode): Make algebraic simplifications
5569 the default.
5570
5571 * calc/calc-ext.el (calc-init-extensions): Remove binding for
5572 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
5573
8d7c7eed 5574 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
5575 indicate new simplification modes.
5576
1823ac5a
JB
5577 * calc/README: Mention new default simplification mode.
5578
9052f9f0
JB
5579 * calc/calc.el (math-normalize-error): New variable.
5580 (math-normalize): Set `math-normalize-error' to t
5581 when there's an error.
5582
5583 * calc/calc-alg.el (math-simplify): Don't simplify when
5584 `math-normalize' returns an error.
5585
20ba0cb4
EZ
55862012-07-29 Eli Zaretskii <eliz@gnu.org>
5587
5588 * international/mule-cmds.el (set-locale-environment): Revert last
5589 change, since display-graphic-p returns nil when this function is
5590 called during startup. Instead...
5591
5592 * term/w32console.el (terminal-init-w32console): ...setup the
5593 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
5594
a5dcc929
JL
55952012-07-29 Juri Linkov <juri@jurta.org>
5596
5597 * simple.el (goto-line): Don't display default line number in the
5598 prompt because it should be displayed by `read-number' (bug#9952).
5599 Add the current line number to the defaults of `goto-line' to
5600 allow its easier modification by users with `M-n' (bug#9201).
5601
5602 * subr.el (read-number): Support multiple default values like in
5603 other minibuffer reading functions. Replace `read' with
5604 `string-to-number' for consistency with `number-to-string'.
5605
72b255c7
PE
56062012-07-29 Paul Eggert <eggert@cs.ucla.edu>
5607
5608 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
5609 * emulation/viper-init.el (viper-deactivate-input-method-action):
5610 Rename from viper-inactivate-input-method-action.
5611 (viper-deactivate-input-method):
5612 Rename from viper-inactivate-input-method.
5613 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
5614 * international/mule-cmds.el (deactivate-input-method):
5615 Rename from inactivate-input-method.
5616 Also run input-method-deactivate-hook.
5617 (deactivate-current-input-method-function):
5618 Rename from inactivate-current-input-method-function.
5619 (input-method-deactivate-hook): New hook.
5620 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
5621 (inactivate-input-method): Mark obsolete.
5622
72b255c7
PE
5623 * international/quail.el (quail-activate):
5624 Also run quail-deactivate-hook.
5625 (quail-deactivate): Rename from quail-inactivate.
5626 * international/robin.el (robin-activate):
5627 Also run robin-deactivate-hook.
5628 (robin-deactivate): Rename from robin-inactivate.
5629
2549c068
CY
56302012-07-29 Chong Yidong <cyd@gnu.org>
5631
5632 * simple.el (indicate-copied-region): New function.
5633 (kill-ring-save): Split off from here.
5634
5635 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
5636 (kill-rectangle): Set deactivate-mark to t on read-only error.
5637
5638 * register.el (copy-to-register, copy-rectangle-to-register):
5639 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
5640 (append-to-register, prepend-to-register): Call indicate-copied-region.
5641
56422012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
5643
5644 * simple.el (async-shell-command-buffer): New defcustom.
5645 (shell-command): Use it. (Bug#4719)
5646
01bd1b0d
EZ
56472012-07-28 Eli Zaretskii <eliz@gnu.org>
5648
5649 * international/mule-cmds.el (set-locale-environment): In a
5650 console session on MS-Windows, set up keyboard and terminal
5651 encoding from the OEM codepage, not the ANSI codepage.
5652 (Bug#12055)
5653
a55739d3
CY
56542012-07-28 Chong Yidong <cyd@gnu.org>
5655
5656 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
5657 gdb-get-location.
5658
0e1a094f 56592012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
5660
5661 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
5662 the alist (bug#12029).
5663
20329d73
EZ
56642012-07-28 Eli Zaretskii <eliz@gnu.org>
5665
5666 * makefile.w32-in (custom-deps, finder-data, updates, compile)
5667 (compile-always, compile-first)
5668 ($(lisp)/calendar/cal-loaddefs.el)
5669 ($(lisp)/calendar/diary-loaddefs.el)
5670 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5671 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
5672 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
5673 instead of on update-subdirs.
5674 (bootstrap-clean): Delete $(lisp)/subdirs.el.
5675
345a2258
CY
56762012-07-28 Chong Yidong <cyd@gnu.org>
5677
1eee6341
CY
5678 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
5679 directory if vc-deduce-backend returns nil (Bug#7350).
5680
345a2258
CY
5681 * simple.el (delete-trailing-lines): New option.
5682 (delete-trailing-whitespace): Obey it (Bug#11879).
5683
049a0936
DE
56842012-07-28 David Engster <deng@randomsample.de>
5685
5686 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
5687 Explanation of new 'symbol-qnames feature in doc-strings.
5688 (xml-maybe-do-ns): Return expanded names as plain symbols if
5689 'symbol-qnames was provided in XML-NS argument (Bug#11916).
5690 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
5691
aa81af71
FEG
56922012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5693
5694 Consistent completion in inferior python with emacs -nw.
5695 * progmodes/python.el (inferior-python-mode): replace "<tab>"
5696 binding in inferior-python-mode-map with "\t".
5697 (python-shell-completion-complete-at-point)
5698 (python-completion-complete-at-point): Remove interactive spec.
5699
e827b1eb
JB
57002012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5701
5702 * calc/calccomp.el (math-compose-expr): Undo previous change.
5703
a90dfb95
FEG
57042012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5705
4250fdf5 5706 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
5707 run-python.
5708 (python-shell-make-comint): Fix pop-to-buffer call.
5709 (run-python): Autoload. New arg SHOW.
5710 (python-shell-get-or-create-process): Do not pop python process
5711 buffer.
5712
32770973 57132012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
5714
5715 * notifications.el (notifications-on-action-signal)
5716 (notifications-on-closed-signal): Use also the bus address for the map.
5717 (notifications-notify, notifications-close-notification)
fc0c31f8 5718 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 5719
86332df2
TH
57202012-07-27 Tassilo Horn <tsdh@gnu.org>
5721
4250fdf5
SM
5722 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5723 Add support for the lstlisting and minted environments, and for the
86332df2
TH
5724 ctable macro.
5725 * textmodes/reftex.el (reftex-compile-variables): Also recognize
5726 labels written in keyvals syntax.
5727
ca1302a4
JB
57282012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5729
5730 * calc/calccomp.el (math-compose-expr): Use parentheses when
5731 there is a product in the denominator of a fraction.
5732
f8b91036
EZ
57332012-07-26 Eli Zaretskii <eliz@gnu.org>
5734
5735 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
5736 ($(lisp)/calendar/diary-loaddefs.el)
5737 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
5738 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
5739 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
5740 rewritten while the autoload files are built at the same time,
5741 which needs to load subdirs.el.
5742
c8e5a42c
MR
57432012-07-26 Martin Rudalics <rudalics@gmx.at>
5744
5745 * mouse.el (popup-menu): Fix doc-string and re-indent code.
5746 (mouse-drag-line): Don't exit tracking when a switch-frame or
5747 switch-window event occurs (Bug#12006).
5748
670d85ea
SM
57492012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5750
5751 * mouse.el (popup-menu): Fix last change.
5752
7abaf5cc
SM
57532012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5754
5755 Autoload from Lisp with more care. Follow aliases when looking for
5756 function properties.
5757 * subr.el (autoloadp): New function.
5758 (symbol-file): Use it.
5759 (function-get): New function.
5760 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
5761 autoload-do-load.
5762 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
5763 (lisp-indent-function):
5764 * emacs-lisp/gv.el (gv-get):
5765 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
5766 * emacs-lisp/byte-opt.el (byte-optimize-form):
5767 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
5768 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
5769 Use function-get.
5770 * emacs-lisp/cl.el: Don't propagate function properties any more.
5771
5772 * speedbar.el (speedbar-add-localized-speedbar-support):
5773 * emacs-lisp/disass.el (disassemble-internal):
5774 * desktop.el (desktop-load-file):
5775 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
5776 (describe-function-1):
5777 * emacs-lisp/find-func.el (find-function-noselect):
5778 * emacs-lisp/elp.el (elp-instrument-function):
5779 * emacs-lisp/advice.el (ad-has-proper-definition):
5780 * apropos.el (apropos-safe-documentation, apropos-macrop):
5781 * emacs-lisp/debug.el (debug-on-entry):
5782 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
5783 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5784 * calc/calc.el (name): Use autoloadp & autoload-do-load.
5785
b1364986
AA
57862012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
5787
5788 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
5789 function, not an obsolete variable (Bug#12046).
5790
67ada220
AS
57912012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5792
5793 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
5794
f08088e3
CS
57952012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
5796
5797 * emacs-lisp/pp.el (pp-display-expression): Select old selected
5798 window only if it is still live (Bug#12034).
5799
8137e7b3
MR
58002012-07-25 Martin Rudalics <rudalics@gmx.at>
5801
5802 * subr.el (redirect-frame-focus): Add advertised calling
5803 convention (Bug#12030).
5804
09ae5da1
PE
58052012-07-25 Paul Eggert <eggert@cs.ucla.edu>
5806
5807 Prefer typical American spelling for "acknowledgment".
5808 * vc/add-log.el (change-log-acknowledgment): Rename from
5809 change-log-acknowledgement, with an alias for the old name.
5810
3cc5a3a8
JB
58112012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
5812
5813 * calc-alg.el (math-simplify-divide): Don't cross multiply
5814 in an equation when the lhs is a variable.
5815
b7af7f62
JD
58162012-07-24 Julien Danjou <julien@danjou.info>
5817
5818 * net/netrc.el (netrc-find-service-number, netrc-store-data):
5819 Remove, unused.
5820
ec1b09b1
EZ
58212012-07-23 Eli Zaretskii <eliz@gnu.org>
5822
5823 * startup.el (command-line): Don't display an empty user name in
5824 the error message about non-existent home directory, when
5825 init-file-user was set to an empty string. See
5826 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
5827 for the details and context.
5828
b525fd8a
VB
58292012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
5830
5831 * ses.el (ses-cell-formula-aset): New macro.
5832 (ses-cell-references-aset): New macro.
5833 (ses-cell-p): New function.
5834 (ses-rename-cell): Do no longer rely on complex operations like
5835 ses-cell-set-formula or ses-set-cell to change the cell and handle
5836 the undo at the same time, but rather use lower level new macros
5837 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 5838 the undo directly. Refresh the mode line.
b525fd8a 5839
2c73e345
LL
58402012-07-21 Leo Liu <sdl.web@gmail.com>
5841
670d85ea
SM
5842 * progmodes/cc-cmds.el (c-defun-name):
5843 Use match-string-no-properties instead for consistency.
2c73e345 5844
542dfbde
LL
58452012-07-20 Leo Liu <sdl.web@gmail.com>
5846
3646bcd6
LL
5847 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
5848 (Bug#7879)
5849
542dfbde
LL
5850 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
5851
25721031
CY
58522012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
5853
5854 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
5855 * progmodes/bug-reference.el, misearch.el: Provide themselves
5856 (bug#11915).
5857
5858 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
5859 of narrowed buffer (bug#11966).
5860
316e68a7
VB
58612012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
5862
5863 * ses.el (ses-rename-cell): Set new name also in reference list of
5864 cells of which the renamed cell depends.
5865
bbf0e7d9
MY
58662012-07-20 Masatake YAMATO <yamato@redhat.com>
5867
5868 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
5869 to check whether menu-bar is shown or not. If not shown,
5870 show the menu-bar as a popup menu instead of using tmm.
5871 * mouse.el (popup-menu): Accept `point' as `position' argument.
5872
c28662a8
DG
58732012-07-20 Dmitry Gutov <dgutov@yandex.ru>
5874
5875 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
5876 up inside string symbol literal (bug#11923).
5877
87ab808f
EZ
58782012-07-20 Eli Zaretskii <eliz@gnu.org>
5879
5880 * startup.el (fancy-startup-text): Read the whole tutorial, not
5881 just its first 256 bytes. Prevents gibberish in display of the
5882 tutorial title.
5883
89dea803
DA
58842012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
5885
5886 Drop idle buffer compaction due to an absence of the
5887 proved efficiency.
5888 * compact.el: Remove.
5889
8a4e6db8
SS
58902012-07-19 Sam Steingold <sds@gnu.org>
5891
5892 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
5893 vc-bzr-pull & vc-bzr-merge-branch.
5894 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
5895 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
5896 for consistency with compilation-error-regexp-alist.
5897 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
5898 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
5899 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
5900 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
5901
5db81e33
SM
59022012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5903
5904 * emacs-lisp/chart.el: Use lexical-binding.
5905 (chart-emacs-storage): Don't hardcode the list of entries.
5906
5b835e1d
DA
59072012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5908
5909 Next round of tweaks caused by Fgarbage_collect changes.
5910 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
5911
9cd47b72
DA
59122012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5913
5914 Compact buffers when idle.
5915 * compact.el: New file.
5916
1d6fc0df
SM
59172012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5918
5919 * subr.el (eventp): Presume that if it looks vaguely like an event,
5920 it's an event (bug#10190).
5921
1d29cc7d
FEG
59222012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
5923
5924 Enhancements to ppss related code (thanks Stefan).
5925 * progmodes/python.el (python-indent-context)
5926 (python-indent-calculate-indentation, python-indent-dedent-line)
5927 (python-indent-electric-colon, python-nav-forward-block)
5928 (python-mode-abbrev-table)
1d6fc0df 5929 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
5930 for ppss context.
5931 (python-info-continuation-line-p): Cleanup.
5932 (python-info-ppss-context): Do not catch 'quote.
5933 (python-info-ppss-context-type)
5934 (python-info-ppss-comment-or-string-p): Simplify.
5935
d583cbe6
FEG
59362012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
5937
5938 * progmodes/python.el: Enhancements to eldoc support.
5939 (python-info-current-symbol): New function.
5940 (python-eldoc-at-point): Use python-info-current-symbol.
5941 (python-info-current-defun): Fix cornercase on first defun scan.
5942 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
5943 and signal error when no inferior python process is available.
5944
eceb6feb
DG
59452012-07-18 Dmitry Gutov <dgutov@yandex.ru>
5946
5947 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
5948 assume it's always t.
5949 (vc-git-registered): Remove caching, the function is only called
5950 once.
5951 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
5952
4c8ff0fe
CY
59532012-07-18 Chong Yidong <cyd@gnu.org>
5954
19fb7186
CY
5955 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
5956
9587c688
CY
5957 * simple.el (count-words): Report on narrowing (Bug#9959).
5958
0fe776a1
CY
5959 * bindings.el: Bind M-= to count-words.
5960
4c8ff0fe
CY
5961 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
5962
7f5331cc
MY
59632012-07-18 Masatake YAMATO <yamato@redhat.com>
5964
5965 * progmodes/sh-script.el (sh-imenu-generic-expression):
5966 Capture a function with `function' keyword and without parentheses
5967 like "function FOO" (bug#11856).
5968
2dc2a609
TH
59692012-07-18 Tassilo Horn <tassilo@member.fsf.org>
5970
5971 * window.el (split-window-sensibly): Make WINDOW argument
5972 optional.
5973
439f7677
CY
59742012-07-18 Chong Yidong <cyd@gnu.org>
5975
9aeb25a6
CY
5976 * subr.el (keyboard-translate): Doc fix (Bug#7261).
5977
439f7677
CY
5978 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
5979 and make C-x 8 RET exit isearch (Bug#11439).
5980
5981 * international/iso-transl.el: Move isearch-mode-map key
5982 definitions to isearch.el.
5983
12999ea8
SM
59842012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
5985
5986 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
5987 (eieio-defclass): Use gv-define-setter when possible.
5988
3ab6e069
DA
59892012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
5990
5991 Reflect recent changes in Fgarbage_collect.
5992 * emacs-lisp/chart.el (chart-emacs-storage): Change to
5993 reflect new format of data returned by Fgarbage_collect.
5994
0a60bc10
FEG
59952012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5996
5997 New utility functions + python-info-ppss-context fix (Bug#11910).
5998 * progmodes/python.el (python-info-beginning-of-block-statement-p)
5999 (python-info-ppss-comment-or-string-p): New functions.
6000 (python-info-ppss-context): Small fix for string check.
6001
6dafa0d5
JL
60022012-07-17 Juri Linkov <juri@jurta.org>
6003
6004 * dired-aux.el (dired-do-async-shell-command): Doc fix.
6005 (dired-do-async-shell-command): Don't add `*' at the end of the
6006 command (Bug#11815).
6007 (dired-do-shell-command): Doc fix.
6008 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
6009 Join the individual commands using either "&" or ";" as the
6010 separator depending on the values of these trailing characters.
6011 At the end re-add the trailing "&". (Bug#10598)
6012
6013 * simple.el (async-shell-command): Sync the interactive spec with
6014 `shell-command'. Doc fix.
6015 (shell-command): Doc fix.
6016
b19dd9d1
JL
60172012-07-17 Juri Linkov <juri@jurta.org>
6018
6019 * descr-text.el (describe-char): Fix format args. (Bug#10129)
6020
bcdc27d7 60212012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 6022
bcdc27d7 6023 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
6024 * progmodes/python.el (python-nav-beginning-of-statement):
6025 Rename from python-nav-statement-start.
bcdc27d7
FEG
6026 (python-nav-end-of-statement): Rename from
6027 python-nav-statement-end.
6028 (python-nav-beginning-of-block): Rename from
6029 python-nav-block-start.
6030 (python-nav-end-of-block): Rename from python-nav-block-end.
6031
191da00e
FEG
60322012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6033
7f5331cc
MY
6034 * progmodes/python.el (python-shell-send-string-no-output):
6035 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
6036 future interactions (Bug#11868).
6037
4dc7c8d5 60382012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 6039
88ecaf8f
SM
6040 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
6041
ef501ef0
SM
6042 * emacs-lisp/elint.el (elint-find-args-in-code):
6043 Use help-function-arglist, so as to handle lexical byte-code.
6044
aa7aaf8f
SM
6045 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
6046 change (bug#11826).
6047
45fd731c
SM
60482012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
6049
2143fa32
SM
6050 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
6051 Avoid spuriously marking the buffer as modified because of c-is-sws.
6052
efc26dbe
SM
6053 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
6054 as not-a-comment (bug#11946).
6055
f5695c9a
SM
6056 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
6057 for uninterned vars.
6058
6059 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
6060 Use read-event since we don't really want to read chars but bytes.
6061
45fd731c
SM
6062 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
6063 $$..$$ but also $..$ using regexps (bug#11953).
6064 Use tex-verbatim for \url and \path.
6065 (tex-font-lock-keywords): Define as defconst like the others.
6066 (tex-common-initialization): Don't use font-lock-syntax-table any more.
6067
ddfc8813
RK
60682012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
6069
6070 * international/mule-cmds.el (ucs-insert): Make it an obsolete
6071 alias for insert-char.
6072
758e556a
FEG
60732012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
6074
6075 * progmodes/python.el: Simplified imenu implementation.
6076 (python-nav-jump-to-defun): Remove command.
6077 (python-mode-map): Use `imenu' instead.
6078 (python-nav-list-defun-positions-cache)
6079 (python-imenu-include-defun-type, python-imenu-make-tree)
6080 (python-imenu-subtree-root-label, python-imenu-index-alist):
6081 Remove vars.
6082 (python-nav-list-defun-positions, python-nav-read-defun)
6083 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
6084 (python-imenu-make-tree, python-imenu-create-index):
6085 Remove functions.
758e556a
FEG
6086 (python-mode): Update to interact with imenu by setting
6087 `imenu-extract-index-name-function' only.
6088
032d23ab
FEG
60892012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
6090
6091 * progmodes/python.el: Enhancements to navigation commands.
6092 (python-nav-backward-sentence)
6093 (python-nav-forward-sentence): Remove.
6094 (python-nav-backward-statement, python-nav-forward-statement)
6095 (python-nav-statement-start, python-nav-statement-end)
6096 (python-nav-backward-block, python-nav-forward-block)
6097 (python-nav-block-start, python-nav-block-end)
6098 (python-nav-forward-sexp-function)
6099 (python-info-current-line-comment-p)
6100 (python-info-current-line-empty-p): New functions.
6101 (python-indent-context): Use `python-nav-statement-start'.
6102
01795a1b
MA
61032012-07-16 Michael Albinus <michael.albinus@gmx.de>
6104
9328d9aa
MA
6105 * eshell/em-ls.el (eshell/ls): Use `apply'.
6106
6107 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
6108 multi-hops, instead of Tramp internals.
6109
01795a1b
MA
6110 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
6111
6112 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
6113 when F1 and F2 are located on different hosts.
6114
63408057
CY
61152012-07-14 Chong Yidong <cyd@gnu.org>
6116
6117 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
6118 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
6119 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
6120 (xterm-mouse--read-event-sequence-1000)
6121 (xterm-mouse--read-event-sequence-1006): New functions. For old
6122 mouse protocol, handle M-mouse-X events correctly.
6123 (xterm-mouse-event): New arg specifying mouse protocol.
6124 (turn-on-xterm-mouse-tracking-on-terminal)
6125 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
6126 sequence to toggle extended coordinates on newer XTerms.
6127 This appears to be harmless on terminals which do not support this.
63408057 6128
cd276f6e
LL
61292012-07-14 Leo Liu <sdl.web@gmail.com>
6130
28ca98ac
LL
6131 Add fringe bitmap indicators for flymake. (Bug#11253)
6132 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
6133 (flymake-make-overlay): New arg BITMAP.
6134 (flymake-error-bitmap, flymake-warning-bitmap)
6135 (flymake-fringe-indicator-position): New user variables.
6136
cd276f6e
LL
6137 * fringe.el: New bitmap exclamation-mark.
6138
04408072
JD
61392012-07-14 Jan Djärv <jan.h.d@swipnet.se>
6140
6141 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
6142 also (Bug#7879).
6143
b5cf7fc4
CY
61442012-07-14 Chong Yidong <cyd@gnu.org>
6145
6146 * electric.el (electric-pair-post-self-insert-function): Fix pair
6147 insertion in empty-region case (Bug#11520).
6148
be755c79
RT
61492012-07-14 Chong Yidong <cyd@gnu.org>
6150
45fd731c
SM
6151 * bindings.el: Consolidate ctl-x-r-map bindings.
6152 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
6153
6154 * rect.el, register.el: Move bindings to bindings.el.
6155
61562012-07-14 Reuben Thomas <rrt@sc3d.org>
6157
6158 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
6159
7f5b3198
AS
61602012-07-13 Andreas Schwab <schwab@linux-m68k.org>
6161
6162 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
6163
97662200
JB
61642012-07-13 Juanma Barranquero <lekktu@gmail.com>
6165
80185fed
JB
6166 * bindings.el (top): Use `mapc' instead of `mapcar'.
6167
97662200
JB
6168 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
6169
2bb1ae55
MA
61702012-07-13 Michael Albinus <michael.albinus@gmx.de>
6171
6172 * progmodes/sql.el (sql-comint): Suppress the check for program on
6173 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
6174 (Bug#11908)
6175
dea31bd3
CY
61762012-07-13 Chong Yidong <cyd@gnu.org>
6177
6178 * bindings.el: Assign a non-nil permanent-local property to
6179 per-buffer variables which lack a default value (Bug#11930).
6180
6181 * help-fns.el (describe-variable): In the "automatically becomes
6182 local" notice, take note of permanent-local variables.
6183
b68b3337
CY
61842012-07-13 Chong Yidong <cyd@gnu.org>
6185
6186 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
6187 to allow printing the message when called from Lisp.
6188
6189 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6190 Remove toggle-read-only.
6191
6192 * bs.el (bs-toggle-readonly):
45fd731c
SM
6193 * buff-menu.el (Buffer-menu-toggle-read-only):
6194 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
6195
6196 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
6197 Remove with-no-warnings around toggle-read-only.
6198 (ffap-read-only, ffap-read-only-other-window)
6199 (ffap-read-only-other-frame): Callers changed.
6200
6201 * help-mode.el: Don't require view package.
6202 (help-mode-finish): Set buffer-read-only instead of calling
6203 toggle-read-only.
6204
6205 * bindings.el (mode-line-toggle-read-only):
6206 * dired.el (dired-toggle-read-only):
6207 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
6208 with non-nil second arg.
6209
6210 * emacs-lisp/eieio-custom.el (eieio-customize-object):
6211 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
6212 directly.
6213
56bc1586
EZ
62142012-07-12 Eli Zaretskii <eliz@gnu.org>
6215
6216 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
6217 not incf.
6218
a464a6c7
SM
62192012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
6220
6221 More CL cleanups and reduction of use of cl.el.
6222 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
6223 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
6224 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
6225 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
6226 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
6227 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
6228 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
6229 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
6230 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
6231 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
6232 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
6233 * eshell/em-cmpl.el, eshell/em-banner.el:
6234 * calendar/parse-time.el: Use cl-lib.
6235 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
6236 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
6237 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
6238 * term/ns-win.el, term.el, shell.el, ps-samp.el:
6239 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
6240 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
6241 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
6242 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
6243 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
6244 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
6245 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
6246 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
6247 `lambda' rather than with `quote'.
6248 (eshell-do-opt): Adjust accordingly.
6249 (eshell-process-option): Simplify.
6250 * eshell/esh-var.el:
6251 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
6252 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
6253 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
6254 to `pcase--dontcare'.
6255 * emacs-lisp/cl.el (labels): Mark obsolete.
6256 (cl--letf, letf): Move to cl-lib.
6257 (cl--letf*, letf*): Remove.
6258 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
6259 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
6260 (cl-progv): Rewrite.
6261 (cl--letf, cl-letf): Move from cl.el.
6262 (cl-letf*): New macro.
6263 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
6264
7ad4afe1
MA
62652012-07-11 Michael Albinus <michael.albinus@gmx.de>
6266
6267 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
6268
9af57756
CY
62692012-07-11 Chong Yidong <cyd@gnu.org>
6270
6271 * vc/log-edit.el (log-edit-vc-backend): New variable.
6272 (log-edit): Doc fix.
6273
6274 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
6275 argument of log-edit to set up all local variables.
6276 (vc-start-logentry): New optional arg specifying VC backend.
6277
6278 * vc/vc.el (vc-checkin): Use it.
6279 (vc-deduce-fileset): Handle Log Edit buffers.
6280 (vc-diff): Make first argument optional too.
6281
6282 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
6283
8477cc7a
MA
62842012-07-10 Michael Albinus <michael.albinus@gmx.de>
6285
6286 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
6287 command, just in case. The function is not needed anymore.
6288 (eshell-external-command): Do not call `eshell-remote-command'.
6289
19faa8e8
SM
62902012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
6291
f58e0fd5
SM
6292 Reduce use of (require 'cl).
6293 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
6294 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
6295 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
6296 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
6297 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
6298 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
6299 * battery.el, avoid.el, abbrev.el: Use cl-lib.
6300 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
6301 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
6302 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
6303 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
6304 * calculator.el, autorevert.el, apropos.el: Don't require CL.
6305 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
6306 (byte-compile-unfold-bcf, byte-compile-check-variable):
6307 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
6308 (byte-compile-nilconstp):
6309 * emacs-lisp/autoload.el (make-autoload): Use pcase.
6310 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
6311
2519d43a
SM
6312 * emacs-lisp/gv.el (cond): Make it a valid place.
6313 (if): Simplify slightly.
6314
19faa8e8
SM
6315 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
6316 (pcase--self-quoting-p): New function.
6317 (pcase--u1): Use it.
6318
c4907a5e
GM
63192012-07-10 Glenn Morris <rgm@gnu.org>
6320
6321 * emacs-lisp/authors.el (authors-fixed-entries):
6322 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
6323
c4444d16
PE
63242012-07-09 Paul Eggert <eggert@cs.ucla.edu>
6325
6326 Rename configure.in to configure.ac (Bug#11603).
6327 * emacs-lisp/authors.el (authors-canonical-file-name):
6328 * progmodes/autoconf.el (autoconf-mode):
6329 Prefer configure.ac to configure.in.
6330
d75be97d
CY
63312012-07-08 Chong Yidong <cyd@gnu.org>
6332
01ac65bd
CY
6333 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
6334 Implement the mouse-1-click-follows-link handling properly.
6335
6336 * info.el (Info-link-keymap): Use follow-link mechanism for
6337 header-line links (Bug#374).
6338
d75be97d
CY
6339 * simple.el (deactivate-mark): Do not set the primary selection
6340 if another program has acquired it (Bug#11772).
6341
87a92845 63422012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
6343
6344 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
6345 (woman-decode-region): Replace escaped-escapes without destroying
6346 bold or underline (Bug#11552).
87a92845 6347 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 6348
621b9d6c
CY
63492012-07-07 Chong Yidong <cyd@gnu.org>
6350
6351 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
6352 (interprogram-cut-function, interprogram-paste-function):
6353 Mention that we typically mean the clipboard.
621b9d6c 6354
133a11fc
GM
63552012-07-06 Glenn Morris <rgm@gnu.org>
6356
0d27a45e
GM
6357 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
6358
133a11fc
GM
6359 * files.el (toggle-read-only): Restrict message to interactive use.
6360
07b151f1
MA
63612012-07-06 Michael Albinus <michael.albinus@gmx.de>
6362
6363 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
6364
6365 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
6366
211b896b
GM
63672012-07-06 Glenn Morris <rgm@gnu.org>
6368
50394322
GM
6369 * Makefile.in (compile-one-process): Rename from "recompile".
6370
211b896b
GM
6371 * Makefile.in (bzr-update): "compile" is the same as "recompile
6372 autoloads", but parallelizable, so use that instead.
6373
4737eec9
DG
63742012-07-06 Dmitry Gutov <dgutov@yandex.ru>
6375
6376 * window.el (quit-window): Always restore window height when
8137e7b3 6377 it's saved in quit-restore parameter (Bug#11810).
4737eec9 6378
226c3633 63792012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
6380
6381 * simple.el (kill-whole-line): Doc tweak.
6382
226c3633 63832012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
6384
6385 * files.el (file-relative-name): Compare file names
6386 case-insensitively if on MS-Windows or MS-DOS, or if
6387 read-file-name-completion-ignore-case is non-nil. Don't use
6388 case-fold-search for this purpose. (Bug#11827)
6389
4dc7c8d5
SM
63902012-07-17 Andreas Schwab <schwab@linux-m68k.org>
6391
6392 * calendar/cal-dst.el (calendar-current-time-zone):
6393 Return calendar-current-time-zone-cache if non-nil.
6394
63952012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 63962012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 6397
19faa8e8
SM
6398 * calendar/cal-dst.el (calendar-current-time-zone):
6399 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 6400
60198fc9
GM
64012012-07-06 Glenn Morris <rgm@gnu.org>
6402
6403 * Makefile.in (cvs-update): Remove old alias.
6404
957b3189
MA
64052012-07-05 Michael Albinus <michael.albinus@gmx.de>
6406
6407 Sync with Tramp 2.2.6-pre.
6408
6409 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
6410 compatible declaration.
6411
19faa8e8
SM
6412 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6413 Protect `list-load-path-shadows' call.
957b3189
MA
6414
6415 * net/tramp-compat.el (top): Require packages, which aren't
6416 autoloaded anymore for XEmacs. Protect call of
6417 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
6418 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
6419 it hurts at least for SXEmacs.
6420 (tramp-compat-temporary-file-directory): In XEmacs, there is no
6421 standard-value for `temporary-file-directory'.
6422
6423 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
6424 Redirect stderr to /dev/null.
6425 (tramp-sh-handle-write-region): uid and gid can be floats.
6426 Reported by Russell Sim <russell.sim@gmail.com>.
6427 (tramp-sh-handle-vc-registered): Hide errors.
6428 (tramp-vc-file-name-handler): Use dummy results for `process-file'
6429 and `start-file-process'.
6430 (tramp-maybe-open-connection): Check also whether `non-essential'
6431 is bound.
6432
566df3fc
CY
64332012-07-04 Chong Yidong <cyd@gnu.org>
6434
6435 * xml.el (xml--parse-buffer): Use xml-syntax-table.
6436 (xml-parse-tag): Likewise, and avoid changing entity tables.
6437 (xml-syntax-table): Define from scratch, making sure not to give
6438 x2000 and other Unicode spaces whitespace syntax, since those are
6439 not spaces in XML.
6440 (xml-parse-fragment): Delete unused function.
6441 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
6442 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
6443 (xml-entity-ref, xml-pe-reference-re)
6444 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
6445 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
6446 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
6447 (xml-entity-value-re): Use syntax references in regexps where
6448 possible; no need to define inside a let-binding.
6449 (xml-parse-dtd): Use xml-pe-reference-re.
6450 (xml-entity-or-char-ref-re): New defconst.
6451 (xml-parse-string, xml-substitute-special): Use it.
6452
30eabd7a
SM
64532012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6454
0781098a
SM
6455 * files.el (locate-dominating-file): Allow `name' to be a predicate.
6456 (find-file--read-only): New function.
6457 (find-file-read-only, find-file-read-only-other-window)
6458 (find-file-read-only-other-frame): Use it.
6459 (insert-file-contents-literally): Don't `fset'.
6460 (get-free-disk-space): Use locate-dominating-file.
6461
b5771c0d
SM
6462 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
6463 function is already compiled.
6464
30eabd7a
SM
6465 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
6466
b4886f6e
MA
64672012-07-03 Michael Albinus <michael.albinus@gmx.de>
6468
6469 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
6470 files on the same host.
6471
b9d82339
AS
64722012-07-03 Andreas Schwab <schwab@linux-m68k.org>
6473
6474 * help-fns.el (describe-function-1): Only call
6475 help-fns--autoloaded-p when we have a file name. (Bug#11848)
6476
a76e6535
CY
64772012-07-03 Chong Yidong <cyd@gnu.org>
6478
6479 * xml.el: Protect parser against XML bombs.
6480 (xml-entity-expansion-limit): New variable.
6481 (xml-parse-string, xml-substitute-special): Use it.
6482 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
6483
b544fef2
GM
64842012-07-03 Glenn Morris <rgm@gnu.org>
6485
6486 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6487 Allow linking to specific messages in debbugs reports (eg 123#5).
6488
a7aef6f5
CY
64892012-07-02 Chong Yidong <cyd@gnu.org>
6490
6491 * xml.el: Fix entity and character reference expansion, allowing
6492 them to expand into markup as per XML spec.
6493 (xml-default-ns): New variable.
6494 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
6495 (xml-parse-region): Make first two arguments optional.
6496 Discard text properties.
6497 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
6498 All callers changed.
a7aef6f5
CY
6499 (xml-parse-tag): Call xml-parse-tag-1. For backward
6500 compatibility, this function should not modify buffer contents.
6501 (xml-parse-tag-1): Fix opening-tag regexp.
6502 (xml-parse-string): Rewrite, handling entity and character
6503 references properly.
6504 (xml--entity-replacement-text): Signal an error if a parameter
6505 entity is undefined.
6506
3df31c9f
SM
65072012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
6508
2b5208f1
SM
6509 * comint.el (comint-output-filter): Filter out repeated prompts.
6510
3df31c9f
SM
6511 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
6512 and file-name-absolute-p.
6513 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
6514 internal calls.
6515
e3ac1281
PE
65162012-07-02 Paul Eggert <eggert@cs.ucla.edu>
6517
6518 Spelling fixes.
6519 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
6520 Rename from byte-compile--refiy-function. All uses changed.
6521
fbf2e7ad
CY
65222012-07-01 Chong Yidong <cyd@gnu.org>
6523
6524 * xml.el (xml--parse-buffer): New function. Move most of
6525 xml-parse-region here.
6526 (xml-parse-region): Copy region into a temporary buffer, since
6527 parameter entity substitution requires changing buffer contents.
6528 Use xml--parse-buffer.
6529 (xml-parse-file): Use xml--parse-buffer.
6530 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 6531 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 6532
9bf0aa15
GM
65332012-06-30 Glenn Morris <rgm@gnu.org>
6534
bbce2853
GM
6535 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
6536
9bf0aa15
GM
6537 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
6538 Remove outdated and unnecessary dbus declarations.
6539
0d23c240
EZ
65402012-06-30 Eli Zaretskii <eliz@gnu.org>
6541
6542 * emacs-lisp/timer.el (timer-until): Subtract results of
6543 float-time, instead of taking float-time of the result of
6544 time-subtract, since float-time signals an error for negative time
6545 arguments.
6546
b3218de1
CY
65472012-06-30 Chong Yidong <cyd@gnu.org>
6548
6549 * xml.el (xml-*-re): Convert defvars into defconsts, and
6550 eval-and-compile them so eval-and-compile works on derivatives.
6551 (xml--entity-replacement-text): Use eval-and-comple.
6552
a40c87a0
MA
65532012-06-30 Michael Albinus <michael.albinus@gmx.de>
6554
6555 * vc/vc-git.el (vc-git-registered): Use cache property
6556 `git-registered'.
6557 (vc-git-mode-line-string): Call `vc-working-revision' instead of
6558 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 6559 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 6560
ac87de97
DG
65612012-06-30 Dmitry Gutov <dgutov@yandex.ru>
6562
6563 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 6564 removed (likely outside Emacs). (Bug#11757)
ac87de97 6565
ac10fe06
SM
65662012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6567
3df31c9f 6568 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 6569
7f3fbd5d
CY
65702012-06-30 Chong Yidong <cyd@gnu.org>
6571
6572 * xml.el: Implement XML parameter entities.
6573 (xml-parameter-entity-alist): New variable.
6574 (xml-parse-region, xml-parse-fragment): Preserve previous values
6575 of xml-entity-alist and xml-parameter-entity-alist, so that
6576 repeated calls on different documents do not change them.
6577 (xml-parse-tag): Fix doctype regexp.
6578 (xml--entity-replacement-text): New function.
6579 (xml-parse-dtd): Use it. Don't handle system entities; doing that
6580 properly requires url retrieval which is unimplemented.
6581 (xml-escape-string): Doc fix.
6582
3cfbebba
SM
65832012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6584
6585 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
6586
2af3565e
DA
65872012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
6588
6589 * fringe.el (fringe-mode): Doc fix.
6590
929df0e7
MA
65912012-06-29 Michael Albinus <michael.albinus@gmx.de>
6592
6593 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
6594 is non-nil.
6595 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
6596 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
6597
c8d3a25c 65982012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 6599
c8d3a25c
GM
6600 * calendar/cal-dst.el (calendar-current-time-zone):
6601 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 6602
c8d3a25c 66032012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
6604
6605 * progmodes/which-func.el (which-func-format):
6606 Add mouse-face. (Bug#11698)
6607
c8d3a25c
GM
66082012-06-29 Leo Liu <sdl.web@gmail.com>
6609
6610 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
6611
66122012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6613
6614 * minibuffer.el (minibuffer-confirm-exit-commands):
6615 Add completion-at-point (bug#11725).
6616
66172012-06-29 Glenn Morris <rgm@gnu.org>
6618
6619 * progmodes/f90.el (f90-font-lock-keywords-2):
6620 Add some preprocessor elements. (Bug#10499)
6621
66222012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6623
6624 * progmodes/cperl-mode.el (cperl-update-syntaxification):
6625 Use syntax-propertize (bug#11739).
6626
2badeec4
JB
66272012-06-28 Juanma Barranquero <lekktu@gmail.com>
6628
6629 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
6630
ae4969c2
JD
66312012-06-28 Julien Danjou <julien@danjou.info>
6632
6633 * term.el (term-handle-colors-array): Use a set of new faces to
6634 color the terminal. Also uses :inverse-video property.
6635 (term-default-fg-color): Set to nil by default, deprecate in favor
6636 of `term-face'.
6637 (term-default-bg-color): Set to nil by default, deprecate in favor
6638 of `term-face'.
6639 (term-current-face): Use `term-face' by default.
6640 (term-bold-attribute): Variable deleted.
6641
1c9bd870
GM
66422012-06-28 Glenn Morris <rgm@gnu.org>
6643
6644 * simple.el (completion-list-mode-finish):
6645 Don't use toggle-read-only. (Since completion-list-mode has
6646 a special mode-class, it wasn't doing anything extra anyway.)
6647
c207708c
SM
66482012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
6649
6650 Make inlining of other-mode interpreted functions work (bug#11799).
6651 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
6652 (byte-compile): Use it to fix compilation of lexical-binding closures.
6653 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
6654 function, if needed.
6655
3fd56834
SM
66562012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6657
04901786
SM
6658 * help-mode.el (help-make-xrefs): Don't just withstand
6659 cyclic-variable-indirection but any error in documentation-property.
6660
1ec4b7b2
SM
6661 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
6662 memory use.
6663 * bindings.el (bindings--define-key): New function.
6664 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
6665 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
6666 * bindings.el: Use it to purecopy define-key bindings.
6667
e309e2a5
SM
6668 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
6669
d5c6faf9
SM
6670 * emacs-lisp/cl.el (flet): Mark obsolete.
6671 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
6672 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
6673 * progmodes/js.el (js-c-fill-paragraph):
6674 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
6675 (ebrowse-switch-member-buffer-to-derived-class):
6676 * play/5x5.el (5x5-solver): Use cl-flet.
6677
6e9590e2
SM
6678 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
6679 (cl--symbol-function): New macro.
6680 (cl--letf, cl--letf*): Use it.
6681
3fd56834
SM
6682 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
6683 Strip "toggle-" if any.
6684
35ff222c
GM
66852012-06-27 Glenn Morris <rgm@gnu.org>
6686
1ba6038a
GM
6687 * info.el (Info-default-directory-list): Move here from paths.el.
6688 * paths.el: Remove file, which is now empty.
6689 * loadup.el: No longer load "paths".
6690
0ea0e51b
GM
6691 * custom.el (custom-initialize-delay): Doc fix.
6692
35ff222c
GM
6693 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6694 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6695 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6696 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6697 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6698 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
6699 * eshell/eshell.el (eshell-defgroup): Remove alias.
6700
c89926a5
CY
67012012-06-27 Chong Yidong <cyd@gnu.org>
6702
6703 * help.el (help-enable-auto-load): New variable.
6704
6705 * help-fns.el (help-fns--autoloaded-p): New function.
6706 (describe-function-1): Refer to a function as "autoloaded" if it
6707 was autoloaded at any time in the past. Perform autoloading if
6708 help-enable-auto-load is non-nil.
6709
cc06e7e7
EZ
67102012-06-26 Eli Zaretskii <eliz@gnu.org>
6711
6712 * makefile.w32-in (compile, compile-always): Depend on
6713 update-subdirs, not on subdirs.el. Otherwise, several different
6714 sub-targets of 'bootstrap' running in parallel could
6715 simultaneously write to subdirs.el, producing a garbled file.
6716
d2c32364
SS
67172012-06-26 Sam Steingold <sds@gnu.org>
6718
6719 * files.el (file-name-base): New convenience function.
0d14cc21
GM
6720 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
6721 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
6722 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
6723 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
6724 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
6725 * textmodes/tex-mode.el: Use it.
6726 Did not touch cedet and org because they are maintained elsewhere.
6727
5cf983b2
MR
67282012-06-26 Martin Rudalics <rudalics@gmx.at>
6729
6730 * calendar/calendar.el (calendar-exit): Don't try to delete or
6731 iconify last frame. See:
6732 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
6733
8c4f2952
JD
67342012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
6735
6736 * server.el (server-process-filter): Remember dir in the
6737 process's `server-client-directory' properties.
6738
772b2e2c
CY
67392012-06-24 Chong Yidong <cyd@gnu.org>
6740
6741 * xml.el (xml-parse-tag): Correctly handle comment embedded in
6742 non-tag text.
6743
711b11e1
JB
67442012-06-23 Juanma Barranquero <lekktu@gmail.com>
6745
6746 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
6747
dc5d230c
SM
67482012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6749
6750 * help-fns.el (describe-variable): Don't croak when doc is not found.
6751 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
6752 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
6753 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
6754 * emacs-lisp/smie.el (smie-next-sexp): CSE.
6755 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
6756 ((lambda ..) ..).
6757 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
6758
136e1c1d
CY
67592012-06-23 Chong Yidong <cyd@gnu.org>
6760
e8c1cabf
CY
6761 * info.el (Info-mouse-follow-link): Accept symbol values of
6762 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
6763 (Info-fontify-node): Use Info-link-keymap for all navigation
6764 buttons, with link-args property to perform the desired action.
6765 (Info-link-keymap): Doc fix.
6766 (Info-next-link-keymap, Info-prev-link-keymap)
6767 (Info-up-link-keymap): Delete now-unused keymaps.
6768
0e9e6c6a
CY
67692012-06-23 Chong Yidong <cyd@gnu.org>
6770
05e89fea
CY
6771 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
6772
0e9e6c6a
CY
6773 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
6774 system abbrevs.
6775
6776 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
6777
e33c6771
SM
67782012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6779
b68581e2
SM
6780 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
6781 (bug#11719).
6782
e33c6771
SM
6783 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
6784 the requote function doesn't work properly (bug#11714).
6785
7117e105
GM
67862012-06-23 Glenn Morris <rgm@gnu.org>
6787
6788 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
6789
36cec983
SM
67902012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6791
6792 Further GV/CL cleanups.
6793 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
6794 gv-expander.
6795 (gv--defun-declaration): New function.
6796 (defun-declarations-alist): Use it.
6797 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
6798 (gv-place): Autoload.
6799 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
6800 original definition of dotimes and dolist.
6801 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
6802 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
6803 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
6804 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6805 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
6806 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
6807 to the function's definition.
6808 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
6809 * window.el:
6810 * files.el:
6811 * faces.el:
6812 * env.el: Don't use CL.
6813
d35af63c
PE
68142012-06-22 Paul Eggert <eggert@cs.ucla.edu>
6815
6816 Support higher-resolution time stamps (Bug#9000).
6817
6818 * calendar/time-date.el (with-decoded-time-value): New arg
6819 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
6820 (encode-time-value): New optional arg PICO. New type 3.
6821 (time-to-seconds) [!float-time]: Support the new picoseconds
6822 component if it's used.
6823 (seconds-to-time, time-subtract, time-add):
6824 Support ps-resolution time stamps as well.
6825
6826 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
6827 (timerp): Timer vectors now have length 9, not 8.
6828 (timer--time): Support new-style (4-part) time stamps.
6829 (timer-next-integral-multiple-of-time): Time stamps now have
6830 picosecond resolution, so take a bit more care about rounding.
6831 (timer-relative-time, timer-inc-time): New optional arg psecs.
6832 (timer-set-time-with-usecs): Set psecs to 0.
6833 (timer--activate): Check psecs component, too.
6834
6835 * proced.el (proced-time-lessp): Support ps-resolution stamps.
6836
ac77b21a
SM
68372012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6838
f143bfe3
SM
6839 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
6840 Move the non-essential binding to the post/pre-command-hook where it is
6841 more obviously correct.
6842
ac77b21a
SM
6843 * subr.el (read-passwd): Don't use a history at all.
6844 * savehist.el (savehist-save): Remove password saved accidentally
6845 because of the above bug.
6846
76386c5a
BG
68472012-06-22 Bastien Guerry <bzg@gnu.org>
6848
6849 * files.el (toggle-read-only): Display a message telling whether
6850 the buffer is read-only or not (bug#11726).
6851
2ee3d7f0
SM
68522012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6853
6854 * emacs-lisp/gv.el: New file.
6855 * subr.el (push, pop): Extend to generalized variables.
6856 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
6857 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
6858 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
6859 gv-define-simple-setter, and gv-define-expander.
6860 Remove setf-methods defined in gv. Rename cl-setf -> setf.
6861 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
6862 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
6863 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
6864 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
6865 gv-letplace.
6866 (cl-defstruct): Don't define setf-method any more.
6867 * emacs-lisp/cl.el (flet): Don't autoload.
6868 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
6869 (define-setf-expander, defsetf, define-modify-macro)
6870 (cl-struct-setf-expander): Move from cl-lib.el.
6871 * emacs-lisp/syntax.el:
6872 * emacs-lisp/ewoc.el:
6873 * emacs-lisp/smie.el:
6874 * emacs-lisp/cconv.el:
6875 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
6876 (timer--time): Use gv-define-simple-setter.
6877 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
6878 to avoid coding-system problems in subr.el. Adjust all users.
6879 (macroexp--maxsize, macroexp-small-p): New functions.
6880 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
6881 * scroll-bar.el (scroll-bar-mode):
6882 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
6883 (normal-erase-is-backspace-mode): Don't use the `eq' place.
6884 * winner.el (winner-configuration, winner-make-point-alist)
6885 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
6886 * files.el (locate-file-completion-table): Avoid list*.
6887
c5695d1d
CY
68882012-06-22 Chong Yidong <cyd@gnu.org>
6889
6890 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
6891 (dired-create-files): Doc fix (Bug#11329).
6892 (dired-do-copy): Doc fix (Bug#11334).
6893 (dired-mark-read-string): Doc fix (Bug#11553).
6894
2ee3d7f0
SM
6895 * dired.el (dired-recursive-copies, dired-recursive-deletes):
6896 Doc fix (Bug#11326).
c5695d1d
CY
6897 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
6898 (dired-dwim-target): Doc fix.
6899
6900 * wdired.el (wdired-mode): Doc fix.
6901
89b5595a
GM
69022012-06-22 Glenn Morris <rgm@gnu.org>
6903
575db3f1
GM
6904 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
6905 (pcmpl-rpm-cache-stamp-file): New constant.
6906 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
6907 (pcmpl-rpm-packages): Optionally cache list of packages.
6908
a4c8dd51
GM
6909 * pcmpl-rpm.el (pcmpl-rpm): New group.
6910 (pcmpl-rpm-query-options): New option.
6911 (pcmpl-rpm-packages): No need to inline it.
6912 Use pcmpl-rpm-query-options.
6913
89b5595a
GM
6914 * calendar/calendar.el (calendar-in-read-only-buffer):
6915 Avoid some needless mode changes.
6916
e76f0800
CY
69172012-06-21 Chong Yidong <cyd@gnu.org>
6918
6919 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
6920 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 6921 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 6922
297a8f1d
CY
69232012-06-20 Chong Yidong <cyd@gnu.org>
6924
6925 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
6926
d34c18b1
DR
69272012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
6928
6929 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
6930 (bug#11201).
6931
32f7f28e
CY
69322012-06-20 Chong Yidong <cyd@gnu.org>
6933
6934 * term.el (term-window-width): Handle the case of a missing right
6935 fringe (Bug#8837).
6936 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
6937 (term-mode): Use define-derived-mode. Minor cleanups.
6938 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
6939 (term-move-columns, term-insert-char, term-emulate-terminal)
6940 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 6941
493c6688
MA
69422012-06-20 Michael Albinus <michael.albinus@gmx.de>
6943
d34c18b1
DR
6944 * net/ange-ftp.el (ange-ftp-get-passwd):
6945 Bind `enable-recursive-minibuffers'.
493c6688
MA
6946 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
6947
3f06ecf4
DR
69482012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
6949
6950 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
6951
68f12411
GM
69522012-06-19 Glenn Morris <rgm@gnu.org>
6953
6954 * progmodes/python.el (python-mode): Derive from prog-mode.
6955
b3820318
KG
69562012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
6957
6958 * emulation/edt.el (edt-default-menu-bar-update-buffers)
6959 (edt-user-menu-bar-update-buffers): New functions.
6960 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
6961
c6bf3022
CY
69622012-06-19 Chong Yidong <cyd@gnu.org>
6963
6964 * subr.el (with-selected-window): Preserve the selected window's
6965 terminal's top-frame (Bug#4702).
6966
6967 * window.el (save-selected-window): Likewise.
6968
25f09295
SM
69692012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6970
6971 * progmodes/python.el (python-rx-constituents): Move backquote.
6972 (python-skeleton-define, python-define-auxiliary-skeleton):
6973 Use `declare'.
6974
6b11952a
MA
69752012-06-18 Michael Albinus <michael.albinus@gmx.de>
6976
6977 * minibuffer.el (read-file-name-default): Revert the patch from
6978 2012-06-17.
6979
ee4b1330
SM
69802012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6981
6982 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
6983 (pcase--u1, pcase--q1): Don't use apply-partially.
6984
35647f79
GM
69852012-06-18 Glenn Morris <rgm@gnu.org>
6986
6987 * progmodes/python.el (python-proc, python-buffer)
6988 (python-send-receive, python-send-string): Fix obsolete versions.
6989
24b0cff0
MR
69902012-06-18 Martin Rudalics <rudalics@gmx.at>
6991
6992 * window.el (special-display-p): Completely remove stringp
6993 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
6994
29855149
MA
69952012-06-17 Michael Albinus <michael.albinus@gmx.de>
6996
6997 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
6998
6999 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
7000
7001 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
7002 * net/tramp-sh.el (tramp-maybe-open-connection):
7003 Throw if `non-essential' is non-nil.
7004
07463363
MR
70052012-06-17 Martin Rudalics <rudalics@gmx.at>
7006
7007 * window.el (special-display-p): Signal an error if BUFFER-NAME
7008 is not a string (Bug#11713).
7009
48d1354e
PE
70102012-06-17 Paul Eggert <eggert@cs.ucla.edu>
7011
7012 * progmodes/python.el (python-info-beginning-of-backslash):
7013 Rename from python-info-beginning-of-backlash, as a spelling fix.
7014
eb4a8a9a
CY
70152012-06-17 Chong Yidong <cyd@gnu.org>
7016
7017 * term.el (term-emulate-terminal): If term-check-size is called,
7018 move point to the process mark without resetting point (Bug#4635).
7019
ddfbf826 70202012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
7021
7022 * international/mule-cmds.el (mule-menu-keymap)
7023 (set-language-environment, set-locale-environment): Doc tweaks.
7024
9b0e3eba
AA
70252012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
7026
7027 * cus-face.el (custom-face-attributes): Add wave-style underline
7028 attribute.
7029 * faces.el (set-face-attribute): Update docstring to describe
7030 wave-style underline attribute.
7031
771e3eae
CY
70322012-06-16 Chong Yidong <cyd@gnu.org>
7033
7034 * term/xterm.el (terminal-init-xterm): Discard input before
7035 querying background mode (Bug#10959).
7036
7ae2ea10
SM
70372012-06-16 Stefan Merten <smerten@oekonux.de>
7038
7039 * textmodes/rst.el: Added and corrected some comments.
7040 (rst-re-alist-def): Improve symbol syntax.
7041 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
7042 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7043 (rst-official-version, rst-official-cvs-rev): Update version
7044 information.
7ae2ea10 7045
b6974efa
JB
70462012-06-15 Juanma Barranquero <lekktu@gmail.com>
7047
7048 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
7049 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
7050
8826d473
GM
70512012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
7052
7053 * progmodes/python.el: New python.el merge.
7054 (python-guess-indent): Obsolete var.
7055 (python-indent-guess-indent-offset): New defcustom.
7056 (python-indent): Obsolete var.
7057 (python-indent-offset): New defcustom.
7058 (python-python-command, python-jython-command): Delete var.
7059 (python-shell-interpreter): New defcustom.
7060 (python-pdbtrack-do-tracking-p): Delete var.
7061 (python-pdbtrack-activate): New defcustom.
7062 (python-use-skeletons): Obsolete var.
7063 (python-skeleton-autoinsert): New defcustom.
7064 (inferior-python-filter-regexp, python-continuation-offset)
7065 (python-honour-comment-indentation, python-indent-string-contents)
7066 (python-jython-packages, python-mode-hook)
7067 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
7068 (python-shell-prompt-alist)
7069 (python-source-modes): Delete defcustoms.
7070 (python-check-buffer-name, python-eldoc-setup-code)
7071 (python-eldoc-string-code, python-ffap-setup-code)
7072 (python-ffap-string-code, python-fill-comment-function)
7073 (python-fill-decorator-function, python-fill-paren-function)
7074 (python-fill-string-function, python-imenu-include-defun-type)
7075 (python-imenu-make-tree, python-imenu-subtree-root-label)
7076 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
7077 (python-shell-compilation-regexp-alist)
7078 (python-shell-completion-module-string-code)
7079 (python-shell-completion-pdb-string-code)
7080 (python-shell-completion-setup-code)
7081 (python-shell-completion-string-code)
7082 (python-shell-enable-font-lock, python-shell-exec-path)
7083 (python-shell-extra-pythonpaths)
7084 (python-shell-internal-buffer-name, python-shell-interpreter-args)
7085 (python-shell-process-environment)
7086 (python-shell-prompt-block-regexp)
7087 (python-shell-prompt-output-regexp)
7088 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
7089 (python-shell-send-setup-max-wait, python-shell-setup-codes)
7090 (python-shell-virtualenv-path): New defcustoms.
7091 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
7092 (inferior-python-mode-syntax-table, python--prompt-regexp)
7093 (python-buffer, python-command python-python-command)
7094 (python-default-template, python-imports, python-indent-index)
7095 (python-indent-list, python-indent-list-length)
7096 (python-mode-running, python-pdbtrack-is-tracking-p)
7097 (python-preoutput-continuation, python-preoutput-leftover)
7098 (python-preoutput-result, python-preoutput-skip-next-prompt)
7099 (python-prev-dir/file, python-recursing)
7100 (python-saved-check-command, python-version-checked)
7101 (python-which-func-length-limit)
7102 (view-return-to-alist): Delete vars.
7103 (python-check-custom-command, python-dotty-syntax-table)
7104 (python-imenu-index-alist, python-indent-current-level)
7105 (python-indent-dedenters, python-indent-levels)
7106 (python-nav-beginning-of-defun-regexp)
7107 (python-nav-list-defun-positions-cache)
7108 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
7109 (python-shell-internal-buffer)
7110 (python-skeleton-available): New vars.
7111 (def-python-skeleton): Delete macro.
7112 (python-skeleton-define): New macro.
7113 (python-define-auxiliary-skeleton, python-rx): New macros.
7114 (python-insert-class): Delete command.
7115 (python-skeleton-class): New command.
7116 (python-insert-def): Delete command.
7117 (python-skeleton-def): New command.
7118 (python-insert-for): Delete command.
7119 (python-skeleton-for): New command.
7120 (python-insert-if): Delete command.
7121 (python-skeleton-if): New command.
7122 (python-insert-try/except, python-insert-try/finally): Delete commands.
7123 (python-skeleton-try): New command.
7124 (python-insert-while): Delete command.
7125 (python-skeleton-while): New command.
7126 (python-backspace): Delete command.
7127 (python-indent-dedent-line-backspace): New command.
7128 (python-electric-colon): Delete command.
7129 (python-indent-electric-colon): New command.
7130 (python-guess-indent): Delete command.
7131 (python-indent-guess-indent-offset): New command.
7132 (python-shift-left): Delete command.
7133 (python-indent-shift-left): New command.
7134 (python-shift-right): Delete command.
7135 (python-indent-shift-right): New command.
7136 (python-find-function): Delete command.
7137 (python-nav-jump-to-defun): New command.
7138 (python-next-statement): Delete command.
7139 (python-nav-forward-sentence): New command.
7140 (python-previous-statement): Delete command.
7141 (python-nav-backward-sentence): New command.
7142 (python-fill-paragraph): Delete command.
7143 (python-fill-paragraph-function): New command.
7144 (python-send-buffer): Delete command.
7145 (python-shell-send-buffer): New command.
7146 (python-send-defun): Delete command.
7147 (python-shell-send-defun): New command.
7148 (python-send-region, python-send-region-and-go): Delete commands.
7149 (python-shell-send-region)
7150 (python-shell-switch-to-shell): New commands.
7151 (python-send-string): Delete command.
7152 (python-shell-send-string): New command.
7153 (python-switch-to-python): Delete command.
7154 (python-shell-switch-to-shell): New command.
7155 (python-describe-symbol): Delete command.
7156 (python-eldoc-at-point): New command.
7157 (python--set-prompt-regexp, python-args-to-list)
7158 (python-after-info-look, python-check-version)
7159 (python-check-comint-prompt, python-find-imports)
7160 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
7161 (python-unload-function, python-expand-template)
7162 (python-maybe-jython, python-preoutput-filter)
7163 (python-pdbtrack-get-source-buffer)
7164 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
7165 (python-pdbtrack-toggle-stack-tracking)
7166 (python-pdbtrack-track-stack-file, python-initial-text)
7167 (python-first-word, python-comment-line-p, python-send-command)
7168 (python-setup-brm, python-sentinel, python-set-proc)
7169 (python-skip-out, python-input-filter, python-outdent-p)
7170 (python-outline-level, python-backslash-continuation-line-p)
7171 (python-end-of-block, python-end-of-statement, python-mark-block)
7172 (python-beginning-of-block, python-beginning-of-statement)
7173 (python-blank-line-p, python-beginning-of-string)
7174 (python-open-block-statement-p): Delete functions.
7175 (python-indent-line, python-indent-line-1): Delete functions.
7176 (python-indent-line): New function.
7177 (python-indentation-levels): Delete function.
7178 (python-indent-calculate-levels): New function.
7179 (python-proc): Delete function.
7180 (python-shell-get-process): New function.
7181 (python-send-receive): Delete function.
7182 (python-shell-send-string-no-output): New function.
7183 (python-module-path): Delete function.
7184 (python-ffap-module-path): New function.
7185 (python-completion-at-point)
7186 (python-symbol-completions): Delete functions.
7187 (python-completion-complete-at-point): New function.
7188 (python-load-file): Delete function.
7189 (python-shell-send-file): New function.
7190 (python-calculate-indentation): Delete function.
7191 (python-indent-calculate-indentation): New function.
7192 (python-skip-comments/blanks): Delete function.
7193 (python-util-forward-comment): New function.
7194 (python-continuation-line-p): Delete function.
7195 (python-info-continuation-line-p): New function.
7196 (python-which-func, python-current-defun): Delete function.
7197 (python-info-current-defun): New function.
7198 (python-beginning-of-defun): Delete function.
7199 (python-nav-beginning-of-defun): New function.
7200 (python-close-block-statement-p)
7201 (python-block-end-p): Delete function.
7202 (python-info-closing-block): New function.
7203 (python-comint-output-filter-function)
7204 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
7205 (python-fill-comment, python-fill-decorator, python-fill-paren)
7206 (python-fill-string, python-imenu-make-element-tree)
7207 (python-imenu-make-tree, python-imenu-tree-assoc)
7208 (python-indent-context, python-indent-dedent-line)
7209 (python-indent-line-function)
7210 (python-indent-post-self-insert-function)
7211 (python-indent-toggle-levels)
7212 (python-info-assignment-continuation-line-p)
7213 (python-info-beginning-of-backlash)
7214 (python-info-block-continuation-line-p)
7215 (python-info-closing-block-message)
7216 (python-info-line-ends-backslash-p)
7217 (python-info-looking-at-beginning-of-defun)
7218 (python-info-ppss-context, python-info-ppss-context-type)
7219 (python-nav-list-defun-positions, python-nav-read-defun)
7220 (python-nav-sentence-end, python-nav-sentence-start)
7221 (python-pdbtrack-comint-output-filter-function)
7222 (python-pdbtrack-set-tracked-buffer)
7223 (python-shell-calculate-exec-path)
7224 (python-shell-calculate-process-environment)
7225 (python-shell-completion--do-completion-at-point)
7226 (python-shell-completion--get-completions)
7227 (python-shell-completion-complete-at-point)
7228 (python-shell-completion-complete-or-indent)
7229 (python-shell-get-or-create-process)
7230 (python-shell-get-process-name)
7231 (python-shell-internal-get-or-create-process)
7232 (python-shell-internal-get-process-name)
7233 (python-shell-internal-send-string, python-shell-make-comint)
7234 (python-shell-parse-command, python-shell-send-setup-code)
7235 (python-skeleton-add-menu-items)
7236 (python-util-clone-local-variables, python-util-position)
7237 (run-python-internal, python-indentation-levels)
7238 (python-nav-beginning-of-defun)
7239 (python-completion-complete-at-point): New functions.
7240 (run-python): Change arguments. New API requirements.
7241
4302f5ba
SM
72422012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7243
f38ea36d
SM
7244 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
7245 (bug#11649).
7246
7247 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
7248 (macroexp--expand-all): Use it.
7249
4302f5ba
SM
7250 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
7251 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
7252 Use `cl-function' instead.
7253
33377562
JB
72542012-06-14 Juanma Barranquero <lekktu@gmail.com>
7255
7256 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
7257 Suggested by Stefan Monnier while discussing bug#11657.
7258
54c5ba1a
SS
72592012-06-14 Sam Steingold <sds@gnu.org>
7260
7261 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
7262
f9f1b1fe
AS
72632012-06-14 Andreas Schwab <schwab@linux-m68k.org>
7264
7265 * play/doctor.el (doctor-doc): Remove parameter and use
7266 doctor-sent instead of sent.
7267 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
7268
a81068ba
SM
72692012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7270
5a315f9c
SM
7271 * files.el: Require cl-lib.
7272 (file-name-non-special): Replace case -> cl-case.
7273
7274 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
7275
a81068ba
SM
7276 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
7277 mapping from #' to function*.
7278
8cca9703
CY
72792012-06-13 Chong Yidong <cyd@gnu.org>
7280
7281 * mouse.el (mouse-drag-track): Do not set the mark if the user
7282 releases the mouse without selecting anything (Bug#11588).
7283
a12ac9d7
SM
72842012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7285
ccf1dc18
SM
7286 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
7287 as well (bug#11646).
7288
ef62b23d
SM
7289 * loadup.el: Count byte-code functions as well.
7290
c4c8444a
SM
7291 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
7292 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
7293
a12ac9d7
SM
7294 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
7295 (bug#11649). Add cl-defun and cl-defmacro.
7296
87e6e64f
DA
72972012-06-13 Drew Adams <drew.adams@oracle.com>
7298
7299 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7300 Fix last change.
7301
682cefaf
MA
73022012-06-13 Michael Albinus <michael.albinus@gmx.de>
7303
7304 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
7305 Otherwise, it blocks in batch mode.
7306
773e1f08
JB
73072012-06-13 Juanma Barranquero <lekktu@gmail.com>
7308
7309 * help-mode.el (bookmark-make-record-default): Declare.
7310
60057926
CY
73112012-06-13 Chong Yidong <cyd@gnu.org>
7312
7313 * emacs-lisp/package.el (list-packages): Compute a list of
7314 packages that are newly-available since the last list-packages
7315 invocation.
7316 (package-menu--new-package-list): New var.
7317 (package-menu--generate, package-menu--print-info)
7318 (package-menu--status-predicate, package-menu-mark-install):
7319 Handle new status label "new".
7320
ad4d226c
SM
73212012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7322
7323 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
7324 conversion to backquotes.
7325
f1a4e679
CY
73262012-06-12 Chong Yidong <cyd@gnu.org>
7327
7328 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
7329 Rename from gud-inhibit-global-bindings.
7330
7331 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
7332
7333 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
7334 hook from nxml-glyph-set-hook.
7335
7336 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
7337 declaration.
7338
7339 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
7340
7341 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
7342 Convert to defcustom.
7343
0c9e42b5
DA
73442012-06-12 Drew Adams <drew.adams@oracle.com>
7345
7346 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7347 New functions.
7348 (help-mode): Use them.
7349
09e06855
GM
73502012-06-11 Glenn Morris <rgm@gnu.org>
7351
7352 * progmodes/fortran.el (fortran-font-lock-keywords-3):
7353 Use preprocessor face for directives.
7354 (fortran-directive-re): Doc fix.
7355
71adb94b
SM
73562012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7357
2eb87922
SM
7358 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
7359 conversion to backquotes (bug#11652).
7360
71adb94b
SM
7361 Fix compiler-expansion of CL's cXXr functions (bug#11673).
7362 * emacs-lisp/cl-lib.el (cl--defalias): New function.
7363 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
7364 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
7365 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7366 (cl-ninth, cl-tenth): Mark them as inlinable.
7367 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
7368 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
7369 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
7370 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
7371 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
7372 (cl-list*, cl-adjoin): Don't put an autoload manually.
7373 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
7374 (cl--compiler-macro-list*): Add autoload cookie.
7375 (cl--compiler-macro-cXXr): New function.
2eb87922 7376
71adb94b
SM
7377 * help-fns.el (help-fns--compiler-macro): New function extracted from
7378 describe-function-1; follow aliases and use `compiler-macro' property.
7379 (describe-function-1): Use it.
7380
a6674402
CY
73812012-06-11 Chong Yidong <cyd@gnu.org>
7382
7383 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
7384 is uninstalled, if imagemagick is installed.
7385
bb3faf5b
SM
73862012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7387
7388 * emacs-lisp/cl-lib.el: Use lexical-binding.
7389 (cl-map-extents, cl-maclisp-member): Remove.
7390 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
7391 (cl--set-substring, cl--block-wrapper, cl--block-throw)
7392 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
7393 * emacs-lisp/cl-extra.el: Use lexical-binding.
7394 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
7395 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
7396 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
7397 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
7398 * emacs-lisp/cl-seq.el: Use lexical-binding.
7399 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
7400 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
7401 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
7402 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
7403 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
7404 CL's internals.
7405
2fe4b125
MA
74062012-06-11 Michael Albinus <michael.albinus@gmx.de>
7407
7408 Sync with Tramp 2.2.6-pre.
7409
7410 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
7411 `print-length' and `print-level' to nil, in order to avoid
7412 truncation. Reported by Christopher Schmidt
7413 <christopher@ristopher.com>.
7414
7415 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
7416
7417 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
7418 New defmacro.
7419 (tramp-compat-copy-directory): Add optional argument
7420 COPY-CONTENTS. It is not handled yet.
7421
7422 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
7423 (tramp-ftp-file-name-p): Simplify.
7424
7425 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
7426 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
7427 connection vector.
7428
7429 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
7430 (tramp-methods): Do not use `tramp-password-end-of-line'.
7431 (tramp-completion-function-alist-putty): Handle UNIX case.
7432 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
7433 (tramp-do-file-attributes-with-stat)
7434 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
7435 gid as real numbers. They could run out of integer range on cygwin.
7436 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
7437 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
7438 (tramp-open-connection-setup-interactive-shell):
7439 Use `tramp-cleanup'. Move check for busyboxes ...
7440 (tramp-find-shell): ... here. Simplify implementation.
7441 Set "remote-shell" property also for alternative shells.
7442 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
7443 If failing, a regular file would be written otherwise.
7444 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
7445 (tramp-find-inline-encoding): Cache the coding commands in the
7446 process cache. Apply test command on the remote side, if defined.
7447 (tramp-find-inline-compress): Cache the compress commands in the
7448 process cache.
7449 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
7450 when requested. Handle hops.
7451 (tramp-current-connection): New defvar.
87e6e64f
DA
7452 (tramp-maybe-open-connection): Use `tramp-cleanup'.
7453 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 7454 Handle user interrupt. (Bug#10187)
87e6e64f
DA
7455 (tramp-get-inline-compress, tramp-get-inline-coding):
7456 Read connection properties from the process cache.
2fe4b125
MA
7457
7458 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
7459 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
7460 New defconsts.
2fe4b125
MA
7461 (tramp-smb-prompt): Extend for powershell prompt.
7462 (tramp-smb-file-name-handler-alist): Add handlers for
7463 `process-file', `shell-command' and `start-file-process'.
7464 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
7465 (tramp-smb-winexe-shell-command-switch): New defcustoms.
7466 (tramp-smb-file-name-p): Simplify.
7467 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
7468 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
7469 (tramp-smb-shell-quote-argument): New defuns.
7470 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
7471 Implement using "tar". By this, time-stamps are preserved.
7472 (tramp-smb-handle-copy-file): Handle also the case of directories.
7473 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
7474 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
7475 Use `tramp-get-connection-buffer').
2fe4b125
MA
7476 (tramp-smb-handle-rename-file): Use "rename", when source and
7477 target are on the same share.
87e6e64f
DA
7478 (tramp-smb-maybe-open-connection): Handle wrong passwords.
7479 Use `tramp-smb-server-version'.
2fe4b125
MA
7480 (tramp-smb-wait-for-output): Remove prompt.
7481
7482 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
7483 (tramp-methods, tramp-rsh-end-of-line):
7484 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
7485 (tramp-save-ad-hoc-proxies): New defcustom.
7486 (tramp-completion-function-alist): Adapt docstring.
7487 (tramp-default-password-end-of-line): Remove defcustom.
7488 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
7489 (tramp-user-regexp, tramp-file-name-regexp-unified)
7490 (tramp-file-name-regexp-url): Extend regexp by hop separator.
7491 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
7492 (tramp-remote-file-name-spec-regexp): New defconst.
7493 (tramp-file-name-structure): Extend structure for hops.
7494 (tramp-get-method-parameter): Move up.
7495 (tramp-file-name-p, tramp-dissect-file-name)
7496 (with-parsed-tramp-file-name): Handle hops.
7497 (tramp-file-name-hop): New defun.
7498 (tramp-make-tramp-file-name): New optional arg HOP.
7499 (tramp-message-show-progress-reporter-message): New defvar.
7500 (tramp-with-progress-reporter): Use it. We cannot use
7501 `tramp-message-show-message' here, because this suppresses also
7502 error buffers.
7503 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
7504 `tramp-message-show-message' is nil.
7505 Use `tramp-get-connection-buffer'.
2fe4b125
MA
7506 (tramp-cleanup): New defun.
7507 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
7508 (tramp-file-name-handler): If `debug-on-error' is set, propagate
7509 an error unchanged.
7510 (tramp-completion-handle-file-name-all-completions): Handle hops.
7511 Fix an error when called from ido.
7512 (tramp-completion-dissect-file-name): Use better local variable
7513 name. Add hop to the vector.
7514 (tramp-handle-insert-file-contents): Use progress-reporter for the
7515 whole scenario.
7516 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
7517 to `t'.
7518 (tramp-check-for-regexp): Simplify search.
7519 (tramp-enter-password): Remove it. Move implementation ...
7520 (tramp-action-password): ... here.
7521 (tramp-mode-string-to-int, tramp-local-host-p)
7522 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
7523 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
7524 Set tramp-autoload cookie.
2fe4b125
MA
7525
7526 * net/trampver.el: Update release number.
7527
75282012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7529 Michael Albinus <michael.albinus@gmx.de>
7530
7531 * net/tramp.el (tramp-set-completion-function): Fix docstring.
7532 (tramp-parse-group, tramp-parse-file)
7533 (tramp-parse-shostkeys-sknownhosts): New defuns.
7534 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
7535 (tramp-parse-shosts-group, tramp-parse-sconfig)
7536 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
7537 (tramp-parse-sknownhosts, tramp-parse-hosts)
7538 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
7539 Use them.
7540 (tramp-parse-passwd-group, tramp-parse-netrc-group)
7541 (tramp-parse-putty-group): Don't narrow.
7542 (tramp-parse-putty): Make a loop.
7543 (tramp-file-name-handler): Catch the `suppress' signal.
7544
72834e10
CY
75452012-06-11 Chong Yidong <cyd@gnu.org>
7546
7547 * image.el (imagemagick-register-types): Put the ImageMagick entry
7548 at the end of image-type-file-name-regexps.
7549
a4712e11
JB
75502012-06-11 Johan Bockgård <bojohan@gnu.org>
7551
7552 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
7553 (pcase, pcase-let*, pcase-dolist): Use them.
7554
82ad98e3
SM
75552012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7556
7557 * emacs-lisp/pcase.el (pcase--let*): New function.
7558 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
7559 (pcase--expand): Use macroexp-let².
7560
f80efb86
SM
75612012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7562
7563 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
7564 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
7565 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
7566 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
7567 * emacs-lisp/derived.el: Use pcase instead of `cl'.
7568 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
7569
31ca4639 75702012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 7571
31ca4639
CY
7572 * mail/rmail.el (rmail-yank-current-message): Leave point at
7573 correct position. (Bug#11660)
94f0aa34 7574
31ca4639 75752012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 7576
31ca4639 7577 * allout-widgets.el: Fix code header.
9e1b8ec4 7578
31ca4639 75792012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 7580
f80efb86
SM
7581 * cus-edit.el (customize-changed-options-previous-release):
7582 Bump to 24.1.
31ca4639 7583
642b6d30
AS
75842012-06-09 Andreas Schwab <schwab@linux-m68k.org>
7585
7586 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
7587
4f5d2ba1
CY
75882012-06-09 Chong Yidong <cyd@gnu.org>
7589
7590 * ebuff-menu.el (electric-buffer-list): Preserve header line.
7591
e75852fd
MR
75922012-06-09 Martin Rudalics <rudalics@gmx.at>
7593
7594 * window.el (special-display-popup-frame): Don't use
7595 window--display-buffer (Bug#11651).
7596
1e48e282
EZ
75972012-06-09 Eli Zaretskii <eliz@gnu.org>
7598
8a26b487
EZ
7599 Fix parallel builds: make sure loaddefs.el is not being written
7600 while Lisp files are compiled.
7601 (compile): Don't depend on 'mh-autoloads'.
7602 (compile-CMD, compile-SH): Depend on 'autoloads'.
7603 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
7604
1e48e282
EZ
7605 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
7606
6175e34b
CY
76072012-06-09 Chong Yidong <cyd@gnu.org>
7608
7609 * face-remap.el (face-remap-add-relative, face-remap-set-base)
7610 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
7611 Doc fixes (Bug#11225).
7612
d9857e53
SM
76132012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7614
7615 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
7616 a function if there's a clear indication that it has a compiler-macro.
7617 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
7618 (macro-declarations-alist): Add arglist to declaration functions.
7619 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
7620 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
7621 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
7622 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
7623 Also add autoload to find the compiler macro.
7624 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
7625 (cl--compiler-macro-member, cl--compiler-macro-assoc)
7626 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
7627 (cl--compiler-macro-get): New functions, replacing calls to
7628 cl-define-compiler-macro.
7629 (cl-typep) [compiler-macro]: Use macroexp-let².
7630
f81298f8 76312012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
7632
7633 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
7634 string properly, fixes Bug#11473.
7635
4b56d0fe
CY
76362012-06-08 Chong Yidong <cyd@gnu.org>
7637
7638 * faces.el (set-face-attribute): Doc fix.
7639 (modify-face): Don't use :bold and :italic.
7640 (error, warning, success): Tweak definitions.
7641
7642 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
7643 (custom-modified, custom-set, custom-changed, custom-themed)
7644 (custom-saved, custom-button, custom-button-mouse)
7645 (custom-button-pressed, custom-state, custom-comment-tag)
7646 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
7647 (custom-group-subtitle): Use new-style face specs.
7648 (custom-invalid-face, custom-rogue-face, custom-modified-face)
7649 (custom-set-face, custom-changed-face, custom-saved-face)
7650 (custom-button-face, custom-button-pressed-face)
7651 (custom-documentation-face, custom-state-face)
7652 (custom-comment-face, custom-comment-tag-face)
7653 (custom-variable-tag-face, custom-variable-button-face)
7654 (custom-face-tag-face, custom-group-tag-face-1)
7655 (custom-group-tag-face): Remove obsolete face alias.
7656
7657 * epa.el (epa-validity-high, epa-validity-medium)
7658 (epa-validity-low, epa-mark, epa-field-name, epa-string)
7659 (epa-field-name, epa-field-body):
7660 * font-lock.el (font-lock-comment-face, font-lock-string-face)
7661 (font-lock-keyword-face, font-lock-builtin-face)
7662 (font-lock-function-name-face, font-lock-variable-name-face)
7663 (font-lock-type-face, font-lock-constant-face):
7664 * ido.el (ido-first-match, ido-only-match, ido-subdir)
7665 (ido-virtual, ido-indicator, ido-incomplete-regexp):
7666 * speedbar.el (speedbar-button-face, speedbar-file-face)
7667 (speedbar-directory-face, speedbar-tag-face)
7668 (speedbar-selected-face, speedbar-highlight-face)
7669 (speedbar-separator-face):
7670 * whitespace.el (whitespace-newline, whitespace-space)
7671 (whitespace-hspace, whitespace-tab, whitespace-trailing)
7672 (whitespace-line, whitespace-space-before-tab)
7673 (whitespace-space-after-tab, whitespace-indentation)
7674 (whitespace-empty):
7675 * emulation/cua-base.el (cua-global-mark):
7676 * eshell/em-prompt.el (eshell-prompt):
7677 * net/newst-plainview.el (newsticker-new-item-face)
7678 (newsticker-old-item-face, newsticker-immortal-item-face)
7679 (newsticker-obsolete-item-face, newsticker-date-face)
7680 (newsticker-statistics-face, newsticker-default-face):
7681 * net/newst-reader.el (newsticker-feed-face)
7682 (newsticker-extra-face, newsticker-enclosure-face):
7683 * net/newst-treeview.el (newsticker-treeview-face)
7684 (newsticker-treeview-new-face, newsticker-treeview-old-face)
7685 (newsticker-treeview-immortal-face)
7686 (newsticker-treeview-obsolete-face)
7687 (newsticker-treeview-selection-face):
7688 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
7689 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
7690 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
7691 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
7692 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
7693 (nxml-outline-active-indicator, nxml-outline-ellipsis):
7694 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
7695 (mpuz-text):
7696 * progmodes/vera-mode.el (vera-font-lock-number)
7697 (vera-font-lock-function, vera-font-lock-interface):
7698 * textmodes/table.el (table-cell): Use new-style face specs, and
7699 don't use the old :bold and :italic attributes.
7700
7701 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
7702 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
7703 (ebrowse-member-class, ebrowse-progress): Likewise.
7704 (ebrowse-tree-mark-face, ebrowse-root-class-face)
7705 (ebrowse-file-name-face, ebrowse-default-face)
7706 (ebrowse-member-attribute-face, ebrowse-member-class-face)
7707 (ebrowse-progress-face): Remove obsolete faces.
7708
7709 * progmodes/flymake.el (flymake-errline, flymake-warnline):
7710 Inherit from error and warning faces respectively.
7711
7712 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
7713 Likewise.
f80efb86
SM
7714 (flyspell-incorrect-face, flyspell-duplicate-face):
7715 Remove obsolete aliases.
4b56d0fe 7716
03310646
MA
77172012-06-08 Michael Albinus <michael.albinus@gmx.de>
7718
7719 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7720 Avoid infloop.
7721
513749ee
SM
77222012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7723
7724 * startup.el (argv, argi): Make lexically scoped.
7725 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
7726 * emacs-lisp/cl-macs.el: Use lexical-binding.
7727 Rename cl-bind-* to cl--bind-*.
7728 * files.el: Don't require `cl' since it doesn't use it.
7729 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
7730
595ef4ad
JB
77312012-06-08 Juanma Barranquero <lekktu@gmail.com>
7732
7733 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
7734 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
7735 instead of calling external sort utility.
7736 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
7737
e9f66fcb
EZ
77382012-06-08 Eli Zaretskii <eliz@gnu.org>
7739
7740 * descr-text.el (describe-char): Mention how to insert the
7741 character, if the current input method doesn't support it.
7742 See the discussion in this thread for the details:
7743 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
7744
3d10db47
SS
77452012-06-08 Sam Steingold <sds@gnu.org>
7746
7747 * bindings.el (global-map): Bind XF86Forward to next-buffer and
7748 XF86Back to previous-buffer.
7749 (minibuffer-local-map): Bind them to next-history-element and
7750 previous-history-element respectively.
7751 * help-mode.el (help-mode-map): Bind them to help-go-forward and
7752 help-go-back respectively.
7753 * info.el (Info-mode-map): Bind them to Info-history-forward and
7754 Info-history-back respectively.
7755 These are the keys next to Up on the ThinkPad keyboard.
7756
de7e2b36
SM
77572012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7758
7759 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
7760 * emacs-lisp/cl-macs.el: Provide itself.
7761 (cl--labels-convert-cache): New var.
7762 (cl--labels-convert): New function.
7763 (cl-flet, cl-labels): New implementation with new semantics, relying on
7764 lexical-binding.
7765 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
7766 (cl-closure-vars, cl--function-convert-cache)
7767 (cl--function-convert): Move from cl-macs.el.
7768 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
7769 rename by removing the "cl-" prefix.
7770 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
7771
6fa6c4ae
SM
77722012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7773
7774 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
7775 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
7776 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
7777 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
7778 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
7779 (cl-hash-table-count): Add old compatibility aliases.
7780
7781 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
7782 Use macroexpand-all-environment instead.
7783 (cl--old-macroexpand): New var.
7784 (cl--sm-macroexpand): New function.
7785 (cl-symbol-macrolet): Use it during macro expansion.
7786 (cl--function-convert-cache): New var.
7787 (cl--function-convert): New function, extracted from
7788 cl-macroexpand-all.
7789 (cl-lexical-let): Use it.
7790
7791 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
7792 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
7793 (cl-member): Remove old alias.
7794
7795 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
7796 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
7797 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
7798 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
7799 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
7800 (cl-macroexpand-cmacs): Remove var.
7801 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
7802 Use macroexpand-all instead.
7803
4dd1c416
SM
78042012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7805
7806 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
7807 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
7808 (macroexp-copyable-p): New functions and macros.
7809 * emacs-lisp/edebug.el (edebug-unwrap):
7810 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
7811 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
7812 (pcase--let*): Remove.
7813 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
7814 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
7815 macroexp-const-p instead.
7816 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
7817
7818 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
7819 instead of "cl-" for internal definitions. Use macroexp-const-p.
7820 (cl-old-bc-file-form): Remove var.
7821 (cl-const-exprs-p): Remove fun.
7822 (cl-labels, cl-macrolet): Use backquote.
7823 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
7824 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
7825 (cl-define-setf-expander): Rename from cl-define-setf-method.
7826 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
7827
7828 * international/mule-cmds.el: Don't require CL.
7829 (view-hello-file): Don't use `letf'.
7830
ed8bd4d7
SM
78312012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7832
7287f2f3
SM
7833 * tmm.el (tmm-prompt): Use string-prefix-p.
7834 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
7835 (tmm-add-prompt): Use minibuffer-completion-help.
7836 (tmm-delete-map): Remove.
7837
ed8bd4d7
SM
7838 * subr.el (kbd): Make it its own function.
7839
7b4cdbf4
SM
78402012-06-07 Stefan Merten <smerten@oekonux.de>
7841
7842 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
7843 Silence compiler warnings. Fix versions.
ed8bd4d7 7844 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 7845 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 7846 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
7847 (rst-package-emacs-version-alist): Correct Emacs version to
7848 represent major merge with upstream.
ed8bd4d7 7849 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 7850
2b48d721
GM
78512012-06-06 Glenn Morris <rgm@gnu.org>
7852
7853 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
7854 Only print environment variables if set.
7855
fa779ab0
SM
78562012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7857
7858 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
7859 (macroexp--cons): Rename from maybe-cons.
7860 (macroexp--accumulate): Rename from macroexp-accumulate.
7861 (macroexp--all-forms): Rename from macroexpand-all-forms.
7862 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
7863 (macroexp--expand-all): Rename from macroexpand-all-1.
7864
628299e0
SS
78652012-06-06 Sam Steingold <sds@gnu.org>
7866
7867 * calendar/calendar.el (calendar-in-read-only-buffer):
7868 Call `special-mode' to enable the standard read-only keybindings.
7869
b7bb5838
SM
78702012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7871
7872 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
7873 with "loading" messages (bug#11635).
7874
dfb308ba
MA
78752012-06-06 Michael Albinus <michael.albinus@gmx.de>
7876
7877 * files.el (enable-remote-dir-locals): New option.
7878 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
7879
0372ee92
MA
7880 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7881 Ensure, that the temp directory is local.
7882
7883 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
7884 `temporary-file-directory'.
7885
eed0bb91
MA
7886 * progmodes/python.el (python-send-region): Ensure, that the
7887 temporary file is created also in the remote case.
7888
7a58f64d
GM
78892012-06-06 Glenn Morris <rgm@gnu.org>
7890
f7dd4e98
GM
7891 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
7892 (vc-rcs-update-changelog): Use it.
7893
090bd7cb 7894 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 7895
7a58f64d
GM
7896 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
7897 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
7898 (vc-sccs-diff): Replace use of the external vcdiff script.
7899
daed4003
GM
79002012-06-05 Glenn Morris <rgm@gnu.org>
7901
7902 * ledit.el: Move to obsolete/.
7903
48c455c7
SS
79042012-06-05 Sam Steingold <sds@gnu.org>
7905
ed9265fc 7906 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
7907 patch (Bug#11140).
7908
57a7d507
SM
79092012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7910
090bd7cb 7911 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 7912
53aacf21
SM
7913 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
7914 compiler-macro expansion.
7915
57a7d507
SM
7916 Add native compiler-macro support.
7917 * emacs-lisp/macroexp.el (macroexpand-all-1):
7918 Support compiler-macros directly. Properly follow aliases and apply
7919 the compiler macros more thoroughly.
7920 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
7921 macroexpand now properly follows aliases.
7922 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
7923 (cl-compiler-macroexpand): Use new prop.
7924 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
7925
7926 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
7927
51a5f9d8
MR
79282012-06-05 Martin Rudalics <rudalics@gmx.at>
7929
7930 * window.el (get-lru-window, get-mru-window, get-largest-window):
7931 New argument NOT-SELECTED to avoid picking the selected window.
7932 (window--display-buffer-1, window--display-buffer-2): Replace by
7933 new function window--display-buffer
7934 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
7935 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7936 Use window--display-buffer.
51a5f9d8
MR
7937 (display-buffer-use-some-window): Remove temporary dedication
7938 hack by calling get-lru-window and get-largest-window with
7939 NOT-SELECTED argument non-nil. Call window--display-buffer.
7940
08f9f738
GM
79412012-06-05 Glenn Morris <rgm@gnu.org>
7942
7943 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
7944 Replace external vcdiff script.
7945
e364a2b7
SM
79462012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7947
7948 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
7949
041df390
CY
79502012-06-04 Chong Yidong <cyd@gnu.org>
7951
e364a2b7
SM
7952 * image.el (imagemagick-types-inhibit): Revert last change.
7953 Add INFO and M.
47b36b94 7954 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 7955
7c1898a7
SM
79562012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7957
7958 * emacs-lisp/cl-lib.el: Rename from cl.el.
7959 * emacs-lisp/cl.el: New compatibility file.
7960 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
7961 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
7962 to obey the "cl-" prefix.
7963 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
7964
0c3461de
GM
79652012-06-03 Glenn Morris <rgm@gnu.org>
7966
1e266c88
GM
7967 * emacs-lisp/authors.el (authors-aliases): Addition.
7968
0c3461de
GM
7969 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
7970 Fix :version.
7971
d8a52e15
SM
79722012-06-03 Stefan Merten <smerten@oekonux.de>
7973
7974 * textmodes/rst.el: Add comments.
7975 (rst-transition, rst-adornment): New faces.
7976 (rst-adornment-faces-alist): Make default safe to reevaluate.
7977 Fixes
7978 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
7979 Improve customization tags.
7980 (rst-define-level-faces): Clarify meaning.
7981
5205d6f6
CY
79822012-06-03 Chong Yidong <cyd@gnu.org>
7983
7984 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
7985 (compilation-mode-line-run, compilation-mode-line-exit):
7986 New faces.
5205d6f6
CY
7987 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
7988
757ee657
JD
79892012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
7990
7c1898a7
SM
7991 * progmodes/which-func.el (which-func-update-ediff-windows):
7992 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 7993
5f2c76c6
CY
79942012-06-03 Chong Yidong <cyd@gnu.org>
7995
7996 * bindings.el: Remove explicit help text from format-mode-line.
7997 It is now supplied by mode-line-default-help-echo.
7998 (mode-line-front-space, mode-line-end-spaces)
7999 (mode-line-misc-info): New variables.
8000 (mode-line-modes, mode-line-position): Move the default value to
8001 the variable definition.
8002 (mode-line-default-help-echo): New defcustom.
383f7350
CY
8003 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
8004 (mode-line-modified-help-echo): New functions.
8005 (mode-line-mule-info, mode-line-modified): Use them.
8006 (mode-line-eol-desc, propertized-buffer-identification):
8007 Consistency fixes for help text.
cbe46e5f
CY
8008 (mode-line-coding-system-map): Allow using mouse-3 to invoke
8009 set-buffer-file-coding-system (Bug#289).
8010 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 8011
f2d6a3df
SM
80122012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8013
8014 * simple.el (execute-extended-command): Set real-this-command
8015 (bug#11506).
8016
37269466
CY
80172012-06-02 Chong Yidong <cyd@gnu.org>
8018
8019 Remove incorrect uses of "modeline" in comments, docstrings, and
8020 function/variable names (Bug#10329).
8021
8022 * cus-edit.el (mode-line):
8023 * dframe.el (dframe-mouse-hscroll):
8024 * emacs-lisp/re-builder.el:
8025 * emacs-lisp/easy-mmode.el (define-minor-mode):
8026 * frame.el (set-frame-name):
8027 * help.el (lookup-minor-mode-from-indicator):
8028 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
8029 * progmodes/cc-cmds.el (c-toggle-auto-newline)
8030 (c-toggle-hungry-state):
8031 * progmodes/antlr-mode.el (antlr-language-alist):
8032 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
8033 * progmodes/vhdl-mode.el (vhdl-mode):
8034 * progmodes/which-func.el (which-func, which-func-cleanup-function):
8035 * term/ns-win.el (ns-face-at-pos):
8036 * term/sup-mouse.el (sup-mouse-report):
8037 * textmodes/flyspell.el (flyspell-mode-line-string):
8038 * textmodes/ispell.el (ispell-highlight-face):
8039 * textmodes/reftex-global.el:
8040 * vc/vc-arch.el (vc-arch-mode-line-string):
8041 * vc/vc-cvs.el (vc-cvs-mode-line-string):
8042 * vc/vc-git.el (vc-git-mode-line-string):
8043 * vc/vc-hooks.el (vc-display-status)
8044 (vc-default-mode-line-string):
8045 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
8046
8047 * ansi-color.el (ansi-color-faces-vector): Change default faces.
8048
8049 * dired.el (dired-sort-set-mode-line): Rename from
8050 dired-sort-set-modeline. All callers changed.
8051
8052 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
8053 eshell-status-in-modeline.
8054
8055 * foldout.el (foldout-mode-line-string): Rename from
8056 foldout-modeline-string. All callers changed.
8057 (foldout-update-mode-line): Rename from foldout-update-modeline.
8058
8059 * subr.el (redraw-modeline): Make into obsolete alias.
8060
8061 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
8062 timeclock-modeline-display. Make old name an alias.
8063 (timeclock-update-mode-line): Likewise. All callers changed.
8064 (timeclock-mode-line-display): No need to check before using
8065 add-hook.
8066 (timeclock-relative, timeclock-day-over-hook)
8067 (timeclock-use-elapsed, timeclock-mode-string)
8068 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
8069
8070 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
8071 crisp-mode-modeline-string.
8072
8073 * play/solitaire.el (solitaire-build-mode-line): Rename from
8074 solitaire-build-modeline. All callers changed.
8075
8076 * play/zone.el (zone-hiding-mode-line): Rename from
8077 zone-hiding-modeline. All callers changed.
8078 (zone): Remove unusued `modeline-hidden-level' property.
8079
8080 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
8081 xscheme-modeline-initialize. All callers changed.
8082
8083 * strokes.el (strokes-lighter): Rename from
8084 strokes-modeline-string.
8085
8086 * textmodes/sgml-mode.el (html-face-tag-alist)
8087 (html-tag-face-alist): Use mode-line face instead of obsolete
8088 alias modeline.
8089
42152ee4
SM
80902012-06-02 Stefan Merten <smerten@oekonux.de>
8091
8092 * textmodes/rst.el: Always require `cl'.
4cf9b38d 8093 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 8094
95f520b5
CY
80952012-06-02 Chong Yidong <cyd@gnu.org>
8096
8097 * image.el (imagemagick-enabled-types): Rename from
8098 imagemagick-types-enable. Add many more types.
8099 (imagemagick-types-inhibit): Change default to nil.
8100 (imagemagick-filter-types): Caller changed.
8101
4a5f187a
SM
81022012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8103
03fef3e6
SM
8104 * emacs-lisp/cl-macs.el: Use backquotes.
8105 (cl-transform-function-property): Use eval-and-compile rather than
8106 abusing `require'.
8107 (defstruct): Use declare-function instead of with-no-warnings.
8108
4a5f187a
SM
8109 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
8110 (byte-compile-output-docform): Re-add the print-circle bindings.
8111 (byte-compile-fix-header): Use #$ just because it's shorter.
8112 (byte-compile-output-file-form): Remove defun/defmacro.
8113
bd56924f
MR
81142012-06-01 Martin Rudalics <rudalics@gmx.at>
8115
8116 * simple.el (choose-completion): Remove now obsolete binding for
8117 owindow.
8118
046e38ce
MA
81192012-06-01 Michael Albinus <michael.albinus@gmx.de>
8120
8121 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
8122 in order to avoid "Stack overflow in regexp matcher".
8123
32d72c2f
GM
81242012-05-31 Glenn Morris <rgm@gnu.org>
8125
8126 * image.el: For clarity, call imagemagick-register-types at
8127 top-level, rather than relying on a custom :initialize.
8128 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
8129 (imagemagick-filter-types): New function. (Bug#7406)
8130 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
8131 If disabling support, remove elements altogether rather
8132 than using an impossible regexp.
8133 (imagemagick-types-inhibit): Give it the default init function.
8134
dd41169b
SM
81352012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8136
4a5f187a
SM
8137 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
8138 Handle arbitrary file name lengths (Bug#11585).
dd41169b 8139
efc00ab1 81402012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
8141
8142 * desktop.el (desktop-read): Clear previous and next buffers for
8143 all windows and bury *Messages* buffer (bug#11556).
8144
500fcedc
SM
81452012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8146
8147 Add `declare' for `defun'. Align `defmacro's with it.
8148 * emacs-lisp/easy-mmode.el (define-minor-mode)
8149 (define-globalized-minor-mode): Don't autoload the var definitions.
8150 * emacs-lisp/byte-run.el: Use lexical-binding.
8151 (defun-declarations-alist, macro-declarations-alist): New vars.
8152 (defmacro, defun): Use them.
8153 (make-obsolete, define-obsolete-function-alias)
8154 (make-obsolete-variable, define-obsolete-variable-alias):
8155 Use `declare'.
8156 (macro-declaration-function): Mark obsolete.
8157 * emacs-lisp/autoload.el: Use lexical-binding.
8158 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
8159
6e8a1786
AM
81602012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8161
8162 * textmodes/ispell.el (ispell-with-no-warnings):
8163 Define as a macro.
500fcedc
SM
8164 (ispell-kill-ispell, ispell-change-dictionary):
8165 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
8166 `interactive-p'.
8167
61b108cc
SM
81682012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8169
8170 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
8171 (macro-declaration-function): Move var from C code.
8172 (macro-declaration-function): Define function with defalias.
8173 * emacs-lisp/macroexp.el (macroexpand-all-1):
8174 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
8175 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
8176 defun/defmacro any more.
8177 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
8178 Provide fallback for unknown arglist.
8179 (byte-compile-arglist-warn): Change calling convention.
8180 (byte-compile-output-file-form): Move print-vars binding.
8181 (byte-compile-output-docform): Simplify accordingly.
8182 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
8183 (byte-compile-defmacro-declaration): Remove.
8184 (byte-compile-file-form-defmumble): Generalize to defalias.
8185 (byte-compile-output-as-comment): Return byte-positions.
8186 Simplify callers accordingly.
8187 (byte-compile-lambda): Use `assert'.
8188 (byte-compile-defun, byte-compile-defmacro): Remove.
8189 (byte-compile-file-form-defalias):
8190 Use byte-compile-file-form-defmumble.
8191 (byte-compile-defalias-warn): Remove.
8192
6d3f7c2f
SM
81932012-05-29 Stefan Merten <smerten@oekonux.de>
8194
8195 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 8196 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
8197
8198 (rst-mode-abbrev-table): Merge definition.
8199 (rst-mode): Make sure `font-lock-defaults' is buffer local.
8200 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
8201
6dbaa1c7
UJ
82022012-05-29 Ulf Jasper <ulf.jasper@web.de>
8203
8204 * calendar/icalendar.el
8205 (icalendar-export-region): Export UID properly.
8206
d209e2fb 82072012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
8208 * calendar/icalendar.el (icalendar-import-format):
8209 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
8210 (icalendar-import-format-uid): New.
8211 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
8212 Export UID.
8213
6876a58d
SM
82142012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8215
8216 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
8217 different alternative patterns.
8218 (pcase-codegen): Be more careful to preserve identity.
8219 (pcase--u1): Don't forget to mark vars as used.
8220
8221 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
8222 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
8223 (byte-compile-from-buffer): ...rather than here.
8224
8225 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
8226 functions from byte-compile-function-environment.
8227
46b7967e
TN
82282012-05-29 Troels Nielsen <bn.troels@gmail.com>
8229
8230 * window.el (window-deletable-p): Avoid deleting the root window
8231 of a frame with an active minibuffer.
8232
69d565e2
MR
82332012-05-29 Martin Rudalics <rudalics@gmx.at>
8234
8235 * simple.el (choose-completion): Use quit-window (Bug#11567).
8236
a149fa51
CY
82372012-05-29 Chong Yidong <cyd@gnu.org>
8238
8239 * whitespace.el (whitespace-cleanup): Fix usage of
8240 whitespace-empty-at-bob-regexp (Bug#11492).
8241
2b311310
AH
82422012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8243
8244 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
8245 revert (Bug#11488).
8246
b9cb2387
JL
82472012-05-29 Juri Linkov <juri@jurta.org>
8248
8249 * isearch.el (isearch-mode-map): Bind `M-s _' to
8250 `isearch-toggle-symbol'. Bind `M-s c' to
8251 `isearch-toggle-case-fold'.
8252 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
8253 (isearch-forward): Add `M-s _' to the docstring.
8254 (isearch-forward-symbol, isearch-toggle-case-fold)
8255 (isearch-symbol-regexp): New functions. (Bug#11381)
8256
d5e61c1c
JL
82572012-05-29 Juri Linkov <juri@jurta.org>
8258
8259 * isearch.el (isearch-word): Add docstring. (Bug#11381)
8260 (isearch-occur, isearch-search-and-update): If `isearch-word' is
8261 a function, call it to get the regexp.
8262 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
8263 property `isearch-message-prefix' instead of the string "word ".
8264 (isearch-search-fun-default): For the case of `isearch-word',
8265 return a lambda that calls re-search-forward/re-search-backward
8266 with a regexp returned by `word-search-regexp' or by the function
8267 in `isearch-word'.
8268
8cbd80f7
JL
82692012-05-29 Juri Linkov <juri@jurta.org>
8270
8271 * isearch.el (isearch-search-fun-default): New function.
8272 (isearch-search-fun): Move default part to the new function
8273 `isearch-search-fun-default'.
8274 (isearch-search-fun-function): Set the default value to
8275 `isearch-search-fun-default'. (Bug#11381)
8276
8277 * comint.el (comint-history-isearch-end):
8278 Use `isearch-search-fun-default'.
8279 (comint-history-isearch-search): Use `isearch-search-fun-default'
8280 and remove spacial case for `isearch-word'.
8281 (comint-history-isearch-wrap): Remove spacial case for
8282 `isearch-word'.
8283
8284 * hexl.el (hexl-isearch-search-function):
8285 Use `isearch-search-fun-default'.
8286
8287 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
8288 Use `word-search-regexp' for `isearch-word'.
8289
8290 * misearch.el (multi-isearch-search-fun):
8291 Use `isearch-search-fun-default'.
8292
8293 * simple.el (minibuffer-history-isearch-search):
8294 Use `isearch-search-fun-default' and remove spacial case for
8295 `isearch-word'.
8296 (minibuffer-history-isearch-wrap): Remove spacial case for
8297 `isearch-word'.
8298
8299 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
8300 Remove spacial case for `isearch-word'.
8301 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
8302
85c8c5b6
AM
83032012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8304
8305 Decrease XEmacs incompatibilities.
8306 * textmodes/flyspell.el (flyspell-check-pre-word-p):
8307 Use `string-match'.
8308 (flyspell-delete-region-overlays): Use alternative definition for
8309 XEmacs.
8310 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
8311 (flyspell-word): Use `process-kill-without-query' if XEmacs.
8312 (flyspell-mode-on): Use `interactive-p' if XEmacs.
8313 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
8314 `define-obsolete-face-alias' under XEmacs, but old method.
8315
8316 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
8317 `with-no-warnings' definition or Emacs alias.
8318 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
8319 (ispell-word): Do not use `region-p' if XEmacs.
8320
8cab9efc
AM
83212012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8322
8323 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
8324 Check for `ispell-dictionary-base-alist' instead of full
8325 `ispell-dictionary-alist'.
8326 (ispell-init-process): Show spellchecker when starting new Ispell
8327 process.
8328
fda91268
RZ
83292012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8330
8331 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
8332 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
8333
694ea8e3
JB
83342012-05-27 Juanma Barranquero <lekktu@gmail.com>
8335
8336 * version.el (motif-version-string, gtk-version-string)
8337 (ns-version-string): Declare.
8338
e4d4f539
JL
83392012-05-27 Juri Linkov <juri@jurta.org>
8340
8341 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
8342 after the `eval-defun-1' specialcaseing
8343 like in `edebug-eval-defun' (bug#10181).
8344
8345 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
8346 like in `eval-defun-1'.
8347
33017faf 83482012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 8349
fda91268
RZ
8350 * mail/sendmail.el (mail-yank-region):
8351 Recognize rmail-yank-current-message in addition to insert-buffer.
8352 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
8353 a *mail* buffer created through rmail-start-mail with sendmail as
8354 mail-user-agent.
8355
33017faf
GM
83562012-05-27 Chong Yidong <cyd@gnu.org>
8357
8358 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
8359 Default to 256 (Bug#11267).
8360
8361 * help.el (describe-mode): Doc fix.
8362
04188bb9
GM
83632012-05-26 Glenn Morris <rgm@gnu.org>
8364
38264cc9
GM
8365 * w32-fns.el (w32-init-info): Remove.
8366 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
8367
eb7afdad
GM
8368 * info.el (info-initialize): For self-contained NS builds, put the
8369 included info/ directory at the front. (Bug#2791)
8370
04188bb9
GM
8371 * paths.el (Info-default-directory-list): Make it a defcustom,
8372 mainly so that we can use custom-initialize-delay.
8373
a179e3f7
SM
83742012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8375
43416392
SM
8376 * subr.el (buffer-has-markers-at): Mark obsolete.
8377
a179e3f7 8378 * subr.el (lambda): Use declare.
43416392 8379
a179e3f7
SM
8380 * emacs-lisp/lisp-mode.el (lambda):
8381 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
8382
34a008d9
AH
83832012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8384
8385 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
8386
0a3b289f
GM
83872012-05-26 Glenn Morris <rgm@gnu.org>
8388
8389 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
8390
758c81e8
GM
83912012-05-25 Glenn Morris <rgm@gnu.org>
8392
f9f334f0
GM
8393 * paths.el: Remove no-byte-compile.
8394 * loadup.el: No need to load paths.el uncompiled.
8395
87eb79c2
GM
8396 * image.el (imagemagick-types-inhibit): Doc fix.
8397
758c81e8
GM
8398 * version.el: Remove no-byte-compile and associated formatting.
8399 * loadup.el: No need to load version.el uncompiled. AFAICS, this
8400 is ancient code from when there was an "inc-vers.el".
8401
e7e85dc0
SM
84022012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8403
8404 * progmodes/gdb-mi.el: Minor style changes.
8405 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
8406 Turn into minor modes.
8407 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
8408 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
8409 (gdb-shell): Remove unneeded let-binding.
8410 (gdb-get-many-fields): Eliminate O(n²) behavior.
8411
f31237a4
EZ
84122012-05-25 Eli Zaretskii <eliz@gnu.org>
8413
8414 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
8415 platforms that don't link in fontset.c.
8416
bc1b21bb
JL
84172012-05-25 Juri Linkov <juri@jurta.org>
8418
8419 Use the same diff color scheme as in modern VCSes (bug#10181).
8420
8421 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
8422 to avoid confusion with `diff-added' that now uses green colors.
8423 (diff-removed): Use shades of red.
8424 (diff-added): Use shades of green.
8425 (diff-changed): Leave just the yellow color.
8426 (diff-use-changed-face): New variable.
8427 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
8428 how to highlight context diff changes.
8429 (diff-refine-change): Use shades of yellow.
8430 (diff-refine-removed): New face that uses shades of red.
8431 (diff-refine-added): New face that uses shades of green.
8432 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
8433 `diff-refine-removed' in the call to `smerge-refine-subst'
8434 depending on the value of `diff-use-changed-face'.
8435
8436 * vc/smerge-mode.el (smerge-mine): Use shades of red.
8437 (smerge-other): Use shades of green.
8438 (smerge-base): Use shades of yellow.
8439 (smerge-refined-change): Empty face.
8440 (smerge-refined-removed): New face that uses shades of red.
8441 (smerge-refined-added): New face that uses shades of green.
8442 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
8443 args `props-r' and `props-a', and use them. Doc fix.
8444 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
8445 on its value use different faces `smerge-refined-change',
8446 `smerge-refined-removed', `smerge-refined-added' in the call to
8447 `smerge-refine-subst'.
8448
8449 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
8450 Add face condition `min-colors 88' with shades of red.
8451 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
8452 `min-colors 88' with shades of green.
8453 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
8454 `min-colors 88' with shades of yellow.
8455
6df9112c
GM
84562012-05-24 Glenn Morris <rgm@gnu.org>
8457
ead5edc0
GM
8458 * paths.el (prune-directory-list, remote-shell-program): Move to...
8459 * files.el (prune-directory-list, remote-shell-program): ...here.
8460 For the latter, delay initialization, prefer ssh, just search PATH.
8461
f18b81e6
GM
8462 * paths.el (term-file-prefix): Move to faces.el (the only user).
8463 * faces.el (term-file-prefix): Move here, make it a defcustom.
8464
ee2f89a6
GM
8465 * paths.el (news-directory, news-path, news-inews-program):
8466 Move to gnus/nnspool.el.
61a583ca 8467
f8815e4c
GM
8468 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
8469
c8f3b42c
GM
8470 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
8471 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
8472 Make the latter a defcustom, with a delayed initialization.
8473
6df9112c
GM
8474 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
8475 These were deleted from Gnus itself late 2010.
8476
5dadff36
JB
84772012-05-22 Juanma Barranquero <lekktu@gmail.com>
8478
9e1701c6
JB
8479 * progmodes/which-func.el (which-func-ff-hook):
8480 Check against user-error, not error.
8481
bd7239f5 8482 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
8483 cl-specs.el, which no longer exists.
8484
3290526d
GM
84852012-05-22 Glenn Morris <rgm@gnu.org>
8486
8487 * info.el (info-emacs-bug): New command.
8488 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
8489 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
8490
ff0c3cfb
GM
84912012-05-21 Glenn Morris <rgm@gnu.org>
8492
8493 * makefile.w32-in (update-subdirs-SH):
8494 * Makefile.in (update-subdirs): Update for moved update-subdirs.
8495
5814f126
SM
84962012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
8497
a52c0aa0
SM
8498 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
8499
5814f126
SM
8500 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8501 Simplify Maven regexp, and make sure the file can't start with a space
8502 (bug#11517).
8503
b847032c
GM
85042012-05-21 Glenn Morris <rgm@gnu.org>
8505
8506 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8507 Scrap superfluous subshells.
8508
3858bfe7
SM
85092012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
8510
8511 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
8512 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
8513
d14b0029
JB
85142012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
8515
8516 * calc/calc.el (calc-ensure-consistent-units): New variable.
8517
a52c0aa0
SM
8518 * calc/calc-units.el (math-consistent-units-p)
8519 (math-check-unit-consistency): New functions.
8520 (calc-quick-units, calc-convert-units):
8521 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
8522 is non-nil.
d14b0029
JB
8523 (calc-extract-units): Fix typo.
8524
60c4db3a
SM
85252012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8526
77f3b62e
SM
8527 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
8528
60c4db3a
SM
8529 * textmodes/flyspell.el: Commenting style, plus code simplifications.
8530 (flyspell-default-deplacement-commands): Don't spell check after
8531 repeated window/frame switches (e.g. triggered by mouse-movement).
8532 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
8533 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
8534 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
8535 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
8536 Remove unused vars.
8537 (flyspell-get-casechars, flyspell-get-not-casechars):
8538 Simplify; Don't bother removing a ] just to add it back.
8539 * textmodes/ispell.el (ispell-program-name): Use executable-find.
8540
d209e2fb 85412012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
8542
8543 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
8544 New functions.
bd7239f5 8545 (math-function-table): Add support for more C functions.
b1a10716 8546
3f1b25b5
AM
85472012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8548
090bd7cb
JB
8549 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8550 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8551 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 8552
b581bb5c
SM
85532012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8554
8555 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
8556 their respective macro declarations.
8557 * skeleton.el (define-skeleton):
8558 * progmodes/compile.el (define-compilation-mode):
8559 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
8560 (define-ibuffer-filter):
8561 * emacs-lisp/generic.el (define-generic-mode):
8562 * emacs-lisp/easy-mmode.el (define-minor-mode)
8563 (define-globalized-minor-mode):
8564 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
8565 * emacs-lisp/byte-run.el (defsubst):
8566 * custom.el (deftheme): Add doc-string metadata.
8567
70b8ef8f
SM
85682012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8569
8570 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
8571
b1198e17
SM
85722012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8573
9abdc45d
SM
8574 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
8575
b1198e17
SM
8576 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
8577 * emacs-lisp/cl-macs.el: Idem.
8578 * emacs-lisp/cl-specs.el: Remove.
8579
4735906a
SM
85802012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8581
8582 Minor renaming of internal CL functions and variables.
8583 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
8584 (cl--position): Rename from cl-position.
8585 (cl--delete-duplicates): Rename from cl-delete-duplicates.
8586 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
8587 (cl--random-state): Rename from *random-state*.
8588
ac348012
SM
85892012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8590
8591 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
8592 parens around the arg list (bug#11499).
8593
a0a79cde
JL
85942012-05-17 Juri Linkov <juri@jurta.org>
8595
8596 * isearch.el (word-search-regexp, word-search-backward)
8597 (word-search-forward, word-search-backward-lax)
8598 (word-search-forward-lax): Move functions from search.c
8599 (bug#10145, bug#11381).
8600
65034a51
AM
86012012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8602
090bd7cb
JB
8603 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8604 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8605 Delay for otherchars as for normal word components.
65034a51 8606
1a72a195
SM
86072012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
8608
8609 * minibuffer.el (completion--sifn-requote): Fix last change.
8610 (minibuffer-local-must-match-filename-map):
8611 Move define-obsolete-variable-alias before its var.
8612
fdb058c2
SM
86132012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8614
c41045e6
SM
8615 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
8616
036dfb8b
SM
8617 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
8618 behavior.
8619 (completion--string-equal-p): New function.
8620 (completion--twq-all): Use it to get better assertion failure data.
8621
2473256d
SM
8622 Only handle ".." and '..' quoting in shell-mode (bug#11466).
8623 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
8624 (shell--requote-argument): New functions.
8625 (shell-completion-vars): Use them.
8626 (shell--parse-pcomplete-arguments): Rename from
8627 shell-parse-pcomplete-arguments.
8628 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
8629 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
8630 Obey comint-file-name-quote-list.
8631
fdb058c2
SM
8632 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
8633 (smie-indent-keyword): Use it.
8634
51fa99f1
SM
86352012-05-14 Stefan Merten <smerten@oekonux.de>
8636
8637 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
8638
e18afed7 86392012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
8640
8641 * net/rlogin.el (rlogin-mode-map): Fix last change.
8642
e18afed7 86432012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
8644
8645 * mail/smtpmail.el (smtpmail-send-command): Send the command and
8646 the following \r\n using a single `process-send-string', since the
8647 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 8648 with two `process-send-string's (Bug#11444).
8633b1f4 8649
e18afed7 86502012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 8651
fdb058c2
SM
8652 * shell.el (shell-parse-pcomplete-arguments):
8653 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 8654
2d21d7f6
WJ
86552012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8656
e18afed7 8657 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
8658 (image-transform-scale, image-transform-right-angle-fudge): New vars.
8659 (image-transform-width, image-transform-fit-width): New functions.
8660 (image-transform-properties): Use them.
8661 (image-transform-check-size): New function.
8662 (image-toggle-display-image): Use it (for testing).
8663 (image-transform-set-rotation): Reduce angle mod 360.
8664 Delete obsolete comment.
8665
7102e6d0
WJ
86662012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8667
8668 * image-mode.el: Fix scaling (bug#11399).
8669 (image-transform-resize): Doc fix.
8670 (image-transform-properties): Default scale is 1 and height should
8671 be an integer.
8672
06bc5e6e
SM
86732012-05-13 Johan Bockgård <bojohan@gnu.org>
8674
8675 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
8676 than hard-coding `car', to fix misbehavior when moving forward.
8677
0ae03b6a
CY
86782012-05-13 Chong Yidong <cyd@gnu.org>
8679
8680 * emacs-lisp/tabulated-list.el (tabulated-list-format)
8681 (tabulated-list-entries, tabulated-list-padding)
8682 (tabulated-list-sort-key): Make permanent-local.
8683
8684 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
8685 (electric-buffer-list): Put electric buffer menu
8686 command descriptions in this docstring, instead of the docstring
8687 of electric-buffer-menu-mode. Code cleanups.
8688 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
8689 Electric-buffer-menu-mode.
8690 (electric-buffer-update-highlight): Minor code cleanup.
8691
205a7391
MA
86922012-05-13 Michael Albinus <michael.albinus@gmx.de>
8693
8694 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
8695 (Bug#11447)
8696
e5bd0a28
SM
86972012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8698
8699 Move define-obsolete-variable-alias before the var's definition.
8700 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
8701 * tooltip.el (tooltip-hook):
8702 * textmodes/reftex-toc.el (reftex-toc-map):
8703 * textmodes/reftex-sel.el (reftex-select-label-map)
8704 (reftex-select-bib-map):
8705 * textmodes/reftex-index.el (reftex-index-map)
8706 (reftex-index-phrases-map):
8707 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
8708 * progmodes/meta-mode.el (meta-mode-map):
8709 * novice.el (disabled-command-hook):
8710 * loadhist.el (unload-hook-features-list):
8711 * frame.el (blink-cursor):
8712 * files.el (find-file-not-found-hooks, write-file-hooks)
8713 (write-contents-hooks):
8714 * emulation/tpu-edt.el (GOLD-map):
8715 * emacs-lock.el (emacs-lock-from-exiting):
8716 * emacs-lisp/generic.el (generic-font-lock-defaults):
8717 * emacs-lisp/chart.el (chart-map):
8718 * dos-fns.el (register-name-alist):
8719 * dired-x.el (dired-omit-files-p):
8720 * desktop.el (desktop-enable):
8721 * cus-edit.el (custom-mode-hook):
8722 * buff-menu.el (buffer-menu-mode-hook):
8723 * bookmark.el (bookmark-read-annotation-text-func)
8724 (bookmark-exit-hooks):
8725 * allout.el (allout-mode-deactivate-hook)
8726 (allout-exposure-change-hook, allout-structure-added-hook)
8727 (allout-structure-deleted-hook, allout-structure-shifted-hook):
8728 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
8729 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
8730 comes before the corresponding variable's definition.
8731
ac59c2f6
CY
87322012-05-12 Chong Yidong <cyd@gnu.org>
8733
8734 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
8735 (Buffer-menu-mouse-select): Restore function (Bug#11459).
8736 (Buffer-menu-mode-map): Bind it.
8737 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 8738
dee6c9a3
SM
87392012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8740
2171cea5
SM
8741 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
8742 (prolog-upper-case-string, prolog-lower-case-string)
8743 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
8744 (prolog-use-smie, prolog-smie-grammar): New vars.
8745 (prolog-smie-forward-token, prolog-smie-backward-token)
8746 (prolog-smie-rules): New funs.
8747 (prolog-comment-indent): Remove.
8748 (prolog-mode-variables): Use default comment indentation instead.
8749 Setup SMIE.
8750 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
8751 (prolog-mode): Don't call them any more.
8752 (prolog-electric-colon, prolog-electric-dash)
8753 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
8754
aa0382bd
SM
8755 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
8756
dbacb4bd
SM
8757 * minibuffer.el (completion--twq-all): Again, allow case differences.
8758
13bdd94c
SM
8759 * term.el: Move keymap initialization code to be more idiomatic.
8760 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
8761 (term-terminal-menu): Move initialization into declaration.
8762 (term-escape-char): Let the user set it in her .emacs.
8763
ff46c759
SM
8764 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
8765 Provide SMIE-based indentation (not enabled by default yet).
8766 (sh-mode-map): Don't bind electric keys.
8767 Use electric-pair-mode instead of skeleton-pair.
8768 (sh-assignment-regexp): Fit within 80 columns.
8769 (sh-indent-supported): Specify actual shell name instead of boolean.
8770 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
8771 (sh-maybe-here-document): Use it. Make obsolete.
8772 (sh-electric-here-document-mode) New minor mode.
8773 (sh-mode): Use it. Don't set sh-indent-supported-here here.
8774 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
8775 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
8776 (sh-smie-rc-grammar, sh-use-smie): New vars.
8777 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
8778 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
8779 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
8780 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
8781 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
8782 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
8783 (sh-set-shell): Use smie-setup if requested.
8784
dee6c9a3
SM
8785 * term.el (term-set-escape-char): Properly set term-escape-char.
8786 See http://stackoverflow.com/questions/10524656.
8787
9f9aa044
CY
87882012-05-10 Chong Yidong <cyd@gnu.org>
8789
8790 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
8791 Use url-generic-parse-url, and handle host names and Windows
8792 filenames properly.
8793 (ffap-url-unwrap-remote): Use url-generic-parse-url.
8794 (ffap-url-unwrap-remote): Accept list values, specifying a list of
8795 URL schemes to work on.
8796 (ffap--toggle-read-only): New function.
8797 (ffap-read-only, ffap-read-only-other-window)
8798 (ffap-read-only-other-frame): Use it.
8799 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
8800 necessary for ffap-url-unwrap-remote.
8801
836d29b3
DA
88022012-05-10 Dave Abrahams <dave@boostpro.com>
8803
8804 * cus-start.el (create-lockfiles): Add it.
8805
00fd78ed
CY
88062012-05-09 Chong Yidong <cyd@gnu.org>
8807
8808 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
8809 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
8810
666b903b 88112012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
8812
8813 * shell.el (shell-completion-vars): Fix last change (bug#11348).
8814
666b903b 88152012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
8816
8817 * ansi-color.el (ansi-color-process-output): Check for validity of
8818 comint-last-output-start before using it. This avoids a bad
8819 interaction with gdb-mi's input/output buffer.
8820
666b903b 88212012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
8822
8823 * files.el (dir-locals-read-from-file):
8824 Mention dir-locals in any error message.
8825
666b903b 88262012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
8827
8828 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
8829 package (Bug#11410).
8830
f677562b
CY
8831 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
8832 variables into description.
8833
666b903b 88342012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
8835
8836 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
8837 shell-delimiter-argument-list (bug#11348).
8838 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
8839
b499d8d0
JB
88402012-05-09 Juanma Barranquero <lekktu@gmail.com>
8841
8f6b6da8
JB
8842 * textmodes/rst.el: Silence byte-compiler warnings.
8843 (rst-re-alist, rst-reset-section-caches): Move around.
8844 (rst-re): Use `characterp', not `char-valid-p'.
8845 (font-lock-beg, font-lock-end): Declare.
8846
4824146a
JB
8847 * progmodes/idlw-shell.el (specs): Remove reference to deleted
8848 variable `idlwave-shell-activate-alt-keybindings' and simplify.
8849
b499d8d0
JB
8850 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
8851
ad89bb83
GM
88522012-05-08 Glenn Morris <rgm@gnu.org>
8853
8854 * files.el (auto-mode-alist): Treat ".make" like ".mk".
8855
8bba5a75
SM
88562012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8857
49ed9c8e
SM
8858 * vc/log-edit.el: Add GNU coding standards highlighting.
8859 (log-edit-font-lock-gnu-style)
8860 (log-edit-font-lock-gnu-keywords): New vars.
8861 (log-edit-font-lock-keywords): New fun.
8862 (log-edit-mode): Don't fold case in font-lock.
8863 (log-edit-font-lock-keywords): Do not assume case-folding.
8864
07d00b56
SM
8865 * imenu.el: Misc cleanup. Make docstrings out of comments.
8866 Use lexical-binding.
8867 (imenu--index-alist, imenu--last-menubar-index-alist)
8868 (imenu-menubar-modified-tick): Use defvar-local.
8869 (imenu--split-menu): Remove unused var.
8870 (imenu--cleanup-seen): Declare as global.
8871 (imenu--cleanup): Use dolist.
8872
8bba5a75
SM
8873 * subr.el (defvar-local): Add debug spec and doc-string position.
8874
5075bdb5
GM
88752012-05-08 Glenn Morris <rgm@gnu.org>
8876
090bd7cb 8877 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
8878 * language/english.el, language/georgian.el, language/greek.el:
8879 * language/japanese.el, language/khmer.el, language/korean.el:
8880 * language/lao.el, language/misc-lang.el, language/romanian.el:
8881 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
8882 * language/thai.el, language/utf-8-lang.el:
8883 Remove no-byte-compile setting.
8884
5075bdb5
GM
8885 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
8886
06f679a7
AH
88872012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8888
8889 * progmodes/make-mode.el (makefile-browse):
8890 Remove unnecessary interactive. (Bug#11324)
8891
03794570
GM
88922012-05-07 Glenn Morris <rgm@gnu.org>
8893
af8630f4
GM
8894 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
8895
03794570
GM
8896 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
8897
f0809a9d
SM
88982012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8899
28be5ce7
SM
8900 * loadup.el: Preload newcomment.el.
8901 * newcomment.el: Move autoload-only code to toplevel.
8902
f0809a9d
SM
8903 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
8904 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8905 Handle new :right-align column property.
8906 (tabulated-list-print-col): Idem, plus use `display' text-property to
8907 try and preserve alignment for variable pitch fonts.
8908
1241b724
CY
89092012-05-07 Chong Yidong <cyd@gnu.org>
8910
8911 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
8912 (tabulated-list-use-header-line): New var.
8913 (tabulated-list-init-header): Use it.
8914 (tabulated-list-print-fake-header): New function.
8915 (tabulated-list-print): Use it.
8916 (tabulated-list-sort-button-map): Add non-header-line commands.
8917 (tabulated-list-init-header): Add column name property to basic
8918 labels as well.
8919 (tabulated-list-col-sort): Handle non-header-line button case.
8920 (tabulated-list--sort-by-column-name): Fix a corner case.
8921
f0809a9d
SM
8922 * buff-menu.el (list-buffers--refresh):
8923 Handle Buffer-menu-use-header-line.
1241b724 8924
e5f9458f
CY
89252012-05-06 Chong Yidong <cyd@gnu.org>
8926
8927 * buff-menu.el: Convert to Tabulated List mode.
8928 (Buffer-menu-buffer+size-width): Make obsolete.
8929 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
8930 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
8931 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
8932 documentation into docstring of buffer-menu.
8933 (Buffer-menu-toggle-files-only): Add an informative message.
8934 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
8935 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
8936 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
8937 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
8938 (Buffer-menu-execute, Buffer-menu-select)
8939 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
8940 (Buffer-menu-bury): Use Tabulated List machinery.
8941 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
8942 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 8943 Delete.
e5f9458f
CY
8944 (list-buffers--refresh): New function.
8945 (list-buffers-noselect): Use it.
8946 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
8947 (Buffer-menu--pretty-file-name): New helper functions.
8948
8949 * loadup.el: Preload tabulated-list.
8950
8951 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
8952 tabulated-list-sort-column.
8953 (tabulated-list-init-header): Add the initial aligning space even
8954 if tabulated-list-padding is zero.
8955
e129292c
CS
89562012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
8957
8958 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
8959 whose cdr is not a cons cell correctly (bug#11038).
8960
6632d361
CY
89612012-05-06 Chong Yidong <cyd@gnu.org>
8962
e129292c
CS
8963 * emacs-lisp/tabulated-list.el (tabulated-list-format):
8964 Accept additional plist in column descriptors.
6632d361
CY
8965 (tabulated-list-init-header): Obey it.
8966 (tabulated-list-get-entry): New function.
8967 (tabulated-list-put-tag): Use it. Use string-width instead of
8968 length.
8969 (tabulated-list--column-number): New function.
8970 (tabulated-list-print): Use it.
e129292c
CS
8971 (tabulated-list-print-col): New function.
8972 Set `tabulated-list-column-name' property on each column's text.
6632d361 8973 (tabulated-list-print-entry): Use it.
e129292c
CS
8974 (tabulated-list-delete-entry, tabulated-list-set-col):
8975 New functions.
6632d361
CY
8976 (tabulated-list-sort-column): New command (Bug#11337).
8977
3cc99f68
CY
8978 * buff-menu.el (list-buffers): Move C-x C-b binding from
8979 buff-menu.el to bindings.el.
8980
8981 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
8982 :advertised-binding feature.
8983
52b61776
TN
89842012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
8985
8986 * progmodes/compile.el (compilation-internal-error-properties):
8987 Calculate start position correctly when end-col is set but
8988 end-line is not (Bug#11382).
8989
ebfe2597
WJ
89902012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
8991
8992 * man.el (Man-unindent): Use text-property-default-nonsticky to
8993 prevent untabify from inheriting face properties (Bug#11408).
8994
6d3f7c2f
SM
89952012-05-05 Stefan Merten <smerten@oekonux.de>
8996
8997 * textmodes/rst.el: Major merge with upstream development up to
8998 Docutils SVN r7399 / rst.el V1.2.1.
8999
9000 Clarify maintainership and authors.
9001
9002 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
9003 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
9004 (rst-official-version, rst-official-cvs-rev, rst-version)
9005 (rst-package-emacs-version-alist): New functions and variables
9006 for version information.
9007
9008 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
9009 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
9010 (rst-mode-syntax-table, rst-mode): New and corrected functions
9011 and variables representing reStructuredText features.
9012
9013 (rst-re): New function for reStructuredText regexes. Use in
9014 many places.
9015
9016 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
9017 (rst-mode-map): Rebind keys.
9018
9019 (rst-mode-lazy, rst-font-lock-keywords)
9020 (rst-font-lock-extend-region)
9021 (rst-font-lock-extend-region-internal)
9022 (rst-font-lock-extend-region-extend)
9023 (rst-font-lock-find-unindented-line-limit)
9024 (rst-font-lock-find-unindented-line-match)
9025 (rst-adornment-level, rst-font-lock-adornment-level)
9026 (rst-font-lock-adornment-match)
9027 (rst-font-lock-handle-adornment-pre-match-form)
9028 (rst-font-lock-handle-adornment-matcher): Major revision of
9029 font-locking. Integrate with other code. Use `jit-lock-mode'.
9030
9031 (rst-preferred-adornments, rst-adjust-hook)
9032 (rst-new-adornment-down, rst-preferred-bullets)
9033 (rst-preferred-bullets, rst-indent, rst-indent-width)
9034 (rst-indent-field, rst-indent-literal-normal)
9035 (rst-indent-literal-minimized, rst-indent-comment): Change,
9036 extend and improve customization.
9037
9038 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
9039 (rst-normalize-cursor-position, rst-get-decoration)
9040 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
9041 (rst-rstrip, rst-toc-insert-find-delete-contents)
9042 (rst-shift-fill-region, rst-compute-bullet-tabs)
9043 (rst-debug-print-tabs, rst-debug-mark-found)
9044 (rst-shift-region-guts, rst-shift-region-right)
9045 (rst-shift-region-left, rst-use-char-classes)
9046 (rst-font-lock-keywords-function)
9047 (rst-font-lock-indentation-point)
9048 (rst-font-lock-find-unindented-line-begin)
9049 (rst-font-lock-find-unindented-line-end)
9050 (rst-font-lock-find-unindented-line)
9051 (rst-font-lock-adornment-point, rst-font-lock-level)
9052 (rst-adornment-level-alist): Remove functions and variables.
9053
9054 (rst-compare-adornments, rst-get-adornment-match)
9055 (rst-suggest-new-adornment, rst-get-adornments-around)
9056 (rst-adornment-complete-p, rst-get-next-adornment)
9057 (rst-adjust-adornment, rst-display-adornments-hierarchy)
9058 (rst-straighten-adornments): Standardize function names to
9059 use "adornment" instead of "decoration". Correct callers.
9060 Similar standardizing in many places.
9061
9062 (rst-update-section, rst-adjust, rst-promote-region)
9063 (rst-enumerate-region, rst-bullet-list-region)
9064 (rst-repeat-last-character): Correct use of `interactive'.
9065
9066 (rst-classify-adornment, rst-find-all-adornments)
9067 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
9068 (rst-find-leftmost-column, rst-repeat-last-character):
9069 Refactor functions.
9070
9071 (rst-find-title-line, rst-reset-section-caches)
9072 (rst-get-adornments-around, rst-adjust-adornment-work)
9073 (rst-arabic-to-roman, rst-roman-to-arabic)
9074 (rst-insert-list-pos, rst-insert-list-new-item)
9075 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
9076 New functions.
9077
9078 (rst-all-sections, rst-section-hierarchy)
9079 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
9080 New variables.
9081
9082 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
9083 configuration instead of only buffer. Change where necessary.
9084
9085 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
9086 (rst-shift-region, rst-adaptive-fill): New functions for
9087 indentation and filling.
9088
9089 (rst-comment-line-break, rst-comment-indent)
9090 (rst-comment-insert-comment, rst-comment-region)
9091 (rst-uncomment-region): New functions for handling comments.
9092
9093 (rst-compile): Quote shell arguments.
9094
9095 (rst-compile-pdf-preview, rst-compile-slides-preview):
9096 Delete temporary files after use.
9097
a43f98b3
GM
90982012-05-05 Glenn Morris <rgm@gnu.org>
9099
48176e8b
GM
9100 * calendar/cal-html.el: Optionally include holidays in the output.
9101 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
9102 (cal-html-holidays): New option.
9103 (cal-html-css-default): Add holiday entry.
9104 (holiday-in-range): Autoload it.
9105 (cal-html-htmlify-entry): Add optional class argument.
9106 (cal-html-htmlify-list): Add optional holidays argument.
9107 (cal-html-insert-agenda-days): Include holidays in the output.
9108 (cal-html-one-month): Maybe include holidays.
9109
a43f98b3
GM
9110 * calendar/holidays.el (holiday-in-range):
9111 Move here from cal-tex-list-holidays.
9112 * calendar/cal-tex.el (cal-tex-list-holidays):
9113 Make it an obsolete alias for holiday-in-range. Update all callers.
9114
fef9d149 91152012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
9116
9117 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
9118 Nextstep.
9119
248da2f4
RW
91202012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
9121
9122 * files.el (file-auto-mode-skip): New var.
9123 (set-auto-mode-1): Use it.
9124
f95e9344
SM
91252012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9126
df96ab1e
SM
9127 * repeat.el: Use lexical-binding.
9128 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
9129 (repeat-undo-count): Remove.
9130 (repeat):
9131 * progmodes/octave-mod.el (octave-abbrev-start):
9132 * progmodes/f90.el (f90-abbrev-start):
9133 * face-remap.el (text-scale-adjust):
9134 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
9135
5342bb06
SM
9136 * emacs-lisp/pcase.el (pcase--let*): New function.
9137 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
9138 a bit more.
9139 (pcase--split-pred): Be more clever about ruling out overlap between
9140 a predicate and some constant pattern.
9141 (pcase--q1): Use `null' instead of (eq foo nil).
9142
f95e9344
SM
9143 * subr.el (setq-local, defvar-local): New macros.
9144 (kbd): Redefine as an alias.
9145 (with-selected-window): Leave unrelated frames alone.
9146 (set-temporary-overlay-map): New function.
9147
71873e2b
SM
91482012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9149
9150 * subr.el (user-error): New function.
9151 * window.el (switch-to-buffer):
9152 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
9153 (smerge-match-conflict):
9154 * simple.el (previous-matching-history-element)
9155 (next-matching-history-element, goto-history-element, undo-more)
9156 (undo-start):
9157 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
9158 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
9159 (next-file, tags-loop-scan, list-tags, complete-tag):
9160 * progmodes/compile.el (compilation-loop):
9161 * mouse.el (mouse-minibuffer-check):
9162 * man.el (Man-bgproc-sentinel, Man-goto-page):
9163 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
9164 (Info-history-forward, Info-follow-reference, Info-menu)
9165 (Info-extract-menu-item, Info-extract-menu-counting)
9166 (Info-forward-node, Info-backward-node, Info-next-menu-item)
9167 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
9168 (Info-next-reference, Info-prev-reference, Info-index)
9169 (Info-index-next, Info-follow-nearest-node)
9170 (Info-copy-current-node-name):
9171 * imenu.el (imenu--make-index-alist)
9172 (imenu-default-create-index-function, imenu-add-to-menubar):
9173 * files.el (basic-save-buffer, recover-file):
9174 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9175 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
9176 (checkdoc-message-text, checkdoc-defun):
9177 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
9178 * cus-edit.el (customize-changed-options, customize-rogue)
9179 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
9180 (custom-variable-mark-to-reset-standard)
9181 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
9182 (custom-file):
9183 * completion.el (check-completion-length):
9184 * comint.el (comint-search-arg)
9185 (comint-previous-matching-input-string-position)
9186 (comint-previous-matching-input)
9187 (comint-replace-by-expanded-history-before-point, comint-send-input)
9188 (comint-copy-old-input, comint-backward-matching-input)
9189 (comint-goto-process-mark, comint-set-process-mark):
9190 * calendar/calendar.el (calendar-cursor-to-date): Use it.
9191 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
9192
8a61ee22
SM
91932012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9194
66408d1e
SM
9195 * dabbrev.el (dabbrev--ignore-case-p): New function.
9196 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
9197 Use it.
9198
8a61ee22
SM
9199 * files.el (automount-dir-prefix): Mark as obsolete.
9200
3c74813a
GM
92012012-05-04 Glenn Morris <rgm@gnu.org>
9202
9203 * patcomp.el, play/bruce.el: Move to obsolete/.
9204
0bfcf5c5
PE
92052012-05-04 Paul Eggert <eggert@cs.ucla.edu>
9206
9207 Fix minor Y10k bugs.
9208 * arc-mode.el (archive-unixdate):
9209 * autoinsert.el (auto-insert-alist):
9210 * calc/calc-forms.el (math-this-year):
9211 * emacs-lisp/copyright.el (copyright-current-year)
9212 (copyright-update-year, copyright):
9213 * tar-mode.el (tar-clip-time-string):
9214 * time.el (display-time-update):
9215 Don't assume years have 4 digits.
9216
78f3273a
CY
92172012-05-04 Chong Yidong <cyd@gnu.org>
9218
9219 * dos-w32.el (file-name-buffer-file-type-alist)
9220 (direct-print-region-use-command-dot-com):
9221 * ffap.el (ffap-menu-regexp):
9222 * find-file.el (ff-special-constructs):
9223 * follow.el (follow-debug):
9224 * forms.el (forms--debug):
9225 * iswitchb.el (iswitchb-all-frames):
9226 * ido.el (ido-all-frames):
9227 * emacs-lisp/timer.el (timer-max-repeats):
9228 * mail/feedmail.el (feedmail-mail-send-hook)
9229 (feedmail-mail-send-hook-queued):
9230 * mail/footnote.el (footnote-signature-separator):
9231 * mail/mailabbrev.el (mail-alias-separator-string)
9232 (mail-abbrev-mode-regexp):
9233 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
9234 * progmodes/idlwave.el (idlwave-libinfo-file)
9235 (idlwave-default-completion-case-is-down)
9236 (idlwave-library-routines): Convert defvars to defcustoms.
9237
9238 * mail/rmail.el (rmail-decode-mime-charset):
9239 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
9240 (idlwave-shell-fix-inserted-breaks)
9241 (idlwave-shell-activate-alt-keybindings)
9242 (idlwave-shell-use-breakpoint-glyph):
9243 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
9244
f7ae6719
SM
92452012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9246
9247 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
9248
47086495
WS
92492012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
9250
9251 * progmodes/verilog-mode.el (font-lock-keywords):
9252 Fix mis-highligting auto. Reported by Craig Barner.
9253 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 9254 defines from global name space. Reported by Dan Dever.
47086495
WS
9255 (verilog-auto-reset, verilog-auto-reset-widths)
9256 (verilog-auto-tieoff): Support using unbased numbers for
9257 AUTORESET and AUTOTIEOFF.
9258 (verilog-submit-bug-report): Update variable list.
9259 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 9260 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
9261 (verilog-auto-template-lint): Fix hash error when linting modules
9262 with no used templates.
9263 (verilog-warn, verilog-warn-error)
9264 (verilog-warn-fatal): When non-interactive report multiple
9265 warnings before exiting. Suggested by Brad Dobbie.
9266 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
9267 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
9268 to report unused template errors. Reported by Brad Dobbie.
9269 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 9270 nets, bug438. Reported by Vns Blore.
47086495
WS
9271 (verilog-auto-inout-module, verilog-auto-reg)
9272 (verilog-read-decls, verilog-read-sub-decls-sig)
9273 (verilog-signals-edit-wire-reg, verilog-signals-with):
9274 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 9275 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
9276 "reg" for backwards compatibility presuming Verilog 2001.
9277 (verilog-auto-ascii-enum): Add "auto enum" as alias.
9278 (verilog-preprocess): Fix replication of preprocess output.
9279 Reported by Brad Dobbie.
9280 (verilog-auto-inst-interfaced-ports):
9281 Create verilog-auto-inst-interfaced-ports, bug429.
9282 Reported by Julian Gorfajn.
9283 (verilog-after-save-font-hook)
9284 (verilog-before-save-font-hook): New variable.
9285 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
9286 (verilog-save-font-mods): Wrap disabling fontification, reported
9287 by David Rogoff.
9288 (verilog-do-indent, verilog-pretty-declarations-auto)
9289 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
9290 Reported by Pierre-David Pfister.
9291 (verilog-set-auto-endcomments): Fix endtask auto comments outside
9292 of class declarations, bug292. Reported by Kevin Heilman.
9293 (verilog-read-decls): Fix 'parameter type' not appearing in
9294 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
9295 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 9296 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
9297 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
9298 Reported by David Kravitz.
9299
93002012-05-03 Michael McNamara <mac@mail.brushroad.com>
9301
9302 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
9303 assignment with tests in ifs and for loops.
9304 (verilog-extended-complete-re, verilog-complete-reg): Change so
9305 that DPI inport functions don't look like fuction declarations.
9306 (verilog-pretty-expr): Don't line up assignment
9307 operations to the test and increment in if and for loops
9308 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 9309 that DPI inport functions don't look like fuction declarations.
47086495 9310
2e51d4b5
KH
93112012-05-03 Kenichi Handa <handa@m17n.org>
9312
9313 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 9314 decoding, and show a warning message without signaling an error
2e51d4b5
KH
9315 (Bug#11282).
9316
2bd785a2
SM
93172012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9318
9319 * emacs-lisp/bytecomp.el
9320 (byte-compile-file-form-custom-declare-variable): Compile all elements,
9321 since cconv.el might have introduced :fun-body, internal-make-closure,
9322 and friends for bytecomp to handle (bug#11391).
9323 * custom.el (defcustom): Avoid ((λ ..) ..).
9324
99d27583
SM
93252012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
9326
9327 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
9328
55a71479
JB
93292012-05-02 Juanma Barranquero <lekktu@gmail.com>
9330
9331 * notifications.el (dbus-debug):
9332 * term/linux.el (gpm-mouse-enable):
9333 * term/screen.el (xterm-register-default-colors): Declare.
9334
7b97c764
CY
93352012-05-02 Chong Yidong <cyd@gnu.org>
9336
2bc356d7
CY
9337 * cus-start.el (gc-cons-percentage, exec-suffixes)
9338 (dos-display-scancodes, dos-hyper-key, dos-super-key)
9339 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
9340 (make-cursor-line-fully-visible, void-text-area-pointer)
9341 (font-list-limit): Add customization data.
9342
7b97c764
CY
9343 * allout.el (allout-exposure-change-functions)
9344 (allout-structure-added-functions)
9345 (allout-structure-deleted-functions)
9346 (allout-structure-shifted-functions): Rename abnormal hooks from
9347 *-hook, and convert to defcustoms.
5d3385a0
JB
9348 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
9349 Convert to defcustoms.
7b97c764
CY
9350 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
9351
9352 * allout-widgets.el: Hook callers changed.
9353
90207a15 93542012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
9355
9356 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
9357 the yanked message in preference to the default value of
9358 buffer-file-coding-system.
9359
90207a15 93602012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 9361
5d3385a0
JB
9362 * window.el (display-buffer--action-function-custom-type):
9363 Fix entry.
d9558cad 9364
90207a15 93652012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
9366
9367 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
9368
d80ac57b
GM
93692012-05-01 Glenn Morris <rgm@gnu.org>
9370
976f7668
GM
9371 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
9372
beb83b5a
GM
9373 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
9374
d80ac57b
GM
9375 * cus-edit.el (custom-variable-documentation): Simplify with format.
9376
b593d6a9 93772012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 9378 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
9379
9380 * simple.el (suggest-key-bindings, execute-extended-command):
9381 Move from keyboard.c.
9382
782fbf2a
CY
93832012-05-01 Chong Yidong <cyd@gnu.org>
9384
9385 * follow.el: Eliminate advice.
9386 (set-process-filter, process-filter, sit-for): Advice deleted.
9387 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
9388 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
9389 Vars deleted.
782fbf2a
CY
9390 (follow-auto): Use a :set function.
9391 (follow-mode): Rewritten. Don't advise process filters.
9392 (follow-switch-to-current-buffer-all, follow-scroll-up)
9393 (follow-scroll-down): Assume follow-mode is bound.
9394 (follow-comint-scroll-to-bottom)
9395 (follow-align-compilation-windows): New functions.
9396 (follow--window-sorter): New function.
9397 (follow-all-followers): Use it to explicitly sort windows by their
9398 positions; don't make assumptions about next-window order.
9399 (follow-windows-start-end, follow-delete-other-windows-and-split)
9400 (follow-calc-win-start): Doc fix.
9401 (follow-windows-aligned-p, follow-select-if-visible): Don't call
9402 vertical-motion unnecessarily.
9403 (follow-adjust-window): New function.
9404 (follow-post-command-hook): Use it.
9405 (follow-call-set-process-filter, follow-call-process-filter)
9406 (follow-intercept-process-output, follow-tidy-process-filter-alist)
9407 (follow-stop-intercept-process-output, follow-generic-filter):
9408 Functions deleted.
9409 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
9410 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
9411 New functions, replacing advice on scroll-bar-* commands.
87233a14 9412 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
9413
9414 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
9415 (comint-postoutput-scroll-to-bottom): Use it.
9416 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 9417
290af740
GM
94182012-05-01 Glenn Morris <rgm@gnu.org>
9419
9420 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
9421 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
9422 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
9423 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
9424 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
9425 Remove no-byte-compile setting.
9426
6eac8dc9
SM
94272012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9428
9429 * minibuffer.el (completion-table-with-quoting): Fix compatibility
9430 all-completions code to not return a number in the last cdr.
9431
9cc7819c
LL
94322012-04-30 Leo Liu <sdl.web@gmail.com>
9433
9434 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
9435 read-only error.
9436
c93b886f
CY
94372012-04-29 Chong Yidong <cyd@gnu.org>
9438
9439 * follow.el (follow-calc-win-end): Rewrite to handle partial
9440 screen lines correctly (Bug#8390).
9441 (follow-avoid-tail-recenter): Minor cleanup.
9442
8b6c19f4
SM
94432012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9444
9445 Avoid the obsolete `assoc' package.
9446 * speedbar.el (speedbar-refresh): Avoid adelete.
9447 (speedbar-file-lists): Simplify and avoid aput.
9448 * man.el (Man--sections, Man--refpages): New vars, replacing
9449 Man-sections-alist and Man-refpages-alist.
9450 (Man-build-section-alist, Man-build-references-alist):
9451 Use them; avoid aput.
9452 (Man--last-section, Man--last-refpage): New vars.
9453 (Man-follow-manual-reference): Use them.
9454 Use the `default' arg of completing-read.
9455 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
9456
c5bb7569
CY
94572012-04-27 Chong Yidong <cyd@gnu.org>
9458
d1d2e2e8
CY
9459 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
9460
15cd8efd
CY
9461 * startup.el (x-apply-session-resources): New function.
9462
9463 * term/ns-win.el (ns-initialize-window-system):
9464 * term/w32-win.el (w32-initialize-window-system):
9465 * term/x-win.el (x-initialize-window-system): Use it to properly
9466 set menu-bar-mode and other vars from X resources, even if the
9467 initial frame is not a window-system frame (Bug#2299).
9468
c5bb7569
CY
9469 * subr.el (read-key): Avoid running filter function when setting
9470 up temporary tool bar entries (Bug#9922).
9471
a8e7d6d7 94722012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
9473
9474 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
9475 (Bug#11344)
9476
a8e7d6d7 94772012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
9478
9479 * select.el (xselect--encode-string): New function, split from
9480 xselect-convert-to-string.
9481 (xselect-convert-to-string): Use it.
9482 (xselect-convert-to-filename, xselect-convert-to-os)
9483 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
9484 returned strings are properly encoded (Bug#11315).
9485
a8e7d6d7 94862012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
9487
9488 * simple.el (delete-active-region): Move to killing custom group.
9489
a8e7d6d7 94902012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
9491
9492 * progmodes/which-func.el (which-func-current): Quote %
9493 characters for mode-line processing.
9494
578c1d4b 94952012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
9496
9497 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
9498 reaching eob (Bug#11286).
9499
a8e7d6d7 95002012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
9501
9502 * progmodes/gdb-mi.el (gdb-control-level): New variable.
9503 (gdb): Make it buffer-local and init to zero.
9504 (gdb-control-commands-regexp): New variable.
9505 (gdb-send): Don't wrap in "-interpreter-exec console" if
9506 gdb-control-level is positive. Increment gdb-control-level
9507 whenever the command matches gdb-control-commands-regexp, and
9508 decrement it each time the command is "end". (Bug#11279)
9509
a8e7d6d7 95102012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
9511
9512 * window.el (adjust-window-trailing-edge, enlarge-window)
9513 (shrink-window, window-resize):
9514 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
9515 windows (Bug#11276).
9516
b3608390
CY
95172012-04-27 Chong Yidong <cyd@gnu.org>
9518
9519 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 9520 fix "missing prefix" warning. All callers changed.
b3608390 9521
797e6e88
SM
95222012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9523
9524 * emacs-lisp/assoc.el: Move to obsolete/.
9525
e95a67dc
SM
95262012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9527
657c21e4 9528 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
9529
9530 * term/ns-win.el (ns-define-service):
9531 * progmodes/pascal.el (pascal-goto-defun):
9532 * progmodes/js.el (js--read-tab):
9533 * progmodes/etags.el (tags-lazy-completion-table):
9534 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
9535 * emacs-lisp/ewoc.el (ewoc--wrap):
9536 * emacs-lisp/assoc.el (aput, adelete, amake):
9537 * doc-view.el (doc-view-convert-current-doc):
9538 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
9539
cb3e7ae0
CY
95402012-04-26 Chong Yidong <cyd@gnu.org>
9541
dce04f7f
CY
9542 * image.el (image-type-from-buffer): Only return supported image
9543 type (Bug#9045).
9544
cb3e7ae0
CY
9545 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
9546 value, for symmetry with diff-end-of-hunk.
9547 (diff-split-hunk, diff-find-source-location)
9548 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
9549 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
9550 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
9551 compute the relevant hunk or file properly (Bug#6005).
9552 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
9553
0d42eb3e
SM
95542012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9555
9556 * vc/vc-mtn.el:
9557 * vc/vc-hg.el:
9558 * vc/vc-git.el:
9559 * vc/vc-dir.el:
9560 * vc/vc-cvs.el:
9561 * vc/vc-bzr.el:
9562 * vc/vc-arch.el:
9563 * vc/vc.el: Replace lexical-let by lexical-binding.
9564 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
9565 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
9566 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
9567
f08ae1c9
CY
95682012-04-26 Chong Yidong <cyd@gnu.org>
9569
8b71081d
CY
9570 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
9571 (diff-mode-shared-map): Bind it to / and [remap undo].
9572
f08ae1c9
CY
9573 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
9574 (ediff-window-setup-function): Use it as the default, to set up
9575 windows based on whether the current frame is graphical (Bug#2138).
9576 (ediff-choose-window-setup-function-automatically): Make obsolete.
9577
9578 * vc/ediff-init.el: Always define ediff-pixel-width/height.
9579
ef24141c
SM
95802012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9581
cc356a5d
SM
9582 * ffap.el: Remove old code for obsolete package.
9583 (ffap-complete-as-file-p): Remove.
9584
b4ff4f1f
SM
9585 Use completion-table-with-quoting for comint and pcomplete.
9586 * comint.el (comint--unquote&requote-argument)
9587 (comint--unquote-argument, comint--requote-argument): New functions.
9588 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
9589 (comint-quote-filename): Use regexp-opt-charset.
9590 (comint--common-suffix, comint--common-quoted-suffix)
9591 (comint--table-subvert): Remove.
9592 (comint-unquote-function, comint-requote-function): New vars.
9593 (comint--complete-file-name-data): Use them with
9594 completion-table-with-quoting.
9595 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
9596 * pcomplete.el (pcomplete-arg-quote-list)
9597 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
9598 (pcomplete-unquote-argument-function): Default to non-nil.
9599 (pcomplete-unquote-argument): Simplify.
9600 (pcomplete--common-quoted-suffix): Remove.
9601 (pcomplete-requote-argument-function): New var.
9602 (pcomplete--common-suffix): New function.
9603 (pcomplete-completions-at-point): Use completion-table-with-quoting
9604 and completion-table-subvert.
9605
79c4eeb4
SM
9606 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
9607 (minibuffer--double-dollars): Preserve properties.
9608 (completion--sifn-requote): New function.
9609 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
9610
ef24141c
SM
9611 * minibuffer.el: Add support for completion of quoted/escaped data.
9612 (completion-table-with-quoting, completion-table-subvert): New funs.
9613 (completion--twq-try, completion--twq-all): New functions.
9614 (completion--nth-completion): New function.
9615 (completion-try-completion, completion-all-completions): Use it.
9616
784e7d6e
LL
96172012-04-25 Leo Liu <sdl.web@gmail.com>
9618
dd2ac746
SM
9619 * progmodes/python.el (python-pdbtrack-get-source-buffer):
9620 Use compilation-message if available to find real filename.
784e7d6e 9621
07875ee7
CY
96222012-04-25 Chong Yidong <cyd@gnu.org>
9623
9624 * vc/diff-mode.el (diff-setup-whitespace): New function.
9625 (diff-mode): Use it.
9626
9627 * vc/diff.el (diff-sentinel):
9628 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
9629 Whitespace mode variables based on diff style (Bug#8612).
9630
5055880d
LL
96312012-04-25 Leo Liu <sdl.web@gmail.com>
9632
daf75653
LL
9633 * progmodes/python.el (python-send-region): Add suffix .py to the
9634 temp file.
9635
5055880d
LL
9636 * files.el (auto-mode-alist): Use javascript-mode instead.
9637
db9b177b
AH
96382012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
9639
ef24141c 9640 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 9641
090bd7cb 9642 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 9643 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 9644 references, see Bug#9.
ef24141c 9645 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 9646 when receiving a fault reply.
ef24141c 9647 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 9648
090bd7cb 9649 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 9650 (soap-inspect-simple-type): New function.
db9b177b 9651
090bd7cb 9652 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 9653 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
9654 (soap-decode-basic-type, soap-encode-basic-type):
9655 support unsignedInt and double basic types.
db9b177b 9656 (soap-resolve-references-for-simple-type)
ef24141c
SM
9657 (soap-parse-simple-type, soap-encode-simple-type): New function.
9658 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 9659
090bd7cb 9660 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
9661 (soap-default-soapenc-types): Add integer, byte and anyURI types.
9662 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
9663 the local name of "soapenc:Array".
9664 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
9665 decoding integer, byte and anyURI xsd types.
9666
1fc6097b
CY
96672012-04-25 Chong Yidong <cyd@gnu.org>
9668
9669 * cus-edit.el (custom-buffer-create-internal): Update header text.
9670
afc6df87
EZ
96712012-04-25 Eli Zaretskii <eliz@gnu.org>
9672
9673 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
9674 settings on 'system-type', not on 'window-system'. On MS-Windows,
9675 set interactive-mode on in GDB.
9676
dfbd787f
SM
96772012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9678
9679 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
9680 (ruby-syntax-propertize-regexp): Remove.
9681 (ruby-syntax-propertize-function): Split regexp into chunks.
9682 Match following code directly.
9683
85222d44
DG
96842012-04-24 Dmitry Gutov <dgutov@yandex.ru>
9685
51a8ea2a
DG
9686 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
9687 (ruby-syntax-propertize-regexp): New function.
9688 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
9689 by a special keyword.
9690
85222d44
DG
9691 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
9692 (ruby-syntax-general-delimiters-goto-beg)
9693 (ruby-syntax-propertize-general-delimiters): New functions.
9694 (ruby-syntax-propertize-function): Use them to handle GDL.
9695 (ruby-font-lock-keywords): Move old handling of GDL...
9696 (ruby-font-lock-syntactic-keywords): .. to here.
9697 (ruby-calculate-indent): Adjust indentation for GDL.
9698
b613912b
MA
96992012-04-24 Michael Albinus <michael.albinus@gmx.de>
9700
b5380639
MA
9701 * notifications.el (top): Remove unneeded declarations.
9702 (notifications-specification-version): Change to "1.2".
e43042fe 9703 (notifications-interface, notifications-notify-method)
b613912b
MA
9704 (notifications-close-notification-method): Fix docstring.
9705 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
9706 (notifications-notify): Add :action-items, :resident and
9707 :transient hints. Change "image_data" to "image-data" and
9708 "image_path" to "image-path".
b613912b
MA
9709 (notifications-get-capabilities): New defun.
9710
257440aa
LL
97112012-04-24 Leo Liu <sdl.web@gmail.com>
9712
9713 * progmodes/python.el: Move hideshow setup to the end.
9714
b1bac16e
MR
97152012-04-24 Martin Rudalics <rudalics@gmx.at>
9716
9717 * window.el (handle-select-window): Clear echo area since this is
9718 no more done by read_char (Bug#11304).
9719
d81bd059
SM
97202012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9721
9722 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
9723 and `/ M' to filter-derived-mode.
9724 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
9725 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
9726 (ibuffer-mark-by-mode): Use default rather than initial-input.
9727 (ibuffer-filter-by-derived-mode): Autoload and require-match.
9728
c4cf6d91
IA
97292012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
9730
9731 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
9732 (ibuffer-filter-by-derived-mode): New filter.
9733 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
9734
7511ded8
CY
97352012-04-23 Andreas Politz <politza@fh-trier.de>
9736
9737 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
9738
775c916b
CY
97392012-04-23 Chong Yidong <cyd@gnu.org>
9740
9741 * cus-edit.el (customize-apropos, customize-apropos-options):
9742 Disable matching of non-option variables (Bug#11176).
9743 (customize-option, customize-option-other-window)
9744 (customize-changed-options): Doc fix.
9745 (customize-apropos-options, customize-apropos-faces)
9746 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
9747
9748 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 9749 Fix word list splitting (Bug#11132).
46c71e23
CY
9750 (apropos-symbol, apropos-keybinding, apropos-label)
9751 (apropos-property, apropos-function-button)
9752 (apropos-variable-button, apropos-misc-button): New faces.
9753 (apropos-symbol-face, apropos-keybinding-face)
9754 (apropos-label-face, apropos-property-face, apropos-match-face):
9755 Variables removed (Bug#8396).
9756 (apropos-library-button, apropos-format-plist, apropos-print)
9757 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 9758
2df41f9c
MA
97592012-04-23 Michael Albinus <michael.albinus@gmx.de>
9760
9761 * net/xesam.el (xesam-mode-map): Use let-bound map in
9762 initialization. (Bug#11292)
9763
da00640a
AM
97642012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9765
9766 Preserve ispell session localwords when switching back to
9767 original buffer.
9768
090bd7cb
JB
9769 * textmodes/ispell.el (ispell-buffer-session-localwords):
9770 New buffer-local variable to hold buffer session localwords.
ed9265fc 9771 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
9772 localwords.
9773 (ispell-command-loop, ispell-change-dictionary)
9774 (ispell-buffer-local-words): Preserve session localwords when
9775 needed.
9776
090bd7cb
JB
9777 * textmodes/flyspell.el (flyspell-process-localwords)
9778 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 9779
f621ccf5
AM
97802012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9781
090bd7cb
JB
9782 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
9783 using obsolete `translation-table-for-input'.
ef24141c
SM
9784 (ispell-word, ispell-process-line, ispell-complete-word):
9785 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 9786
c2d1019e
CY
97872012-04-22 Chong Yidong <cyd@gnu.org>
9788
9789 * cus-edit.el (custom-variable-menu)
9790 (custom-variable-reset-saved, custom-face-menu)
9791 (custom-face-reset-saved): If there is no saved value, make the
9792 "reset-saved" operation bring back the default (Bug#9509).
9793 (custom-face-state): Properly detect themed faces.
9794
eeddc531
CY
9795 * faces.el (face-spec-set): Stop supporting deprecated form of
9796 third arg.
9797
dcbf5805
MA
97982012-04-22 Michael Albinus <michael.albinus@gmx.de>
9799
9800 Move functions from C to Lisp. Make non-blocking method calls
9801 the default. Implement further D-Bus standard interfaces.
9802
ef24141c
SM
9803 * net/dbus.el (dbus-message-internal): Declare function.
9804 Remove unneeded function declarations.
dcbf5805
MA
9805 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
9806 (dbus-message-type-method-return, dbus-message-type-error)
9807 (dbus-message-type-signal): Declare variables. Remove local
9808 definitions.
9809 (dbus-interface-dbus, dbus-interface-peer)
9810 (dbus-interface-introspectable, dbus-interface-properties)
9811 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
9812 Adapt docstring.
9813 (dbus-interface-objectmanager): New defconst.
9814 (dbus-call-method, dbus-call-method-asynchronously)
9815 (dbus-send-signal, dbus-method-return-internal)
9816 (dbus-method-error-internal, dbus-register-service)
9817 (dbus-register-signal, dbus-register-method): New defuns, moved
9818 from dbusbind.c
9819 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
9820 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
9821 New defuns.
dcbf5805
MA
9822 (dbus-call-method-non-blocking): Make it an obsolete function.
9823 (dbus-unregister-object, dbus-unregister-service)
9824 (dbus-handle-event, dbus-register-property)
9825 (dbus-property-handler): Obey the new structure of
9826 `bus-registered-objects'.
9827 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
9828 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
9829 Use `dbus-call-method'.
9830
cf20dee0
CY
98312012-04-22 Chong Yidong <cyd@gnu.org>
9832
9833 * cus-edit.el (custom-commands, custom-reset-menu)
9834 (Custom-reset-standard): Tweak labels.
9835 (custom-reset-button-menu): Change default to t.
9836 (custom-buffer-create-internal): For the custom-reset-button-menu
9837 case, put the revert button first.
9838 (custom-group-subtitle): New face.
9839 (custom-group-value-create): Align docstring to a specific column.
9840
9841 * wid-edit.el (widget-documentation-link-add): Don't handle
9842 indentation in this function.
9843 (widget-documentation-string-indent-to): New function.
9844 (widget-documentation-string-value-create): Use it.
9845
9846 * autorevert.el (auto-revert):
9847 * epg-config.el (epg):
9848 * ibuffer.el (ibuffer):
9849 * mpc.el (mpc):
9850 * ses.el (ses):
9851 * eshell/eshell.el (eshell):
9852 * net/ange-ftp.el (ange-ftp):
9853 * progmodes/ebnf2ps.el (postscript):
9854 * progmodes/flymake.el (flymake):
9855 * progmodes/prolog.el (prolog):
9856 * progmodes/verilog-mode.el (verilog-mode):
9857 * progmodes/which-func.el (which-func):
9858 * term/xterm.el (xterm):
9859 * textmodes/picture.el (picture):
9860 * textmodes/tildify.el (tildify):
9861 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
9862 customization buffers.
9863
583e23bd
AM
98642012-04-22 Alan Mackenzie <acm@muc.de>
9865
9866 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
9867 Adding a ) can hide the resulting (..) from searches. Fix it.
9868 Bound the backward search to the position of the existing (.
9869
7dd51bf1
JB
98702012-04-21 Juanma Barranquero <lekktu@gmail.com>
9871
9872 * progmodes/verilog-mode.el (verilog-mode): Check whether
9873 which-func-modes is t before adding verilog-mode.
9874 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
9875
d64a438f
LL
98762012-04-21 Leo Liu <sdl.web@gmail.com>
9877
7dd51bf1 9878 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 9879
081e8d65
MV
98802012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
9881
9882 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
9883 filling of the last column of a table (Bug#5635).
9884 (woman-find-next-control-line): New arg, specifying an additional
9885 regexp component for the control line.
9886 (woman2-roff-buffer): Use it.
9887 (woman-break-table): New function.
9888 (woman2-TS): Use it.
9889
98902012-04-21 Chong Yidong <cyd@gnu.org>
9891
9892 * woman.el (woman-set-buffer-display-table, woman-decode-region)
9893 (woman-horizontal-escapes, woman-negative-vertical-space)
9894 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
9895 (WoMan-warn-ignored): Use ?\s instead of ?\ .
9896
ed571ccb
SM
98972012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9898
9899 * minibuffer.el (completion-file-name-table): Complete user names.
9900
39773899
LL
99012012-04-20 Leo Liu <sdl.web@gmail.com>
9902
9903 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
9904 and pcase-let*.
9905
de6ff46d
CY
99062012-04-20 Chong Yidong <cyd@gnu.org>
9907
9908 * server.el (server-execute): Respect initial-buffer-choice if it
9909 is a string and there are no files to open (Bug#2825).
9910 (server-create-window-system-frame, server-create-tty-frame):
9911 Don't switch buffers here.
2d0e8e61
CY
9912 (server-process-filter): Only try to open a window system frame if
9913 compiled with graphical support (Bug#8314).
de6ff46d 9914
54071013
DN
99152012-04-20 Dan Nicolaescu <dann@gnu.org>
9916
9917 * battery.el (battery-echo-area-format): Display remaining time
9918 for sysfs backend too (Bug#11269).
9919 (battery-linux-sysfs): Fix conditional for the charge.
9920
f30d612a
CY
99212012-04-20 Chong Yidong <cyd@gnu.org>
9922
c07a4c0b 9923 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
9924 (gdb-inferior-io--init-proc): New function.
9925 (gdb-init-1): Use it.
9926 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
9927 responsible for allocating a new pty and hooking it to gdb when
9928 the old pty gets an EIO due to process exit.
9929 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
9930 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
9931 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
9932
2116e93c
EZ
99332012-04-20 Eli Zaretskii <eliz@gnu.org>
9934
9935 * window.el (window-min-size, window-sizable, window-min-delta)
9936 (window-max-delta, window--resizable, window-resizable)
9937 (window-total-size, window-full-height-p, window-full-width-p)
9938 (window-in-direction, window--resize-mini-window, window-resize)
9939 (window--resize-child-windows-normal)
9940 (window--resize-child-windows, window--resize-siblings)
9941 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 9942 (enlarge-window, shrink-window): Doc fixes.
2116e93c 9943
c07a4c0b 99442012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 9945
ef24141c
SM
9946 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
9947 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
9948 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
9949 pty process (Bug#11273).
9950 (gdb-update): New arg to suppress talking to the gdb process.
9951 (gdb-done-or-error): Use it.
9952 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
9953 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
9954 sentinel not being called.
9955
9956 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
9957
d02766ab
CY
9958 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
9959
c07a4c0b 99602012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
9961
9962 * net/network-stream.el (open-network-stream): Doc fix.
9963
c07a4c0b 99642012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
9965
9966 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
9967
c07a4c0b 99682012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
9969
9970 Ensure searching for keywords is case sensitive.
9971
9972 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
9973 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
9974 (c-defun-name, c-mark-function, c-cpp-define-name)
9975 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 9976 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 9977
ef24141c
SM
9978 * progmodes/cc-mode.el (c-font-lock-fontify-region):
9979 Bind case-fold-search to nil.
f0f6bc35 9980
c07a4c0b 99812012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
9982
9983 * mail/sendmail.el (mail-bury): Call return action with the right
9984 Rmail buffer (Bug#11242).
9985
9a864fa2
CY
9986 * server.el (server-process-filter): Handle corner case where both
9987 tty and nowait options are present (Bug#11102).
9988
539aa513
EZ
99892012-04-20 Eli Zaretskii <eliz@gnu.org>
9990
9991 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
9992 (top level): Put into the executable the ident-style '$Id:' tag on
9993 windows-nt as well.
539aa513 9994
cfc7d5da
SM
99952012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9996
9997 * electric.el (electric-indent-post-self-insert-function): Check that
9998 electric-indent-mode is enabled in current buffer.
9999
5b01685c
JB
100002012-04-19 Juanma Barranquero <lekktu@gmail.com>
10001
10002 * imenu.el (imenu-progress-message): Restore; it is "used" in
10003 erc/erc-imenu.el and net/snmp-mode.el.
10004
4d6769e1
JB
100052012-04-19 Juanma Barranquero <lekktu@gmail.com>
10006
10007 * avoid.el (mouse-avoidance-mode): Mark unused arg.
10008 (mouse-avoidance-nudge-mouse): Remove unused binding.
10009
10010 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
10011
10012 * descr-text.el (describe-char):
10013 * progmodes/python.el (python-describe-symbol):
10014 Don't call `toggle-read-only', set `buffer-read-only'.
10015
10016 * imenu.el (imenu-default-goto-function): Mark unused args.
10017 (imenu-progress-message): Remove obsolete macro; all callers changed.
10018
10019 * subr.el (keymap-canonicalize): Remove unused binding.
10020 (read-passwd): Mark unused arg.
10021
10022 * tutorial.el (tutorial--display-changes): Remove unused binding.
10023 (tutorial--save-tutorial-to): Remove unused variable.
10024
10025 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
10026 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
10027 (package-generate-autoloads, package-menu--generate)
10028 (package-menu--find-upgrades): Remove unused bindings.
10029
10030 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
10031 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
10032 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
10033 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
10034 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
10035 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
10036 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
10037 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
10038 (cua-delete-char-rectangle): Mark unused args.
10039 (cua-align-rectangle): Remove unused binding.
10040
10041 * mail/rmail.el (compilation--message->loc)
10042 (epa--find-coding-system-for-mime-charset): Declare.
10043
10044 * net/dbus.el (dbus-register-service): Declare.
10045 (dbus-name-owner-changed-handler): Remove unused binding.
10046
10047 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
10048 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
10049 (nxml-scan-backward-within): Mark unused arg.
10050 (nxml-dynamic-markup-word): Remove unused binding.
10051
10052 * mouse.el (mouse-menu-major-mode-map):
10053 * emacs-lisp/authors.el (authors-scan-change-log)
10054 (authors-add-to-author-list):
10055 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
10056 * emacs-lisp/smie.el (smie-auto-fill):
10057 * mail/sendmail.el (mail-bury):
10058 * mail/unrmail.el (unrmail):
10059 * net/tls.el (open-tls-stream):
10060 * textmodes/picture.el (picture-mouse-set-point):
10061 Remove unused bindings.
10062
8c8fc5df
MA
100632012-04-19 Michael Albinus <michael.albinus@gmx.de>
10064
10065 * net/tramp.el (tramp-action-password): Let-bind
10066 `enable-recursive-minibuffers' to t.
10067
a77b0ac9
SS
100682012-04-18 Sam Steingold <sds@gnu.org>
10069
10070 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
10071 instead of 'string to accommodate values like [f11].
10072 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
10073 * progmodes/gdb-mi.el: Likewise.
10074
12a106a9
LL
100752012-04-18 Leo Liu <sdl.web@gmail.com>
10076
10077 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
10078 current buffer.
10079 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
10080 LOCAL is nil.
10081
bc6494ef
CY
100822012-04-18 Chong Yidong <cyd@gnu.org>
10083
10084 * simple.el (line-move): Use forward-line if in batch mode
10085 (Bug#11053).
10086
c09c46b2
CS
100872012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
10088
10089 * files.el (after-find-file): Do not try to add a final newline if
10090 the buffer is read-only (Bug#11156).
10091
5f6530ea
RS
100922012-04-17 Richard Stallman <rms@gnu.org>
10093
10094 * mail/rmail.el (rmail-start-mail):
10095 Pass (rmail-mail-return...) for the return-action.
10096 Pass (rmail-yank-current-message...) for the yank-action.
10097 (rmail-yank-current-message): New function.
10098 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
10099 (rmail-reply): Likewise.
10100 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
10101
10102 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 10103 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
10104 buffer, not newbuf.
10105
197b6f3c
JB
101062012-04-17 Juanma Barranquero <lekktu@gmail.com>
10107
10108 * server.el (server-ensure-safe-dir): Simplify.
10109
2311d8e5 101102012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 10111
2311d8e5
GM
10112 * emacs-lisp/smie.el: Provide smarter auto-filling.
10113 (smie-auto-fill): New function.
10114 (smie-setup): Use it.
98fb480e 10115
2311d8e5
GM
10116 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
10117
101182012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
10119
10120 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
10121 (comment-indent): Use it.
10122
2311d8e5 101232012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
10124
10125 * ses.el: The overall change is to add cell renaming, that is
10126 setting fancy names for cell symbols other than name matching
10127 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 10128 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 10129 (ses-create-cell-variable): New defun.
2311d8e5 10130 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
10131 (ses-relocate-formula): Relocate formulas only for cells the
10132 symbols of which are not renamed, i.e. symbols whose names do not
10133 match regexp "\\`[A-Z]+[0-9]+\\'".
10134 (ses-relocate-all): Relocate values only for cells the symbols of
10135 which are not renamed.
10136 (ses-load): Create cells variables as the (ses-cell ...) are read,
10137 in order to check row col consistency with cell symbol name only
10138 for cells that are not renamed.
10139 (ses-replace-name-in-formula): New defun.
10140 (ses-rename-cell): New defun.
4bdf2ad2 10141
fc72b15c
PO
101422012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
10143
10144 * progmodes/perl-mode.el (perl-indent-parens-as-block):
10145 New option (bug#11118).
10146 (perl-calculate-indent): Respect it.
10147
12e10e61
GM
101482012-04-17 Glenn Morris <rgm@gnu.org>
10149
10150 * dired-aux.el (dired-mark-read-string): Doc fix.
10151
30009afd
DA
101522012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
10153
10154 * dired-aux.el (dired-mark-read-string): Offer optional completion.
10155 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
10156
41f03f4d
GM
101572012-04-17 Glenn Morris <rgm@gnu.org>
10158
10159 * mouse.el (mouse-drag-track):
10160 * speedbar.el (speedbar-frame-mode):
10161 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
10162
f45f90f3
LL
101632012-04-16 Leo Liu <sdl.web@gmail.com>
10164
10165 * progmodes/python.el: Trivial cleanup.
10166
94ee8db5
GM
101672012-04-16 Glenn Morris <rgm@gnu.org>
10168
121b8917
GM
10169 * vc/vc.el (vc-string-prefix-p):
10170 * vc/pcvs-util.el (cvs-string-prefix-p):
10171 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
10172 * mpc.el (mpc-string-prefix-p):
10173 Make all of these into obsolete aliases for string-prefix-p.
10174 Update callers.
10175 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
10176
1197ecfa
GM
10177 * textmodes/two-column.el: Move custom options to the start.
10178 (frame-width): Remove compat definition.
10179 (2C-associate-buffer, 2C-dissociate):
10180 Use with-current-buffer rather than save-excursion.
10181 (2C-dissociate): Force a mode-line update.
10182 (2C-autoscroll): Use ignore-errors.
10183
099e7202
GM
10184 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
10185 Autoload trivia.
10186
bf350d6a
GM
10187 * emacs-lisp/cl-extra.el (*random-state*):
10188 Remove unnecessary declaration.
10189
0e829eab
GM
10190 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
10191
e3ad7552
GM
10192 * play/cookie1.el (cookie-snarf):
10193 Give an explicit error if input file cannot be read.
10194
68892d27
GM
10195 * play/yow.el (yow-file): Use expand-file-name rather than concat.
10196
20f0c46d
GM
10197 * progmodes/perl-mode.el (c-macro-expand):
10198 Remove unnecessary autoload (it is in loaddefs.el).
10199
5a0978ce
GM
10200 * textmodes/picture.el (picture-desired-column)
10201 (picture-update-desired-column): Convert comments to doc-strings.
10202 (picture-substitute): Remove function.
10203 (picture-mode-map): Initialize in the defvar.
10204
6b955486
GM
10205 * woman.el: Remove eval-after-load for tar-mode.
10206 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
10207 (woman-tar-extract-file): Autoload it.
10208
94ee8db5
GM
10209 * frame.el (automatic-hscrolling): Make this alias obsolete.
10210
177eca34
AM
102112012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10212
090bd7cb 10213 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 10214 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
10215 (ispell-dictionary-base-alist): Revert to original XEmacs
10216 friendly version for default. [:alpha:] will be added in
090bd7cb 10217 `ispell-set-spellchecker-params' if needed.
177eca34 10218
c505aaeb
CY
102192012-04-16 Chong Yidong <cyd@gnu.org>
10220
b19dd9d1 10221 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
10222 (imagemagick-register-types): Use it.
10223 (imagemagick-types-inhibit): Add :set function. Allow new value
10224 of t to inhibit all types.
10225
10226 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
10227 so we can preload it.
10228
10229 * loadup.el (fboundp): Preload regexp-opt, needed by
10230 imagemagick-register-types.
10231
60efac0f
CY
102322012-04-15 Chong Yidong <cyd@gnu.org>
10233
10234 * frame.el (scrolling): Remove nearly unused customization group.
10235
10236 * scroll-all.el (scroll-all-mode): Move to windows group.
10237
5dd1713e
CY
102382012-04-15 Chong Yidong <cyd@gnu.org>
10239
10240 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
10241
e6fd457e
CY
102422012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10243
10244 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 10245 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 10246
e153c136
GM
102472012-04-15 Glenn Morris <rgm@gnu.org>
10248
10249 * simple.el (process-file-side-effects): Doc fix.
10250
e6fd457e 102512012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
10252
10253 * international/mule-cmds.el (set-language-environment): Doc fix.
10254
3603c3b1
JB
102552012-04-14 Juanma Barranquero <lekktu@gmail.com>
10256
10257 * server.el (server-auth-key, server-generate-key): Doc fixes.
10258 (server-get-auth-key): Doc fix. Use `string-match-p'.
10259 (server-start): Reflow docstring.
10260
e6de100c
LI
102612012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
10262
10263 * server.el (server-generate-key): `called-interactively-p'
10264 requires a parameter.
10265
29734c21
MN
102662012-04-14 Michal Nazarewicz <mina86@mina86.com>
10267
10268 * server.el (server-auth-key): New variable.
75f1671a 10269 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
10270 (server-start): Use the new variable and functions to allow
10271 setting a permanent server key (bug#9423).
10272
d65c9521
LL
102732012-04-14 Leo Liu <sdl.web@gmail.com>
10274
10275 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
10276
5ae255c7
PE
102772012-04-14 Paul Eggert <eggert@cs.ucla.edu>
10278
10279 Spelling fixes.
10280 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
10281 Emacs uses American spelling.
10282
d5e6342e
JB
102832012-04-14 Juanma Barranquero <lekktu@gmail.com>
10284
10285 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
10286 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
10287 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
10288 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
10289
ab036cd7
SM
102902012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10291
10292 * progmodes/which-func.el (which-func-modes): Change default.
10293
35dc09a1 102942012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
10295
10296 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
10297 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
10298
35dc09a1 102992012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
10300
10301 * custom.el (custom-theme-set-variables): Doc fix.
10302
35dc09a1 103032012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
10304
10305 * international/mule.el (set-auto-coding-for-load): Doc fix.
10306
35dc09a1 103072012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 10308
35dc09a1
GM
10309 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
10310 imenu work again for Objective C Mode. Correct the *-index values,
10311 these having been disturbed by a previous change in 2011-08.
57f845ee 10312
0de3da9f
AM
10313 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
10314 Correct two search limits.
10315
35dc09a1 103162012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
10317
10318 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
10319
35dc09a1 103202012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
10321
10322 * international/characters.el: Fix sorting.
10323
35dc09a1 103242012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
10325
10326 * international/characters.el: Add more missing Latin case pairs.
10327
35dc09a1 103282012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
10329
10330 * files.el (dir-locals-set-class-variables): Doc fix.
10331
35dc09a1 103322012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 10333
3f1b5bf8
EZ
10334 * international/characters.el: Add set-case-syntax-pair call for
10335 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
10336 counterpart. (Bug#11209)
10337
9f847f41
EZ
10338 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
10339
35dc09a1 103402012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
10341
10342 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10343
35dc09a1 103442012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 10345
35dc09a1
GM
10346 * textmodes/ispell.el (ispell-dictionary-base-alist):
10347 Add data for Hebrew.
e2627d21 10348
35dc09a1 103492012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 10350
35dc09a1
GM
10351 * net/rcirc.el (rcirc-cmd-quit):
10352 Revert 2012-03-18 change (Bug#11192).
5c14e333 10353
35dc09a1 103542012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
10355
10356 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
10357
35dc09a1 103582012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 10359
4517fe3a
SM
10360 * minibuffer.el (completion-in-region-mode-map):
10361 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 10362
b472a594
VD
103632012-04-13 Vivek Dasmohapatra <vivek@etla.org>
10364
10365 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
10366
09b95ce3
MY
103672012-04-13 Masatake YAMATO <yamato@redhat.com>
10368
10369 * minibuffer.el (minibuffer-local-filename-syntax): New variable
10370 to allow `C-M-f' and `C-M-b' to move to the nearest path
10371 separator (bug#9511).
10372
4b63a9ca
LI
103732012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
10374
10375 * avoid.el: Require cl when compiling. And also move the
10376 `provide' to the end.
10377
7b55b8bf
TV
103782012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10379
10380 * avoid.el (mouse-avoidance-banish-position): New variable.
10381 (mouse-avoidance-banish-destination): Use it (bug#10165).
10382
adedaa1f
LL
103832012-04-13 Leo Liu <sdl.web@gmail.com>
10384
10385 * progmodes/which-func.el (which-func-modes): Add objc-mode.
10386
70e74021
KB
103872012-04-13 Ken Brown <kbrown@cornell.edu>
10388
10389 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 10390 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
10391 (browse-url-filename-alist): For the same reason, don't modify
10392 file:// URLs on Cygwin.
10393
e75e89ba
SM
103942012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
10395
10396 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
10397 the region on shift if the binding is already shifted (bug#11221).
10398
82f289a4
GM
103992012-04-12 Glenn Morris <rgm@gnu.org>
10400
10401 * mail/mailpost.el: Move to obsolete/.
10402
d333dc4c
DA
104032012-04-12 Drew Adams <drew.adams@oracle.com>
10404
10405 * imenu.el (imenu--generic-function): Ignore invisible definitions
10406 (bug#10123).
10407
0d15b5ba
VD
104082012-04-12 Vivek Dasmohapatra <vivek@etla.org>
10409
10410 * hexl.el (hexl-bits): New variable.
10411 (hexl-options): Mention the variable in the doc string.
75f1671a 10412 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 10413 (hexl-mode): Mention the new variable.
75f1671a
JB
10414 (hexl-mode, hexl-current-address, hexl-current-address):
10415 Use the displen.
0d15b5ba
VD
10416 (hexl-ascii-start-column): New function.
10417 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
10418 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
10419
64a440db
AM
104202012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10421
10422 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
10423 '("-i" ENCODING), in 2 separate command-line arguments, to specify
10424 the encoding, as expected by hunspell.
10425
6decb6c2
SM
104262012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10427
10428 * battery.el (battery--linux-sysfs-regexp): New const.
10429 (battery-status-function): Use it. Remove yeeloong special case.
10430 (battery-yeeloong-sysfs): Remove.
10431 (battery-echo-area-format): Remove yeeloong special case.
10432
088be6fb
SM
104332012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10434
6622e416
SM
10435 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
10436 Reported by Noah Friedman.
10437
088be6fb
SM
10438 * subr.el (read-passwd): Use read-string.
10439
b49f886e
LMI
104402012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10441
10442 * vcursor.el (vcursor-move): Increase the priority of the overlay
10443 (bug#9663).
10444
a63067fc
DD
104452012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10446
10447 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
10448 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
10449
ac3cf14a
WS
104502012-04-11 William Stevenson <yhvh2000@gmail.com>
10451
10452 * textmodes/artist.el (artist-mode): Convert artist-mode to use
10453 define-minor-mode (bug#10760).
10454
c4fc691b 104552012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 10456
4d6769e1 10457 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
10458 that directories matching `grep-find-ignored-files' won't be
10459 pruned (bug#10351).
10460
af23e2e5
CY
104612012-04-11 Chong Yidong <cyd@gnu.org>
10462
10463 * startup.el (command-line): Remove support for long-obsolete
10464 variable font-lock-face-attributes.
10465
ab7ce8c1
GM
104662012-04-11 Glenn Morris <rgm@gnu.org>
10467
10468 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
10469
de8c03dc
SM
104702012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10471
10472 * window.el (window--state-get-1): Obey window-point-insertion-type.
10473
050cc68b
LB
104742012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
10475
10476 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
10477 to previous function when point is on the first character of a
75f1671a 10478 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 10479
a38c310c
GM
104802012-04-11 Glenn Morris <rgm@gnu.org>
10481
effed0c2
GM
10482 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
10483 not just file-errors.
10484
a38c310c
GM
10485 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
10486 (vc-bzr-sha1): Use internal sha1.
10487
0221e323
SM
104882012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10489
10490 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
10491
43956923
SG
104922012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
10493
10494 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
10495 that start in the middle of the line (bug#10496).
10496
6a8c9eaf
DN
104972012-04-10 Dan Nicolaescu <dann@gnu.org>
10498
10499 * battery.el (battery-linux-proc-acpi): Only one battery is
10500 discharged at a time, but that seems to confuse battery.el when
10501 computing `rate-type' for the battery not being discharged
10502 (bug#10332).
10503
1930bf5d
SM
105042012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10505
2a718f6f
SM
10506 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
10507
599430d0
SM
10508 * international/quail.el: Use dolist and simplify.
10509 (quail-define-package, quail-update-keyboard-layout)
10510 (quail-define-rules): Use dolist.
10511 (quail-insert-kbd-layout, quail-get-translation): CSE.
10512
a2754b6c
SM
10513 * tmm.el: Use dolist, remove left over hook.
10514 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
10515 Use dolist.
10516 (calendar-load-hook): Don't mess with it.
10517
1930bf5d
SM
10518 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
10519 Use derived-mode-p. Run the diff asynchronously.
10520
9f67961c
LMI
105212012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10522
10523 * obsolete/mouse-sel.el: Add an Obsolete-since header.
10524
2a8ce227
JB
105252012-04-10 Juanma Barranquero <lekktu@gmail.com>
10526
10527 * misc.el: Display absolute path of loaded DLLs (bug#10424).
10528 (list-dynamic-libraries--loaded): New function.
10529 (list-dynamic-libraries--refresh): Use it.
10530
8f33b5f8
NW
105312012-04-10 Nathan Weizenbaum <nweiz@google.com>
10532
1930bf5d
SM
10533 * progmodes/python.el (python-fill-paragraph):
10534 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
10535 disabled (bug#7018).
10536
b12f0439
L
105372012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
10538
1930bf5d 10539 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
10540 DOS/MS Windows for the Baltic languages. There are still plenty
10541 of texts written in this encoding/codepage (bug#6519).
b12f0439 10542
57c3bd01
GM
105432012-04-10 Glenn Morris <rgm@gnu.org>
10544
10545 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
10546 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
10547
6c3eab30
FA
105482012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
10549
1930bf5d 10550 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
10551 next-line "n" and previous-line "p" in order to make recentf more
10552 consistent with ibuffer, dired or org-mode (bug#9387).
10553
24d78a88
LMI
105542012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10555
bc72b5d9
LMI
10556 * image.el (put-image): Return the overlay created instead of the
10557 optional input string (bug#7834). Note that this may break code
10558 that is (for some reason or other) depending on `put-image'
10559 returning the string.
10560
bd2dba5a
LMI
10561 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
10562
74beb59f
LMI
10563 * simple.el (zap-to-char): Allow zapping using input methods
10564 (bug#1580).
10565
24d78a88
LMI
10566 * textmodes/fill.el (fill-region): Leave point and mark where they
10567 were before filling (bug#5399).
10568
263f20cd
GM
105692012-04-09 Glenn Morris <rgm@gnu.org>
10570
10571 * version.el (emacs-bzr-get-version):
10572 Handle lightweight checkouts of local branches.
10573
58d1f797
AS
105742012-04-09 Andreas Schwab <schwab@linux-m68k.org>
10575
263f20cd 10576 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 10577
b4d3bc10
CY
105782012-04-09 Chong Yidong <cyd@gnu.org>
10579
10580 * custom.el (custom-variable-p): Return nil for non-symbol
10581 arguments instead of signaling an error.
10582 (user-variable-p): Obsolete alias for custom-variable-p.
10583
10584 * apropos.el (apropos-variable):
10585 * files-x.el (read-file-local-variable):
10586 * simple.el (set-variable):
10587 * woman.el (woman-mini-help):
10588 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
10589
fd06db5d
GM
105902012-04-09 Glenn Morris <rgm@gnu.org>
10591
e5fcdb5e
GM
10592 * startup.el (normal-top-level): Don't look for leim-list.el
10593 in places where it will not be found. (Bug#910)
10594
fd06db5d
GM
10595 * international/mule-cmds.el (set-default-coding-systems):
10596 * files.el (normal-mode):
10597 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
10598 This function was removed with ucs-tables.el in 2008.
10599
b39bb7e1
EZ
106002012-04-08 Eli Zaretskii <eliz@gnu.org>
10601
10602 * textmodes/ispell.el (ispell-check-version): For hunspell, set
10603 ispell-encoding8-command to "-i", without a trailing space.
10604 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
10605 separate command-line arguments, to specify the encoding, since
10606 that's how hunspell expects it.
10607
5c5b8e23
GM
106082012-04-08 Glenn Morris <rgm@gnu.org>
10609
10610 * loadup.el: Load bindings before cus-start.
10611 This reduces somewhat the number of "rogue" settings in emacs -Q.
10612
a1ed8b05
GM
106132012-04-07 Glenn Morris <rgm@gnu.org>
10614
10615 * version.el (emacs-bzr-get-version): New function.
dfae128a 10616 (emacs-bzr-version): New variable.
a1ed8b05
GM
10617 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
10618 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
10619
b142f158
EZ
106202012-04-07 Eli Zaretskii <eliz@gnu.org>
10621
dfae128a
GM
10622 * international/uni-bidi.el, international/uni-category.el:
10623 * international/uni-combining.el, international/uni-decimal.el:
10624 * international/uni-decomposition.el, international/uni-digit.el:
10625 * international/uni-lowercase.el, international/uni-mirrored.el:
10626 * international/uni-name.el, international/uni-numeric.el:
10627 * international/uni-titlecase.el, international/uni-uppercase.el:
10628 Update for Unicode 6.1.
b142f158 10629
9078ead6
EZ
106302012-04-07 Eli Zaretskii <eliz@gnu.org>
10631
10632 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
10633
f23d2c7d
LMI
106342012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
10635
10636 * window.el (shrink-window): Mention the `window-min-height'
10637 variable in the doc string.
10638
0a0a3573
BG
106392012-04-05 Bastien Guerry <bzg@altern.org>
10640
10641 * color.el (color-lighten-name): Fix typo.
10642
e5248ac9
SM
106432012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10644
10645 * server.el (server--on-display-p): New function.
10646 (server--on-display-p): Use it.
10647
b4243e22
GV
106482012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
10649
10650 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
10651 (bug#11145).
10652
305d9f44
SM
106532012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10654
10655 * comint.el (comint--common-quoted-suffix): Check string boundary
10656 before comparing (bug#11158).
10657 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
10658
3d439cd1
CY
106592012-04-04 Chong Yidong <cyd@gnu.org>
10660
321cc491
CY
10661 * minibuffer.el (completion-extra-properties): Doc fix.
10662
3d439cd1
CY
10663 * subr.el (delayed-warnings-hook): Doc fix.
10664
2d562c0f
DU
106652012-04-04 Daiki Ueno <ueno@unixuser.org>
10666
10667 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
10668 selection (Bug#11159).
10669 (epa-insert-keys): Inform that the default public key will be
10670 exported if no key is selected.
10671
4443f204
RS
106722012-04-04 Richard Stallman <rms@gnu.org>
10673
10674 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
10675
529c06b6
CY
106762012-04-03 Chong Yidong <cyd@gnu.org>
10677
10678 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
10679 mail-insert-file, not its obsolete alias mail-attach-file.
10680
66b907dc
MA
106812012-04-03 Michael Albinus <michael.albinus@gmx.de>
10682
10683 * notifications.el (notifications-notify): Fix docstring.
10684
c0ea195d
GM
106852012-04-02 Glenn Morris <rgm@gnu.org>
10686
10687 * emacs-lisp/authors.el (authors-aliases): Another addition.
10688
5ca64e00
MA
106892012-04-02 Michael Albinus <michael.albinus@gmx.de>
10690
10691 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
10692 `tramp-compat-call-process' instead of `tramp-local-call-process'.
10693 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
10694
42ee526b
CY
106952012-04-01 Chong Yidong <cyd@gnu.org>
10696
10697 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
10698 Handle root directory properly.
10699 (copy-directory): Caller changed.
10700
10701 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10702 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
10703
0b021094
GM
107042012-03-31 Glenn Morris <rgm@gnu.org>
10705
40f86458
GM
10706 * term/xterm.el (xterm-extra-capabilities): Doc fix.
10707
7019c177
GM
10708 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
10709
a1daddd6
GM
10710 * calendar/calendar.el (calendar-window-list)
10711 (calendar-hide-window): Restore. (Bug#11140)
10712 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
10713
0b021094
GM
10714 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
10715
40311efc
TV
107162012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10717
10718 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10719 Check if file is a symlink (Bug#10489).
10720
10721 * files.el (copy-directory): Likewise.
10722
5319014e
CY
107232012-03-30 Chong Yidong <cyd@gnu.org>
10724
10725 * image.el (imagemagick-types-inhibit)
10726 (imagemagick-register-types): Doc fix.
10727
935d1290
AM
107282012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10729
090bd7cb 10730 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 10731 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 10732 and treats ~word as ordinary words in pipe mode.
935d1290 10733
61c6e8fd
GM
107342012-03-30 Glenn Morris <rgm@gnu.org>
10735
10736 * tutorial.el (help-with-tutorial): Ensure local variables don't
10737 happen to make the buffer read-only. (Bug#11127)
10738
81fdff00
SM
107392012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
10740
10741 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
10742 (perl-calculate-indent): Return `noindent' in strings.
10743
6e7a6ec0
SS
107442012-03-28 Sam Steingold <sds@gnu.org>
10745
10746 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
10747 instead of the broken adhockery which does not prevent calendar
10748 buffers from being displayed at random after exit.
10749 (calendar-window-list, calendar-hide-window): Remove the broken
10750 adhockery.
10751
fee88ca0
GM
107522012-03-28 Glenn Morris <rgm@gnu.org>
10753
10754 * replace.el (query-replace-map): Doc fix.
10755
38de3354
AS
107562012-03-28 Andreas Schwab <schwab@linux-m68k.org>
10757
10758 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
10759 contents. (Bug#11109)
10760
b973155e
SM
107612012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10762
10763 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
10764 (bug#11077).
10765 (avl-tree--check, avl-tree--check-node): New funs.
10766
dcb6e7b3
MR
107672012-03-27 Martin Rudalics <rudalics@gmx.at>
10768
10769 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
10770 (switch-to-prev-buffer, switch-to-next-buffer):
10771 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
10772 showing a buffer already is done on the same frame.
10773
b4fa35fa
GM
107742012-03-27 Glenn Morris <rgm@gnu.org>
10775
10776 * startup.el (mail-host-address): Doc fix.
10777
f9210e18
SM
107782012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10779
10780 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
10781 than 197 variables.
10782
c0bf7753
AF
107832012-03-26 Ami Fischman <ami@fischman.org>
10784
10785 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
10786
33da7b16
GM
107872012-03-26 Glenn Morris <rgm@gnu.org>
10788
02243d9d
GM
10789 * files.el (save-buffers-kill-emacs): Doc fix.
10790
33da7b16
GM
10791 * startup.el (normal-top-level, command-line, command-line-1):
10792 Give them doc strings.
10793
e5a69fd0
EZ
107942012-03-25 Eli Zaretskii <eliz@gnu.org>
10795
10796 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 10797 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 10798
9a69676a
CY
107992012-03-25 Chong Yidong <cyd@gnu.org>
10800
4125cb8b
CY
10801 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
10802 theme if it was previously enabled before (Bug#11031).
10803
dd470960
CY
10804 * cus-theme.el (custom-theme-write-faces): Retrieve current face
10805 spec with custom-face-get-current-spec if its :shown-value is not
10806 determined yet (Bug#9337).
4125cb8b 10807 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 10808
9a69676a
CY
10809 * button.el (button-at): Minor addition to docstring.
10810
6e7e90fa
SL
108112012-03-24 Simon Leinen <simon.leinen@gmail.com>
10812
10813 * vc/vc.el (vc-merge): Fix a prompt.
10814
f06e2758
CY
108152012-03-24 Chong Yidong <cyd@gnu.org>
10816
10817 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
10818 point (Bug#9623).
10819
6e7e90fa
SL
10820 * button.el (button-at): Minor addition to docstring.
10821
b9d0879b
SM
108222012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10823
10824 * newcomment.el (comment-choose-indent): No space after BOL.
10825
e71cebb3
SS
108262012-03-22 Sam Steingold <sds@gnu.org>
10827
10828 * window.el (switch-to-prev-buffer): Revert last patch because the
10829 bug turned out to be an advertised feature (Elisp manual 28.14).
10830
335aff35
GM
108312012-03-22 Glenn Morris <rgm@gnu.org>
10832
10833 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
10834 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
10835
c676576a
LMI
108362012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10837
10838 * net/network-stream.el (network-stream-open-starttls): Make error
10839 message under Windows be less misleading.
10840
126f3d39
LW
108412012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
10842
10843 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
10844 understands (bug#9942).
10845
64fee311
CY
108462012-03-22 Chong Yidong <cyd@gnu.org>
10847
10848 * simple.el (end-of-visible-line): Handle return value of
10849 next-single-property-change properly (Bug#9371).
10850
a640d29a
KH
108512012-03-22 Kenichi Handa <handa@m17n.org>
10852
10853 * international/quail.el (quail-insert-kbd-layout): Fix previous
10854 change. To avoid unwanted bidi reordering, use
10855 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
10856
39675016
DG
108572012-03-21 Dmitry Gutov <dgutov@yandex.ru>
10858
10859 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
10860 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
10861 (ruby-beginning-of-indent): Be more careful with the difference
10862 between word-boundary and symbol boundary.
10863 (ruby-mode-syntax-table): Make : a symbol constituent.
10864
0a6934fc 108652012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 10866
3d008e4f
SM
10867 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
10868
0a6934fc
SM
108692012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10870
af67c9d7
SM
10871 * progmodes/etags.el (tags-completion-at-point-function):
10872 Improve last fix.
10873
1acad97c
SM
10874 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
10875
e298b5da
SS
108762012-03-21 Sam Steingold <sds@gnu.org>
10877
10878 * progmodes/etags.el (tags-completion-at-point-function):
10879 Avoid the error when point is inside the pattern.
10880
91d82a70
JY
108812012-03-21 John Yates <john@yates-sheets.org> (tiny change)
10882
10883 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
10884 line (Bug#10855).
10885
69188b79
CY
108862012-03-21 Drew Adams <drew.adams@oracle.com>
10887
10888 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
10889
99fc91fe
AK
108902012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
10891
10892 * ido.el (ido-set-current-directory, ido-read-internal)
10893 (ido-choose-completion-string, ido-completion-help): Handle nil
10894 value of ido-completion-buffer (Bug#11008).
10895
087bbb4c
SS
108962012-03-21 Sam Steingold <sds@gnu.org>
10897
10898 * window.el (switch-to-prev-buffer): Do not switch to a visible
10899 window previous buffer, just like with the frame previous buffers.
10900
fb5b8aca
CY
109012012-03-21 Chong Yidong <cyd@gnu.org>
10902
10903 * faces.el (make-face, make-empty-face, copy-face):
10904 * face-remap.el (face-remap-add-relative, face-remap-set-base):
10905 Doc fixes.
10906
dc9924b8
SM
109072012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10908
10909 * wid-edit.el (widget-complete-field): Remove (bug#11051).
10910 (widget-complete): Remove broken use of it.
10911
f0bcceb9
CY
109122012-03-20 Chong Yidong <cyd@gnu.org>
10913
dc9924b8
SM
10914 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10915 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
10916 characters.
10917
ee52ebf3
TH
109182012-03-20 Tassilo Horn <tassilo@member.fsf.org>
10919
10920 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
10921 to draw rectangles, not squares. (Regression introduced by revno
10922 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
10923
4c5779ab
CY
109242012-03-18 Chong Yidong <cyd@gnu.org>
10925
10926 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
10927 it is not yet defined (for temacs).
10928
15360934
LL
109292012-03-18 Leo Liu <sdl.web@gmail.com>
10930
735135f9
PE
10931 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
10932 prefix.
15360934 10933
d9a8eb66
EZ
109342012-03-17 Eli Zaretskii <eliz@gnu.org>
10935
10936 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
10937 (ispell-choices-win-default-height, ispell-silently-savep)
10938 (ispell-dictionary-alist, ispell-encoding8-command)
10939 (ispell-check-version, ispell-aspell-find-dictionary)
10940 (ispell-valid-dictionary-list, ispell-words-keyword)
10941 (ispell-get-word, ispell-internal-change-dictionary)
10942 (ispell-region, ispell-skip-region-list)
10943 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
10944 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
10945 (ispell-message-text-end, ispell-message)
10946 (ispell-buffer-local-parsing): Doc fix.
10947
f02ff80d
J
109482012-03-13 Jambunathan K <kjambunathan@gmail.com>
10949
10950 * htmlfontify.el: Add support for code block fontification for ODT
10951 export (Bug #9914).
10952 (hfy-optimisations): Define new option
10953 `body-text-only'
10954 (hfy-fontify-buffer): Honor above setting.
10955 (hfy-begin-span, hfy-end-span): New routines factored out form
10956 `hfy-fontify-buffer'.
10957 (hfy-begin-span-handler, hfy-end-span-handler): New variables
10958 that permit insertion of custom tags.
10959 (hfy-fontify-buffer): Use above handlers.
10960 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
10961 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 10962 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 10963 over multiple runs. This is made possible by having the caller let
f02ff80d
J
10964 bind a special variable `hfy-user-sheet-assoc'.
10965 (htmlfontify-string): New defun.
10966 (hfy-compile-face-map): Make sure that the last char in the
10967 buffer is correctly fontified.
10968 (hfy-face-resolve-face): Whitespace only change.
10969
9ac7a13f
EZ
109702012-03-17 Eli Zaretskii <eliz@gnu.org>
10971
10972 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
10973 message more clear.
10974
e2b5bdd7
LL
109752012-03-16 Leo Liu <sdl.web@gmail.com>
10976
10977 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
10978
2e492df3
AM
109792012-03-16 Alan Mackenzie <acm@muc.de>
10980
10981 Further optimise the handling of large macros.
10982
10983 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
10984 limit to a call of `c-literal-limits'.
10985 (c-determine-+ve-limit): New function.
dc9924b8
SM
10986 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
10987 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
10988 In CASE 5B, restrict a search limit to 500.
10989 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
10990
10991 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
10992 Restrict macro bounds to +-500 from after-change's BEG END.
10993
50e94f0c
LL
109942012-03-16 Leo Liu <sdl.web@gmail.com>
10995
10996 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
10997
6f09f6ed
AH
109982012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
10999
11000 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 11001 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 11002
c7e73d51
GM
110032012-03-16 Glenn Morris <rgm@gnu.org>
11004
da986230
GM
11005 * view.el (view-buffer, view-buffer-other-window)
11006 (view-buffer-other-frame): Doc fixes re special mode-class.
11007
0835f01e
GM
11008 * subr.el (eval-after-load): If named feature is provided not from
11009 a file, run after-load forms. (Bug#10946)
11010
c7e73d51
GM
11011 * calendar/calendar.el (calendar-insert-at-column):
11012 Handle non-unit-width characters a bit better. (Bug#10978)
11013
3f2eafd1
CY
110142012-03-15 Chong Yidong <cyd@gnu.org>
11015
11016 * emacs-lisp/ring.el (ring-extend): New function.
11017 (ring-insert+extend): Extend the ring correctly (Bug#11019).
11018
11019 * comint.el (comint-read-input-ring)
11020 (comint-add-to-input-history): Grow comint-input-ring lazily.
11021
103af3fe
SM
110222012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11023
663b1677
SM
11024 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
11025 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
11026
103af3fe
SM
11027 * imenu.el: Fix multiple inheritance breakage (bug#9199).
11028 (imenu-add-to-menubar): Don't add a redundant index.
11029 (imenu-update-menubar): Handle a dynamically composed keymap.
11030
899cb7cb
KY
110312012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
11032
11033 * mail/sendmail.el (mail-encode-header):
11034 Bind rfc2047-encode-encoded-words to nil.
11035
3809f91d
GM
110362012-03-13 Glenn Morris <rgm@gnu.org>
11037
11038 * calendar/calendar.el (calendar-string-spread):
11039 Handle non-unit-width characters a bit better. (Bug#10978)
11040
9e345a01
LL
110412012-03-13 Leo Liu <sdl.web@gmail.com>
11042
11043 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
11044 directory and file as argument (Bug#10822).
11045
4a07df36
KS
110462012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
11047
11048 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
11049 For dynamically generated code, follow $PC.
11050 (gdb-disassembly-handler-custom): Handle no function name case.
11051
4aaa9356
TL
110522012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
11053
11054 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
11055 * emulation/ws-mode.el (ws-query-replace):
11056 * sort.el (sort-regexp-fields):
11057 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
11058
225979da
SM
110592012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11060
11061 * dabbrev.el: Fix cycle completion order (bug#10963).
11062 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
11063 (dabbrev-completion): Don't use an obarray; provide
11064 a cycle-sort-function.
11065
e2f1fdab
LL
110662012-03-12 Leo Liu <sdl.web@gmail.com>
11067
dc9924b8 11068 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
11069 (kill-do-not-save-duplicates): Doc fix.
11070
b19490ed
SM
110712012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11072
11073 * dabbrev.el: Fix cycle completion (bug#10963).
11074 Use lexical binding and wrap to 80 columns.
11075 (dabbrev-completion): Delay computing the list of completions.
11076
4b05d722
KH
110772012-03-12 Kenichi Handa <handa@m17n.org>
11078
11079 * international/quail.el (quail-insert-kbd-layout): Surround each
11080 row by LRO and PDF instead of inserting many LRMs. Pad the left
11081 and right of each non-spacing marks. Insert invisible space
11082 between lower and upper characters to prevent composition.
11083
dbbc2e69
SM
110842012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11085
11086 * minibuffer.el (minibuffer-complete): Don't get confused when the
11087 function is run twice via different commands (bug#10958).
11088 (complete-with-action): Fix docstring.
11089
292112ed
CY
110902012-03-12 Chong Yidong <cyd@gnu.org>
11091
5d1ac394
CY
11092 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
11093 (nxml-completion-at-point-function): New function.
11094 (nxml-mode): Use it.
11095 (nxml-bind-meta-tab-to-complete-flag): Default to t.
11096
292112ed
CY
11097 * emacs-lisp/package.el (package-unpack, package-unpack-single):
11098 Load generated autoloads file before byte compiling (Bug#10970).
11099 (package--make-autoloads-and-compile): New helper fun.
11100
4098f8f7
CS
111012012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
11102
11103 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
11104
8f754691
MA
111052012-03-11 Michael Albinus <michael.albinus@gmx.de>
11106
11107 * autorevert.el (auto-revert-handler): Ensure, that
11108 file-readable-p is applied only for local files or in
11109 auto-revert-tail-mode.
11110
e29ab36b
AS
111112012-03-11 Andreas Schwab <schwab@linux-m68k.org>
11112
dbbc2e69
SM
11113 * server.el (server-eval-at): Handle non-tcp connections.
11114 Decode result string.
ad0bf5b6 11115
e29ab36b
AS
11116 * server.el (server-msg-size): New constant.
11117 (server-reply-print): New function.
11118 (server-eval-and-print): Use it.
11119 (server-eval-at): Use server-quote-arg and server-unquote-arg.
11120 Handle -print-nonl.
11121
de5939ba
CS
111222012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
11123
11124 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
11125 (Bug#10987).
11126
0c93eabf
CY
111272012-03-11 Chong Yidong <cyd@gnu.org>
11128
397a688f
CY
11129 * simple.el (goto-line): Doc fix (Bug#9938).
11130
2cc775f9
CY
11131 * subr.el (save-window-excursion): Doc fix (Bug#9979).
11132
0c93eabf
CY
11133 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
11134 when finished (Bug#10963).
11135
c491fa41
MR
111362012-03-11 Martin Rudalics <rudalics@gmx.at>
11137
11138 * window.el (split-window-below): Fix bug in case where
11139 split-window-keep-point is nil (Bug#10971).
11140
300e8fa5
JL
111412012-03-11 Juri Linkov <juri@jurta.org>
11142
11143 * replace.el (replace-highlight): Set isearch-word to nil
11144 unconditionally. (Bug#10887)
11145
dbf6c5a1
EZ
111462012-03-10 Eli Zaretskii <eliz@gnu.org>
11147
11148 * net/mairix.el (mairix-replace-invalid-chars): Rename from
11149 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 11150 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
11151 (mairix-widget-create-query): Add usage information about mairix
11152 search forms: negating words, searching for substrings, etc.
11153
b9e501de
JP
111542012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
11155
11156 * international/fontset.el (font-encoding-alist): Add an entry for
11157 ksx1001 (Bug#5667).
11158
92795c91
RS
111592012-03-10 Richard Stallman <rms@gnu.org>
11160
1694e6c1
RS
11161 * mail/sendmail.el (mail-encode-header):
11162 Set rfc2047-encode-encoded-words.
11163
607e8555
RS
11164 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
11165
de3bc99a
RS
11166 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
11167 view buffer means not swapped.
11168 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
11169 (rmail-write-region-annotate): Error if real text has disappeared.
11170
92795c91
RS
11171 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
11172
699bd04e
CY
111732012-03-10 Chong Yidong <cyd@gnu.org>
11174
11175 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
11176 * emulation/cua-base.el (cua--init-keymaps):
11177 Add delete-forward-char to remappings (Bug#9666).
699bd04e 11178
570a1714
MR
111792012-03-10 Martin Rudalics <rudalics@gmx.at>
11180
dbbc2e69
SM
11181 * speedbar.el (speedbar-unhighlight-one-tag-line):
11182 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 11183
82dcf4e4
CY
111842012-03-10 Chong Yidong <cyd@gnu.org>
11185
7a2c7ca7
CY
11186 * minibuffer.el (completion-in-region, completion-help-at-point):
11187 Give the completion field overlay a high priority (Bug#6830).
11188
82dcf4e4
CY
11189 * dired.el (dired-goto-file): Recognize absolute file name
11190 listings (Bug#7126).
11191 (dired-goto-file-1): New helper function.
11192 (dired-toggle-read-only): Inhibit warnings.
11193
052e28ac
MA
111942012-03-09 Michael Albinus <michael.albinus@gmx.de>
11195
75f1671a 11196 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
11197 there are no properties.
11198
95d5e396
LL
111992012-03-09 Leo Liu <sdl.web@gmail.com>
11200
11201 * savehist.el (savehist-printable): Stricter check for string
11202 value (Bug#10937).
11203
3f018d6d
EZ
112042012-03-09 Eli Zaretskii <eliz@gnu.org>
11205
dbbc2e69
SM
11206 * mail/smtpmail.el (smtpmail-send-it):
11207 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
11208 valid mbox format.
11209
f7fd3d79
GM
112102012-03-09 Glenn Morris <rgm@gnu.org>
11211
11212 * files.el (dir-locals-find-file):
11213 Don't check result is regular, readable.
11214 (dir-locals-read-from-file): Demote errors.
11215
6ff6e72f
EZ
112162012-03-08 Eli Zaretskii <eliz@gnu.org>
11217
dbbc2e69
SM
11218 * international/quail.el (quail-insert-kbd-layout):
11219 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
11220 layout cell, to prevent their reordering by bidi display engine.
11221 For details, see the discussion in
11222 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
11223
9cec7834
AM
112242012-03-08 Alan Mackenzie <acm@muc.de>
11225
11226 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
11227 the starting position; make it extend the marked region when
11228 invoked repeatedly - all under appropriate circumstances.
11229 Fixes bugs #5525, #10906.
11230
9a40b8d4
GM
112312012-03-08 Glenn Morris <rgm@gnu.org>
11232
11233 * files.el (locate-dominating-file, dir-locals-find-file):
11234 Undo 2012-03-06 change.
11235
7a08ed35
EZ
112362012-03-07 Eli Zaretskii <eliz@gnu.org>
11237
dbbc2e69
SM
11238 * international/quail.el (quail-help):
11239 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
11240 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
11241 for the reason.
11242
5aca4f71 112432012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
11244
11245 Avoid superfluous registering of signals. (Bug#10807)
11246
11247 * notifications.el (notifications-on-action-object)
11248 (notifications-on-close-object): New defvars.
11249 (notifications-on-action-signal, notifications-on-closed-signal):
11250 Unregister the signal if not needed any longer.
11251 (notifications-notify): Register `notifications-action-signal' or
11252 `notifications-closed-signal', if :on-action or :on-close has been
11253 passed as argument.
11254
78e8b10a
CY
112552012-03-07 Chong Yidong <cyd@gnu.org>
11256
11257 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
11258 non-X platforms.
11259
69481eb8
GM
112602012-03-06 Glenn Morris <rgm@gnu.org>
11261
11262 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11263 (x-disown-selection-internal, x-get-selection-internal):
11264 Doc fix (add arglist signatures). (Bug#10783)
11265
133b8e11
KS
112662012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
11267
11268 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
11269 Handle breakpoints with no "type".
11270
99a83064
GM
112712012-03-06 Glenn Morris <rgm@gnu.org>
11272
11273 * files.el (locate-dominating-file): Add optional predicate argument.
11274 (dir-locals-find-file): Make use of above change.
11275
17798e78
TTN
112762012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
11277
11278 * info.el (Info-insert-dir): Also try "dir.gz".
11279
eb182446
GM
112802012-03-06 Glenn Morris <rgm@gnu.org>
11281
8f2114ee
GM
11282 * files.el (dir-locals-find-file):
11283 Ignore non-readable or non-regular files. (Bug#10928)
11284
eb182446
GM
11285 * files.el (locate-dominating-file): Doc fix.
11286
24679323
AS
112872012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
11288
11289 * calendar/calendar.el (calendar-set-mode-line):
11290 `getenv' returns a string. (Bug#10951)
11291
01d972a9
LL
112922012-03-05 Leo Liu <sdl.web@gmail.com>
11293
109aa8a9
LL
11294 * simple.el (backward-delete-char-untabify): Constrain point to
11295 field (Bug#10939).
11296
01d972a9
LL
11297 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
11298
10607bea
CY
112992012-03-05 Chong Yidong <cyd@gnu.org>
11300
11301 * simple.el (count-words): If called from Lisp, return the word
11302 count, for symmetry with `count-lines'. Arglist changed.
11303 (count-words--message): Args changed. Consolidate counting code
11304 from count-words and count-words-region.
11305 (count-words-region): Caller changed.
11306 (count-lines-region): Make it an obsolete alias.
11307
5dd11cfe
TH
113082012-03-04 Tassilo Horn <tassilo@member.fsf.org>
11309
11310 * saveplace.el (save-place-to-alist)
11311 (save-place-ignore-files-regexp): Allow value nil to disable this
11312 feature.
11313
c349f4e6
CY
113142012-03-04 Chong Yidong <cyd@gnu.org>
11315
11316 * faces.el (face-spec-reset-face): For the default face, reset the
11317 attributes to default values (Bug#10748).
11318
e627be4c
LMI
113192012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11320
11321 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
11322 previous patch: Check `message-send-mail-function', and not the
11323 default function (bug#10897).
11324
ebeabff4
MA
113252012-03-04 Michael Albinus <michael.albinus@gmx.de>
11326
a41a6cf4
MA
11327 * notifications.el (notifications-on-action-signal)
11328 (notifications-on-closed-signal): Check for unique service name of
11329 incoming event. Fix error in removing entry.
ebeabff4 11330 (top): Register for signals with wildcard service name.
a41a6cf4 11331 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 11332
c1ca42b4
CY
113332012-03-04 Chong Yidong <cyd@gnu.org>
11334
dc9924b8 11335 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 11336
ea16568d
GM
113372012-03-04 Glenn Morris <rgm@gnu.org>
11338
11339 * abbrev.el (copy-abbrev-table, abbrev-table-p)
11340 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
11341 (expand-abbrev, define-abbrev-table): Doc fixes.
11342
fbae4637
LMI
113432012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11344
11345 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
11346 `message-default-send-mail-function' and not `send-mail-function'
11347 when doing the prompting for `sendmail-query-once' before sending
11348 in Message buffers (bug#10897).
11349
a1e7225c
LMI
11350 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
11351 This is inconsistent with all the other stream functions, which leave
11352 the setting up to the higher levels (if so wanted) (bug#10931).
11353
56d093a9
AM
113542012-03-02 Alan Mackenzie <acm@muc.de>
11355
11356 Depessimize the handling of very large macros.
11357
11358 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
11359 (c-macro-cache-syntactic): New variables to implement a one
11360 element macro cache.
11361 (c-invalidate-macro-cache): New function.
11362 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
11363 Adapt to use the new cache.
11364 (c-state-safe-place): Use better the cache of safe positions.
11365 (c-state-semi-nonlit-pos-cache)
11366 (c-state-semi-nonlit-pos-cache-limit):
11367 New variables for...
11368 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
11369 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
11370 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
11371 Use c-state-semi-safe-place.
56d093a9 11372
dbbc2e69
SM
11373 * progmodes/cc-langs.el (c-get-state-before-change-functions):
11374 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 11375
817e5c3d
MA
113762012-03-02 Michael Albinus <michael.albinus@gmx.de>
11377
dbbc2e69
SM
11378 * jka-compr.el (jka-compr-call-process):
11379 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
11380 not remote.
11381
a032a702
MA
113822012-03-01 Michael Albinus <michael.albinus@gmx.de>
11383
11384 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
11385 access of FILE2, if FILE1 does not exist.
11386
99a54f21
MA
11387 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
11388 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
11389
11390 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
11391 Add "PAGER=" to `process-environment'.
11392
f6561e1f
MM
113932012-03-01 Michael R. Mauger <mmaug@yahoo.com>
11394
11395 * progmodes/sql.el: Bug fix
11396 (sql-get-login-ext): Save login values in globals.
11397 (sql-get-login): Use new version of `sql-get-login-ext'.
11398 (sql-interactive-mode): Set global `sql-connection' to nil.
11399 (sql-connect): Set global values for connection.
11400 (sql-product-interactive): Save global values as buffer local.
11401
2d44d9cc
LL
114022012-02-29 Leo Liu <sdl.web@gmail.com>
11403
11404 * abbrev.el (define-abbrevs): Reset sys to nil.
11405
96b49301 114062012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11407
bf7f9bc5
JB
11408 * files.el (file-equal-p): Rename from `files-equal-p'.
11409 Return nil when one or both files don't exist.
96b49301 11410 (file-subdir-of-p): Now only top directory must exists,
11411 return nil if it doesn't.
bf7f9bc5
JB
11412 (copy-directory): No need to test with `file-subdir-of-p' after
11413 creating dir.
11414 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
11415 to `file-equal-p'.
96b49301 11416
44e97401
GM
114172012-02-28 Glenn Morris <rgm@gnu.org>
11418
11419 * shell.el (shell-mode):
11420 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
11421 * play/landmark.el (landmark-font-lock-face-O):
11422 * play/handwrite.el (handwrite):
11423 * play/gomoku.el (gomoku-O):
11424 * net/browse-url.el (browse-url-browser-display):
11425 * international/mule.el (define-charset):
11426 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
11427 * filesets.el (filesets-find-file-delay):
11428 * eshell/em-xtra.el (eshell-xtra):
11429 * eshell/em-unix.el (eshell-grep):
11430 * emulation/viper.el (viper-mode):
11431 * emacs-lisp/regexp-opt.el (regexp-opt-group):
11432 * emacs-lisp/easymenu.el (easy-menu-define):
11433 * calendar/timeclock.el (timeclock-use-display-time):
11434 * bs.el (bs-mode):
11435 * bookmark.el (bookmark-save-flag):
11436 Doc fix (standardize possessive apostrophe usage).
11437
c98c6276
CY
114382012-02-27 Chong Yidong <cyd@gnu.org>
11439
bf7f9bc5
JB
11440 * emulation/viper-cmd.el (viper-intercept-ESC-key):
11441 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 11442
c98c6276
CY
11443 * font-lock.el (font-lock-specified-p): Rename from
11444 font-lock-spec-present. Callers changed.
11445
9c62cd04 114462012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 11447
bf7f9bc5
JB
11448 * emacs-lisp/package.el (package-compute-transaction):
11449 Handle holding a package version to t in package-load-list.
8ac9e529 11450
530739c9
MA
114512012-02-26 Michael Albinus <michael.albinus@gmx.de>
11452
11453 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
11454 (tramp-get-inode, tramp-get-device): Use cached values.
11455
487915d7
AM
114562012-02-26 Alan Mackenzie <acm@muc.de>
11457
11458 Check there is a font-lock specification before doing initial
11459 fontification.
11460
11461 * font-core.el (font-lock-mode): Move the conditional from
11462 :after-hook to font-lock-initial-fontify.
11463 (font-lock-default-function): Move the check for a specification
11464 to font-lock-spec-present.
11465
dc9924b8 11466 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
11467 (font-lock-spec-present): New function.
11468
4fd96557
JB
114692012-02-26 Jim Blandy <jimb@red-bean.com>
11470
11471 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
11472 (gdb-send): Apply it to the operand of the '-interpreter-exec
11473 console' command, so that we can pass arguments with (say) quotes
11474 in them. Store exact string sent in gdb-debug-log (Bug#10765).
11475
9a4888c0
CY
114762012-02-26 Chong Yidong <cyd@gnu.org>
11477
07498861
CY
11478 * help-fns.el (describe-function-1): Clarify description of
11479 remapping (Bug#10844).
11480
9a4888c0
CY
11481 * files.el (files-equal-p): Doc fix.
11482 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
11483 and quit the loop once a mismatch is found.
11484
ea8fb88d
JB
114852012-02-25 Juanma Barranquero <lekktu@gmail.com>
11486
11487 * bs.el (bs--show-with-configuration): Don't throw an error
11488 if the window cannot be split; otherwise, subsequent calls to
11489 bs-show fail, restoring a stale window config. (Bug#10882)
11490
525795c1
JD
114912012-02-25 Jan Djärv <jan.h.d@swipnet.se>
11492
11493 * term/ns-win.el (global-map): Bind ns-drag-file to
11494 ns-find-file (Bug#5855, Bug#10050).
11495
f008086f
AS
114962012-02-25 Andreas Schwab <schwab@linux-m68k.org>
11497
11498 * calendar/parse-time.el (parse-time-string): Allow extractor to
11499 return nil.
11500
a3fcfa99
MA
115012012-02-25 Michael Albinus <michael.albinus@gmx.de>
11502
91027d08
JB
11503 * net/tramp.el (tramp-file-name-for-operation):
11504 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
11505
11506 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
11507 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
11508 Add COPY-CONTENTS argument.
a3fcfa99 11509
67b0de11
CY
115102012-02-25 Chong Yidong <cyd@gnu.org>
11511
11512 Add custom groups for VC backends, for consistency with vc-bzr.
11513
11514 * vc/vc-arch.el (vc-arch):
11515 * vc/vc-cvs.el (vc-cvs):
11516 * vc/vc-git.el (vc-git):
11517 * vc/vc-hg.el (vc-hg):
11518 * vc/vc-mtn.el (vc-mtn):
11519 * vc/vc-rcs.el (vc-rcs):
11520 * vc/vc-sccs.el (vc-sccs):
11521 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
11522 All relevant defcustoms reassigned.
11523
3c9dfce6
CY
115242012-02-25 Chong Yidong <cyd@gnu.org>
11525
1339bf43
CY
11526 * newcomment.el (comment-styles): Add autoload (Bug#10868).
11527
3c9dfce6
CY
11528 * term/x-win.el (x-initialize-window-system): Reduce default for
11529 x-selection-timeout to 5 seconds (Bug#8869).
11530
25b2e303 115312012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11532
ec70a47d
GM
11533 * files.el (files-equal-p, file-subdir-of-p): New functions.
11534 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 11535 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
11536 * dired-aux.el (dired-copy-file-recursive): Same.
11537 (dired-create-files): Modify destination when source is equal to
11538 dest when copying files.
53a46cd0 11539 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 11540
914260cd
MA
115412012-02-24 Michael Albinus <michael.albinus@gmx.de>
11542
11543 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
11544 (Bug#10874)
11545
2cb228f7
AM
115462012-02-23 Alan Mackenzie <acm@muc.de>
11547
11548 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
11549 parameter "after-hook:" to allow the expansion to run code after
11550 the execution of the mode hooks.
11551
11552 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 11553 from font-lock-mode-internal.
2cb228f7 11554
91027d08 11555 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
11556 :after-hook.
11557
8f0fde21
SM
115582012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11559
3e88618b
SM
11560 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
11561 (completion--cache-all-sorted-completions): New function.
11562 (completion-all-sorted-completions): Use it.
11563 (completion--do-completion, minibuffer-force-complete):
11564 Use it to re-instate the flush hook.
11565
8f0fde21
SM
11566 * icomplete.el (icomplete-completions): Replace last fix with a better
11567 one (bug#10850).
11568
8e911f6f
DG
115692012-02-23 Dmitry Gutov <dgutov@yandex.ru>
11570
11571 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
11572 when it might call us back infinitely (bug#10797).
11573
49fe4321
GM
115742012-02-23 Glenn Morris <rgm@gnu.org>
11575
11576 * minibuffer.el (completion-category-overrides): Doc fix.
11577
b291b572
SM
115782012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11579
11580 * minibuffer.el (completion-table-with-context): Fix inf-loop.
11581 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
11582
31a9ef2e
GM
115832012-02-23 Glenn Morris <rgm@gnu.org>
11584
5e6e6794 11585 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
11586 (authors-obsolete-files-regexps, authors-ignored-files)
11587 (authors-ambiguous-files, authors-renamed-files-alist):
11588 Add more entries.
11589
0bd1e074
JL
115902012-02-23 Juri Linkov <juri@jurta.org>
11591
11592 * isearch.el (isearch-occur): Sync interactive spec with occur's
11593 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
11594
b617673c
JL
11595 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
11596
19e9789e
JL
115972012-02-22 Juri Linkov <juri@jurta.org>
11598
11599 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
11600 (ucs-insert): Doc fix. Check for hex digits in the string.
11601 Don't display `nil' in the error message. (Bug#10857)
11602
f41ce09d
AM
116032012-02-22 Alan Mackenzie <acm@muc.de>
11604
7a71b18d 11605 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 11606
ac2eceee
GM
116072012-02-22 Glenn Morris <rgm@gnu.org>
11608
11609 * ffap.el (ffap-c-path):
11610 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
11611
abd1f678
CY
116122012-02-22 Chong Yidong <cyd@gnu.org>
11613
11614 * custom.el (load-theme): Doc fix.
11615
f25aef2e
GM
116162012-02-22 Glenn Morris <rgm@gnu.org>
11617
11618 * dired-x.el (dired-guess-shell-alist-default):
11619 Remove escape sequences from nroff output. (Bug#172)
11620
5f8dc2ca
GM
116212012-02-21 Glenn Morris <rgm@gnu.org>
11622
6ff86ec4
GM
11623 * vc/emerge.el (emerge-defvar-local):
11624 Set `permanent-local' property rather than unused `preserved'.
11625
be3223a3 11626 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
11627 (picture-mode-map): Use it. (Bug#10860)
11628 (picture-mode): Doc fix.
11629
3fe58f4f
JB
116302012-02-21 Juanma Barranquero <lekktu@gmail.com>
11631
11632 * newcomment.el (uncomment-region-default): Remove unused binding.
11633
f9a998c3
GM
116342012-02-21 Glenn Morris <rgm@gnu.org>
11635
11636 * textmodes/picture.el (picture-motion, picture-motion-reverse)
11637 (picture-self-insert, picture-tab-chars): Doc fix.
11638 (picture-mode-map): Fix C-a, C-e.
11639
c6029348
GM
116402012-02-20 Glenn Morris <rgm@gnu.org>
11641
11642 * emacs-lisp/authors.el (authors-aliases): Add another entry.
11643
ab1ce9d7
LL
116442012-02-20 Leo Liu <sdl.web@gmail.com>
11645
11646 * icomplete.el (icomplete-completions): Check FROM arg before
11647 passing to substring (Bug#10850).
11648
0fd40f89
CY
116492012-02-19 Chong Yidong <cyd@gnu.org>
11650
11651 * comint.el: Require ansi-color.
11652 (comint-output-filter-functions): Add ansi-color-process-output.
11653
11654 * ansi-color.el: Don't set comint-output-filter-functions; it is
11655 now in the initial value defined in comint.el.
11656 (ansi-color-apply-face-function): New variable.
11657 (ansi-color-apply-on-region): Use it.
11658 (ansi-color-apply-overlay-face): New function.
11659
11660 * shell.el (shell): No need to require ansi-color.
11661 (shell-mode): Use ansi-color-apply-face-function to highlight
11662 color escapes using font-lock-face property (Bug#10835).
11663
20af2394
CY
116642012-02-19 Chong Yidong <cyd@gnu.org>
11665
11666 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
11667 mode-line formats (Bug#10839).
11668
e23a3fbe
GM
116692012-02-18 Glenn Morris <rgm@gnu.org>
11670
b474519e
GM
11671 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
11672
11673 * mail/undigest.el (unforward-rmail-message): Doc fix.
11674
e23a3fbe
GM
11675 * saveplace.el (save-place-ignore-files-regexp): Add :version.
11676
57939ff4
EZ
116772012-02-18 Eli Zaretskii <eliz@gnu.org>
11678
11679 * international/characters.el (script-list): Sync with the latest
11680 Unicode Character Database.
11681
0c23686e
AS
116822012-02-18 Andreas Schwab <schwab@linux-m68k.org>
11683
11684 * international/titdic-cnv.el: Remove duplicate coding tag.
11685 * language/cham.el: Likewise.
11686 * language/tai-viet.el: Likewise.
11687
6818b449
GM
116882012-02-18 Glenn Morris <rgm@gnu.org>
11689
11690 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
11691 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
11692 (calendar-bahai-all-holidays-flag, calendar-other-dates):
11693 * calendar/diary-lib.el (diary-abbreviated-year-flag):
11694 * calendar/holidays.el (holiday-bahai-holidays)
11695 (calendar-holidays, list-holidays):
11696 Use utf-8 Bahá'í in doc-strings, menus, etc.
11697
0311a3fc
TH
116982012-02-17 Tassilo Horn <tassilo@member.fsf.org>
11699
11700 * saveplace.el (save-place-ignore-files-regexp): New variable
11701 allowing for excluding files from saving their location of point.
11702 The default value matches the temporary commit message editing
11703 files from Git, SVN, Bazaar, and Mercurial.
11704 (save-place-to-alist): Use it.
11705
d209e2fb 117062012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 11707 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
11708
11709 * newcomment.el (uncomment-region-default): Don't leave extra space
11710 when an arg is provided (bug#8150).
11711
ee0ce425
TZ
117122012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
11713
eb864a71 11714 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 11715
95ddf442
GM
117162012-02-17 Glenn Morris <rgm@gnu.org>
11717
11718 * net/socks.el: Require network-stream. (Bug#10599)
11719
48dd1e39 117202012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
11721
11722 * international/charprop.el:
11723 * international/uni-name.el:
11724 * international/uni-old-name.el:
11725 * international/uni-comment.el: Regenerate.
11726
d68cd087
GM
117272012-02-16 Glenn Morris <rgm@gnu.org>
11728
11729 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
11730 Interactively in calendar buffer, give an error if not on a date.
11731
13932042
GM
117322012-02-15 Glenn Morris <rgm@gnu.org>
11733
11734 * shell.el (shell-delimiter-argument-list):
11735 Revert 2011-02-17 change. (Bug#8027)
11736
c3a70e2b
CY
117372012-02-15 Chong Yidong <cyd@gnu.org>
11738
60236b0d
CY
11739 * minibuffer.el (completion-at-point-functions): Doc fix.
11740
c3a70e2b
CY
11741 * custom.el (defcustom): Doc fix; note use of defvar.
11742
9f26dc24
GM
117432012-02-15 Glenn Morris <rgm@gnu.org>
11744
11745 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
11746 Doc fixes.
11747
6546b134
GM
117482012-02-14 Glenn Morris <rgm@gnu.org>
11749
11750 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
11751
d29b2b4c
LI
117522012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
11753
11754 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
11755 way the ports list is computed.
835bdcba
LI
11756 (smtpmail-query-smtp-server): Prompt the user for a port number if
11757 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 11758
08dcdbc9
TZ
117592012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
11760
11761 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
11762
2605051a
GM
117632012-02-13 Glenn Morris <rgm@gnu.org>
11764
11765 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
11766
7ee99f32
TZ
117672012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
11768
11769 * net/gnutls.el (gnutls-trustfiles): New variable.
11770 (gnutls-negotiate): Use it.
11771
5f0af64f
LI
117722012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
11773
11774 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
11775 does its stuff if Gnus is running.
11776
c14fcc95
AM
117772012-02-13 Alan Mackenzie <acm@muc.de>
11778
11779 Fix a loop in c-set-fl-decl-start.
11780
7a71b18d 11781 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
11782 c-backward-syntactic-ws actually moves backwards.
11783
142b4d90
LL
117842012-02-13 Leo Liu <sdl.web@gmail.com>
11785
11786 * net/rcirc.el (rcirc-markup-attributes): Move point to the
11787 beginning so that all \C-o chars are removed.
11788
fa9958a6
TZ
117892012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
11790
dc9924b8 11791 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 11792
0bc5886a
AM
117932012-02-12 Alan Mackenzie <acm@muc.de>
11794
11795 Fix infinite loop with long macros.
4d6769e1 11796 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 11797
d4bd55e7
CY
117982012-02-12 Chong Yidong <cyd@gnu.org>
11799
11800 * window.el (display-buffer): Doc fix (Bug#10785).
11801
66f3fe22
GM
118022012-02-12 Glenn Morris <rgm@gnu.org>
11803
bd7da63e
GM
11804 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11805 (x-disown-selection-internal, x-get-selection-internal):
11806 Sync docs with the xselect.c versions.
11807
66f3fe22
GM
11808 * allout-widgets.el: Add missing license notice.
11809
3e0d2fa7
GM
118102012-02-11 Glenn Morris <rgm@gnu.org>
11811
cfecdf09
GM
11812 * select.el (x-get-selection-internal, x-own-selection-internal)
11813 (x-disown-selection-internal):
11814 * x-dnd.el (x-get-selection-internal): Update declarations.
11815
6d216d7f
GM
11816 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
11817
2bed3f04
GM
11818 * window.el (window-sides-slots):
11819 * tool-bar.el (tool-bar-position):
11820 * term/xterm.el (xterm-extra-capabilities):
11821 * ses.el (ses-self-reference-early-detection):
11822 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
11823 (verilog-auto-wire-type)
11824 (verilog-auto-delete-trailing-whitespace)
11825 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
11826 (verilog-auto-tieoff-declaration):
11827 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
11828 (sql-oracle-statement-starters, sql-oracle-scan-on):
11829 * progmodes/prolog.el (prolog-align-comments-flag)
11830 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
11831 (prolog-left-indent-regexp, prolog-paren-indent-p)
11832 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
11833 (prolog-types, prolog-mode-specificators)
11834 (prolog-determinism-specificators, prolog-directives)
11835 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
11836 (prolog-electric-dot-flag)
11837 (prolog-electric-dot-full-predicate-template)
11838 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
11839 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
11840 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
11841 (prolog-program-switches, prolog-prompt-regexp)
11842 (prolog-debug-on-string, prolog-debug-off-string)
11843 (prolog-trace-on-string, prolog-trace-off-string)
11844 (prolog-zip-on-string, prolog-zip-off-string)
11845 (prolog-use-standard-consult-compile-method-flag)
11846 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
11847 (prolog-imenu-max-lines, prolog-info-predicate-index)
11848 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
11849 (prolog-char-quote-workaround):
11850 * progmodes/cc-vars.el (c-defun-tactic):
11851 * net/tramp.el (tramp-encoding-command-interactive)
11852 (tramp-local-end-of-line):
11853 * net/soap-client.el (soap-client):
11854 * net/netrc.el (netrc-file):
11855 * net/gnutls.el (gnutls):
11856 * minibuffer.el (completion-category-overrides)
11857 (completion-cycle-threshold)
11858 (completion-pcm-complete-word-inserts-delimiters):
11859 * man.el (Man-name-local-regexp):
11860 * mail/feedmail.el (feedmail-display-full-frame):
11861 * international/characters.el (glyphless-char-display-control):
11862 * eshell/em-ls.el (eshell-ls-date-format):
11863 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
11864 (lisp-lambda-list-keyword-parameter-indentation)
11865 (lisp-lambda-list-keyword-parameter-alignment):
11866 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
11867 * dired-x.el (dired-omit-verbose):
11868 * cus-theme.el (custom-theme-allow-multiple-selections):
11869 * calc/calc.el (calc-highlight-selections-with-faces)
11870 (calc-lu-field-reference, calc-lu-power-reference)
11871 (calc-note-threshold):
11872 * battery.el (battery-mode-line-limit):
11873 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
11874 (archive-7z-update):
11875 * allout.el (allout-prefixed-keybindings)
11876 (allout-unprefixed-keybindings)
11877 (allout-inhibit-auto-fill-on-headline)
11878 (allout-flattened-numbering-abbreviation):
11879 * allout-widgets.el (allout-widgets-auto-activation)
11880 (allout-widgets-icons-dark-subdir)
11881 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
11882 (allout-widgets-theme-dark-background)
11883 (allout-widgets-theme-light-background)
11884 (allout-widgets-item-image-properties-emacs)
11885 (allout-widgets-item-image-properties-xemacs)
11886 (allout-widgets-run-unit-tests-on-load)
11887 (allout-widgets-time-decoration-activity)
11888 (allout-widgets-hook-error-post-time)
11889 (allout-widgets-track-decoration):
11890 Add missing :version tags to new defcustoms and defgroups.
11891
5fec1b8e
GM
11892 * progmodes/sql.el (sql-ansi-statement-starters)
11893 (sql-oracle-statement-starters): Add custom type.
11894
3e0d2fa7
GM
11895 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
11896 (prolog-system-version): Give it a type.
11897
90b671e2
EZ
118982012-02-11 Eli Zaretskii <eliz@gnu.org>
11899
11900 * term/pc-win.el (x-select-text, x-selection-owner-p)
11901 (x-own-selection-internal, x-disown-selection-internal)
11902 (x-get-selection-internal): Sync doc strings and argument lists
11903 with xselect.c, common-win.el and x-win.el. (Bug#10783)
11904
5eac0c02
LL
119052012-02-11 Leo Liu <sdl.web@gmail.com>
11906
11907 * progmodes/python.el (python-end-of-statement): Fix infinite
11908 loop. (Bug#10788)
11909
f82cb659
GM
119102012-02-10 Glenn Morris <rgm@gnu.org>
11911
11912 * international/mule-cmds.el (unify-8859-on-encoding-mode)
11913 (unify-8859-on-decoding-mode): Properly mark as obsolete.
11914
cc26d239
LI
119152012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
11916
11917 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
11918 about SMTP before checking the From header.
11919
91027d08 11920 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
11921 into own function for reuse by emacsbug.el.
11922
1be3ca5a
LL
119232012-02-10 Leo Liu <sdl.web@gmail.com>
11924
11925 * subr.el (condition-case-unless-debug): Rename from
11926 condition-case-no-debug. All callers changed.
11927 (with-demoted-errors): Fix caller.
11928
11929 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
11930 * nxml/rng-valid.el (rng-do-some-validation):
11931 * emacs-lisp/package.el (package-refresh-contents)
11932 (package-menu-execute):
11933 * desktop.el (desktop-create-buffer):
91027d08 11934 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 11935
b011fbfe
GM
119362012-02-10 Glenn Morris <rgm@gnu.org>
11937
b2096d72
GM
11938 * textmodes/bibtex.el:
11939 Add missing :version tags for new/changed defcustoms.
11940
b011fbfe
GM
11941 * files.el (remote-file-name-inhibit-cache): Doc fixes.
11942
4c7e65bf
LI
119432012-02-09 Lars Ingebrigtsen <larsi@rusty>
11944
11945 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
11946 (smtpmail-via-smtp): Use it, or fall back on the From address.
11947 (smtpmail-send-it): Ditto.
11948
f3934f6f
SM
119492012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
11950
11951 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
11952 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
11953 (byte-compile-tmp-var): New const.
11954 (byte-compile-defvar): Use it to minimize .elc size.
11955 Just use `defvar' rather than simulate it (bug#10761).
11956
a075a2c5
GM
119572012-02-09 Glenn Morris <rgm@gnu.org>
11958
cf3aa21b
GM
11959 * files.el (rename-uniquely): Doc fix. (Bug#3806)
11960
354998cd
GM
11961 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
11962 Add :version tags.
11963
dc9924b8
SM
11964 * progmodes/compile.el (compilation-error-screen-columns)
11965 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 11966
dab3703d
GM
11967 * vc/log-view.el (log-view-toggle-entry-display):
11968 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
11969
3f88cd72
GM
11970 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
11971 (report-emacs-bug-can-use-xdg-email):
11972 (report-emacs-bug-insert-to-mailer): Doc fixes.
11973 (report-emacs-bug): Message fix.
11974
d95b247d
GM
11975 * net/browse-url.el (browse-url-can-use-xdg-open)
11976 (browse-url-xdg-open): Doc fixes.
11977
a075a2c5
GM
11978 * electric.el (electric-indent-mode, electric-pair-mode)
11979 (electric-layout-rules, electric-layout-mode): Doc fixes.
11980 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
11981
ffb6157e
MR
119822012-02-08 Martin Rudalics <rudalics@gmx.at>
11983
11984 * server.el (server-unselect-display): Don't inadvertently kill
11985 the current buffer. (Bug#10729)
11986
e1ac4066
GM
119872012-02-08 Glenn Morris <rgm@gnu.org>
11988
34e8a2da
GM
11989 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
11990 (sql-list-table): Doc fixes.
11991
b4ac6e8c
GM
11992 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
11993 Comment out (does nothing).
11994
e1ac4066
GM
11995 * completion.el (dynamic-completion-mode):
11996 * dirtrack.el (dirtrack-debug-mode):
11997 * electric.el (electric-layout-mode):
11998 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
11999 * face-remap.el (text-scale-mode, buffer-face-mode):
12000 * iimage.el (iimage-mode):
12001 * image-mode.el (image-transform-mode):
12002 * minibuffer.el (completion-in-region-mode):
12003 * scroll-lock.el (scroll-lock-mode):
12004 * simple.el (next-error-follow-minor-mode):
12005 * tar-mode.el (tar-subfile-mode):
12006 * tooltip.el (tooltip-mode):
12007 * vcursor.el (vcursor-use-vcursor-map):
12008 * wid-browse.el (widget-minor-mode):
12009 * emulation/tpu-edt.el (tpu-edt-mode):
12010 * emulation/tpu-extras.el (tpu-cursor-free-mode):
12011 * international/iso-ascii.el (iso-ascii-mode):
12012 * language/thai-util.el (thai-word-mode):
12013 * mail/supercite.el (sc-minor-mode):
12014 * net/goto-addr.el (goto-address-mode):
12015 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
12016 * progmodes/cwarn.el (cwarn-mode):
12017 * progmodes/flymake.el (flymake-mode):
12018 * progmodes/glasses.el (glasses-mode):
12019 * progmodes/hideshow.el (hs-minor-mode):
12020 * progmodes/pascal.el (pascal-outline-mode):
12021 * textmodes/enriched.el (enriched-mode):
12022 * vc/smerge-mode.el (smerge-mode):
12023 Doc fixes (minor mode argument).
12024
5e0d957f
EZ
120252012-02-07 Eli Zaretskii <eliz@gnu.org>
12026
12027 * ls-lisp.el (ls-lisp-sanitize): New function.
12028 (ls-lisp-insert-directory): Use it to fix or remove any elements
12029 in file-alist with missing attributes. (Bug#4673)
12030
98d7371e
AM
120312012-02-07 Alan Mackenzie <acm@muc.de>
12032
12033 Fix spurious recognition of c-in-knr-argdecl.
12034
12035 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
12036 putative K&R region.
12037
667ced3a
AM
120382012-02-07 Alan Mackenzie <acm@muc.de>
12039
eb864a71
LM
12040 * progmodes/cc-engine.el (c-forward-objc-directive):
12041 Prevent looping in "#pragma mark @implementation".
667ced3a 12042
5b77774d
MA
120432012-02-07 Michael Albinus <michael.albinus@gmx.de>
12044
12045 * notifications.el (notifications-on-closed-signal): Make `reason'
12046 optional. (Bug#10744)
12047
af008560
GM
120482012-02-07 Glenn Morris <rgm@gnu.org>
12049
60d47423
GM
12050 * emacs-lisp/easy-mmode.el (define-minor-mode):
12051 Doc fixes for the macro and the mode it defines.
12052
dd605cc4
GM
12053 * image.el (imagemagick-types-inhibit): Doc fix.
12054
af008560
GM
12055 * cus-start.el (imagemagick-render-type): Add it.
12056
5cc59a37
LI
120572012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
12058
4d6769e1
JB
12059 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
12060 Set the default at load time, too, so that `font-lock-fontify-buffer'
12061 can be called without setting up the entire mode first. This fixes
12062 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 12063
9a6dd747
CY
120642012-02-06 Chong Yidong <cyd@gnu.org>
12065
2d16b285
CY
12066 * simple.el (list-processes--refresh): Delete exited processes
12067 (Bug#8094).
12068
171e9b6e
CY
12069 * comint.el (comint-next-prompt): next-single-char-property-change
12070 and prev-single-char-property-change never return nil (Bug#8657).
12071
9a6dd747
CY
12072 * custom.el (defcustom): Doc fix (Bug#9711).
12073
aa4589a7
CY
120742012-02-05 Chong Yidong <cyd@gnu.org>
12075
5c2a252f
CY
12076 * cus-edit.el (custom-variable-reset-backup): Quote the value
12077 before storing it in the customized-value property (Bug#6712).
4aab9006 12078 (custom-display): Add a customization type tag.
983b9602 12079 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 12080
aa4589a7
CY
12081 * wid-edit.el (widget-field-value-get): New optional arg to
12082 suppress trailing whitespace truncation.
12083 (character): Use it (Bug#2689).
12084
1ff980ae
AS
120852012-02-05 Andreas Schwab <schwab@linux-m68k.org>
12086
12087 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
12088 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
12089
03988c98
CY
120902012-02-05 Chong Yidong <cyd@gnu.org>
12091
eeb6cc88
CY
12092 * cus-edit.el (custom-variable-value-create): For mismatched
12093 types, show the current value (Bug#7600).
12094
03988c98
CY
12095 * custom.el (defcustom): Doc fix.
12096
f8cdeef0
GM
120972012-02-05 Glenn Morris <rgm@gnu.org>
12098
12099 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
12100
0696d255
JB
121012012-02-05 Juanma Barranquero <lekktu@gmail.com>
12102
12103 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
12104 (pp-buffer): Use `ignore-errors', `looking-at-p'.
12105 (pp-last-sexp): Use `looking-at-p'.
12106
34c99998
GM
121072012-02-04 Glenn Morris <rgm@gnu.org>
12108
8f05da42
GM
12109 * files.el (revert-buffer):
12110 Doc fix (mention revert-buffer-in-progress-p).
12111
f160676e
GM
12112 * emacs-lisp/ert-x.el (ert-simulate-command):
12113 Check deferred-action-list (which is obsolete) is bound.
12114
c7291ad9
GM
12115 * subr.el (with-wrapper-hook): Doc fixes.
12116
34c99998
GM
12117 * simple.el (filter-buffer-substring-functions)
12118 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
12119
6283a7d3
LL
121202012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
12121
12122 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
12123 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
12124
e96e3013
LL
121252012-02-04 Leo Liu <sdl.web@gmail.com>
12126
12127 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
12128
8ded50f2
GM
121292012-02-04 Glenn Morris <rgm@gnu.org>
12130
82ff1d13
GM
12131 * image.el (image-extension-data): Add obsolete alias.
12132
987a0a16
GM
12133 * isearch.el (isearch-update): Doc fix.
12134
ea32ef46
GM
12135 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
12136
8ded50f2
GM
12137 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
12138
eea14f31
GM
121392012-02-03 Glenn Morris <rgm@gnu.org>
12140
12141 * image.el (image-animated-p): Doc fix. Use image-animated-types.
12142 (image-animate-timeout): Doc fix.
12143
12144 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
12145
12f381b7
GM
121462012-02-02 Glenn Morris <rgm@gnu.org>
12147
953cebf5
GM
12148 * server.el (server-auth-dir): Doc fix.
12149 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
12150
12f381b7
GM
12151 * subr.el (run-mode-hooks): Doc fix.
12152
953a8c3b
JL
121532012-02-02 Juri Linkov <juri@jurta.org>
12154
12155 * image-mode.el (image-toggle-display-image): Remove tautological
12156 `major-mode' from the `derived-mode-p' test.
12157
c5d3843c
KH
121582012-02-02 Kenichi Handa <handa@m17n.org>
12159
9f6e692e 12160 * composite.el (compose-region): Cancel previous change.
c5d3843c 12161
159462d4 121622012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
12163
12164 * composite.el (compose-region, compose-string): Signal error for
12165 a null string component (Bug#6988).
12166
9f562668
CY
121672012-02-01 Chong Yidong <cyd@gnu.org>
12168
e2cef717
CY
12169 * view.el (view-buffer-other-window, view-buffer-other-frame):
12170 Handle special modes like view-buffer (Bug#10650).
12171 (view-buffer): Simplify.
12172
9f562668
CY
12173 * frame.el (set-frame-font): Tweak meaning of third argument.
12174
9f6e692e
JB
12175 * dynamic-setting.el (font-setting-change-default-font):
12176 Use set-frame-font (Bug#9982).
9f562668 12177
781acb9f
GM
121782012-02-01 Glenn Morris <rgm@gnu.org>
12179
6035be52
GM
12180 * progmodes/compile.el (compilation-internal-error-properties):
12181 Respect compilation-first-column in the "*compilation*" buffer.
12182
781acb9f
GM
12183 * emacs-lisp/easy-mmode.el (define-minor-mode):
12184 Relax :variable's test for a named function.
12185
abbceb00
AM
121862012-01-31 Alan Mackenzie <acm@muc.de>
12187
12188 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
12189 off by one error.
12190
fce3fdeb
CY
121912012-01-31 Chong Yidong <cyd@gnu.org>
12192
12193 * frame.el (set-frame-font): New arg ALL-FRAMES.
12194
12195 * menu-bar.el (menu-set-font): Use set-frame-font.
12196
12197 * faces.el (face-spec-reset-face): Don't apply unspecified
12198 attribute values to the default face.
12199
47893581
JB
122002012-01-31 Juanma Barranquero <lekktu@gmail.com>
12201
12202 * progmodes/cwarn.el (cwarn): Remove dead link.
12203 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
12204 Remove * from defcustom docstrings.
12205 (turn-on-cwarn-mode): Make obsolete.
12206 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
12207 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
12208
e58e988a
GM
122092012-01-31 Glenn Morris <rgm@gnu.org>
12210
60dc2671 12211 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 12212 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 12213 Allow named functions to be used as the cdr of :variable.
e58e988a 12214
7a3f511d
GM
122152012-01-30 Glenn Morris <rgm@gnu.org>
12216
12217 * emacs-lisp/authors.el (authors-fixed-entries):
12218 Remove reference to deleted file rnewspost.el.
12219
cb882333
JB
122202012-01-29 Juanma Barranquero <lekktu@gmail.com>
12221
12222 * window.el (window-with-parameter): Remove unused variable `windows'.
12223 (window--side-check): Remove unused variable `code'.
12224 (window--resize-siblings): Remove unused variable `first'.
12225 (adjust-window-trailing-edge): Remove unused variable `failed'.
12226 (window-deletable-p, window--delete): Remove unused variable `buffer'.
12227 Use `let', not `let*'.
12228 (balance-windows-2): Remove unused variable `found'.
12229 (window--state-put-2): Remove unused variable `splits'.
12230 (window-state-put): Remove unused variable `selected'.
12231 (same-window-p): Use `string-match-p'.
12232 (display-buffer-assq-regexp): Remove unused variable `value'.
12233 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12234 Mark argument ALIST as ignored.
12235 (pop-to-buffer): Remove unused variable `old-window'.
12236
907201af
EZ
122372012-01-29 Eli Zaretskii <eliz@gnu.org>
12238
12239 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
12240 and .lzma compressed files.
12241
ea162670
CY
122422012-01-29 Chong Yidong <cyd@gnu.org>
12243
5b95ee8a
CY
12244 * frame.el (window-system-default-frame-alist): Doc fix.
12245
ea162670
CY
12246 * dynamic-setting.el (font-setting-change-default-font): Don't
12247 change the default face if SET-FONT argument is non-nil (Bug#9982).
12248
6fccd6e8 122492012-01-29 Samuel Bronson <naesten@gmail.com>
d6e6f4b1
SB
12250
12251 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
12252
0f29fa41 122532012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
12254
12255 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
12256 breakpoints in files outside current directory (Bug#6098).
12257
db174434
CY
122582012-01-29 Chong Yidong <cyd@gnu.org>
12259
6b25e4e2
SE
12260 * progmodes/python.el: Require ansi-color at top-level.
12261
6df6ae42
JB
12262 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
12263 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
12264 (lisp-mode-abbrev-table): Add doc.
12265 (lisp-mode-variables): Don't set local-abbrev-table.
12266 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
12267
e70ee681
RW
122682012-01-28 Roland Winkler <winkler@gnu.org>
12269
12270 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
12271
ace88aa2
RW
122722012-01-28 Roland Winkler <winkler@gnu.org>
12273
12274 * textmodes/bibtex.el (bibtex-entry-alist): New function.
12275 (bibtex-set-dialect): Use it. Either set global values of
12276 dialect-dependent variables or bind these variables buffer-locally
12277 (Bug#10254).
12278 (bibtex-mode): Call bibtex-set-dialect via
12279 hack-local-variables-hook.
eb864a71
LM
12280 (bibtex-dialect): Update docstring.
12281 Add safe-local-variable predicate.
ace88aa2
RW
12282 (bibtex-entry-alist, bibtex-field-alist): Initialize via
12283 bibtex-set-dialect.
12284 (bibtex-mode-map): Define menu for each dialect.
12285 (bibtex-entry): Fix docstring.
12286
93376c5b
CY
122872012-01-28 Chong Yidong <cyd@gnu.org>
12288
12289 * eshell/esh-arg.el (eshell-quote-argument): New function.
12290
12291 * eshell/esh-ext.el (eshell-invoke-batch-file):
12292 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
12293 first arg to eshell-parse-command (Bug#10523).
12294
4372494f
DA
122952012-01-28 Drew Adams <drew.adams@oracle.com>
12296
12297 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
12298 `default-directory' is non-nil.
12299
4d4ec1f8
EZ
123002012-01-28 Eli Zaretskii <eliz@gnu.org>
12301
12302 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
12303 line that displays system-configuration-options. (Bug#9924)
12304
7c188927
DA
123052012-01-28 Drew Adams <drew.adams@oracle.com>
12306
12307 * descr-text.el (describe-char): Show information about POS, in
12308 addition to information about the character at POS. Improve and
12309 update the doc string. Change "code point" to "code point in
12310 charset", to avoid confusion with the character's Unicode code
12311 point shown above that. (Bug#10129)
12312
e0da685a
EZ
123132012-01-28 Eli Zaretskii <eliz@gnu.org>
12314
12315 * descr-text.el (describe-char): Show the raw character, not only
12316 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
12317 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
12318 for the reasons.
12319
70550acf
PH
123202012-01-28 Phil Hagelberg <phil@hagelb.org>
12321
eb864a71
LM
12322 * emacs-lisp/package.el (package-install):
12323 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 12324
0ce8e868
CY
123252012-01-28 Chong Yidong <cyd@gnu.org>
12326
cb882333
JB
12327 * emacs-lisp/package.el (package-maybe-load-descriptor):
12328 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
12329 (package-maybe-load-descriptor): Use it.
12330 (package-download-transaction): Fully load required packages
12331 inside the loop, so that `require' calls work (Bug#10593).
12332 (package-install): No need to call package-initialize now.
12333
2e7f3bea
CY
123342012-01-28 Chong Yidong <cyd@gnu.org>
12335
6e9bad14
CY
12336 * simple.el (deactivate-mark): Doc fix (Bug#8614).
12337
f823b8ca
CY
12338 * tooltip.el (tooltip-mode): Doc fix.
12339 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
12340
2680c309
CY
12341 * frame.el (set-cursor-color): Doc fix (Bug#352).
12342
d7a9e63b
CY
12343 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
12344 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
12345
2e7f3bea
CY
12346 * cus-edit.el (custom-buffer-create-internal): Fix search button
12347 action (Bug#10542).
2ae01800 12348 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 12349
fc4f7a23
EW
123502012-01-27 Eduard Wiebe <usenet@pusto.de>
12351
12352 * dired.el (dired-mark-files-regexp):
12353 Include any subdirectory components. (Bug#10445)
12354
7dd37071
ML
123552012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
12356
12357 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
12358 Handle [host]:port syntax. (Bug#10533)
12359
a268160b
AH
123602012-01-27 Alex Harsanyi <harsanyi@mac.com>
12361
12362 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
12363
e43273ef
GM
123642012-01-26 Glenn Morris <rgm@gnu.org>
12365
12366 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
12367 * term.el (term-raw-escape-map): Use Control-X-prefix.
12368 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
12369
1edf595d
MR
123702012-01-25 Martin Rudalics <rudalics@gmx.at>
12371
12372 * window.el (window-state-get, window--state-get-1): Don't deal
12373 with fixed-sizeness of windows. Simplify code.
12374
fa8eafef
JC
123752012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
12376
6df6ae42
JB
12377 * window.el (window--state-get-1, window--state-put-2):
12378 Don't save and restore the mark.
fa8eafef 12379
0b21c100
CY
123802012-01-25 Chong Yidong <cyd@gnu.org>
12381
12382 * custom.el (custom-variable-p): Doc fix.
12383
5ae1a6c8
GM
123842012-01-25 Glenn Morris <rgm@gnu.org>
12385
40047858
GM
12386 * dired.el (dired-goto-file): Handle some of the more common
12387 characters that `ls -b' escapes. (Bug#10596)
12388
5ddce96c
GM
12389 * progmodes/compile.el (compilation-next-error-function):
12390 Respect compilation-first-column in the "*compilation*" buffer.
12391 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
12392
5ae1a6c8
GM
12393 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
12394
b559f1a9
GM
123952012-01-24 Glenn Morris <rgm@gnu.org>
12396
12397 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
12398
6725d21a
JD
123992012-01-24 Julien Danjou <julien@danjou.info>
12400
12401 * color.el (color-rgb-to-hsl): Fix value computing.
12402 (color-hue-to-rgb): New function.
12403 (color-hsl-to-rgb): New function.
12404 (color-clamp, color-saturate-hsl, color-saturate-name)
12405 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
12406 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
12407
70df4bbe
GM
124082012-01-24 Glenn Morris <rgm@gnu.org>
12409
12410 * vc/vc-rcs.el (vc-rcs-create-tag):
12411 * vc/vc-sccs.el (vc-sccs-create-tag):
12412 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
12413
802a2ae2
ML
124142012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
12415
12416 * eshell/esh-util.el (eshell-read-hosts-file):
12417 Skip comment lines. (Bug#10549)
12418
d7128bb1
ML
12419 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
12420
d1a5c3b4
JB
124212012-01-23 Juanma Barranquero <lekktu@gmail.com>
12422
2724d9c7
JB
12423 * subr.el (display-delayed-warnings): Doc fix.
12424 (collapse-delayed-warnings): New function to collapse identical
12425 adjacent warnings.
12426 (delayed-warnings-hook): Add it.
d1a5c3b4 12427
a5509865
MA
124282012-01-22 Michael Albinus <michael.albinus@gmx.de>
12429
12430 * net/tramp.el (tramp-action-login): Set connection property "login-as".
12431
a5509865
MA
12432 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
12433 (tramp-default-user-alist): Don't add "pscp".
12434 (tramp-do-copy-or-rename-file-out-of-band): Use connection
12435 property "login-as", if set. (Bug#10530)
12436
cc6d5805
MA
124372012-01-21 Michael Albinus <michael.albinus@gmx.de>
12438
12439 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
12440 "plink1" and "psftp". (Bug#10530)
12441
124422012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
12443
12444 * international/mule-cmds.el (prefer-coding-system): Show a
12445 warning message if the default value of file-name-coding-system
12446 was not changed.
12447
f0960428
JC
124482012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12449
cb882333
JB
12450 * windmove.el (windmove-reference-loc):
12451 Fix windmove-reference-loc miscalculation.
f0960428 12452
dd6f2a63
JB
124532012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
12454
12455 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
12456 default unit.
12457
7b447e9b
GM
124582012-01-21 Glenn Morris <rgm@gnu.org>
12459
117a9ea1
GM
12460 * international/mule.el (auto-coding-alist): Add .tbz.
12461
7b447e9b
GM
12462 * files.el (local-enable-local-variables): Doc fix.
12463 (inhibit-local-variables-regexps): Rename from
12464 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
12465 Doc fix. Add some extensions from auto-coding-alist.
12466 (inhibit-local-variables-suffixes):
12467 Rename from inhibit-first-line-modes-suffixes. Doc fix.
12468 (inhibit-local-variables-p):
12469 New function, extracted from set-auto-mode-1.
12470 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
12471 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
12472 (hack-local-variables): Doc fix. Make the mode-only case
12473 respect enable-local-variables and friends.
12474 Respect inhibit-local-variables-regexps for file-locals, but
12475 not for directory-locals.
12476 (set-visited-file-name):
12477 Take account of inhibit-local-variables-regexps.
12478 Whether it applies may change as the file name is changed.
12479 * jka-cmpr-hook.el (jka-compr-install):
12480 * jka-compr.el (jka-compr-uninstall):
12481 Update for inhibit-first-line-modes-suffixes name change.
12482
dd6e3cdd
MR
124832012-01-20 Martin Rudalics <rudalics@gmx.at>
12484
12485 * help-macro.el (make-help-screen): Temporarily restore original
12486 binding for minor-mode-map-alist (Bug#10454).
12487
0d0deb38
JD
124882012-01-19 Julien Danjou <julien@danjou.info>
12489
12490 * color.el (color-name-to-rgb): Use the white color to find the max
12491 color component value and return correctly computed values.
12492 (color-name-to-rgb): Add missing float conversion for max value.
12493
34a02f46
MR
124942012-01-19 Martin Rudalics <rudalics@gmx.at>
12495
12496 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
12497 special state value for window-persistent-parameters.
12498 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
12499 (window--state-put-2): Reset all window parameters to nil before
12500 assigning values of persistent parameters.
12501
606c44c4
AM
125022012-01-18 Alan Mackenzie <acm@muc.de>
12503
12504 Eliminate sluggishness and hangs in fontification of "semicolon
12505 deserts".
12506
cb882333
JB
12507 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
12508 Change value 10000 -> 3000.
606c44c4
AM
12509 (c-state-safe-place): Reformulate so it doesn't stack up an
12510 infinite number of wrong entries in c-state-nonlit-pos-cache.
12511 (c-determine-limit-get-base, c-determine-limit): New functions to
12512 determine backward search limits disregarding literals.
12513 (c-find-decl-spots): Amend commenting.
12514 (c-cheap-inside-bracelist-p): New function which detects "={".
12515
12516 * progmodes/cc-fonts.el
12517 (c-make-font-lock-BO-decl-search-function): Give a limit to a
12518 backward search.
12519 (c-font-lock-declarations): Fix an occurrence of point being
12520 undefined. Check additionally for point being in a bracelist or
12521 near a macro invocation without a semicolon so as to avoid a
12522 fruitless time consuming search for a declarator. Give a more
12523 precise search limit for declarators using the new
12524 c-determine-limit.
12525
f3860cea
GM
125262012-01-18 Glenn Morris <rgm@gnu.org>
12527
12528 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
12529 (set-auto-mode): Doc fixes.
12530
1db03b16
GM
125312012-01-17 Glenn Morris <rgm@gnu.org>
12532
0e6038be
GM
12533 * isearch.el (search-nonincremental-instead): Fix doc typo.
12534
1db03b16
GM
12535 * dired.el (dired-insert-directory): Handle newlines in directory name.
12536 (dired-build-subdir-alist): Unescape newlines in directory name.
12537
4cb0aa75
MA
125382012-01-17 Michael Albinus <michael.albinus@gmx.de>
12539
12540 * net/tramp.el (tramp-local-end-of-line): New defcustom.
12541 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
12542 (tramp-action-terminal): Use it. (Bug#10530)
12543
1d00653d
SM
125442012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
12545
12546 * minibuffer.el (completion--replace): Strip properties (bug#10062).
12547
6a6ee00d
MR
125482012-01-16 Martin Rudalics <rudalics@gmx.at>
12549
12550 * window.el (window-state-ignored-parameters): Remove variable.
12551 (window--state-get-1): Rename argument MARKERS to IGNORE.
12552 Handle persistent window parameters. Make copy of clone-of
12553 parameter only if requested. (Bug#10348)
12554 (window--state-put-2): Install a window parameter only if it has
12555 a non-nil value or an existing parameter shall be overwritten.
12556
97912def
MA
125572012-01-15 Michael Albinus <michael.albinus@gmx.de>
12558
12559 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
12560
688070a5
EZ
125612012-01-14 Eli Zaretskii <eliz@gnu.org>
12562
12563 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
12564 don't pass the (nil) value of `upnode' to string-match.
12565
301afadc
CY
125662012-01-14 Chong Yidong <cyd@gnu.org>
12567
12568 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 12569 Fix values recognized by the cursorBlink resource.
301afadc 12570
9e5788aa
PE
125712012-01-14 Paul Eggert <eggert@cs.ucla.edu>
12572
12573 * epg.el (epg--make-temp-file): Avoid permission race condition
12574 when running on old Emacs versions (bug#10403).
12575
3cdb7f5a
GM
125762012-01-14 Glenn Morris <rgm@gnu.org>
12577
12578 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
12579
8c82b1b4
AM
125802012-01-13 Alan Mackenzie <acm@muc.de>
12581
12582 Fix filling for when filladapt mode is enabled.
12583
12584 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
12585 c-mask-paragraph, pass in `fill-paragraph' rather than
12586 `fill-region-as-paragraph'. (This is a reversion of a previous
12587 change.)
eb864a71
LM
12588 * progmodes/cc-mode.el (c-basic-common-init):
12589 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 12590
e517eda4
GM
125912012-01-13 Glenn Morris <rgm@gnu.org>
12592
1498536e
GM
12593 * dired.el (dired-switches-escape-p): New function.
12594 (dired-insert-directory): Use dired-switches-escape-p.
12595 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
12596
e517eda4
GM
12597 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
12598
328f984d
GM
125992012-01-12 Glenn Morris <rgm@gnu.org>
12600
12601 * mail/sendmail.el (mail-mode): Update paragraph-separate for
12602 changes in adaptive-fill-regexp. (Bug#10276)
12603
2cc769a8
AM
126042012-01-11 Alan Mackenzie <acm@muc.de>
12605
12606 Fix Emacs bug #10463 - put `widen's around the critical spots.
12607
1d00653d 12608 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
12609 widen around each invocation of c-state-pp-to-literal. Remove an
12610 unused let variable.
12611
e52c37fa
GM
126122012-01-11 Glenn Morris <rgm@gnu.org>
12613
12614 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 12615 Doc fix.
e52c37fa 12616
96f8741e
CY
126172012-01-10 Chong Yidong <cyd@gnu.org>
12618
1d00653d
SM
12619 * net/network-stream.el (network-stream-open-starttls):
12620 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
12621 response to the capability command.
12622
b09a806e
GM
126232012-01-10 Glenn Morris <rgm@gnu.org>
12624
12625 * mail/unrmail.el (unrmail): Tweak previous change.
12626
7655cb66
CY
126272012-01-09 Chong Yidong <cyd@gnu.org>
12628
12629 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
12630
9d5a8f0b
AM
126312012-01-08 Alan Mackenzie <acm@muc.de>
12632
12633 Optimise font locking in long enum definitions.
12634
12635 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
12636 arm to a cond form to handle enums.
12637 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
12638 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
12639
9a0115ab 126402012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
12641
12642 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 12643 (Bug#10401)
6bb72cbd 12644
f186bb95
LMI
126452012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12646
29232a68
LMI
12647 * faces.el (set-face-attribute): Clarify the meaning of the nil
12648 frame (bug#10294).
12649
4e5d086d
LMI
12650 * subr.el (with-selected-frame): Mention that the selected frame
12651 is restored (bug#9980).
12652
8e66aebe
LMI
12653 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
12654 (bug#9759).
12655
cd394be1 12656 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
12657 (password-read): Don't autoload unused function.
12658
adf4e762
JB
126592012-01-07 Juanma Barranquero <lekktu@gmail.com>
12660
12661 * progmodes/which-func.el (which-func-mode): Turn into a
12662 non-interactive function and mark as obsolete (bug#10428).
12663
89bd9ccd
CY
126642012-01-06 Chong Yidong <cyd@gnu.org>
12665
12666 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
12667 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
12668 functions, along with 1 and -1.
12669
4afee9d5
EZ
126702012-01-06 Eli Zaretskii <eliz@gnu.org>
12671
12672 * time.el (display-time-load-average)
12673 (display-time-default-load-average): Doc fixes. See the thread
12674 starting at
12675 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
12676 for the details.
12677
536aea70
GM
126782012-01-06 Glenn Morris <rgm@gnu.org>
12679
665ae865
GM
12680 * mail/unrmail.el (unrmail): Give an explicit error if the input file
12681 has no messages. (Bug#10377)
12682
c869783d
GM
12683 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
12684 than Info-edit. (Bug#10385)
12685
2bb4227e
GM
12686 * time.el (display-time-load-average, display-time-next-load-average):
12687 Doc fixes.
12688
7d5944b9
GM
12689 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
12690 local setting of buffer-read-only to the input buffer. (Bug#10419)
12691
536aea70
GM
12692 * calendar/calendar.el (calendar-mode):
12693 Locally set scroll-margin to 0. (Bug#10379)
12694
7dccca16
UM
126952012-01-06 Ulrich Mueller <ulm@gentoo.org>
12696
12697 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
12698
afbb7930
GM
126992012-01-05 Glenn Morris <rgm@gnu.org>
12700
12701 * eshell/em-unix.el (diff-no-select): Autoload it.
12702 (eshell/diff): Use diff-no-select. (Bug#10420)
12703
04482335
CY
127042012-01-05 Chong Yidong <cyd@gnu.org>
12705
7baca3bc
CY
12706 * shell.el (shell-dynamic-complete-functions): Revert last change.
12707 (shell-command-completion-function): New function.
12708 (shell-completion-vars): Use it to implement
12709 shell-completion-execonly (Bug#10417).
12710
04482335
CY
12711 * custom.el (enable-theme): Don't set custom-safe-themes.
12712
1d00653d
SM
12713 * cus-theme.el (custom-theme-merge-theme):
12714 Ignore custom-enabled-themes and custom-safe-themes.
04482335 12715
bb5aa5d6
MM
127162012-01-05 Michael R. Mauger <mmaug@yahoo.com>
12717
12718 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
12719 first prompt in `sql-interacive-mode'.
12720 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 12721 keywords.
6df6ae42 12722 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
12723 (sql-product-interactive): Bug fix: Set `sql-buffer' in
12724 context of original buffer. Invoke `sql-login-hook'.
12725
a7183d7c
EZ
127262012-01-04 Eli Zaretskii <eliz@gnu.org>
12727
12728 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
12729 letters in cite-prefix.
12730
a1eacd1e
LMI
127312012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12732
12733 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
12734
787cdb34
CY
127352012-01-03 Chong Yidong <cyd@gnu.org>
12736
1d00653d
SM
12737 * shell.el (shell-dynamic-complete-functions):
12738 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
12739 comint-filename-completion first (Bug#10417).
12740
30710442
RS
127412012-01-02 Richard Stallman <rms@gnu.org>
12742
12743 * battery.el (battery-status-function):
12744 Detect when to use battery-yeeloong-sysfs.
12745 (battery-echo-area-format): Add string for Yeeloong.
12746 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
12747 (battery-yeeloong-sysfs): New function.
12748
f75bfc33
CY
127492012-01-02 Chong Yidong <cyd@gnu.org>
12750
12751 * dirtrack.el (dirtrack-list): Eliminate unused third element.
12752 (dirtrack): Merge code for handling relative filenames in prompt
12753 from shell-dir-cookie-watcher.
12754 (dirtrack-debug-message): New arg to avoid excess format calls.
12755
12756 * shell.el (shell-dir-cookie-re): Variable deleted.
12757 (shell-dir-cookie-watcher): Function deleted.
12758 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
12759 with dirtrack-mode.
12760
651e947e
EZ
127612012-01-01 Eli Zaretskii <eliz@gnu.org>
12762
1d00653d
SM
12763 * term/w32-win.el (dynamic-library-alist) <gnutls>:
12764 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
12765 libgnutls-26.dll.
12766
94d4c7dc
AS
127672011-12-31 Andreas Schwab <schwab@linux-m68k.org>
12768
12769 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
12770
8d43f3cd
EZ
127712011-12-31 Eli Zaretskii <eliz@gnu.org>
12772
12773 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
12774 headers of non-MIME messages, when rmail-enable-mime is non-nil.
12775
98c8795a
MA
127762011-12-29 Michael Albinus <michael.albinus@gmx.de>
12777
12778 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
12779 also for alternative shells.
12780 (tramp-open-connection-setup-interactive-shell): Check, whether
12781 the shell is a busybox.
12782 (tramp-send-command): Don't suppress multiple prompts for
12783 busyboxes, it hurts.
12784
51281b32
CY
127852011-12-28 Chong Yidong <cyd@gnu.org>
12786
12787 * progmodes/gdb-mi.el (gdb-get-source-file-list)
12788 (gdb-get-source-file): Move mode line update to
12789 gdb-get-source-file (Bug#10087).
12790
2170cb53
CY
127912011-12-25 Chong Yidong <cyd@gnu.org>
12792
12793 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
12794 gud-gdb-marker-filter without taking it as an argument.
12795 (gud-gdb-run-command-fetch-lines): Caller changed.
12796 (gud-gdb-completion-function): New variable.
12797 (gud-gdb-completion-at-point): Use it.
12798 (gud-gdb-completions-1): Split from gud-gdb-completions.
12799
12800 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
12801 function as separate arguments.
12802 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
12803 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
12804 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
12805 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
12806 (gdb-stopped, def-gdb-auto-update-trigger)
12807 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
12808 (gdb-get-changed-registers, gdb-get-main-selected-frame):
12809 Callers changed.
2170cb53
CY
12810 (gud-gdbmi-completions): New function.
12811 (gdb): Use it for generating the completion table.
12812
be8b11bb
AM
128132011-12-24 Alan Mackenzie <acm@muc.de>
12814
12815 Introduce a mechanism to widen the region used in context font
1d00653d 12816 locking. Use this to protect declarations from losing their contexts.
be8b11bb 12817
1d00653d
SM
12818 * progmodes/cc-langs.el (c-before-font-lock-functions):
12819 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 12820 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
12821 functions to be run just before context (etc.) font locking.
12822
12823 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 12824 New, functionality extracted from
be8b11bb 12825 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 12826 (c-in-after-change-fontification): New variable.
be8b11bb
AM
12827 (c-after-change): Set c-in-after-change-fontification.
12828 (c-set-fl-decl-start): Rejig its interface, so it can be called
12829 from both after-change and context fontifying.
b81d40f0
JB
12830 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
12831 New functions.
12832 (c-standard-font-lock-fontify-region-function): New variable.
12833 (c-font-lock-fontify-region): New function.
be8b11bb 12834
341cf6ac
JL
128352011-12-24 Juri Linkov <juri@jurta.org>
12836
12837 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
12838 (Bug#10348)
12839
bffcee0a
MA
128402011-12-23 Michael Albinus <michael.albinus@gmx.de>
12841
12842 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
12843 existence of source file. (Bug#10325)
12844
cb5e207c
AM
128452011-12-23 Alan Mackenzie <acm@muc.de>
12846
12847 Fix unstable fontification inside templates.
12848
b81d40f0
JB
12849 * progmodes/cc-langs.el (c-before-font-lock-functions):
12850 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
12851 additionally has c-set-fl-decl-start. The other languages (apart
12852 from AWK) have that as a single entry.
12853
b81d40f0
JB
12854 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12855 The functionality for "local" declarations has been extracted to
cb5e207c
AM
12856 c-set-fl-decl-start.
12857
b81d40f0
JB
12858 * progmodes/cc-mode.el (c-common-init, c-after-change):
12859 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
12860 (c-set-fl-decl-start): New function, extracted from
12861 c-font-lock-enclosing-decls and enhanced.
12862
60ff536c
JB
128632011-12-23 Juanma Barranquero <lekktu@gmail.com>
12864
12865 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
12866
1c4757d6
JL
128672011-12-22 Juri Linkov <juri@jurta.org>
12868
12869 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
12870
d031f2c7
CY
128712011-12-22 Chong Yidong <cyd@gnu.org>
12872
12873 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
12874
bace743a
DA
128752011-12-21 Drew Adams <drew.adams@oracle.com>
12876
12877 * files.el (file-remote-p): Fix docstring. (Bug#10319)
12878
728a1f2b
JC
128792011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12880
12881 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
12882
0d373f73
TZ
128832011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
12884
fec0aaa4
TZ
12885 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
12886 highlighting and support. Fix up comments for capitalization.
12887 (cfengine-mode-debug): New var.
12888 (cfengine3-mode): Change the modeline indicator to "CFE3".
12889 (cfengine3-font-lock-keywords): Improve defun highlighting.
12890 (cfengine2-actions): Rename from `cfengine-actions'.
12891 (cfengine2-font-lock-keywords): Rename from
12892 `cfengine-font-lock-keywords'.
12893 (cfengine2-imenu-expression): Rename from
12894 `cfengine-imenu-expression'.
12895 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
12896 (cfengine2-beginning-of-defun): Rename from
12897 `cfengine-beginning-of-defun'.
12898 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
12899 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
12900 (cfengine2-mode): Rename from `cfengine-mode'. Change the
12901 modeline indicator to "CFE2".
12902 (cfengine-mode): Defalias to `cfengine-auto-mode'.
12903 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 12904
bc86f573
CY
129052011-12-21 Chong Yidong <cyd@gnu.org>
12906
12907 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
12908 filename argument.
12909
d45ba96b
MR
129102011-12-20 Martin Rudalics <rudalics@gmx.at>
12911
12912 * window.el (window-normalize-buffer-to-display): Remove.
12913 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
12914
a6198c90
CY
129152011-12-19 Chong Yidong <cyd@gnu.org>
12916
12917 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
12918 Don't signal an error in a predicate function; return non-nil.
12919 (vc-dir-mark-file): Move the error here.
12920 (vc-dir-mark-unmark): If acting on the region, keep going if one
12921 of the entries cannot be marked/unmarked.
12922 (vc-dir-mark-all-files): If current entry is a directory, mark
12923 only child files, as documented.
12924
34c5fb55
VB
129252011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
12926
12927 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
12928 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
12929 addition.
12930
c803b2b7
JD
129312011-12-18 Jan Djärv <jan.h.d@swipnet.se>
12932
12933 * term/ns-win.el (ns-get-selection-internal)
12934 (ns-store-selection-internal): Declare.
1154d12e
JB
12935 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
12936 Declare as obsolete.
12937 (ns-get-pasteboard, ns-paste-secondary):
12938 Use ns-get-selection-internal.
41e9b956 12939 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 12940 Use ns-store-selection-internal.
c803b2b7 12941
9cff91f8 129422011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
12943
12944 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 12945 (vc-deduce-fileset): Doc fix.
99a289d9 12946
f16c898a
AS
129472011-12-16 Andreas Schwab <schwab@linux-m68k.org>
12948
12949 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
12950
763237c4
SS
129512011-12-13 Sam Steingold <sds@gnu.org>
12952
12953 * man.el (Man-getpage-in-background): When running under a
12954 window-system, ignore $MANWIDTH and $COLUMNS.
12955
5fc1c122
KH
129562011-12-15 Kenichi Handa <handa@m17n.org>
12957
12958 * language/ethio-util.el: Change coding tag to utf-8-emacs.
12959 (setup-ethiopic-environment-internal): Comment out key-binding for
12960 ethio-toggle-punctuation.
12961
13d49cbb
AM
129622011-12-13 Alan Mackenzie <acm@muc.de>
12963
898169a2
AM
12964 Add the switch statement to AWK Mode.
12965
7a71b18d 12966 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
12967 "default" to the keywords regexp.
12968
7a71b18d 12969 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 12970 expression as the rest.
1d00653d
SM
12971 (c-nonlabel-token-key): Allow string literals for AWK.
12972 Refactor for the other modes.
898169a2 12973
13d49cbb 12974 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 12975 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
12976 routines. Limit backward searching in c-font-lock-enclosing.decl.
12977
12978 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
12979 pp-state and literal type in addition to the limits.
1d00653d 12980 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 12981 (c-state-literal-at): Use the above new defun.
1d00653d
SM
12982 (c-slow-in-literal, c-fast-in-literal): Remove.
12983 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
12984
12985 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
12986 being in a literal. Add a limit for backward searching.
12987
12988 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
12989 c-slow-in-literal.
12990
15e0efc7
SM
129912011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
12992
12993 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
12994
454592a6
MR
129952011-12-13 Martin Rudalics <rudalics@gmx.at>
12996
12997 * window.el (delete-other-windows): Use correct frame in call to
12998 window-with-parameter.
12999
87393f26
DP
130002011-12-12 Daniel Pfeiffer <occitan@t-online.de>
13001
13002 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
13003 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
13004 (makefile-gmake-statements, makefile-makepp-statements):
13005 Use it and add new makepp keywords.
13006 (makefile-makepp-font-lock-keywords): Add new patterns.
13007 (makefile-match-function-end): Match new [...] and [[...]].
13008
11636b22
JB
130092011-12-11 Juanma Barranquero <lekktu@gmail.com>
13010
13011 * ses.el (ses-call-printer-return, ses-cell-property-get)
13012 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
13013 (ses-create-cell-variable, ses-reset-header-string)
13014 (ses-cell-set-formula, ses-repair-cell-reference-all)
13015 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
13016 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
13017 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
13018 (ses-aset-with-undo, ses-load, ses-truncate-cell)
13019 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
13020 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
13021 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
13022 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
13023 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
13024 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
13025 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
13026 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
13027
cf018193
VB
130282011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
13029
13030 * ses.el: The overall change is to add cell renaming, that is
13031 setting fancy names for cell symbols other than name matching
13032 "\\`[A-Z]+[0-9]+\\'" regexp .
13033 (ses-create-cell-variable): New defun.
13034 (ses-relocate-formula): Relocate formulas only for cells the
13035 symbols of which are not renamed, i.e. symbols whose names do not
13036 match regexp "\\`[A-Z]+[0-9]+\\'".
13037 (ses-relocate-all): Relocate values only for cells the symbols of
13038 which are not renamed.
13039 (ses-load): Create cells variables as the (ses-cell ...) are read,
13040 in order to check row col consistency with cell symbol name only
13041 for cells that are not renamed.
13042 (ses-replace-name-in-formula): New defun.
13043 (ses-rename-cell): New defun.
13044
ee957461
CY
130452011-12-11 Chong Yidong <cyd@gnu.org>
13046
13047 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
13048 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
13049
9a9e9ef0
MR
130502011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
13051
13052 * window.el (other-window): Fix docstring.
13053
92a8eba5
EZ
130542011-12-10 Eli Zaretskii <eliz@gnu.org>
13055
13056 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
13057 `from' or `to' address before taking its substring.
13058 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
13059 encoded name is chopped in the middle of the encoded string, and
13060 thus displayed encoded.
13061
e152e577
JB
130622011-12-10 Juanma Barranquero <lekktu@gmail.com>
13063
13064 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
13065
e5d84bfe
EZ
130662011-12-10 Eli Zaretskii <eliz@gnu.org>
13067
13068 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
13069 to use texinfo-update-node and commands that call it if the
13070 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 13071 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
13072 (texinfo-all-menus-update, texinfo-master-menu)
13073 (texinfo-update-node, texinfo-every-node-update)
13074 (texinfo-multiple-files-update): Doc fix. Warn against updating
13075 all the @node lines.
13076 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
13077 argument is numeric. Explain better in the doc string what the
13078 function really does.
13079 (texinfo-insert-master-menu-list): Improve the error message
13080 displayed if there's no menu in the Top node.
13081 (Bug#2975) See also this thread:
e5d84bfe
EZ
13082 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
13083
1d84e9bb
MG
130842011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
13085
13086 * speedbar.el (speedbar-supported-extension-expressions):
13087 Add .adb and .ads, commonly used for Ada source code (bug#10256).
13088
382c953b
JB
130892011-12-09 Juanma Barranquero <lekktu@gmail.com>
13090
13091 * printing.el (pr-mode-alist):
13092 * simple.el (filter-buffer-substring-functions)
13093 (completion-list-insert-choice-function):
13094 * window.el (window-with-parameter, window-atom-root)
13095 (window-sides-slots, window-size-fixed, window-min-delta)
13096 (window-max-delta, window--resize-mini-window)
13097 (window--resize-child-windows-normal, window-tree)
13098 (delete-other-windows, quit-window, split-window)
13099 (display-buffer-record-window, special-display-buffer-names)
13100 (special-display-regexps, special-display-popup-frame)
13101 (same-window-p, split-window-sensibly)
13102 (display-buffer-overriding-action, display-buffer-alist)
13103 (display-buffer-base-action, display-buffer, switch-to-buffer)
13104 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
13105 (fit-window-to-buffer, recenter-positions)
13106 (mouse-autoselect-window-state, mouse-autoselect-window-select):
13107 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
13108 and remove unneeded backslashes in docstrings.
13109
39c9faef
SM
131102011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
13111
98449af8
SM
13112 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
13113
39c9faef
SM
13114 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
13115 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
13116 end in ".mk".
13117 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
13118 when reading the makefile (bug#10116).
13119
86ed9fdc
SM
131202011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
13121
13122 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
13123 (bug#10116).
13124
5580f89d
GM
131252011-12-06 Glenn Morris <rgm@gnu.org>
13126
13127 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
13128
28d3917c
CY
131292011-12-06 Chong Yidong <cyd@gnu.org>
13130
13131 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
13132
a98edce9
JB
131332011-12-06 Juanma Barranquero <lekktu@gmail.com>
13134
13135 * textmodes/table.el (table-shorten-cell): Fix typo.
13136
e65adfac
CG
131372011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
13138
13139 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
13140
71cc0b74
EZ
131412011-12-05 Eli Zaretskii <eliz@gnu.org>
13142
13143 * descr-text.el (describe-char): Fix display of strong
13144 right-to-left characters and directional embeddings and overrides.
13145
13146 * simple.el (what-cursor-position): Fix display of codepoints of
13147 strong right-to-left characters.
13148
315bc30d
CY
131492011-12-05 Chong Yidong <cyd@gnu.org>
13150
13151 * faces.el (read-color): Doc fix.
13152
58a70b94
GM
131532011-12-05 Glenn Morris <rgm@gnu.org>
13154
13155 * align.el (align--set-marker): Add doc-string.
13156 Don't try to move something that is not a marker. (Bug#10216)
13157
5158face
GM
131582011-12-04 Glenn Morris <rgm@gnu.org>
13159
13160 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
13161 overly zealous deletion of trailing whitespace.
13162
520fca41
JB
131632011-12-04 Juanma Barranquero <lekktu@gmail.com>
13164
13165 * server.el (server-delete-client): On Windows, do not try to delete
13166 the only terminal.
13167 (server-process-filter): On Windows, treat requests for a tty frame as
13168 if they were for a GUI frame if the running server is in GUI mode.
13169
5e605a2e
GM
131702011-12-03 Glenn Morris <rgm@gnu.org>
13171
13172 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
13173
5c3fe83f
SM
131742011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13175
6f5e57e7
SM
13176 * electric.el: Streamline electric-indent's hook.
13177 (electric-indent-chars): Revert to simple list.
13178 (electric-indent-functions): New var.
13179 (electric-indent-post-self-insert-function): Use it.
13180
5c3fe83f
SM
13181 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
13182 there's no inferior buffer (bug#10196).
13183 (prolog-consult-compile): Don't use toggle-read-only.
13184
6bdac736
MA
131852011-12-02 Michael Albinus <michael.albinus@gmx.de>
13186
13187 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
13188 interrupt. (Bug#10187)
13189
6131ba7f
SM
131902011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13191
99c79fee
SM
13192 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
13193 (bug#9160).
13194
6131ba7f
SM
13195 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
13196 (bug#10191).
13197
cb0a02ea
JL
131982011-12-02 Juri Linkov <juri@jurta.org>
13199
13200 * info.el (Info-search): Display "end of manual" when Isearch
13201 reaches the end of single-file Info manual. (Bug#9918)
13202
66e0570c
EZ
132032011-12-02 Eli Zaretskii <eliz@gnu.org>
13204
13205 * isearch.el (isearch-message-prefix): Run the input method part
13206 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
13207
02b16839
JL
132082011-12-02 Juri Linkov <juri@jurta.org>
13209
13210 * isearch.el (isearch-occur): Use `word-search-regexp' for
13211 `isearch-word'.
13212 (isearch-search-and-update): Add condition for `isearch-word' and
13213 call `word-search-regexp'. (Bug#10145)
13214
0b950688
GM
132152011-12-01 Glenn Morris <rgm@gnu.org>
13216
13217 * eshell/em-hist.el (eshell-hist-initialize):
13218 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 13219 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 13220
9505c3c7
SM
132212011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13222
13223 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
13224
1bbe96b2 132252011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 13226
a1beca85
SM
13227 * progmodes/verilog-mode.el (verilog-pretty-expr):
13228 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
13229 verilog, such as += *= and the like.
13230 (verilog-assignment-operator-re): Regular expression to find the
13231 assigment operator in a verilog assignment.
13232 (verilog-assignment-operation-re): Regular expression to find an
13233 assignment statement for pretty-expr.
13234 (verilog-in-attribute-p): Query returns true if point is in an
13235 attribute context; used to skip these for expression line up from
13236 pretty-expr.
13237 (verilog-in-parameter-p): Query returns true if point is in an
13238 parameter definition context; used to skip these for expression
13239 line up from pretty-expr.
13240 (verilog-in-parenthesis-p): Query returns true if point is in a
13241 parenthetical expression, specifically ( ) but not [ ] or { };
13242 used by pretty-expr.
13243 (verilog-just-one-space): If there is no space, don't add one.
13244 (verilog-get-lineup-indent-2): Specifically skip just attribute
13245 contexts for expression lineup, rather than skipping all
13246 parenthetical expressions.
13247 (verilog-calculate-indent): Fix comment, and fix indent.
13248 (verilog-do-indent): Indent declarations in lists (suggested by
13249 Joachim Lechner).
13250 (verilog-mode-abbrev-table): Populate abbrev mode with the various
13251 skeleton items.
13252 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
13253 by Alain Mellan).
13254
1bbe96b2 132552011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
13256
13257 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
13258 parameters with embedded comments. Reported by Ray Stevens.
13259 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
13260 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
13261 Reported by Tim Holt.
13262 (verilog-auto): Fix AUTOing a upper module then AUTOing module
13263 instantiated by upper module causing wrong expansion until AUTOed a
13264 second time. Reported by K C Buckenmaier.
13265 (verilog-diff-auto): Fix showing .* as a difference when
13266 `verilog-auto-star-save' off. Reported by Dan Dever.
13267 (verilog-auto-reset, verilog-read-always-signals)
13268 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
13269 temporary signals in reset list if
13270 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
13271 style to each signal's assignment type, bug381.
13272 Reported by Thomas Esposito.
6288f0ca
WS
13273 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
13274 (verilog-uvm-statement-re): Support UVM indentation and
13275 highlighting, with old OVM keywords only.
a1beca85 13276 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
13277 Support AUTOTIEOFF creating non-wire data types.
13278 Suggested by Jonathan Greenlaw.
6288f0ca
WS
13279 (verilog-auto-insert-lisp, verilog-delete-to-paren)
13280 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
13281 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
13282 (verilog-read-sub-decls, verilog-read-sub-decls-line):
13283 Fix mismatching parenthesis inside commented out code when deleting
382c953b 13284 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
13285 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
13286 non-numeric vector width. Reported by Alex Reed.
13287 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 13288 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
13289 (verilog-auto-delete-trailing-whitespace):
13290 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
13291 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
13292 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
13293 Fix verilog-scan-cache corruption when running user AUTO expansion
13294 hooks that call indentation routines.
13295 (verilog-simplify-range-expression): Fix typo ignoring lower case
13296 identifiers.
13297 (verilog-delete-auto): Fix delete-autos to also remove user created
13298 automatics, as long as they start with AUTO.
13299 (verilog-batch-diff-auto, verilog-diff-auto)
13300 (verilog-diff-function): Add `verilog-diff-auto' and bind to
13301 "C-c?" to report differences in AUTO expansion, ignoring spaces.
13302 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
13303 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
13304 (verilog-re-search-forward-quick, verilog-syntax-ppss):
13305 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
13306 is disabled and its cache will get corrupt, causing AUTOS not to
13307 expand. Instead use only -quick functions.
13308 (verilog-scan-region): Fix scanning over escaped quotes.
13309 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
13310 (verilog-re-search-backward-quick)
13311 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
13312 related functions now ignore strings, to fix misparsing of strings
13313 with magic comments embedded in them.
a1beca85
SM
13314 (verilog-read-auto-template):
13315 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
13316 Reported by Brad Dobbie.
13317 (verilog-read-auto-template):
13318 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 13319 Reported by Brad Dobbie.
6288f0ca
WS
13320 (verilog-auto-inst, verilog-auto-inst-param)
13321 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
13322 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
13323 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
13324 debugging templates without merge conflicts, bug357.
13325 Reported by Brad Dobbie.
13326 (verilog-read-auto-template):
13327 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
13328 Reported by Brad Dobbie.
13329 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
13330 abbrevs so user won't be asked to save.
13331 (verilog-read-auto-lisp-present): Fix to start at beginning of
13332 buffer in case called outside of verilog-auto.
13333 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
13334 to "X-2". Reported by Matthew Myers.
13335 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
13336 all inputs from module templates. Reported by Leith Johnson.
13337 (verilog-module-inside-filename-p): Fix locating programs as with
13338 modules.
13339 (verilog-auto-inst-port): Fix vl-width expressions when using
13340 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
13341 (verilog-decls-get-regs, verilog-decls-get-signals,
13342 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
13343 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
13344 verilog-read-decls): Combine reg and wire structures into one var
13345 structure to represent SystemVerilog concepts.
13346 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
13347 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
13348 (verilog-auto-wire-type, verilog-insert-definition):
13349 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
13350 SystemVerilog "logic" keyword instead of "wire"/"reg".
13351 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
13352 to declares outputs that also have assignments (presumably in an
a1beca85
SM
13353 ifdef or generate if so there's not a driver conflict).
13354 Reported by Matthew Myers.
13355 (verilog-auto-declare-nettype, verilog-insert-definition):
13356 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
13357 `default_nettype none. Reported by Julian Gorfajn.
13358 (verilog-read-always-signals-recurse, verilog-read-decls)
13359 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
13360 malformed end statement, bug325. Reported by Joshua Wise and
13361 Andrew Drake.
13362 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
13363 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
13364 when expanding .* in interfaces, bug320.
13365 Reported by Pierre-David Pfister.
6288f0ca 13366 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
13367 name and open parenthesis, bug317.
13368 Reported by Pierre-David Pfister.
6288f0ca
WS
13369 (verilog-simplify-range-expression): Fix simplification of
13370 multiplications inside AUTOWIRE connections, bug303.
13371 (verilog-auto-inst-port): Support parameter expansion in
13372 multidimensional arrays.
13373 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
13374 after "assert property". Reported by Julian Gorfajn.
13375 (verilog-simplify-range-expression): Fix "couldn't merge" errors
13376 with multiplication, bug303.
13377 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
13378 Reported by Jan Frode Lonnum.
13379
1bbe96b2
GM
133802011-11-30 Juanma Barranquero <lekktu@gmail.com>
13381
13382 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
13383 (hfy-shell-file-name, hfy-shell):
13384 * international/fontset.el (x-decompose-font-name): Fix typos.
13385
133862011-11-29 Ken Brown <kbrown@cornell.edu>
13387
13388 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
13389 (gdb-version): Remove defvar.
13390 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
13391 (gdb-gud-context-command, gdb-non-stop-handler)
13392 (gdb-current-context-command, gdb-stopped): Use it.
13393 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
13394 (gdb-non-stop-handler): Don't enable pretty-printing here.
13395 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
13396 non-stop mode. Use the following.
13397 (gdb-check-target-async): New defun.
13398 (gud-watch, gdb-stopped): Fix whitespace.
13399 (gdb-get-source-file): Don't try to display the source file if
13400 `gdb-main-file' is nil.
13401
134022011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13403
13404 * align.el: Try to generate fewer markers (bug#10047).
13405 (align--set-marker): New macro.
13406 (align-region): Use it.
13407
c935221f
SM
134082011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13409
13410 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
13411
e70b5064
CY
134122011-11-29 Chong Yidong <cyd@gnu.org>
13413
13414 * indent.el (indent-for-tab-command, indent-according-to-mode):
13415 Doc fix.
13416 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
13417
f3af92b7
MA
134182011-11-29 Michael Albinus <michael.albinus@gmx.de>
13419
13420 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
13421 aware of remote file names. (Bug#10124)
13422
ed472be9
CY
134232011-11-29 Chong Yidong <cyd@gnu.org>
13424
13425 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
13426
24510c22
SM
134272011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13428
13429 * files.el (find-file): Don't use force-same-window (bug#10144).
13430 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
13431 use pop-to-buffer if the selected window can't be used.
13432 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
13433
c60c3703
EZ
134342011-11-28 Eli Zaretskii <eliz@gnu.org>
13435
13436 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
13437 special-mode-map.
13438
e95def75
CY
134392011-11-28 Chong Yidong <cyd@gnu.org>
13440
13441 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
13442
c3f1c606
NR
134432011-11-27 Nick Roberts <nickrob@snap.net.nz>
13444
13445 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
13446 gdb-get-source-file-list on gdb-create-source-file-list.
13447
00db469c
EZ
134482011-11-26 Eli Zaretskii <eliz@gnu.org>
13449
13450 * whitespace.el (whitespace-newline): Use a different foreground
13451 color for 16-color light-background displays.
13452
4ad3bc2a
CY
134532011-11-24 Chong Yidong <cyd@gnu.org>
13454
13455 * window.el (display-buffer--special-action): Doc fix.
13456
e9fce1ac
JB
134572011-11-25 Juanma Barranquero <lekktu@gmail.com>
13458
13459 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
13460 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
13461 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
13462 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
13463 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
13464 (avl-tree-stack-first):
13465 * emacs-lisp/cconv.el (cconv--analyse-use):
13466 * net/gnutls.el (gnutls-negotiate): Fix typos.
13467
cb825e5d
GM
134682011-11-24 Glenn Morris <rgm@gnu.org>
13469
3adbe224
GM
13470 * lpr.el (lpr-windows-system, lpr-lp-system):
13471 * mail/binhex.el (binhex-begin-line):
13472 * progmodes/grep.el (grep-history, grep-find-history):
13473 * textmodes/flyspell.el:
13474 * vc/pcvs-defs.el (cvs-global-menu):
13475 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
13476 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
13477 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
13478
321decc8
GM
13479 * net/tls.el: Fix case of "GnuTLS".
13480
420b63ad
GM
13481 * paths.el (rmail-file-name): Format doc-string for make-docfile.
13482
cb825e5d
GM
13483 * version.el (emacs-build-system): Give it a doc-string.
13484
a0649f08
JL
134852011-11-24 Juri Linkov <juri@jurta.org>
13486
13487 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
13488
c0bc0fd4
GM
134892011-11-24 Glenn Morris <rgm@gnu.org>
13490
13491 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
13492 if called on a non-mime message just toggle the headers. (Bug#8006)
13493
20db1522
JB
134942011-11-24 Juanma Barranquero <lekktu@gmail.com>
13495
13496 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
13497 (allout-lead-with-comment-string, allout-structure-deleted-hook)
13498 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
13499 (allout-rebullet-heading, allout-open-sibtopic)
13500 (allout-toggle-current-subtree-encryption)
13501 (allout-toggle-subtree-encryption, allout-encrypt-string)
13502 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
13503 (allout-distinctive-bullets-string, allout-auto-activation):
13504 * window.el (window-normalize-buffer-to-display):
13505 * progmodes/verilog-mode.el (verilog-batch-indent):
13506 * textmodes/bibtex.el (bibtex-field-braces-opt)
13507 (bibtex-field-strings-opt):
13508 * vc/cvs-status.el (cvs-tree-merge):
13509 Fix typos.
13510
7262a87c
MA
135112011-11-23 Michael Albinus <michael.albinus@gmx.de>
13512
13513 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
13514 `non-essential' to t, in order to avoid remote connections.
13515
283430a1
EZ
135162011-11-23 Eli Zaretskii <eliz@gnu.org>
13517
a1beca85
SM
13518 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13519 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
13520 case-insensitively.
13521
d2992a38
ML
135222011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13523
13524 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
13525
50419064
GM
135262011-11-23 Glenn Morris <rgm@gnu.org>
13527
da94eca1
GM
13528 * paths.el (rmail-file-name): Reformat the doc-string so that it
13529 is picked up.
13530
9aac4de2
GM
13531 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
13532 (rmail-auto-file): Ignore case in the "special" field names,
13533 as mail-fetch-field does for all others.
13534
8038d2d2
GM
13535 * mail/rmail.el (rmail-forward):
13536 * mail/rmailkwd.el (rmail-set-label):
13537 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
13538 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
13539
f3fe222a
GM
13540 * mail/rmail.el (rmail-current-message): Doc fix.
13541
50419064
GM
13542 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
13543
28109f49
SM
135442011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
13545
13546 * server.el (server-eval-and-print): Allow C-g (bug#6585).
13547
394c65f1
GM
135482011-11-22 Glenn Morris <rgm@gnu.org>
13549
13550 * mail/rmailmm.el (test-rmail-mime-handler)
13551 (test-rmail-mime-bulk-handler)
13552 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
13553
f2a0aa3a
JL
135542011-11-21 Juri Linkov <juri@jurta.org>
13555
1154d12e
JB
13556 * calc/calc.el (calc-read-key-sequence):
13557 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 13558
9c34a344
LMI
135592011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13560
13561 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
13562 Tell the caller that the next line needs recomputation, even
13563 though it doesn't start a sexp (bug#10094).
13564
f04a3be9
SM
135652011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
13566
13567 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
13568
7978747f
SM
135692011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13570
f04a3be9
SM
13571 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13572 Use force-same-window.
7978747f 13573
fe7a3057
JB
135742011-11-20 Juanma Barranquero <lekktu@gmail.com>
13575
13576 * descr-text.el (describe-char-unicode-data):
13577 * json.el (json-string-escape):
13578 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
13579 (Footnote-unicode, Footnote-style-p):
13580 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
13581
24901d61
CY
135822011-11-20 Chong Yidong <cyd@gnu.org>
13583
13584 * window.el (replace-buffer-in-windows): Restore interactive spec.
13585
bac7ff22
SM
135862011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13587
24f3d7b9
SM
13588 * electric.el (electric-indent-mode): Fix last change (too optimistic).
13589
bac7ff22
SM
13590 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
13591 (byte-compile-global-not-obsolete-vars): New var.
13592 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
13593 Use it.
13594 (byte-compile-warn-obsolete): Align text with the one in *Help*.
13595
cd1181db
JB
135962011-11-20 Juanma Barranquero <lekktu@gmail.com>
13597
13598 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
13599 * progmodes/pascal.el (electric-pascal-equal):
13600 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
13601 * xml.el (xml-substitute-special): Fix typos.
13602
7fb18e9e
GM
136032011-11-20 Glenn Morris <rgm@gnu.org>
13604
13605 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
13606 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
13607 Doc fixes.
13608 (rmail-decode-mime-charset): Mark as obsolete.
13609
13610 * mail/rmailsum.el (rmail-message-regexp-p-1):
13611 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
13612 Before using mime functions, check they are set. (Bug#10077)
13613
d5a6b3ba
JL
136142011-11-19 Juri Linkov <juri@jurta.org>
13615
13616 * info.el (Info-finder-find-node): Use `package--builtins' instead
13617 of `package-alist'. Use node names formed by the pattern "Keyword "
13618 and the keyword name.
13619
e981b61f
AS
136202011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13621
1d00653d 13622 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 13623
3ffbc301
JL
136242011-11-19 Juri Linkov <juri@jurta.org>
13625
13626 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
13627 that calls `revert-buffer' on all Info buffers. (Bug#9915)
13628 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
13629 `old-history', `old-history-forward'. Add let-binding
13630 `window-selected'. Remove calls to `kill-buffer',
13631 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
13632 before calling `Info-find-node', so `Info-find-node-2' will reread
13633 the Info file. Restore window positions only when `window-selected'
13634 is non-nil.
13635
30c62133
JL
136362011-11-19 Juri Linkov <juri@jurta.org>
13637
13638 * isearch.el (isearch-lazy-highlight-new-loop):
13639 Remove condition `(not isearch-error)'. (Bug#9918)
13640
13641 * misearch.el (multi-isearch-search-fun): Add condition
13642 `(not bound)' to ignore lazy-highlighting search.
13643 Add the search-failed message "end of multi" when the end of
13644 multi-sequence is reached. Uncapitalize the search-failed
13645 message "Repeat for next buffer".
13646
13647 * info.el (Info-search): Add the search-failed message
13648 "end of the manual" when the end of the manual is reached
13649 in Isearch mode.
13650
645ca9cf
JL
136512011-11-19 Juri Linkov <juri@jurta.org>
13652
13653 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
13654 Use non-destructive `remove' instead of `delete' because
13655 `Info-history-list' stored to `Info-isearch-initial-history-list' in
13656 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
13657
df754f66
JL
136582011-11-19 Juri Linkov <juri@jurta.org>
13659
13660 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
13661 to nil instead of binding `search-ring' and `regexp-search-ring'.
13662 (Bug#9185)
13663
0e23d96a
EZ
136642011-11-19 Eli Zaretskii <eliz@gnu.org>
13665
13666 * simple.el (line-move): Force movement by logical lines for any
13667 hscrolled window, not only when auto-hscroll-mode is on.
13668 (line-move-visual): Update doc string to that effect. (Bug#10076)
13669
8a6ccb66
AS
136702011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13671
13672 * language/european.el (macintosh): Define as alias for mac-roman.
13673
49ae5b39
EZ
136742011-11-19 Eli Zaretskii <eliz@gnu.org>
13675
13676 * mail/rmailmm.el (rmail-mime-display-header)
13677 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
13678 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
13679 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
13680 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
13681 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
13682 of a raw aref.
13683 (rmail-mime-entity-segment): To get past the tagline, move forward
13684 2 more lines, to account for the 2 empty lines that precede and
13685 follow the line with the buttons.
13686 (rmail-mime-update-tagline): Move one more line, to get past the
13687 empty line that follows the buttons in the tagline. (Bug#9520)
13688
c56cad4a
MR
136892011-11-19 Martin Rudalics <rudalics@gmx.at>
13690
13691 * window.el (window-max-delta-1, window-min-delta-1)
13692 (window-min-size-1, window-state-get-1, window-state-put-1)
13693 (window-state-put-2): Use "window--" prefix.
13694
cbe71af3
SM
136952011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
13696
2ad52c60
SM
13697 * emacs-lisp/smie.el: Improve warnings and conflict detection.
13698 (smie-warning-count): New var.
13699 (smie-set-prec2tab): Use it.
13700 (smie-bnf->prec2): Improve warnings. Add docstring.
13701 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
13702 (smie-bnf--set-class): New function.
13703 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
13704 corner case.
13705
6944dbc1
SM
13706 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
13707 (compilation-error-properties, compilation-move-to-column):
13708 Handle compilation-first-column while in the target buffer.
13709
c400c4d7
SM
13710 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
13711 Don't hardcode point-min==1.
13712
6dbe3e96
SM
13713 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
13714 (eshell-rewrite-for-command): Remove workaround.
13715 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
13716 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
13717 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
13718
cbe71af3
SM
13719 * files-x.el (modify-file-local-variable): Obey commenting conventions.
13720
a8e1496d
GM
137212011-11-17 Glenn Morris <rgm@gnu.org>
13722
13723 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13724 Ignore buffer-local generated-autoload-file if it is the same
13725 as the global value. (Bug#10049)
13726
df85d315
JB
137272011-11-17 Juanma Barranquero <lekktu@gmail.com>
13728
13729 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
13730 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
13731 (reftex-toc-previous-heading, reftex-toc-max-level)
13732 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
13733 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
13734 (reftex-toc-do-promote, reftex-toc-promote-prepare)
13735 (reftex-toc-promote-action, reftex-toc-extract-section-number)
13736 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
13737 (reftex-toc-rename-label, reftex-toc-visit-location)
13738 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
13739 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
13740 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
13741 leaving "*toc*" only for references to the buffer.
13742
a0c2d0ae
MR
137432011-11-17 Martin Rudalics <rudalics@gmx.at>
13744
13745 * window.el (window-resize, delete-window, split-window):
13746 Replace window-splits by window-combination-resize.
1d00653d 13747 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 13748
35c0bac8
GM
137492011-11-17 Glenn Morris <rgm@gnu.org>
13750
13751 * progmodes/sh-script.el (sh-font-lock-keywords-var):
13752 Make bash entry derive from sh entry, not shell entry.
13753
d0c8fc8a
MA
137542011-11-16 Michael Albinus <michael.albinus@gmx.de>
13755
7262a87c
MA
13756 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
13757 local file name.
13758
7877f373
JB
137592011-11-16 Juanma Barranquero <lekktu@gmail.com>
13760
13761 * menu-bar.el (menu-bar-file-menu):
13762 * printing.el (pr-ps-utility):
13763 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
13764 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
13765 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
13766 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
13767 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
13768 (icalendar--convert-cyclic-to-ical)
13769 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
13770 (icalendar--convert-ical-to-diary)
13771 (icalendar--convert-recurring-to-diary)
13772 (icalendar--convert-non-recurring-all-day-to-diary)
13773 (icalendar-import-format-sample):
13774 * progmodes/idlw-shell.el (idlwave-shell-mode):
13775 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
13776 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
13777 (vhdl-ps-print-init): Fix typos.
13778
10649b82
KM
137792011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
13780
9d0cfcd6
GM
13781 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
13782 FSF and collapse date sequence, obscure author/maintainer email address
13783 better, remove extra version line, track relocation of author's webpage.
10649b82 13784
9d0cfcd6
GM
13785 * progmodes/python.el (python-pdbtrack-input-prompt)
13786 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
13787 regular python pdb prompts. Adjustments shamelessly taken exactly as
13788 suggested in EmacsWiki page (tiny change):
13789 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 13790
58179cce
JB
137912011-11-16 Juanma Barranquero <lekktu@gmail.com>
13792
13793 * expand.el (expand-pos, expand-index, expand-point):
13794 Remove redundant info from docstring.
13795 (expand-add-abbrevs): Doc fix.
13796 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
13797 (expand-sample-perl-mode-expand-list): Fix typos.
13798
13799 * net/dbus.el (dbus-event-member-name):
13800 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
13801 * term/pc-win.el (msdos-create-frame-with-faces):
13802 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
13803
b6f67890
MR
138042011-11-16 Martin Rudalics <rudalics@gmx.at>
13805
13806 * window.el (split-window, window-state-get-1)
13807 (window-state-put-1, window-state-put-2): Rename occurrences of
13808 window-nest to window-combination-limit.
1d00653d 13809 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 13810
ce7ddba0
CY
138112011-11-16 Chong Yidong <cyd@gnu.org>
13812
13813 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
13814 regexp (Bug#10033).
13815
3ae704f4
SM
138162011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
13817
13818 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
13819 `completing-read' will remove *Completions* and will preserve
13820 current-buffer for us.
13821 (tmm-add-prompt): Users of *Completions* will always (re)set its
13822 major mode.
13823 (tmm-old-comp-map): Remove.
13824
6ad1cdde
GM
138252011-11-16 Glenn Morris <rgm@gnu.org>
13826
13827 * mail/rmailedit.el: Require rmailmm when compiling.
13828 (rmail-old-mime-state): New declaration.
13829 (rmail-edit-current-message): If editing a mime message,
13830 edit the "raw" message from the mbox buffer.
13831 (rmail-cease-edit): Handle mime messages. (Bug#9840)
13832
d20faa20
GM
138332011-11-15 Glenn Morris <rgm@gnu.org>
13834
13835 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
13836 which wasn't being used. Add optional arg to force given state.
13837 (rmail-mime): Add optional arg to force given state.
13838
c7015153
JB
138392011-11-15 Juanma Barranquero <lekktu@gmail.com>
13840
13841 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13842 * frame.el (display-mm-dimensions-alist):
13843 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
13844 (outline-move-subtree-down):
13845 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
13846 (newsticker--treeview-do-get-node):
13847 * net/quickurl.el (quickurl-list-buffer-name):
13848 * progmodes/dcl-mode.el (dcl-mode):
13849 * progmodes/gdb-mi.el (gdb-mapcar*):
13850 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
13851
45261b50
GM
138522011-11-15 Glenn Morris <rgm@gnu.org>
13853
13854 * mail/rmail.el (rmail-file-coding-system): It's only ever used
13855 in a boolean sense, so just make it a boolean, and fix the doc.
13856 (rmail-show-mime-function, rmail-mime-feature)
13857 (rmail-require-mime-maybe): Doc fixes.
13858 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
13859
13860 * mail/rmailmm.el (rmail-show-mime): Doc fix.
13861
0d26e0b6
JB
138622011-11-15 Juanma Barranquero <lekktu@gmail.com>
13863
13864 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
13865 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
13866 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
13867 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
13868
447f30f6
GM
138692011-11-15 Glenn Morris <rgm@gnu.org>
13870
672b871d
GM
13871 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
13872 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
13873 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
13874 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
13875 (rmail-mime, rmail-show-mime): Doc fixes.
13876
f6aa5bb1
GM
13877 * term/ns-win.el (mode-line-frame-identification):
13878 Leave it alone. (Bug#10051)
13879
947cd66b
GM
13880 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
13881
447f30f6
GM
13882 * mail/rmailout.el (rmail-output-to-rmail-buffer):
13883 Handle empty buffers. (Bug#9978)
13884
0b381c7e
JB
138852011-11-14 Juanma Barranquero <lekktu@gmail.com>
13886
13887 * international/mule.el (define-charset):
13888 * mail/rmailmm.el (rmail-mime-find-header-encoding):
13889 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
13890 * progmodes/verilog-mode.el (verilog-backward-token):
13891 * textmodes/ispell.el (lookup-words):
13892 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
13893
71e027ac
GM
138942011-11-14 Glenn Morris <rgm@gnu.org>
13895
56632ce4
GM
13896 * progmodes/executable.el
13897 (executable-make-buffer-file-executable-if-script-p):
13898 Handle file-modes returning nil.
13899
40500957
GM
13900 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
13901 message - not necessary, and causes problems. (Bug#9831)
13902
071c2340
GM
13903 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
13904
d3cfca60
GM
13905 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
13906
71e027ac
GM
13907 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
13908 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
13909 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
13910
89d61221
MR
139112011-11-12 Martin Rudalics <rudalics@gmx.at>
13912
13913 * window.el (window-resize, delete-window): Use window-splits
13914 variable instead of function.
13915 (window-state-get-1, window-state-put-2, window-state-put):
13916 Don't deal with windows' splits status.
13917
98282f6f
GM
139182011-11-12 Glenn Morris <rgm@gnu.org>
13919
13920 * apropos.el (apropos-do-all, apropos-library, apropos-value)
13921 (apropos-documentation): Doc fixes.
13922
40a8bdf6
JB
139232011-11-11 Juanma Barranquero <lekktu@gmail.com>
13924
13925 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
13926 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
13927
65bd19ff
SM
139282011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
13929
13930 * electric.el (electric-indent-post-self-insert-function): Make it
13931 possible for a char to only indent in some circumstances.
13932 (electric-indent-mode): Simplify.
13933
54f9154c
MR
139342011-11-11 Martin Rudalics <rudalics@gmx.at>
13935
13936 * window.el (windows-with-parameter): Remove unused function.
13937 (windows-at-side): Rename to window-at-side-list.
13938 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
13939 (window-side-check, window-size-ignore, window-size-fixed-1)
13940 (window-in-direction-2): Prefix with "window--".
13941 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 13942
68cbc58b
GM
139432011-11-11 Glenn Morris <rgm@gnu.org>
13944
13945 * subr.el (eval-after-load): If FILE is already loaded,
13946 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
13947
b2621720
GM
139482011-11-10 Glenn Morris <rgm@gnu.org>
13949
9a4de110
GM
13950 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
13951 Call svn via vc-svn-command rather than vc-do-command.
13952 (vc-svn-command): Add --non-interactive. (Bug#9993)
13953 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
13954
b2621720
GM
13955 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13956 Add toggle-read-only. (Bug#7292)
13957 * files.el (toggle-read-only): Mention that it should only
13958 be used interactively. (Bug#10006)
13959
1dce7193
SM
139602011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
13961
d9ac1a1e
SM
13962 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13963 Adjust regexp for OCaml warnings.
13964
0c325082
SM
13965 * electric.el (electric-pair-post-self-insert-function): Let user
13966 turn it off buffer-locally (bug#9932).
13967
90132c14
SM
13968 * progmodes/python.el (python-beginning-of-statement):
13969 Rewrite (bug#2703).
13970
1dce7193
SM
13971 * progmodes/compile.el: Better handle TABs (bug#9749).
13972 (compilation-internal-error-properties)
13973 (compilation-next-error-function): Obey the target buffer's
13974 compilation-error-screen-columns.
13975
c4e7c63a
JB
139762011-11-09 Juanma Barranquero <lekktu@gmail.com>
13977
13978 * progmodes/meta-mode.el: Remove obsolete comments.
13979 (meta-right-comment-regexp, meta-ignore-comment-regexp):
13980 Fix typos in docstrings.
13981
2cffd681
MR
139822011-11-09 Martin Rudalics <rudalics@gmx.at>
13983
13984 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 13985 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
13986 (window--resizable): New function. Make all callers of
13987 window-resizable call window--resizable instead.
13988 (window-resizable): Rewrite in terms of window--resizable.
13989
0edcba87
GM
139902011-11-08 Glenn Morris <rgm@gnu.org>
13991
13992 * progmodes/delphi.el (delphi-mode-syntax-table):
13993 Let define-derived-mode define a proper syntax table. (Bug#9994)
13994
4b0d61e3
SM
139952011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13996
13997 * window.el: Stay away from defsubst.
13998 (window-list-no-nils): Remove.
13999 (window-state-get-1, window-state-get): Use backquote instead.
14000
cd394be1 140012011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 14002
4b0d61e3 14003 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 14004 Fix incorrect use of default argument in `completing-read'.
14005
e1c2c6f2
MR
140062011-11-08 Martin Rudalics <rudalics@gmx.at>
14007
14008 * window.el (display-buffer-function, special-display-function):
14009 Mention display-buffer-record-window but do not mention
14010 help-setup parameter in doc-strings.
b3f4a882 14011 (window-min-delta): Fix doc-string typo.
e1c2c6f2 14012
105216ed
CY
140132011-11-08 Chong Yidong <cyd@gnu.org>
14014
14015 * window.el (window-total-height, window-total-width): Doc fix.
14016 (window-body-size): Move from C.
14017 (window-body-height, window-body-width): Move to C.
14018
0a9f9ab5
SM
140192011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14020
14021 * window.el: Make special-display like display-buffer-alist (bug#9532).
14022 (display-buffer--special-action): New function, morphed
14023 from display-buffer--special.
14024 (display-buffer): Use it to handle special-display-buffers at higher
14025 priority (just after display-buffer-alist).
14026 (display-buffer-fallback-action, display-buffer--other-frame-action)
14027 (pop-to-buffer-same-window): Remove display-buffer--special.
14028
a769dd15
GM
140292011-11-07 Glenn Morris <rgm@gnu.org>
14030
14031 * calendar/cal-menu.el (cal-menu-set-date-title):
14032 Do nothing if not in a calendar. (Bug#9976)
14033
05a61ee3
SM
140342011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
14035
14036 * files.el (find-file): Always use selected-window.
14037
be7f5545
MR
140382011-11-07 Martin Rudalics <rudalics@gmx.at>
14039
14040 * window.el (window-combinations): Make WINDOW argument
14041 mandatory. Rewrite doc-string.
14042 (walk-window-subtree, window-atom-check, window-min-delta)
14043 (window-max-delta, window--resize-this-window)
14044 (window--resize-root-window-vertically, window-tree)
14045 (balance-windows, window-state-put): Rewrite doc-strings as to
14046 not mention the term "subwindow".
14047 (window--resize-subwindows-skip-p): Rename to
14048 window--resize-child-windows-skip-p.
14049 (window--resize-subwindows-normal): Rename to
14050 window--resize-child-windows-normal.
14051 (window--resize-subwindows): Rename to
14052 window--resize-child-windows.
14053 (window-or-subwindow-p): Rename to window--in-subtree-p.
14054
3c6702ef
ML
140552011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14056
14057 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
14058 Ensure that mbox format messages end in two newlines (Bug#9974).
14059
49745b39
CY
140602011-11-06 Chong Yidong <cyd@gnu.org>
14061
14062 * window.el (window-combination-p): Function deleted; its
14063 side-effect is not used in any existing code.
14064 (window-combinations, window-combined-p): Call window-*-child
14065 directly.
14066
24300f5f
CY
140672011-11-05 Chong Yidong <cyd@gnu.org>
14068
14069 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
14070 (window-size-ignore, window-state-get): Callers changed.
14071 (window-normalize-window): Rename from window-normalize-any-window.
14072 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 14073 (window-normalize-live-window): Delete.
447f16b8
CY
14074 (window-combination-p, window-combined-p, window-combinations)
14075 (walk-window-subtree, window-atom-root, window-min-size)
14076 (window-sizable, window-sizable-p, window-size-fixed-p)
14077 (window-min-delta, window-max-delta, window-resizable)
14078 (window-resizable-p, window-full-height-p, window-full-width-p)
14079 (window-current-scroll-bars, window-point-1, set-window-point-1)
14080 (window-at-side-p, window-in-direction, window-resize)
14081 (adjust-window-trailing-edge, maximize-window, minimize-window)
14082 (window-deletable-p, delete-window, delete-other-windows)
14083 (record-window-buffer, unrecord-window-buffer)
14084 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
14085 (quit-window, split-window, window-state-put)
14086 (set-window-text-height, fit-window-to-buffer)
14087 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 14088
89bd5ee1
EZ
140892011-11-04 Eli Zaretskii <eliz@gnu.org>
14090
53479029
EZ
14091 * mail/rmail.el (rmail-simplified-subject): Decode subject with
14092 rfc2047-decode-string.
14093 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
14094 warnings.
14095
89bd5ee1
EZ
14096 * window.el (window-body-height, window-body-width): Mention in
14097 the doc string that the return values are in frame's canonical
14098 units. (Bug#9949)
14099
bd17fdee
AM
141002011-11-03 Alan Mackenzie <acm@muc.de>
14101
14102 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
14103 change in cc-engine.el.
14104
acc825c5
SM
141052011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
14106
14107 * window.el (switch-to-buffer): Use `force-same-window' interactively.
14108
1885e5b8
MR
141092011-11-02 Martin Rudalics <rudalics@gmx.at>
14110
14111 * window.el (quit-window): Call unrecord-window-buffer after
14112 showing another buffer in the window. (Bug#9937)
acc825c5 14113 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 14114
ebe06da9
JB
141152011-11-02 Juanma Barranquero <lekktu@gmail.com>
14116
14117 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
14118 Accept status with more than 9 shelves. (Bug#9935)
14119 Reported by Colin D Bennett <colin@gibibit.com>.
14120
4ee88440
MR
141212011-11-01 Martin Rudalics <rudalics@gmx.at>
14122
14123 * help.el (with-help-window): Don't reference
14124 temp-buffer-show-specifiers in doc-string.
14125
08e1d82c
AS
141262011-10-31 Andreas Schwab <schwab@linux-m68k.org>
14127
14128 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
14129 menu-item.
14130
84bd6e9e
VJL
141312011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14132
14133 * whitespace.el: New version 13.2.2.
14134 (whitespace-newline-mode): Disable properly. Reported by Sarah
14135 <EmacsWiki>.
14136
dba0634a
UJ
141372011-10-30 Ulf Jasper <ulf.jasper@web.de>
14138
14139 * net/newst-treeview.el: Remove "Time-stamp".
14140 (newsticker--group-manage-orphan-feeds): Do not call
14141 newsticker--treeview-tree-update.
db22a3c2
JB
14142 (newsticker-treeview-update, newsticker-treeview):
14143 Call newsticker--treeview-tree-update if necessary.
dba0634a 14144
3d8daefe
MR
141452011-10-30 Martin Rudalics <rudalics@gmx.at>
14146
14147 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
14148 (window-iso-combinations): Remove "iso-" infix.
14149 Suggested by Chong Yidong.
3d8daefe
MR
14150 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
14151 (window-max-delta-1, window-resize, window--resize-siblings)
14152 (window--resize-this-window, adjust-window-trailing-edge)
14153 (split-window, balance-windows-1)
14154 (shrink-window-if-larger-than-buffer):
14155 * calendar/calendar.el (calendar-generate-window):
db22a3c2 14156 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 14157
1bc4c3ae
SM
141582011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
14159
14160 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
14161 in place (bug#9907).
14162 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
14163 (eshell-rewrite-if-command, eshell-rewrite-for-command)
14164 (eshell-structure-basic-command, eshell-rewrite-while-command)
14165 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
14166 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
14167 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
14168 (eshell-do-pipelines-synchronously, eshell-eval-command):
14169 Use backquotes and prefer setq to set.
14170 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
14171 (eshell-macrop): Use functionp.
c1e2f5fa 14172 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 14173
30b65d9c
CY
141742011-10-30 Chong Yidong <cyd@gnu.org>
14175
14176 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
14177 instead of set-mark (Bug#9810).
14178
2d197ffb
CY
141792011-10-30 Chong Yidong <cyd@gnu.org>
14180
14181 * window.el (split-window-below, split-window-right): Rename from
14182 split-window-above-each-other and split-window-side-by-side
14183 respectively. All callers changed.
14184 (split-window-sensibly, split-window-sensibly): Use them.
14185 (split-window-keep-point): Doc fix.
14186
14187 * isearch.el: Add isearch-scroll property to split-window-below
14188 and split-window-right.
14189
14190 * follow.el (follow-mode):
14191 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14192 * progmodes/ada-xref.el (ada-gdb-application):
14193 * emulation/vip.el (vip-buffer-in-two-windows):
14194 * image-dired.el (image-dired-dired-with-window-configuration):
14195 * dired-x.el (dired-do-find-marked-files):
14196 * dired.el (dired-pop-to-buffer):
14197 * bs.el (bs--show-with-configuration):
14198 * vc/emerge.el (emerge-setup-windows):
14199 * textmodes/two-column.el (2C-two-columns):
14200 * textmodes/reftex-toc.el (reftex-toc):
14201 * progmodes/gdb-mi.el (gdb-setup-windows):
14202 * progmodes/fortran.el (fortran-window-create):
14203 * net/newst-treeview.el (newsticker--treeview-window-init):
14204 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
14205 * emulation/tpu-edt.el (tpu-gold-map):
14206 * emulation/crisp.el (crisp-mode-map):
14207 * calendar/calendar.el (calendar-basic-setup): Callers changed.
14208
38bb2ca8
CY
142092011-10-29 Chong Yidong <cyd@gnu.org>
14210
aa4de341
CY
14211 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
14212
e1eb5385
CY
14213 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
14214
5d2ece3c
CY
14215 * textmodes/flyspell.el (flyspell-word): Fix char offset for
14216 forged Ispell output (Bug#7904).
14217
38bb2ca8
CY
14218 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
14219
d0af9f77
SM
142202011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14221
14222 * doc-view.el: Avoid ugly errors about not finding nil.
14223 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
14224 (doc-view-dvipdf-program, doc-view-unoconv-program)
14225 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
14226 Avoid nil or absolute file name as default value.
14227 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
14228
52bedd34
AM
142292011-10-28 Alan Mackenzie <acm@muc.de>
14230
db22a3c2 14231 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 14232
7e43cfa5
AM
142332011-10-28 Alan Mackenzie <acm@muc.de>
14234
14235 Amend the handling of c-beginning/end-of-defun in nested declaration
14236 scopes.
14237
52bedd34
AM
14238 * progmodes/cc-vars.el (c-defun-tactic): Move here from
14239 cc-langs.el. Change it to a defcustom.
7e43cfa5 14240
52bedd34
AM
14241 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
14242 cc-vars.el.
7e43cfa5 14243
d0af9f77
SM
14244 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14245 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 14246
52bedd34 14247 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 14248 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
14249 (c-widen-to-enclosing-decl-scope): New function.
14250 (c-while-widening-to-decl-block): New macro.
14251 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
14252 outward for defun boundaries, and correspondingly change symbol
14253 `respect-enclosure' to `go-outward'.
14254 (c-declaration-limits): Change algorithm to report only the "innermost"
14255 defun's boundaries.
14256
1a2ce9ee
DD
142572011-10-28 Deniz Dogan <deniz@dogan.se>
14258
14259 * net/rcirc.el (rcirc-mode): Use hard newlines.
14260
bc97a826
AM
142612011-10-28 Alan Mackenzie <acm@muc.de>
14262
14263 Amend to indent and fontify macros "which include their own semicolon"
14264 correctly, using the "virtual semicolon" mechanism.
14265
52bedd34 14266 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 14267
d0af9f77 14268 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 14269 Recode to scan one line at a time rather than having \n and \r
58179cce 14270 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 14271 (c-forward-label): Amend for virtual semicolons.
58179cce 14272 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 14273
52bedd34
AM
14274 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
14275 of the new C macros.
bc97a826 14276
52bedd34 14277 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
14278 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
14279 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
14280 (c-opt-cpp-macro-define): Make into a full language variable.
14281 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
14282 AWK Mode (including \n, \r) removed, no longer needed.
14283
d0af9f77
SM
14284 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
14285 Invoke c-make-macro-with-semi-re.
bc97a826 14286
52bedd34
AM
14287 * progmodes/cc-vars.el (c-macro-with-semi-re):
14288 (c-macro-names-with-semicolon): New variables.
58179cce 14289 (c-make-macro-with-semi-re): New function.
bc97a826 14290
7a6c0941
SM
142912011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14292
14293 * vc/log-edit.el: Fill empty field rather than adding new one.
14294 (log-edit-add-field): New function.
14295 (log-edit-insert-changelog): Use it.
14296
b0c4cdcf
ML
142972011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14298
14299 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
14300
ee1f1da9
SM
143012011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14302
14303 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
14304 (gdb--check-interpreter): New function.
14305 (gdb): Use it.
14306
51bc5f8b
GM
143072011-10-27 Glenn Morris <rgm@gnu.org>
14308
416a2c45
GM
14309 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
14310 (least-positive-float, least-negative-float)
14311 (least-positive-normalized-float, least-negative-normalized-float)
14312 (float-epsilon, float-negative-epsilon):
14313 Remove unnecessary declarations.
14314
14315 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
14316 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
14317 (least-positive-float, least-negative-float)
14318 (least-positive-normalized-float, least-negative-normalized-float)
14319 (float-epsilon, float-negative-epsilon): Add doc-strings,
14320 based on those in cl.texi.
14321
51bc5f8b
GM
14322 * files.el (set-visited-file-name): If the major-mode changed,
14323 reload the local variables. (Bug#9796)
14324
15de15c6
CY
143252011-10-27 Chong Yidong <cyd@gnu.org>
14326
14327 * subr.el (change-major-mode-after-body-hook): New hook.
14328 (run-mode-hooks): Run it.
14329
ee1f1da9
SM
14330 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14331 Use change-major-mode-before-body-hook.
15de15c6
CY
14332
14333 * simple.el (fundamental-mode):
14334 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
14335 change introducing fundamental-mode-hook.
14336
5430d399
JB
143372011-10-26 Juanma Barranquero <lekktu@gmail.com>
14338
acc825c5 14339 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 14340
ad74a69e
MA
143412011-10-26 Michael Albinus <michael.albinus@gmx.de>
14342
14343 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 14344 tramp.el explicitly. (Bug#7583)
ad74a69e 14345
71d4c2a5
SM
143462011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
14347
14348 * progmodes/octave-mod.el:
14349 * progmodes/octave-inf.el: Update maintainer.
14350
b1f6fa26
CY
143512011-10-26 Chong Yidong <cyd@gnu.org>
14352
14353 * subr.el (with-wrapper-hook): Rewrite doc.
14354
3f04efd6
MA
143552011-10-25 Michael Albinus <michael.albinus@gmx.de>
14356
14357 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 14358 filenames "/method:foo:". (Bug#9793)
3f04efd6 14359
410488d3
SM
143602011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
14361
14362 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
14363 (bug#9865).
14364
c1ebb47e
GM
143652011-10-24 Glenn Morris <rgm@gnu.org>
14366
14367 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
14368
7f5c46c7
MA
143692011-10-24 Michael Albinus <michael.albinus@gmx.de>
14370
14371 * notifications.el: Add the requirement of a running D-Bus session
14372 bus to the Commentary.
14373
db2440b6
JL
143742011-10-24 Juri Linkov <juri@jurta.org>
14375
14376 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14377 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
14378 (Bug#9364)
14379
feecf435
JL
143802011-10-24 Juri Linkov <juri@jurta.org>
14381
14382 * info.el (Info-following-node-name-re): Add newline to the list
14383 of allowed characters for leading space. (Bug#9824)
14384
a3839de2
SM
143852011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
14386
acc825c5
SM
14387 * progmodes/octave-inf.el (inferior-octave-mode-map):
14388 Fix C-c C-h binding.
a3839de2
SM
14389 * progmodes/octave-mod.el (octave-help): Remove.
14390
09388e76
MA
143912011-10-23 Michael Albinus <michael.albinus@gmx.de>
14392
14393 Sync with Tramp 2.2.3.
14394
14395 * net/tramp-cache.el (top): Pacify byte-compiler using
14396 `init-file-user' and `site-run-file'.
14397
14398 * net/trampver.el: Update release number.
14399
86c60681
CY
144002011-10-23 Chong Yidong <cyd@gnu.org>
14401
14402 * files.el (toggle-read-only): Remove obsolete comment about
14403 version control.
14404
14405 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
14406 for toggle-read-only. Note that this hasn't called vc-next-action
14407 since 2008-05-02, though it wasn't documented at the time.
14408
a3839de2
SM
14409 * vc/ediff-init.el (ediff-toggle-read-only-function):
14410 Use toggle-read-only.
86c60681 14411
cd5495ff
AM
144122011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
14413
14414 Fix bug #9560, sporadic wrong indentation; improve instrumentation
14415 of c-parse-state.
14416
00b77525 14417 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 14418 correct faulty logical expression.
cd5495ff
AM
14419 (c-parse-state-state, c-record-parse-state-state):
14420 (c-replay-parse-state-state): New defvar/defuns.
14421 (c-debug-parse-state): Use new functions.
14422
42ee24ed
MR
144232011-10-22 Martin Rudalics <rudalics@gmx.at>
14424
14425 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 14426 last fix. Use window-in-direction correctly.
42ee24ed 14427
a7dee7e7
CY
144282011-10-21 Chong Yidong <cyd@gnu.org>
14429
14430 * progmodes/idlwave.el (idlwave-mode):
14431 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
14432 require-final-newline; that's done in prog-mode.
14433 Suggested by Stefan Monnier.
a7dee7e7 14434
e07b9a6d
MR
144352011-10-21 Martin Rudalics <rudalics@gmx.at>
14436
14437 * mouse.el (mouse-drag-window-above)
14438 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
14439 (mouse-drag-mode-line-1, mouse-drag-header-line)
14440 (mouse-drag-vertical-line-rightward-window): Remove.
14441 (mouse-drag-line): New function.
14442 (mouse-drag-mode-line, mouse-drag-header-line)
14443 (mouse-drag-vertical-line): Call mouse-drag-line.
14444 * window.el (window-at-side-p, windows-at-side): New functions.
14445
7e1361d9
UM
144462011-10-21 Ulrich Mueller <ulm@gentoo.org>
14447
14448 * tar-mode.el (tar-grind-file-mode):
14449 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
14450
30fcaf3a
CY
144512011-10-21 Chong Yidong <cyd@gnu.org>
14452
14453 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
14454 * progmodes/vera-mode.el (vera-mode):
14455 Use mode-require-final-newline.
30fcaf3a 14456
516eddb0
GM
144572011-10-20 Glenn Morris <rgm@gnu.org>
14458
db22a3c2 14459 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 14460
10d5f513
CS
144612011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
14462
14463 * emulation/cua-base.el (cua-set-mark): Fix case of string.
14464
ac6c8639
CY
144652011-10-20 Chong Yidong <cyd@gnu.org>
14466
14467 * emulation/cua-base.el (cua-mode):
14468 * mail/footnote.el (footnote-mode):
14469 * mail/mailabbrev.el (mail-abbrevs-mode):
14470 * net/xesam.el (xesam-minor-mode):
14471 * progmodes/bug-reference.el (bug-reference-mode):
14472 * progmodes/cap-words.el (capitalized-words-mode):
14473 * progmodes/compile.el (compilation-minor-mode)
14474 (compilation-shell-minor-mode):
14475 * progmodes/gud.el (gud-tooltip-mode):
14476 * progmodes/hideif.el (hide-ifdef-mode):
14477 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
14478 * progmodes/subword.el (subword-mode):
14479 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14480 * progmodes/which-func.el (which-function-mode):
14481 * term/tvi970.el (tvi970-set-keypad-mode):
14482 * term/vt100.el (vt100-wide-mode):
14483 * textmodes/flyspell.el (flyspell-mode):
14484 * textmodes/ispell.el (ispell-minor-mode):
14485 * textmodes/nroff-mode.el (nroff-electric-mode):
14486 * textmodes/paragraphs.el (use-hard-newlines):
14487 * textmodes/refill.el (refill-mode):
14488 * textmodes/reftex.el (reftex-mode):
14489 * textmodes/rst.el (rst-minor-mode):
14490 * textmodes/sgml-mode.el (html-autoview-mode)
14491 (sgml-electric-tag-pair-mode):
14492 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
14493 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
14494 * emulation/crisp.el (crisp-mode):
14495 * emacs-lisp/eldoc.el (eldoc-mode):
14496 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
14497 minor mode behavior.
14498
aa42ab43
JL
144992011-10-19 Juri Linkov <juri@jurta.org>
14500
14501 * descr-text.el (describe-char): Add #x2010 and #x2011 to
14502 the list of hard-coded chars with escape-glyph face.
14503
89400f1d
SM
145042011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
14505
14506 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
14507
305c07f6
MA
145082011-10-19 Michael Albinus <michael.albinus@gmx.de>
14509
14510 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
14511 running process.
14512
13754b54
GM
145132011-10-19 Glenn Morris <rgm@gnu.org>
14514
14515 * vc/vc-bzr.el (vc-bzr-after-dir-status):
14516 Ignore ignored files. (Bug#9726)
14517
06e21633
CY
145182011-10-19 Chong Yidong <cyd@gnu.org>
14519
14520 Doc fix for minor modes, stating that an omitted argument enables
14521 the mode unconditionally when called from Lisp.
14522
14523 * abbrev.el (abbrev-mode):
14524 * allout.el (allout-mode):
14525 * autoinsert.el (auto-insert-mode):
14526 * autoarg.el (autoarg-mode, autoarg-kp-mode):
14527 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14528 (global-auto-revert-mode):
14529 * battery.el (display-battery-mode):
14530 * composite.el (global-auto-composition-mode)
14531 (auto-composition-mode):
14532 * delsel.el (delete-selection-mode):
14533 * desktop.el (desktop-save-mode):
14534 * dired-x.el (dired-omit-mode):
14535 * dirtrack.el (dirtrack-mode):
14536 * doc-view.el (doc-view-minor-mode):
14537 * double.el (double-mode):
14538 * electric.el (electric-indent-mode, electric-pair-mode):
14539 * emacs-lock.el (emacs-lock-mode):
14540 * epa-hook.el (auto-encryption-mode):
14541 * follow.el (follow-mode):
14542 * font-core.el (font-lock-mode):
14543 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
14544 * help.el (temp-buffer-resize-mode):
14545 * hilit-chg.el (highlight-changes-mode)
14546 (highlight-changes-visible-mode):
14547 * hi-lock.el (hi-lock-mode):
14548 * hl-line.el (hl-line-mode, global-hl-line-mode):
14549 * icomplete.el (icomplete-mode):
14550 * ido.el (ido-everywhere):
14551 * image-file.el (auto-image-file-mode):
14552 * image-mode.el (image-minor-mode):
14553 * iswitchb.el (iswitchb-mode):
14554 * jka-cmpr-hook.el (auto-compression-mode):
14555 * linum.el (linum-mode):
14556 * longlines.el (longlines-mode):
14557 * master.el (master-mode):
14558 * mb-depth.el (minibuffer-depth-indicate-mode):
14559 * menu-bar.el (menu-bar-mode):
14560 * minibuf-eldef.el (minibuffer-electric-default-mode):
14561 * mouse-sel.el (mouse-sel-mode):
14562 * msb.el (msb-mode):
14563 * mwheel.el (mouse-wheel-mode):
14564 * outline.el (outline-minor-mode):
14565 * paren.el (show-paren-mode):
14566 * recentf.el (recentf-mode):
14567 * reveal.el (reveal-mode, global-reveal-mode):
14568 * rfn-eshadow.el (file-name-shadow-mode):
14569 * ruler-mode.el (ruler-mode):
14570 * savehist.el (savehist-mode):
14571 * scroll-all.el (scroll-all-mode):
14572 * scroll-bar.el (scroll-bar-mode):
14573 * server.el (server-mode):
14574 * shell.el (shell-dirtrack-mode):
14575 * simple.el (auto-fill-mode, transient-mark-mode)
14576 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
14577 (line-number-mode, column-number-mode, size-indication-mode)
14578 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
14579 * strokes.el (strokes-mode):
14580 * time.el (display-time-mode):
14581 * t-mouse.el (gpm-mouse-mode):
14582 * tool-bar.el (tool-bar-mode):
14583 * tooltip.el (tooltip-mode):
14584 * type-break.el (type-break-mode-line-message-mode)
14585 (type-break-query-mode):
14586 * view.el (view-mode):
14587 * whitespace.el (whitespace-mode, whitespace-newline-mode)
14588 (global-whitespace-mode, global-whitespace-newline-mode):
14589 * xt-mouse.el (xterm-mouse-mode): Doc fix.
14590
a3839de2
SM
14591 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14592 Fix autogenerated docstring.
06e21633 14593
5214e501
JL
145942011-10-19 Juri Linkov <juri@jurta.org>
14595
14596 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
14597 by checking environment variables "DESKTOP_SESSION" and
14598 "XDG_CURRENT_DESKTOP". (Bug#9779)
14599
195f8db9
JL
146002011-10-19 Juri Linkov <juri@jurta.org>
14601
14602 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
14603 (browse-url-chromium-program, browse-url-chromium-arguments):
14604 New defcustoms.
14605 (browse-url-default-browser): Check for `browse-url-chromium' and
14606 call `browse-url-chromium-program'.
14607 (browse-url-chromium): New command. (Bug#9779)
14608
343a34ff
JB
146092011-10-18 Juanma Barranquero <lekktu@gmail.com>
14610
14611 * facemenu.el (list-colors-duplicates): On Windows, detect more
14612 duplicates by assuming that only colors matching "^System" are
14613 special "system colors". (Bug#9722)
14614
6978a151
SM
146152011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
14616
14617 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
14618 to distinguish the author from the committer.
14619
6a80b297
MA
146202011-10-18 Michael Albinus <michael.albinus@gmx.de>
14621
14622 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
14623
b31a5677
JK
146242011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
14625
14626 * international/mule.el (sgml-html-meta-auto-coding-function):
14627 Add support for detecting encoding in HTML5 specified only as
14628 <meta charset="UTF-8">. Implementation just makes http-equiv and
14629 content-type parts from HTML4 encoding string optional. (Bug#9716)
14630
80c6d77f
GM
146312011-10-18 Glenn Morris <rgm@gnu.org>
14632
14633 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
14634
08b0fee8
CY
146352011-10-18 Chong Yidong <cyd@gnu.org>
14636
14637 * faces.el (cursor): Doc fix.
14638
67e729a5
CY
146392011-10-17 Chong Yidong <cyd@gnu.org>
14640
14641 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
14642
343a34ff 146432011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
14644
14645 * dirtrack.el (dirtrack): Support shell buffers with path
14646 prefixes, e.g. tramp-based remote shells. (Bug#9647)
14647
0bc06380
TZ
146482011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
14649
14650 * json.el: Bump version to 1.3 and note change in History.
14651 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
14652
8b79f3e0
SM
146532011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14654
5a7c536b
SM
14655 * comint.el (comint-insert-input, comint-send-input)
14656 (comint-get-old-input-default, comint-backward-matching-input)
14657 (comint-next-prompt): Use nil instead of `input' for field property of
14658 past user input (bug#114).
14659
96a8a0df
SM
14660 * minibuffer.el (completion--replace): Inherit surrounding properties
14661 (bug#114).
14662 (minibuffer-complete-and-exit): Use it.
14663
8b79f3e0
SM
14664 * comint.el (comint--table-subvert): Quote the all-completions output
14665 (bug#9160).
14666
b8f7ff0d
MR
146672011-10-17 Martin Rudalics <rudalics@gmx.at>
14668
8b79f3e0 14669 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 14670
b8f7ff0d 14671 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 14672 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
14673 entries and separate them from frame entries.
14674
c235b555
GM
146752011-10-15 Glenn Morris <rgm@gnu.org>
14676
14677 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
14678 Doc fixes.
14679
6bbfa6e1
CY
146802011-10-15 Chong Yidong <cyd@stupidchicken.com>
14681
8b79f3e0
SM
14682 * net/network-stream.el (network-stream-open-starttls):
14683 Improve detection of failure due to lack of TLS support.
ec5c990d 14684
6bbfa6e1
CY
14685 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
14686 putting the input text in front and in bold.
14687
98488977
SM
146882011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14689
3d1337be
SM
14690 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
14691
ee0b45e4
SM
14692 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
14693 empty buffer.
14694
98488977
SM
14695 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
14696 unread-command-events rather than pushing yet-another event.
14697
186f4720
EZ
146982011-10-14 Eli Zaretskii <eliz@gnu.org>
14699
14700 * mail/sendmail.el (sendmail-query-once): Improve the wording of
14701 the explanation of the possible choices. Make the options passed
14702 to completing-read shorter.
14703
8b7a997c
AM
147042011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14705
14706 * textmodes/flyspell.el (flyspell-large-region): Make sure
14707 extended character mode is used if defined (Bug#1339).
14708
12587bbb
EZ
147092011-10-13 Eli Zaretskii <eliz@gnu.org>
14710
14711 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
14712 character info for LRE, LRO, RLE, and RLO characters by appending
14713 an invisible PDF.
12587bbb 14714
bad41229
SM
147152011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
14716
14717 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
14718 even in case of error; add debug spec; simplify data flow.
14719 (with-timeout-handler): Remove.
14720
28dbc92f
MA
147212011-10-12 Michael Albinus <michael.albinus@gmx.de>
14722
14723 Fix Bug#6019, Bug#9315.
14724
14725 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
14726 complete `buffer-file-name', the local file name part could look
14727 remotely (for example on VMS).
14728
14729 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
14730 `tramp-run-real-handler'.
14731 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
14732 already quoted by '"'.
14733
14734 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
14735 Let `file-name-handler-alist' be nil, the local file name part
14736 could look remotely (for example on VMS).
14737
e1b0b23a
SM
147382011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
14739
14740 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
14741 from here...
14742 (flyspell-post-command-hook): ...to here.
14743
a120bde9
SM
147442011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14745
14746 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
14747 if not needed.
14748 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
14749 using completion. Protect against "slow" callers.
14750 Remove the "message hack".
14751
7ce7717b
JL
147522011-10-11 Juri Linkov <juri@jurta.org>
14753
14754 * isearch.el (isearch-lazy-highlight-word): New variable.
14755 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
14756 Use it. (Bug#9727)
14757
c02ee9d6
GM
147582011-10-11 Glenn Morris <rgm@gnu.org>
14759
14760 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
14761 like f90-previous-statement does.
14762
93e616fd 147632011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14764
1f190e73 14765 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
14766 only in interactive use, to avoid error.
14767
af7b6078
SM
147682011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14769
14770 * minibuffer.el (completion-file-name-table): Fix last change,
14771 i.e. ignore normal errors but not the other ones.
14772
0563dae9
MR
147732011-10-10 Martin Rudalics <rudalics@gmx.at>
14774
14775 * window.el (special-display-buffer-names)
14776 (special-display-regexps): Remove some remnants of earlier
14777 changes from doc-strings.
366ca7f3
MR
14778 (quit-windows-on): New function.
14779
14780 * vc/vc.el (vc-revert, vc-rollback):
14781 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
14782 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 14783 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 14784
49677495
MR
147852011-10-09 Martin Rudalics <rudalics@gmx.at>
14786
14787 * window.el (frame-auto-hide-function): Add version tag.
14788 (Bug#9699)
14789
56f2d1e1
MA
147902011-10-09 Michael Albinus <michael.albinus@gmx.de>
14791
14792 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
14793 condition.
14794
112a6592
LL
147952011-10-09 Leo Liu <sdl.web@gmail.com>
14796
14797 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
14798 (Bug#9701)
14799
0812589b
GM
148002011-10-08 Glenn Morris <rgm@gnu.org>
14801
14802 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
14803 before the first code statement zero indent. (Bug#9690)
14804
b2b0776e
CY
148052011-10-08 Chong Yidong <cyd@stupidchicken.com>
14806
14807 * simple.el (count-words-region): Always count in the region.
14808 Report the number of lines and characters too.
14809 (count-words): New command, which counts in the buffer if the
14810 region is inactive, as count-words-region used to.
14811 (count-words--message): New function. Handle plurals.
14812 (count-lines-region): Make it an alias for count-words-region.
14813
14814 * bindings.el (esc-map): Replace count-lines-region with
14815 count-words-region.
14816
c557cd6b
MR
148172011-10-08 Martin Rudalics <rudalics@gmx.at>
14818
14819 * window.el (window--delete): Delete dedicated frame
14820 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 14821 (switch-to-buffer): Fix doc-string typo.
c557cd6b 14822
61a57ef4 148232011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14824
3a7d293b 14825 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 14826
c3833279
CY
148272011-10-07 Chong Yidong <cyd@stupidchicken.com>
14828
14829 * bindings.el ([M-left],[M-right]): Bind to left-word and
14830 right-word respectively.
14831
21ce8245
GM
148322011-10-07 Glenn Morris <rgm@gnu.org>
14833
14834 * cus-start.el (debug-on-quit): Fix custom type.
14835
6d823bb2
LMI
148362011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14837
0181e193
LMI
14838 * subr.el (define-key-after): Clarify that the function is not
14839 useful for non-menu keymaps.
14840
6d823bb2
LMI
14841 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
14842
8e3459ce 148432011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14844
21ce8245 14845 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 14846 in current minibuffer (Fix bug with recursive minibuffers).
14847
a1c2d21e
CY
148482011-10-06 Chong Yidong <cyd@stupidchicken.com>
14849
14850 * progmodes/gdb-mi.el (gdb): Doc fix.
14851
5a4cf282
MR
148522011-10-05 Martin Rudalics <rudalics@gmx.at>
14853
14854 * window.el (frame-auto-hide-function): New option replacing
14855 frame-auto-delete. Suggested by Stefan Monnier.
14856 (window--delete): Call frame-auto-hide-function instead of
14857 investigating frame-auto-delete.
c96111ea
MR
14858 (window-point-1, set-window-point-1): New functions.
14859 (window-in-direction, record-window-buffer, window-state-get-1)
14860 (display-buffer-record-window): Use window-point-1 instead of
14861 window-point.
14862 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 14863
9854542e
SM
148642011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14865
14866 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
14867
8943cfb0
GM
148682011-10-05 Glenn Morris <rgm@gnu.org>
14869
14870 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
14871 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
14872
647ab967
LL
148732011-10-05 Leo Liu <sdl.web@gmail.com>
14874
14875 * subr.el (read-char-choice): Fix argument to buffer-live-p which
14876 works with buffer object.
14877
3ddfbced
SM
148782011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14879
14880 * mpc.el (mpc-tool-bar-map): Add labels.
14881
bdfa5dd2
GM
148822011-10-04 Glenn Morris <rgm@gnu.org>
14883
14884 * calendar/holidays.el (calendar-check-holidays): Doc fix.
14885
0e2070b5
MR
148862011-10-04 Martin Rudalics <rudalics@gmx.at>
14887
14888 * window.el (window--delete): New function.
14889 (frame-auto-delete): Resuscitate option.
14890 (bury-buffer, replace-buffer-in-windows)
14891 (quit-window): Rewrite using window--delete.
14892 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14893 Pass display-buffer-mark-dedicated to window--display-buffer-2
14894 (Bug#9639).
14895
3dc61a09
SM
148962011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14897
915a9b64
SM
14898 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
14899 returns a list (bug#9554). Add remote file name completion.
14900 * comint.el (comint--table-subvert): Curry and get quote&unquote
14901 functions as arguments.
14902 (comint--complete-file-name-data): Adjust call accordingly.
14903 * pcomplete.el (pcomplete--table-subvert): Remove.
14904 (pcomplete-completions-at-point): Use comint--table-subvert instead.
14905
3dc61a09
SM
14906 * minibuffer.el (completion-table-case-fold): Use currying.
14907 (completion--styles-type, completion--cycling-threshold-type):
14908 New constants.
14909 (completion-styles, completion-category-overrides)
14910 (completion-cycle-threshold): Use them.
14911 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
14912 completion-table-case-fold.
14913
8ea0a993
SB
149142011-10-03 Stephen Berman <stephen.berman@gmx.net>
14915
14916 * minibuffer.el (completion-category-overrides): Fix type of styles
14917 and add more user friendly tags (bug#9660).
14918
8c24b7f6
SM
149192011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14920
14921 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
14922 (mule-input-method-string): New widget.
14923 (default-input-method, language-info-custom-alist): Use it.
14924
428fe61a
SM
149252011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
14926
32c1fffd
SM
14927 * pcomplete.el: Require comint.
14928 (pcomplete--common-suffix): Remove.
14929 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
14930 (pcomplete--table-subvert): Sync with comint--table-subvert.
14931 (pcomplete--entries): Use comint-completion-file-name-table.
14932 * comint.el (comint-unquote-filename): Simplify.
14933 (comint-completion-file-name-table): New function (bug#9616).
14934 (comint--complete-file-name-data): Use it.
14935
428fe61a
SM
14936 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
14937 (pcmpl-gnu-tar-buffer): Remove.
14938 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
14939 around. Make sure pcomplete-suffix-list is only changed temporarily.
14940 Don't look inside the tar's file if it's too large.
428fe61a 14941
04c52e2f
CY
149422011-10-01 Chong Yidong <cyd@stupidchicken.com>
14943
ce3cefcc
CY
14944 * cus-edit.el (custom-mode-map):
14945 * epa.el (epa-key-list-mode-map):
14946 * man.el (Man-mode-map):
14947 * startup.el (splash-screen-keymap):
14948 * simple.el (special-mode-map): Use scroll-up-command and
14949 scroll-down-command.
14950
14951 * progmodes/idlw-help.el (idlwave-help-mode-map):
14952 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
14953 * net/newst-plainview.el (newsticker-mode-map):
14954 * emulation/ws-mode.el (wordstar-mode-map):
14955 * emulation/vi.el (vi-com-map):
14956 * calc/calc-graph.el (calc-graph-show-dumb):
14957 * term/sun.el (terminal-init-sun):
14958 * term/ns-win.el (global-map):
14959 * progmodes/grep.el (grep-mode-map):
14960 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
14961 * mail/rmail.el (rmail-mode-map):
14962 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
14963
04c52e2f
CY
14964 * custom.el (custom-safe-themes, load-theme): Treat value of t for
14965 custom-safe-themes as special.
14966
79adf8c8
JD
149672011-10-01 Julien Danjou <julien@danjou.info>
14968
14969 * notifications.el (notifications-notify): Fix docstring.
14970
63bd50d3
PS
149712011-10-01 Per Starbäck <per@starback.se>
14972
14973 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
14974
199e4c7e
MR
149752011-09-30 Martin Rudalics <rudalics@gmx.at>
14976
14977 * startup.el (command-line-1): Fix last fix by inserting
14978 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 14979 (Bug#9605) and (Bug#9636)
199e4c7e 14980
fe5f08dd
EZ
149812011-09-29 Eli Zaretskii <eliz@gnu.org>
14982
14983 * simple.el (line-move): If auto-hscroll-mode is disabled and the
14984 window is hscrolled, move by logical lines. (Bug#9607)
14985 (line-move-visual): Update the doc string to the above effect.
14986
b5516bbd
MR
149872011-09-29 Martin Rudalics <rudalics@gmx.at>
14988
ccee00c0
MR
14989 * window.el (display-buffer-record-window): When WINDOW is the
14990 selected window use `point' instead of `window-point'. (Bug#9626)
14991
b5516bbd
MR
14992 * startup.el (command-line-1): Use insert-before-markers when
14993 inserting initial-scratch-message. (Bug#9605)
ccee00c0 14994
b5516bbd
MR
14995 * help.el (help-window): Remove variable.
14996
52aa0014
GM
149972011-09-29 Glenn Morris <rgm@gnu.org>
14998
14999 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
15000
df9a7357
JB
150012011-09-29 Juanma Barranquero <lekktu@gmail.com>
15002
15003 * descr-text.el (describe-char-categories): Accept category
15004 descriptions more than one line long.
15005
a8406c20
SM
150062011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
15007
88d9610c
SM
15008 * simple.el (delete-trailing-whitespace): Fix last change.
15009
a5daf810
SM
15010 * progmodes/perl-mode.el (perl-syntax-propertize-function):
15011 Don't confuse "y => 3" as the beginning of a `y' operation.
15012
a8406c20
SM
15013 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
15014 object has more than 4 slots (bug#9613).
15015
a239d4e9
JB
150162011-09-28 Juanma Barranquero <lekktu@gmail.com>
15017
15018 * subr.el (with-output-to-temp-buffer):
15019 * net/quickurl.el (quickurl, quickurl-browse-url):
15020 Fix typos in docstrings.
15021
693fbdb6
EZ
150222011-09-27 Eli Zaretskii <eliz@gnu.org>
15023
15024 * minibuffer.el (completion-styles)
15025 (completion-category-overrides): Cross reference each other in doc
15026 strings.
15027
8b457e28
GM
150282011-09-27 Glenn Morris <rgm@gnu.org>
15029
15030 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
15031 to split-string. (Bug#9606)
15032
85a16208
LMI
150332011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15034
15035 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
15036 (bug#9615).
15037
502f9ebd
CY
150382011-09-27 Chong Yidong <cyd@stupidchicken.com>
15039
15040 * emacs-lisp/package.el (list-packages): Fix echo area message.
15041
7690bdea
LL
150422011-09-27 Leo Liu <sdl.web@gmail.com>
15043
15044 * ido.el (ido-read-internal): Accept cons cell HIST arg.
15045
e2ee6f30
MA
150462011-09-25 Michael Albinus <michael.albinus@gmx.de>
15047
15048 * net/dbus.el (dbus-unregister-object): Don't release services for
15049 registered signals. (Bug#9581)
15050
f3f98342
TZ
150512011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
15052
15053 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
15054 function that picks between cfengine 2 and 3 support
15055 automatically. Update docs accordingly.
15056
dd7aa8dd
KH
150572011-09-22 Kenichi Handa <handa@m17n.org>
15058
15059 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
15060 ZERO.
15061 (indian-itrans-v5-table-for-tamil): New variable.
15062 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
15063
3f2b07f8
KM
150642011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
15065
15066 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
15067 that's true if the current command involved collapsing of text.
15068 It's reset to false at the beginning of the next command.
15069 (allout-post-command-business): Move the cursor to the beginning
15070 of entry if the cursor is hidden and collapsing activity just
15071 happened.
15072
371d6a61
CY
150732011-09-24 Chong Yidong <cyd@stupidchicken.com>
15074
15075 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
15076 tracking (Bug#9541).
15077
2ac2721a
UJ
150782011-09-24 Ulf Jasper <ulf.jasper@web.de>
15079
15080 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
15081 (newsticker-show-news): Automatically load html rendering package
15082 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
15083 because w3m-fill-column is let-bound" and the error "Symbol's value
15084 as variable is void: w3m-fill-column".
2ac2721a 15085
fac7ae53
MA
150862011-09-24 Michael Albinus <michael.albinus@gmx.de>
15087
15088 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
15089 Release services only if they are defined. (Bug#9581)
15090
e08b633b
RS
150912011-09-23 Richard Stallman <rms@gnu.org>
15092
e488d29c
RS
15093 * textmodes/paragraphs.el (forward-sentence): For backwards case,
15094 distinguish start of paragraph from start of its text.
15095
19c38752
RS
15096 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
15097
e08b633b
RS
15098 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
15099 (rmail-generate-viewer-buffer): Put that hook on view buffer.
15100 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
15101
0a39f27e
AS
151022011-09-23 Andreas Schwab <schwab@linux-m68k.org>
15103
15104 * international/mule-diag.el (mule-diag): Insert a newline after
15105 each fontset description.
15106
db4e950d
SM
151072011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15108
15109 * simple.el (delete-trailing-whitespace):
15110 Document last change; simplify.
15111
eca3f3ea
PW
151122011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
15113
d68e189a
PW
15114 * simple.el (delete-trailing-whitespace): Also delete
15115 extra newlines at the end of the buffer.
15116
eca3f3ea
PW
15117 * textmodes/picture.el: Make motion commands obey shift-select-mode.
15118 (picture-newline): Use forward-line so as to ignore fields.
15119
01c157cc
SM
151202011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15121
15122 * subr.el (with-wrapper-hook): Fix edebug spec.
15123
022de23e
LMI
151242011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
15125
15126 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
15127 (bug#4538).
15128
91683089
MA
151292011-09-23 Michael Albinus <michael.albinus@gmx.de>
15130
eca3f3ea
PW
15131 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
15132 Fix nasty bug using wrong cached values.
91683089 15133
5bdd6fa4
AM
151342011-09-23 Alan Mackenzie <acm@muc.de>
15135
15136 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
15137
97adfb97
CY
151382011-09-23 Chong Yidong <cyd@stupidchicken.com>
15139
15140 * window.el (pop-to-buffer): Ensure right window is selected if we
15141 chose another frame.
15142
d4ef2b50
EZ
151432011-09-22 Eli Zaretskii <eliz@gnu.org>
15144
15145 * simple.el (what-cursor-position): Use get-char-property-change
15146 and next-single-char-property-change, to be able to show display
15147 properties that come from overlays as well as text properties.
15148
72258fe5
CY
151492011-09-22 Chong Yidong <cyd@stupidchicken.com>
15150
15151 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
15152
15153 * cmuscheme.el (run-scheme, switch-to-scheme):
15154 * cus-edit.el (customize-group, custom-buffer-create)
15155 (customize-browse):
15156 * info.el (info):
15157 * shell.el (shell):
15158 * mail/sendmail.el (mail):
15159 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
15160
8f098516
RS
151612011-09-22 Richard Stallman <rms@gnu.org>
15162
15163 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
15164 move back only to line beg, don't move back over blank lines.
15165
e74f1bb6
MA
151662011-09-22 Michael Albinus <michael.albinus@gmx.de>
15167
15168 * files.el (copy-directory): Set directory attributes only in case
15169 they could be retrieved from the source directory. (Bug#9565)
15170
bfeef8b6
DK
151712011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
15172
15173 * progmodes/hideshow.el (hs-looking-at-block-start-p)
15174 (hs-find-block-beginning, hs-hide-level-recursive):
15175 Ignore strings as well as comments. (Bug#9502)
15176
7e423bb8
AS
151772011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
15178
15179 * progmodes/sql.el (sql-comint-postgres):
15180 Convert port number to a string. (Bug#9566)
15181
b4d72fcf
MR
151822011-09-22 Martin Rudalics <rudalics@gmx.at>
15183
15184 * window.el (quit-window): Undedicate window when switching to
15185 previous buffer. Reported by Thierry Volpiatto
15186 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
15187 (special-display-popup-frame): When popping up a new frame reset
15188 its previous buffers to nil. Simplify code.
b4d72fcf 15189
a7b88dc6
MA
151902011-09-21 Michael Albinus <michael.albinus@gmx.de>
15191
15192 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
15193 and process filter, as done also in `shell-command'.
15194
cf4eacfd
MR
151952011-09-21 Martin Rudalics <rudalics@gmx.at>
15196
eca3f3ea 15197 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
15198 Call set-window-start with NOFORCE argument t.
15199 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
15200 (quit-window): Reword doc-string. Handle new format of
15201 quit-restore parameter. Don't delete window if it has a
15202 previous buffer we can show instead of the present one.
15203 (display-buffer-record-window): Rewrite using a new format for
15204 the quit-restore window parameter
15205 (special-display-popup-frame, display-buffer-same-window)
15206 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15207 (display-buffer-pop-up-window, display-buffer-use-some-window):
15208 Adapt symbol passed to display-buffer-record-window.
15209 * help.el (help-window-setup): Handle new format of quit-restore
15210 parameter.
15211
8d28cb95
SM
152122011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
15213
94ab793f
SM
15214 * faces.el (face-list): Fix docstring (bug#9564).
15215
8d28cb95
SM
15216 * window.el (display-buffer--action-function-custom-type):
15217 Don't include internal functions in the Custom interface.
15218
3820edeb
JL
152192011-09-20 Juri Linkov <juri@jurta.org>
15220
15221 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
15222 (Info-forward-node, Info-backward-node, Info-next-preorder)
15223 (Info-last-preorder): Use it. (Bug#9528)
15224
5147931d
JL
152252011-09-20 Juri Linkov <juri@jurta.org>
15226
15227 * info.el (Info-last-preorder): Visit last menu item only when
15228 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
15229
cf499a1a
JD
152302011-09-20 Julien Danjou <julien@danjou.info>
15231
15232 * password-cache.el (password-cache-remove): Remove entries even if the
15233 value is nil, so that password with a nil value (negative caching) is
15234 possible to invalidate.
15235
f84e2fe2
LM
152362011-09-20 Lawrence Mitchell <wence@gmx.li>
15237
15238 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
15239 all whitespace around breakpoint. (Bug#9553)
15240 (f90-find-breakpoint): Only break at whitespace inside a comment.
15241
78054a46
SM
152422011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
15243
15244 * minibuffer.el (completion-file-name-table): Keep track of errors.
15245 (completion-table-with-predicate): Handle the case where pred1 is nil.
15246 * pcomplete.el (pcomplete-completions-at-point): Simplify.
15247
345083b2
SM
152482011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
15249
e24e27be
SM
15250 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
15251 (debugger-return-value): Signal an error if the debugging context does
15252 not await any return value.
15253
345083b2
SM
15254 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
15255 * image-mode.el (image-toggle-display-text)
15256 (image-toggle-display-image): Stay away from evil `intangible'.
15257
08d355e3
LL
152582011-09-19 Leo Liu <sdl.web@gmail.com>
15259
15260 * replace.el (occur-revert-arguments): Make it permanent-local.
15261 (occur-mode): Don't call font-lock-defontify.
15262
f01da43f
CY
152632011-09-19 Chong Yidong <cyd@stupidchicken.com>
15264
15265 * net/ldap.el (ldap-search-internal): Don't push empty search
15266 result (Bug#9508).
15267
b6072fa6
SM
152682011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
15269
15270 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
15271
443d6696
MA
152722011-09-19 Michael Albinus <michael.albinus@gmx.de>
15273
15274 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
15275 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
15276
7cc6e154
JL
152772011-09-18 Juri Linkov <juri@jurta.org>
15278
15279 * buff-menu.el (Buffer-menu-mode-map):
15280 * dired.el (dired-mode-map):
15281 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
15282 (lisp-interaction-mode-map):
15283 * emacs-lisp/package.el (package-menu-mode-map):
15284 * epa.el (epa-key-list-mode-map):
15285 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
15286 (menu-bar-options-menu):
15287 * outline.el (outline-mode-menu-bar-map):
15288 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
15289 * vc/vc-dir.el (vc-dir-menu-map):
15290 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
15291 Capitalize non-function content words in menu item strings.
15292
15293 * dired.el (dired-mode-map): Add menu item for
15294 `image-dired-dired-toggle-marked-thumbs'.
15295
80302a81
JL
152962011-09-18 Juri Linkov <juri@jurta.org>
15297
15298 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
15299 to `isearch-case-fold-search' and restore its original value
15300 after the `isearch-mode' call.
15301
46c5cf66
JL
153022011-09-18 Juri Linkov <juri@jurta.org>
15303
15304 * progmodes/grep.el (grep-process-setup): Don't check code for 1
15305 because `zgrep' returns 1 for successful matches (bug#9226).
15306
d18b513b
JL
153072011-09-18 Juri Linkov <juri@jurta.org>
15308
15309 * info.el (Info-extract-menu-node-name): Check the second match
15310 for empty string (second test-case of bug#9528).
15311 (Info-last-preorder): Let-bind `Info-history' to nil to not add
15312 intermediate nodes to the history (first test-case of bug#9528).
15313
72753f87
JL
153142011-09-18 Juri Linkov <juri@jurta.org>
15315
15316 * info.el (Info-mode-syntax-table): New variable.
1154d12e 15317 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 15318
c9384295
JL
153192011-09-18 Juri Linkov <juri@jurta.org>
15320
1154d12e
JB
15321 * info.el (Info-file-supports-index-cookies):
15322 Increment line-beginning-position's arg from 3 to 4 because makeinfo
15323 outputs one more line for long file names (bug#4142).
c9384295 15324
d473dce8
CY
153252011-09-18 Chong Yidong <cyd@stupidchicken.com>
15326
15327 * newcomment.el (comment-normalize-vars): If prompting for
15328 comment-start, set comment-start-skip too (Bug#8424).
15329
2176854d
JB
153302011-09-18 Johan Bockgård <bojohan@gnu.org>
15331
15332 * icomplete.el: Fix previous fix of Bug#5849.
15333 (icomplete-mode): Don't set completion-show-inline-help.
15334 (icomplete-minibuffer-setup): Set completion-show-inline-help
15335 locally during icompletion.
15336
3aace4e4
CY
153372011-09-18 Chong Yidong <cyd@stupidchicken.com>
15338
c940224f
CY
15339 * woman.el (woman2-process-escapes): Don't delete unrecognized
15340 escapes (Bug#7843).
15341
3aace4e4
CY
15342 * files.el (inhibit-first-line-modes-regexps): Add image files.
15343 (hack-local-variables-prop-line): Return nil for malformed
15344 prop-lines (Bug#9044).
15345
710dec63
MA
153462011-09-18 Michael Albinus <michael.albinus@gmx.de>
15347
15348 * net/tramp.el (top): Don't require 'shell.
15349 (tramp-methods): Fix docstring.
15350 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
15351 Return complete remote file name. Handle "smb" case.
15352 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
15353 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
15354
15355 * net/tramp-compat.el (top): Require 'shell.
15356
15357 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
15358 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
15359 `tramp-current-host'.
15360 (tramp-get-remote-tmpdir): Remove.
15361
15362 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
15363 `tramp-tmpdir' entries.
15364 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
15365 (tramp-smb-handle-file-attributes): Ignore errors.
15366 (tramp-smb-wait-for-output): Check also for process end.
15367
5d5ac8ec
LMI
153682011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
15369
15370 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
15371 when sending QUIT (bug#9312).
15372
8c0f49f0
CY
153732011-09-17 Chong Yidong <cyd@stupidchicken.com>
15374
15375 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
15376 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
15377 occur-mode-display-occurrence.
15378 (occur-edit-mode): Add usage message.
15379 (occur-cease-edit): New command.
15380 (occur-after-change-function): Use text properties to find the
15381 position of the prefix text.
15382 (occur-engine): Set stickiness of prefix text properties.
15383
8f1383f7
GM
153842011-09-17 Glenn Morris <rgm@gnu.org>
15385
15386 * progmodes/etags.el (complete-tag):
15387 Fix call to completion-in-region. (Bug#9526)
15388
744ba0e3
JL
153892011-09-17 Juri Linkov <juri@jurta.org>
15390
15391 * textmodes/ispell.el (ispell-word): Add to the error message
15392 the word, ispell program name and current dictionary (bug#9121).
15393 (ispell-tex-arg-end): Capitalize "error" in the error message.
15394
d9bbf400
AS
153952011-09-17 Andreas Schwab <schwab@linux-m68k.org>
15396
15397 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
15398 check. (Bug#4251)
15399
8da11505
JL
154002011-09-17 Juri Linkov <juri@jurta.org>
15401
15402 * window.el (window-safe-min-height, window-safe-min-width):
15403 Fix typos (followup to bug#9522).
15404
a91adc7e
SJ
154052011-09-17 Sven Joachim <svenjoac@gmx.de>
15406
15407 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
15408
064f328a
EZ
154092011-09-16 Eli Zaretskii <eliz@gnu.org>
15410
15411 * simple.el (line-move): If goal-column is set, move by logical
15412 lines, not by display lines. (Bug#971)
15413 (next-line, previous-line, goal-column, line-move-visual): Doc fix
15414 to reflect the above change.
15415
e69df516
SM
154162011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
15417
15418 * image.el (imagemagick-register-types): Use regexp-opt.
15419
cbb0f9ab
CY
154202011-09-15 Chong Yidong <cyd@stupidchicken.com>
15421
15422 * window.el (display-buffer-base-action): Rename from
15423 display-buffer-default-action. Make default value empty.
15424 (display-buffer-overriding-action): Convert to defvar.
15425 (display-buffer-fallback-action): New var.
15426
25322144
CY
154272011-09-15 Chong Yidong <cyd@stupidchicken.com>
15428
15429 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
15430 declaration.
15431 (package--add-to-archive-contents): If there is a duplicate entry
15432 with an older version, remove it.
15433 (package-menu-mark-delete, package-menu-mark-install)
15434 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
15435 (package-menu-mark-obsolete-for-deletion):
15436 Use package-menu-get-status instead of a regexp search.
25322144
CY
15437 (package-menu-get-status): Use tabulated-list-entry.
15438 (package-menu-mark-upgrades): New command.
d770725a 15439 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
15440 (package-menu-execute): Do installation before deletion.
15441 (package-menu-refresh, package-menu-execute): Use derived-mode-p
15442 instead of checking major-mode.
15443 (package-menu--find-upgrades): New function.
15444
7520339c
LMI
154452011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15446
15447 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
15448 passwords in the log buffer.
65a046c4
LMI
15449 (smtpmail-process-filter): Update the process marker so that the
15450 "broken by peer" status message is inserted in the right place.
7520339c 15451
d3c30954
SM
154522011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
15453
3fe48822
SM
15454 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
15455 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
15456 bibtex-completion-at-point-function.
15457 (bibtex-completion-at-point-function): Use them.
15458
1b8b3954
SM
15459 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
15460
d3c30954
SM
15461 * mpc.el (mpc-constraints-tag-lookup): New function.
15462 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
15463 also to browser "album|playlist".
15464
72779976
JL
154652011-09-14 Juri Linkov <juri@jurta.org>
15466
15467 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
15468 (isearch-edit-string): Use length of `isearch-string' when
15469 `isearch-fail-pos' returns nil.
15470 (isearch-message): Remove duplicate code and call
15471 `isearch-fail-pos' with arg `t'.
15472
a0bf2bcd
CY
154732011-09-14 Chong Yidong <cyd@stupidchicken.com>
15474
17bb0a2d
CY
15475 * replace.el (occur-mode-goto-occurrence): Don't force using other
15476 window (Bug#9499).
15477
a0bf2bcd
CY
15478 * dired-aux.el (dired-do-chmod): Don't provide initial input.
15479
f678e0b6
MR
154802011-09-14 Martin Rudalics <rudalics@gmx.at>
15481
15482 * window.el (display-buffer-window): Remove.
15483 (display-buffer-record-window): Use help-setup window parameter
15484 instead of variable display-buffer-window.
15485 (display-buffer-function, special-display-buffer-names)
15486 (special-display-function): Mention help-setup parameter instead
15487 of display-buffer-window in doc-string.
d3c30954
SM
15488 * help.el (help-window-setup): New argument help-window.
15489 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
15490 Reword some messages.
15491 (with-help-window): Pass window used for displaying the buffer
15492 to help-window-setup. Don't set display-buffer-window.
15493
8e39b2e8
GM
154942011-09-13 Glenn Morris <rgm@gnu.org>
15495
15496 * emacs-lisp/debug.el (debugger-make-xrefs):
15497 Preserve point. (Bug#9462)
15498
85e9c04b
CY
154992011-09-13 Chong Yidong <cyd@stupidchicken.com>
15500
15501 * window.el (window-deletable-p): Use next-frame.
15502
1b36ed6a
MR
155032011-09-13 Martin Rudalics <rudalics@gmx.at>
15504
15505 * window.el (window-auto-delete): Remove.
15506 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 15507 dedication and previous buffers.
1b36ed6a
MR
15508 (switch-to-prev-buffer): Don't delete window.
15509 (delete-windows-on): Delete a window's frame if and only if the
15510 window is dedicated.
15511 (replace-buffer-in-windows): Delete buffer's window or frame if
15512 and only if window is dedicated.
15513 (quit-window): Handle quit-restore as before last change.
4d61f28d 15514 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 15515
ef8ef9fb
CY
155162011-09-13 Chong Yidong <cyd@stupidchicken.com>
15517
15518 * window.el (window-deletable-p): Never delete the last frame on a
15519 given terminal.
15520
b2cba41e
GM
155212011-09-13 Glenn Morris <rgm@gnu.org>
15522
15523 * help.el (describe-key-briefly): Copy previous standard-output change.
15524
51553db6 155252011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
15526
15527 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
15528
b7556719
GM
155292011-09-13 Glenn Morris <rgm@gnu.org>
15530
15531 * emacs-lisp/lisp-mode.el (lisp-indent-function):
15532 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
15533
64b51947
CY
155342011-09-12 Chong Yidong <cyd@stupidchicken.com>
15535
15536 * dired-aux.el (dired-mark-read-string): Don't return default
15537 value on empty input (Bug#9361).
15538 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
15539 Omit initial minibuffer contents.
15540 (dired-do-chmod): Signal an error on empty input.
15541 (dired-mark-read-string): Don't return default on empty input.
15542
15543 * files.el (file-modes-symbolic-to-number): Doc fix.
15544
393a301e
SM
155452011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15546
15547 * international/mule-cmds.el (ucs-completions): Remove.
15548 (read-char-by-name): Use complete-with-action instead; add metadata.
15549
fa5660f9
CY
155502011-09-11 Chong Yidong <cyd@stupidchicken.com>
15551
15552 * window.el (display-buffer--action-function-custom-type)
15553 (display-buffer--action-custom-type): New vars.
15554 (display-buffer-alist, display-buffer-default-action)
15555 (display-buffer-overriding-action): Add defcustom types.
15556
4a592f66
CY
15557 * frame.el (delete-other-frames): Doc fix (Bug#276).
15558
73d56dbd
LMI
155592011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15560
15561 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
15562
37ac18a3
CY
155632011-09-11 Chong Yidong <cyd@stupidchicken.com>
15564
15565 Change modes that used same-window-* vars to use switch-to-buffer.
15566
15567 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
15568 Use switch-to-buffer.
15569
15570 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
15571 (customize-browse, custom-buffer-create-other-window):
15572 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
15573
15574 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
15575 (Info-prev, Info-up, Info-speedbar-goto-node)
15576 (info-display-manual): Use switch-to-buffer.
15577 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
15578
15579 * mail/sendmail.el (mail): Use switch-to-buffer.
15580 (mail-recover): Use switch-to-buffer-other-window.
15581
15582 * cmuscheme.el (run-scheme, switch-to-scheme):
15583 * ielm.el (ielm):
15584 * shell.el (shell):
15585 * net/rlogin.el (rlogin):
15586 * net/telnet.el (telnet, rsh):
15587 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
15588
10195bd6
AS
155892011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15590
15591 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
15592
b322f63a
LMI
155932011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15594
39d7fed6
LMI
15595 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
15596 so don't mention it (bug#9301).
ba5a81f1 15597 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 15598
ee0e9f11
LMI
15599 * faces.el (face-spec-set-match-display): Make `(type graphic)'
15600 match `x', `w32' and `ns', like the manual says (bug#9029).
15601
0b1c89c1 15602 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
15603 (process-kill-buffer-query-function): Mention the buffer name in
15604 the query.
0b1c89c1 15605
77549ea8
LMI
15606 * image-mode.el (image-next-line): The line parameter is mandatory
15607 (bug#9258).
15608
803ef892
LMI
15609 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
15610 which can be useful (bug#9301).
15611
12980837
LMI
15612 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
15613
91054f8f
LMI
15614 * subr.el (match-string): Mention that the current buffer should
15615 be the same as the search was done in (bug#9282).
15616
b322f63a
LMI
15617 * facemenu.el: Disable the remove-* commands if the mark isn't
15618 active (bug#9162).
15619
3199b96f
CY
156202011-09-10 Chong Yidong <cyd@stupidchicken.com>
15621
15622 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
15623 of display-buffer.
15624 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
15625
15626 * replace.el (occur-mode-goto-occurrence)
15627 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
15628 and display-buffer.
15629
15630 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
15631 display-buffer.
15632
15633 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
15634 special-display and same-window variables.
15635 (mail-other-window): Use switch-to-buffer-other-window.
15636 (mail-other-frame): USe switch-to-buffer-other-frame.
15637
393a301e
SM
15638 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
15639 Use display-buffer-other-frame.
3199b96f
CY
15640 (gdb-display-gdb-buffer): Use pop-to-buffer.
15641
15642 * progmodes/gud.el (gud-goto-info): Use info-other-window.
15643
15644 * progmodes/python.el: Don't set same-window-buffer-names.
15645
15646 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
15647
15648 * window.el (display-buffer-alist): Add *Python*.
15649
8319e0bf
CY
156502011-09-10 Chong Yidong <cyd@stupidchicken.com>
15651
15652 * window.el (display-buffer-alist): Add entry for buffers
15653 previously handled same-window-*.
15654 (display-buffer-alist, display-buffer-default-action)
15655 (display-buffer-overriding-action): Mark as risky.
15656 (display-buffer-alist): Document action function changes.
15657 (display-buffer--same-window-action)
15658 (display-buffer--other-frame-action): New variables.
15659 (switch-to-buffer, display-buffer-other-frame): Use them.
15660 (display-buffer): Rename reuse-frame entry to reusable-frames.
15661 (display-buffer-reuse-selected-window): Function deleted.
15662 (display-buffer-reuse-window): Handle reusable-frames alist entry.
15663 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
15664 (display-buffer-special): New function.
15665 (display-buffer--maybe-pop-up-frame-or-window): Rename from
15666 display-buffer-reuse-or-pop-window. Split off special-display
15667 part into display-buffer-special.
15668 (display-buffer-use-some-window): Don't perform any special
15669 pop-up-frames handling.
15670 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 15671 (display-buffer--maybe-same-window): Rename from
0d3ff375 15672 display-buffer-maybe-same-window.
8319e0bf 15673
919a69aa
CY
15674 * info.el: Don't set same-window-regexps.
15675 (info-setup): New function.
15676 (info-other-window, info): Call it.
15677
15678 * cus-edit.el: Don't set same-window-regexps.
15679 (customize-group): New argument.
15680 (customize-group-other-window): Use it.
15681 (customize-face, customize-face-other-window): Likewise.
15682 (custom-buffer-create-other-window): Use pop-to-buffer directly.
15683
8319e0bf
CY
15684 * net/rlogin.el:
15685 * net/telnet.el:
15686 * progmodes/gud.el: Don't set same-window-regexps.
15687
15688 * cmuscheme.el:
15689 * ielm.el:
15690 * shell.el:
15691 * mail/sendmail.el:
15692 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
15693
25173000
JL
156942011-09-10 Juri Linkov <juri@jurta.org>
15695
15696 * isearch.el (isearch-edit-string): Remove obsolete mention of
15697 `C-w' (`isearch-yank-word-or-char') from docstring.
15698 (isearch-query-replace): Fix typo in docstring (bug#9466).
15699
056e44ef
JL
157002011-09-10 Juri Linkov <juri@jurta.org>
15701
15702 * paren.el (show-paren-function): Don't show escaped parens.
15703 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
15704
c3760c17
EZ
157052011-09-10 Eli Zaretskii <eliz@gnu.org>
15706
15707 * mail/sendmail.el (mml-to-mime, mml-attach-file)
15708 (mm-default-file-encoding): Remove autoload forms, they are
15709 replaced with autoload cookies in mml.el and mm-encode.el.
15710 (mail-add-attachment): New command.
15711 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
15712 (mail-mode): Mention mail-insert-file and mail-add-attachment in
15713 the doc string.
15714 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
15715
fece895e
RT
157162011-09-10 Reuben Thomas <rrt@sc3d.org>
15717
e69df516
SM
15718 * simple.el (count-words-region): Use buffer if there's no region
15719 (bug#9429).
fece895e 15720
5e68ce4a
JL
157212011-09-09 Juri Linkov <juri@jurta.org>
15722
15723 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
15724 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
15725 (wdired-isearch-filter-read-only): New function. (Bug#6362)
15726
0a6b9622
AM
157272011-09-09 Alan Mackenzie <acm@muc.de>
15728
15729 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
15730 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
15731
14a29deb
EZ
157322011-09-09 Eli Zaretskii <eliz@gnu.org>
15733
15734 Fix for Savannah bug#9392.
15735 * simple.el (mail-encode-mml): New defvar.
15736
15737 * mail/rmail.el (mail-encode-mml): Add a defvar.
15738 (rmail-enable-mime-composing): Default to t.
15739 (rmail-forward): Use MIME method of forwarding only if both
15740 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
15741 Set mail-encode-mml non-nil if the MIME method was used.
15742
15743 * mail/sendmail.el (mml-to-mime): Add autoload form.
15744 (mail-encode-mml): Add a defvar.
15745 (mail-mode): Make mail-encode-mml buffer-local and initialize it
15746 to nil.
15747 (mail-send): If mail-encode-mml is non-nil, run the outgoing
15748 message through mml-to-mime, and reset mail-encode-mml to nil.
15749
28c45130
GM
157502011-09-09 Glenn Morris <rgm@gnu.org>
15751
15752 * woman.el (woman-if-body): When processing an .el block,
15753 do not delete the next .el block as well. (Bug#9447)
69f4b618 15754 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 15755
9b1c252e
MR
157562011-09-08 Martin Rudalics <rudalics@gmx.at>
15757
15758 * window.el (window-deletable-p): Make sure window is live before
15759 invoking window-prev-buffers.
15760
567457e3
LL
157612011-09-08 Leo Liu <sdl.web@gmail.com>
15762
15763 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
15764
97f05794
JL
157652011-09-08 Juri Linkov <juri@jurta.org>
15766
15767 * progmodes/compile.el (compilation-environment): Make it
15768 a defcustom (bug#8340).
15769
8b0874b5
MR
157702011-09-08 Martin Rudalics <rudalics@gmx.at>
15771
15772 * window.el (frame-auto-delete): Rename to window-auto-delete.
15773 Make it control auto-deletion of windows and/or frames.
15774 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 15775 for deleting window/frame. (Bug#9419)
8b0874b5
MR
15776 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
15777 Rewrite handling of case when window/frame can be deleted.
15778 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 15779 argument t. (Bug#9456)
8b0874b5 15780
4feb6e73
CY
157812011-09-07 Chong Yidong <cyd@stupidchicken.com>
15782
15783 * help-mode.el (help-mode): Restore autoload.
15784
91ab9c13
JL
157852011-09-07 Juri Linkov <juri@jurta.org>
15786
15787 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
15788 `compilation-environment'. Set buffer-local
15789 `compilation-environment' to `thisenv' later after (funcall mode).
15790 (Bug#8340)
15791
15792 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
15793 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
15794 instead of replacing its value. (Bug#8340)
15795
0527e251
JL
157962011-09-07 Juri Linkov <juri@jurta.org>
15797
15798 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
15799 based on text properties put by `grep-filter' instead of matching
15800 escape sequences.
15801 (grep-mode): Set buffer-local `compilation-error-screen-columns'
15802 to the value of `grep-error-screen-columns' (bug#9438).
15803
249f792c
JL
158042011-09-07 Juri Linkov <juri@jurta.org>
15805
15806 * simple.el (next-error-highlight, next-error-highlight-no-select):
15807 Doc fix (bug#9432).
15808
ff7271b9
OT
158092011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
15810
15811 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15812 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
15813
183fc730
LL
158142011-09-07 Leo Liu <sdl.web@gmail.com>
15815
15816 * net/rcirc.el (rcirc-mode): Conditionally initialize
15817 rcirc-input-ring.
15818
77694924
SM
158192011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
15820
15821 * emacs-lisp/find-func.el (find-function-C-source): Only set
15822 find-function-C-source-directory after checking that we found a source
15823 file there (bug#9440).
15824
d809b8eb
AM
158252011-09-06 Alan Mackenzie <acm@muc.de>
15826
15827 * isearch.el (isearch-other-meta-char): Wherever a key list is
15828 unread, "unread" the prefix arg, too. This fixes bug #8901.
15829
453de99f
OG
158302011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
15831
15832 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
15833
90439906
JL
158342011-09-05 Juri Linkov <juri@jurta.org>
15835
15836 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
15837
f62bd846
JL
158382011-09-05 Juri Linkov <juri@jurta.org>
15839
15840 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
15841 keeping point where processing of grep matches begins, and
15842 continue to delete remaining escape sequences from the same point.
15843 (grep-filter): Make leading zero optional in "0?1;31m" because
15844 git-grep emits "\033[1;31m" escape sequences unlike expected
15845 "\033[01;31m" as GNU Grep does (bug#9408).
15846 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
15847
045820ec
JL
158482011-09-05 Juri Linkov <juri@jurta.org>
15849
15850 * subr.el (y-or-n-p): Capitalize "yes".
15851
f5e29b9b
MA
158522011-09-04 Michael Albinus <michael.albinus@gmx.de>
15853
15854 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
15855 `tramp-cache-unload-hook' where appropriate.
15856 (tramp-methods): Rename `tramp-remote-sh' to
15857 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
15858 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
15859
15860 * net/tramp-sh.el (top): Don't require 'shell.
15861 (tramp-methods): Add `tramp-remote-shell' and
15862 `tramp-remote-shell-args' entries.
15863 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
15864 (tramp-sh-handle-shell-command): Remove.
15865 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
15866 Use `tramp-remote-shell'.
15867
2784c434
CY
158682011-09-03 Chong Yidong <cyd@stupidchicken.com>
15869
393a301e 15870 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
15871 (sendmail-query-once): Save directly to send-mail-function.
15872 Update message-send-mail-function too.
15873
15874 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
15875
464cdf56
CS
158762011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15877
15878 * progmodes/python.el (python-mode-map): Use correct function to
15879 start python interpreter from menu-bar (as reported by Geert
15880 Kloosterman).
15881 (inferior-python-mode-map): Fix typo.
393a301e 15882 (python-shell-map): Remove.
464cdf56 15883
d37e5c87
DD
158842011-09-03 Deniz Dogan <deniz@dogan.se>
15885
15886 * net/rcirc.el (rcirc-print): Simplify code for
15887 rcirc-scroll-show-maximum-output. There is no need to walk
15888 through all windows to find the right one.
15889
f3ada0ee
CS
158902011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15891
15892 * help.el (help-return-method): Doc fix.
15893
1f3c99ca
MR
158942011-09-03 Martin Rudalics <rudalics@gmx.at>
15895
15896 * window.el (window-deletable-p): Don't return a non-nil value
15897 when there's a buffer that was shown in the window before.
15898 (Bug#9419)
393a301e
SM
15899 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15900 Set window's previous buffers to nil.
1f3c99ca 15901
a3cf097f
EZ
159022011-09-03 Eli Zaretskii <eliz@gnu.org>
15903
15904 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
15905 newline before and after the tag line, so it doesn't interfere
15906 with determining the paragraph direction of bidirectional text.
15907
3d03de90
LL
159082011-09-03 Leo Liu <sdl.web@gmail.com>
15909
15910 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
15911
c3313451
CY
159122011-09-02 Chong Yidong <cyd@stupidchicken.com>
15913
393a301e 15914 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
15915 (pop-to-buffer): Change interactive spec. Pass second argument
15916 directly to display-buffer.
15917 (display-buffer): Fix interactive spec. Use functionp to
15918 distinguish between a function and a list of functions.
15919
15920 * abbrev.el (edit-abbrevs):
15921 * arc-mode.el (archive-extract):
15922 * autoinsert.el (auto-insert):
15923 * bookmark.el (bookmark-bmenu-list):
15924 * files.el (find-file):
15925 * view.el (view-buffer):
15926 * progmodes/compile.el (compilation-goto-locus):
15927 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
15928
89894cd8
CY
159292011-09-02 Chong Yidong <cyd@stupidchicken.com>
15930
15931 * window.el (display-buffer-alist): Doc fix.
15932 (display-buffer): Add docstring. Don't treat
15933 display-buffer-default specially.
15934 (display-buffer-reuse-selected-window)
15935 (display-buffer-same-window, display-buffer-maybe-same-window)
15936 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15937 (display-buffer-pop-up-window)
15938 (display-buffer-reuse-or-pop-window)
15939 (display-buffer-use-some-window): New functions.
15940 (display-buffer-default-action): Use them.
393a301e 15941 (display-buffer-default): Delete.
89894cd8
CY
15942 (pop-to-buffer-1): Fix choice of actions.
15943
ae0bc9fb
SM
159442011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
15945
15946 * minibuffer.el (completion--insert-strings): Don't get confused by
15947 completion entries that end with an LF char.
15948
e9d90883
EZ
159492011-09-01 Eli Zaretskii <eliz@gnu.org>
15950
15951 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
15952
437014c8
CY
159532011-09-01 Chong Yidong <cyd@stupidchicken.com>
15954
15955 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
15956 (display-buffer-same-window, display-buffer-other-window):
15957 New functions.
437014c8
CY
15958 (pop-to-buffer-1): New function. Use the above.
15959 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 15960 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
15961
15962 * view.el (view-buffer-other-window, view-buffer-other-frame):
15963 Just use pop-to-buffer.
15964
a5e063d5
TV
159652011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15966
15967 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
15968
793d32bb
WH
159692011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
15970
15971 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
15972
d65e4c15
RS
159732011-08-31 Richard Stallman <rms@gnu.org>
15974
15975 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
15976 of the separation of rmail-view-buffer from rmail-buffer.
15977 If you say no to "replace original", the decrypt is in the
15978 view buffer. If you say yes, the decrypt goes into the
15979 rmail buffer also.
15980
f818cd2a
MR
159812011-08-31 Martin Rudalics <rudalics@gmx.at>
15982
15983 * window.el (display-buffer-window): Rewrite doc-string.
15984 (display-buffer-record-window): New function.
15985 (display-buffer-macro-specifiers)
15986 (display-buffer-even-window-sizes, display-buffer-set-height)
15987 (display-buffer-set-width, display-buffer-in-window)
15988 (display-buffer-reuse-window, display-buffer-split-specifiers)
15989 (display-buffer-side-specifiers, display-buffer-split-window-1)
15990 (display-buffer-split-window, display-buffer-split-atom-window)
15991 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15992 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
15993 (display-buffer-other-window-means-other-frame)
15994 (display-buffer-normalize-special)
15995 (display-buffer-normalize-default)
15996 (display-buffer-normalize-argument)
15997 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
15998 (display-buffer-normalize-specifiers, display-buffer-frame)
15999 (display-buffer-same-window, display-buffer-same-frame)
16000 (display-buffer-other-window)
16001 (display-buffer-same-frame-other-window)
16002 (display-buffer-other-frame, pop-to-buffer-same-window)
16003 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
16004 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
16005 (switch-to-buffer-same-frame)
16006 (switch-to-buffer-other-window-same-frame)
16007 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
16008 (display-buffer-alist-set-1, display-buffer-alist-set-2)
16009 (display-buffer-alist-set): Remove.
16010 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
16011 (special-display-regexps, special-display-function):
16012 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
16013 parameter.
16014 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
16015 (special-display-frame-alist, special-display-popup-frame)
16016 (same-window-buffer-names, same-window-regexps, same-window-p)
16017 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16018 (split-window-preferred-function, split-height-threshold)
16019 (split-width-threshold, window-splittable-p)
16020 (split-window-sensibly, window--try-to-split-window)
16021 (window--frame-usable-p, even-window-heights)
16022 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
16023 (window--display-buffer-2, display-buffer-other-frame):
16024 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
16025 (display-buffer-default, display-buffer-assq-regexp): New functions.
16026 (display-buffer-alist): Rewrite doc-string.
16027 (display-buffer-default-action)
16028 (display-buffer-overriding-action): New variables.
16029 (display-buffer, switch-to-buffer): Rewrite.
16030 (pop-to-buffer): Restore Emacs 23 behavior but use
16031 window-normalize-buffer-to-display.
16032 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
16033 Restore Emacs 23 behavior but use
16034 window-normalize-buffer-to-switch-to.
16035 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
16036 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
16037 Rewrite using Emacs 23 options.
f818cd2a 16038
5bc3b51d
MA
160392011-08-31 Michael Albinus <michael.albinus@gmx.de>
16040
16041 * net/tramp.el (tramp-root-regexp): Remove.
16042 (tramp-completion-file-name-regexp-unified)
16043 (tramp-completion-file-name-regexp-separate)
16044 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 16045 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
16046 (tramp-drop-volume-letter): Simplify definition.
16047 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 16048
b1a4f8e1
SM
160492011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
16050
16051 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
16052 (bug#9356).
16053
5664fa7b
RT
160542011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
16055
b1a4f8e1 16056 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 16057
9a45d6c3
JL
160582011-08-29 Juri Linkov <juri@jurta.org>
16059
16060 * isearch.el (isearch-done): Don't display message "Mark saved"
16061 when arg `edit' is non-nil to prevent its flicker in the echo area.
16062
fb87e0fb
CY
160632011-08-28 Chong Yidong <cyd@stupidchicken.com>
16064
16065 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
16066 obsolete packages for deletion.
16067
09ac1c2a
CS
160682011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
16069
16070 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 16071 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
16072 view-mode from help-mode.
16073 (help-xref-override-view-map): Remove.
16074 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
16075 view-mode is not used anymore.
16076
7a1ff57f
CY
160772011-08-28 Chong Yidong <cyd@stupidchicken.com>
16078
16079 * server.el (server-port): Doc fix.
16080
b9696605
CY
16081 * cus-theme.el (custom-theme-choose-mode): Inherit from
16082 special-mode (Bug#9124).
16083 (custom-theme-choose-mode-map): Add special-mode to parent.
16084
ef8cdf8c
AM
160852011-08-28 Alan Mackenzie <acm@muc.de>
16086
16087 * progmodes/cc-fonts.el
16088 (c-make-font-lock-BO-decl-search-function): New function.
16089 (c-basic-matchers-after - "Fontify the clauses after various
16090 keywords"): Extract the three keyword lists for the 3 erroneous
16091 constructs from the list of four, and use the new function above
16092 in place of an old one.
16093
27de4e20
DD
160942011-08-28 Deniz Dogan <deniz@dogan.se>
16095
16096 * net/rcirc.el (rcirc-insert-prev-input)
16097 (rcirc-insert-next-input): Remove unused argument.
16098
356a3681
SM
160992011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16100
16101 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
16102
3fc9b218
AM
161032011-08-27 Alan Mackenzie <acm@muc.de>
16104
16105 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
16106 handle function pointer parameters properly.
16107
538a061c
MR
161082011-08-27 Martin Rudalics <rudalics@gmx.at>
16109
16110 * window.el (display-buffer-reuse-window): Fix case where
16111 selected window was reused with non-nil OTHER-WINDOW argument.
16112 (Bug#9381)
16113
35b1c40c
DD
161142011-08-27 Deniz Dogan <deniz@dogan.se>
16115
16116 * net/rcirc.el (rcirc-check-auth-status): Adding support for
16117 oftc's NickServ messages.
16118
2f6a3e79
GM
161192011-08-27 Glenn Morris <rgm@gnu.org>
16120
16121 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
16122
7254299e
CY
161232011-08-26 Chong Yidong <cyd@stupidchicken.com>
16124
16125 * emacs-lisp/package.el (package-install): Call package-initialize
16126 if called interactively.
16127
f8ccf167
LL
161282011-08-26 Leo Liu <sdl.web@gmail.com>
16129
16130 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
16131
3e8cd5ce
JL
161322011-08-25 Juri Linkov <juri@jurta.org>
16133
16134 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16135 `search-whitespace-regexp' (bug#9364).
16136
93eb7113
JL
161372011-08-25 Juri Linkov <juri@jurta.org>
16138
16139 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
16140 `regexp-search-ring' to their global values to protect from
16141 updating by `read-from-minibuffer' (bug#9185).
16142
f65d1611
JL
161432011-08-25 Juri Linkov <juri@jurta.org>
16144
16145 * textmodes/ispell.el (ispell-command-loop): Add newline
16146 at the end of the "Use option `i'..." line.
16147
f1cf7a31
JL
161482011-08-25 Juri Linkov <juri@jurta.org>
16149
16150 * battery.el (display-battery-mode): If `battery-status-function'
16151 or `battery-mode-line-format' is nil, display the message and set
16152 `display-battery-mode' to nil (bug#9363).
16153
0c95fcf7
EZ
161542011-08-25 Eli Zaretskii <eliz@gnu.org>
16155
16156 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
16157 bidi-string-mark-left-to-right; they are unnecessary now.
16158
a2ebe600
DD
161592011-08-25 Deniz Dogan <deniz@dogan.se>
16160
16161 * net/quickurl.el: Documentation typo fixes.
16162
e4ed06f1
CY
161632011-08-25 Chong Yidong <cyd@stupidchicken.com>
16164
16165 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
16166
e5f1c99e
GM
161672011-08-25 Glenn Morris <rgm@gnu.org>
16168
b2948976
GM
16169 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
16170
e5f1c99e
GM
16171 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
16172 (smtpmail-via-smtp): Handle nil response from smtp.
16173
f22f4808
JL
161742011-08-24 Juri Linkov <juri@jurta.org>
16175
16176 * proced.el (proced-marked): Inherit from `error' instead of
16177 `font-lock-warning-face'.
16178
16179 * ibuffer.el (ibuffer-marked-face): Change default face from
16180 `font-lock-warning-face' to `warning'.
16181 (ibuffer-deletion-face): Change default face from
16182 `font-lock-type-face' to `error'.
16183
16184 * battery.el (battery-update): Use the face `error' instead of
16185 `font-lock-warning-face' (bug#6117).
16186
6a93965e
JL
161872011-08-24 Juri Linkov <juri@jurta.org>
16188
16189 * faces.el (success): Change face color from "Green3" to
16190 "ForestGreen" on light background (bug#9353).
16191
1ed43b09
CY
161922011-08-24 Chong Yidong <cyd@stupidchicken.com>
16193
5664fa7b
RT
16194 * window.el (quit-window): Rename from quit-restore-window.
16195 Use same arglist as old quit-window.
1ed43b09
CY
16196 (frame-auto-delete): Doc fix.
16197
16198 * view.el (view-mode-exit): Use quit-window.
16199
11dcdbb2
JL
162002011-08-24 Juri Linkov <juri@jurta.org>
16201
16202 * isearch.el (isearch-ring-adjust1): Start visiting previous
16203 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
16204 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
16205 for empty search string (when the last search string is reused
16206 automatically) to adjust the isearch ring to the last element and
16207 prepare the correct index for further M-p commands (bug#9185).
16208
de62b4df
KH
162092011-08-24 Kenichi Handa <handa@m17n.org>
16210
16211 * international/ucs-normalize.el: If decomposition property of
16212 CHAR is the default one (i.e. a list of CHAR itself), treat it as
16213 nil.
16214 (nfd, nfkd): Likewise.
16215
963b492b
SM
162162011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
16217
16218 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
16219 from process filters aren't reliably transmitted to the surrounding
16220 accept-process-output.
16221 (mpc-proc-check): New function.
16222 (mpc-proc-sync): Use it (bug#8293)
16223
93b6b5e1
SM
162242011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16225
16226 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
16227 Add compatibility functions (bug#9313).
16228
bca633fb
EZ
162292011-08-23 Eli Zaretskii <eliz@gnu.org>
16230
b177498a
EZ
16231 * cus-start.el (all): Add entry for bidi-paragraph-direction.
16232
6df6ae42 16233 * international/uni-bidi.el: Regenerate.
bca633fb 16234
0902a04e
KH
162352011-08-23 Kenichi Handa <handa@m17n.org>
16236
16237 * international/charprop.el:
16238 * international/uni-bidi.el:
16239 * international/uni-category.el:
16240 * international/uni-combining.el:
16241 * international/uni-comment.el:
16242 * international/uni-decimal.el:
16243 * international/uni-decomposition.el:
16244 * international/uni-digit.el:
16245 * international/uni-lowercase.el:
16246 * international/uni-mirrored.el:
16247 * international/uni-name.el:
16248 * international/uni-numeric.el:
16249 * international/uni-old-name.el:
16250 * international/uni-titlecase.el:
16251 * international/uni-uppercase.el: Regenerate.
16252
3bbf23bc
MR
162532011-08-23 Martin Rudalics <rudalics@gmx.at>
16254
16255 * help.el (help-window-setup): Fix message displayed when other
16256 window is reused. (Bug#9341)
16257
b3fd59bd
SM
162582011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16259
1802e444
SM
16260 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
16261 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
16262
b3fd59bd
SM
16263 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
16264 Mark obsolete.
16265 * shell.el (shell-parse-pcomplete-arguments): New function.
16266 (shell-completion-vars): Use it instead (bug#9160).
16267
4eb61348
SM
162682011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
16269
867cab74
SM
16270 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
16271 strings and comments (bug#9333).
16272
4eb61348
SM
16273 * emacs-lisp/debug.el (debug-arglist): New function.
16274 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
16275 (debug-on-entry-1): Handle interpreted closures (bug#9120).
16276
262a1439
JL
162772011-08-22 Juri Linkov <juri@jurta.org>
16278
56ee679c
JL
16279 * progmodes/compile.el (compilation-mode-font-lock-keywords):
16280 Revert regexp that highlights output switches to its old
16281 pre-2010-10-28 value and remove one `?' from it (bug#9319).
16282
262a1439
JL
16283 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
16284 to check for empty output (bug#9226).
16285
f13f86fb
CY
162862011-08-22 Chong Yidong <cyd@stupidchicken.com>
16287
16288 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
16289 symbol-constituent as the default, as that stops font-lock from
16290 working properly (Bug#8843).
16291
c65c9622
LMI
162922011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16293
16294 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
16295 `coding-system-for-*' around the process open call to avoid
16296 auth-source side effects.
e7f2c178 16297 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
16298 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
16299 probe hangs.
c65c9622 16300
23a8a5ab
CY
163012011-08-21 Chong Yidong <cyd@stupidchicken.com>
16302
ff98b2dd
CY
16303 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
16304
23a8a5ab
CY
16305 * emacs-lisp/find-func.el (find-function-noselect): New arg
16306 lisp-only.
16307
16308 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
16309 signal an error for built-in functions (Bug#6664).
16310
f5e3c598
LMI
163112011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16312
16313 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
16314 (smtpmail-try-auth-methods): Use it.
16315
a3f2468a
CY
163162011-08-21 Chong Yidong <cyd@stupidchicken.com>
16317
2c34e8da
CY
16318 * font-lock.el (font-lock-fontify-region)
16319 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
16320 (font-lock-default-unfontify-buffer)
16321 (font-lock-default-fontify-region)
16322 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
16323
b3fd59bd
SM
16324 * progmodes/compile.el (compilation-error-properties):
16325 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
16326 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
16327 `ant' regexp.
ee31aabc 16328
a3f2468a
CY
16329 * net/browse-url.el (browse-url-firefox): Don't call
16330 browse-url-firefox-sentinel unless using -remote (Bug#9328).
16331
8e999f70
GM
163322011-08-20 Glenn Morris <rgm@gnu.org>
16333
c21a496a
GM
16334 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
16335
59ee0542
GM
16336 * tutorial.el (tutorial--default-keys): Update some default bindings.
16337
8e999f70
GM
16338 * files.el (hack-local-variables): Fully ignore case for "mode:".
16339
e3715033
AM
163402011-08-20 Alan Mackenzie <acm@muc.de>
16341
16342 Resolve invalid use of a regexp in regexp-opt.
16343
4d61f28d
JB
16344 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
16345 detection for a java annotation.
e3715033 16346
4d61f28d 16347 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
16348 detection for a java annotation.
16349
4d61f28d
JB
16350 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
16351 handling for java.
e3715033
AM
16352 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
16353
04ed2e9c
CY
163542011-08-20 Chong Yidong <cyd@stupidchicken.com>
16355
16356 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
16357 (Bug#9274).
16358
826cee64
AM
163592011-08-20 Alan Mackenzie <acm@muc.de>
16360
58179cce 16361 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
16362 such a construct. Mainly for when jit-lock etc. starts a chunk
16363 here.
16364
58179cce 16365 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 16366 variable.
58179cce 16367 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
16368 c-make-font-lock-search-function.
16369 (c-make-font-lock-search-function): Use the above function.
16370 (c-make-font-lock-context-search-function): New function.
16371 (c-cpp-matchers): Enhance the preprocessor expression case with
16372 the above function
16373 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
16374 which takes an expression.
16375
16376 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
16377
13009bd8
MR
163782011-08-20 Martin Rudalics <rudalics@gmx.at>
16379
16380 * window.el (display-buffer-reuse-window)
16381 (display-buffer-pop-up-window): Don't reuse or split a side
16382 window.
16383
9234ff7f
GM
163842011-08-19 Glenn Morris <rgm@gnu.org>
16385
16386 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 16387 Downcase "Mode:". (Bug#9331)
9234ff7f 16388
f635daa1
CY
163892011-08-18 Chong Yidong <cyd@stupidchicken.com>
16390
16391 * international/characters.el: Add L and R categories.
16392
16393 * subr.el (bidi-string-mark-left-to-right): Rename from
16394 string-mark-left-to-right. Use category search.
16395
16396 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
16397
bc987f8b
JL
163982011-08-18 Juri Linkov <juri@jurta.org>
16399
16400 * faces.el (error, warning, success): New faces with definitions
16401 copied from old default values of `font-lock-warning-face',
16402 `compilation-warning', `compilation-info' (bug#6117).
16403
16404 * font-lock.el (font-lock-warning-face): Inherit from `error'.
16405
16406 * progmodes/compile.el (compilation-error): Inherit from `error'.
16407 (compilation-warning): Inherit from `warning'.
16408 (compilation-info): Inherit from `success'.
16409
16410 * dired.el (dired-marked): Inherit from `warning'.
16411 (dired-flagged): Inherit from `error'.
16412
57173b96
LMI
164132011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16414
3e79eb87
LMI
16415 * mail/smtpmail.el (auth-source): Require to avoid problems with
16416 binding variables (bug#9298). Also clean up some unused
16417 autoloads.
16418
b3fd59bd
SM
16419 * net/network-stream.el (network-stream-open-starttls):
16420 Support using starttls.el without using gnutls-cli.
57173b96 16421
02b404de
JL
164222011-08-17 Juri Linkov <juri@jurta.org>
16423
16424 * progmodes/grep.el (rgrep): Handle the case when
16425 `grep-find-command' is a cons cell (bug#9278).
16426
8c9177f2
MR
164272011-08-17 Martin Rudalics <rudalics@gmx.at>
16428
16429 * window.el (display-buffer-pop-up-frame): Run frame creation
16430 function with BUFFER current (as special-display-popup-frame
16431 does). Reported by Drew Adams.
16432
3644a0ab
DU
164332011-08-17 Daiki Ueno <ueno@unixuser.org>
16434
16435 * epa-mail.el: Simplify GnuPG group expansion using
16436 epg-expand-group.
16437 (epa-mail-group-alist, epa-mail-group-modtime)
16438 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
16439 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
16440 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
16441 Remove.
16442
5e617bc2 164432011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
16444
16445 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
16446
9c4aeabf
AM
164472011-08-16 Alan Mackenzie <acm@muc.de>
16448
16449 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
16450 Correct, to avoid the inside of macros.
16451
3a99bf64
RS
164522011-08-16 Richard Stallman <rms@gnu.org>
16453
04963aa8
RS
16454 * epa-mail.el: Handle GnuPG group definitions.
16455 (epa-mail-group-alist, epa-mail-group-modtime)
16456 (epa-mail-gnupg-conf-file): New variables.
16457 (epa-mail-parse-groups, epa-mail-sync-groups)
16458 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
16459 (epa-mail-expand-recipients): New functions.
16460 (epa-mail-encrypt): Call epa-mail-expand-recipients.
16461
177549d0
RS
16462 * mail/rmail.el (rmail-epa-decrypt): New command.
16463
fe38beef
RS
16464 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
16465 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
16466 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
16467 (epa-decrypt-armor-in-region): Make error message clearer.
16468
934eacb9
SM
164692011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
16470
16471 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
16472 and "a2b" to "ab" for `prefix'.
16473
d024fb4e
CY
164742011-08-14 Chong Yidong <cyd@stupidchicken.com>
16475
16476 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
16477 filter groups.
de148fee
CY
16478 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
16479 Fourquet (Bug#8804).
d024fb4e 16480
62f1ca49
JB
164812011-08-12 Juanma Barranquero <lekktu@gmail.com>
16482
16483 * startup.el (argi): Declare as global variable (bug#9275).
16484
9ccaaa4b
CY
164852011-08-12 Chong Yidong <cyd@stupidchicken.com>
16486
16487 * subr.el (string-mark-left-to-right): Search the entire string
16488 for RTL script, not just the terminating character. Doc fix.
16489
a3dae87a
SM
164902011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
16491
6cd18349
SM
16492 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
16493 New function.
16494 (js--regexp-literal, js-syntax-propertize-function): Remove.
16495 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
16496 (js-mode-map): Don't rebind electric keys.
16497 (js-insert-and-indent): Remove.
16498 (js-mode): Setup electric-layout and electric-indent instead.
16499
a3dae87a
SM
16500 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
16501
9d5cb631
DU
165022011-08-12 Daiki Ueno <ueno@unixuser.org>
16503
16504 * epa.el (epa-progress-callback-function): Fix the logic of
16505 displaying progress.
16506 * epa-file.el (epa-file-insert-file-contents): Make progress
16507 display more user-friendly.
16508 (epa-file-write-region): Ditto.
16509
3e26a4a2
CY
165102011-08-10 Chong Yidong <cyd@stupidchicken.com>
16511
16512 * subr.el (string-mark-left-to-right): New function.
16513
16514 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
16515 Use string-mark-left-to-right.
16516 (list-buffers-noselect): Caller changed.
16517
a3dae87a
SM
16518 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16519 Use string-mark-left-to-right.
3e26a4a2
CY
16520 (tabulated-list-print): Recenter after moving point.
16521
ac8cf6e6
JL
165222011-08-10 Juri Linkov <juri@jurta.org>
16523
16524 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
16525 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
16526 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
16527
8d96c9a4
CY
165282011-08-09 Chong Yidong <cyd@stupidchicken.com>
16529
16530 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
16531 (Bug#7554).
16532
7be1c708 165332011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
16534
16535 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
16536 character. (Bug#6594)
16537
37e11a63
CY
165382011-08-08 Chong Yidong <cyd@stupidchicken.com>
16539
839dde57
CY
16540 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
16541 (image-dired--with-db-file): New macro.
16542 (image-dired-write-tags, image-dired-remove-tag)
16543 (image-dired-create-gallery-lists, image-dired-write-comments)
16544 (image-dired-get-comment, image-dired-mark-tagged-files)
16545 (image-dired-list-tags, image-dired-gallery-generate): Use it.
16546 (image-dired-gallery-generate): Use insert-file-contents.
16547
37e11a63
CY
16548 * time.el (display-time-world-list, display-time-world-display):
16549 * time-stamp.el (time-stamp-string):
16550 * vc/add-log.el (add-change-log-entry): Use setenv instead of
16551 set-time-zone-rule (Bug#7337).
16552
0b4946c4
DU
165532011-08-08 Daiki Ueno <ueno@unixuser.org>
16554
16555 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
16556 (epg-error-to-string, epg-errors-to-string): New function.
16557 (epg-wait-for-completion): Reverse errors list.
16558 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
16559 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
16560 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
16561 (epg-sign-keys, epg-generate-key-from-file)
16562 (epg-generate-key-from-string): Format errors by using
16563 epg-errors-to-string (bug#9255).
16564 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
16565
75bfc667
JL
165662011-08-07 Juri Linkov <juri@jurta.org>
16567
16568 * faces.el (list-faces-display): Remove extra angle bracket
16569 from `help-mode-map'.
16570
16571 * info.el (Info-history-toc-nodes): Doc fix.
16572
16573 * longlines.el (longlines-mode): Doc fix.
16574
673e08bb
SM
165752011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
16576
4640dd88
SM
16577 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
16578 of statements and in a few more cases (bug#9183).
16579
673e08bb
SM
16580 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
16581 New functions.
16582 (cl-transform-lambda): Use them (bug#9239).
16583
89b3f019
MR
165842011-08-05 Martin Rudalics <rudalics@gmx.at>
16585
16586 * window.el (display-buffer-same-window)
16587 (display-buffer-same-frame, display-buffer-other-window)
16588 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16589 (pop-to-buffer-other-window)
16590 (pop-to-buffer-same-frame-other-window)
16591 (pop-to-buffer-other-frame): Make them defuns.
16592 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
16593
640c8776
SM
165942011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16595
16596 * subr.el (make-composed-keymap): Move from C. Change calling
16597 convention, and improve docstring to bring attention to a subtle point.
16598 * minibuffer.el (completing-read-default): Adjust accordingly.
16599
63648a95
MA
166002011-08-03 Michael Albinus <michael.albinus@gmx.de>
16601
16602 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
16603 (tramp-open-shell): Use `tramp-shell-quote-argument'.
16604
16605 * net/trampver.el: Update release number.
16606
b796c9b7
SM
166072011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16608
16609 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
16610 "in" (bug#9190).
16611
2239d7d5
LMI
166122011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16613
e07dd7c3
LMI
16614 * mail/sendmail.el (sendmail-query-once): Restore the current
16615 buffer after querying (bug#9074).
16616
0e6a2bd7
LMI
16617 * dired.el (dired-flagged): Use different faces for marked and
16618 flagged files (bug#6117).
16619
ce887515
LMI
16620 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
16621 (bug#4433).
16622
92f2affc
LMI
16623 * ido.el (ido-mode): Switch off the message if called
16624 non-interactively.
16625
57d5aff0
LMI
16626 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
16627 before 587, since it appears that that's more likely to work for
16628 more people.
16629
98cd6c18 16630 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 16631 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
16632 exist.
16633
b96dec83
LMI
16634 * info.el: Remove the `Info-beginning-of-buffer' function
16635 (bug#8325).
16636
b796c9b7
SM
16637 * net/network-stream.el (network-stream-open-starttls):
16638 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 16639
d90e2ea0
MR
166402011-08-01 Martin Rudalics <rudalics@gmx.at>
16641
16642 * window.el (display-buffer-in-window): Don't set dedicated status
16643 of window here (Bug#9215).
16644 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16645 (display-buffer-pop-up-side-window)
b796c9b7 16646 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 16647
cca09170
SM
166482011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
16649
16650 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
16651 before binding generated-autoload-file.
16652
027b979c
DD
166532011-08-01 Deniz Dogan <deniz@dogan.se>
16654
16655 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
16656
3c7ee4f3
MA
166572011-07-30 Michael Albinus <michael.albinus@gmx.de>
16658
16659 Sync with Tramp 2.2.2.
16660
16661 * net/trampver.el: Update release number.
16662
2cc8e51a
JL
166632011-07-30 Juri Linkov <juri@jurta.org>
16664
16665 * dired-aux.el (dired-touch-initial): Remove function.
16666 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
16667 current time, and `default' to the last modification time of the
16668 current marked file (bug#6887).
16669
a514d856
JM
166702011-07-28 Jose E. Marchesi <jemarch@gnu.org>
16671
16672 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 16673 numeric argument to read-number (bug#9163).
a514d856 16674
8a7eddd7
MA
166752011-07-27 Michael Albinus <michael.albinus@gmx.de>
16676
16677 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
16678 connection process, it could be nil.
16679
1ddd96f5
LL
166802011-07-27 Leo Liu <sdl.web@gmail.com>
16681
16682 Simplify url handling in rcirc-mode.
16683
16684 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
16685 (rcirc-browse-url-at-mouse): Remove.
16686 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
16687
b248a85d
AM
166882011-07-26 Alan Mackenzie <acm@muc.de>
16689
16690 Fontify bitfield declarations properly.
16691
16692 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
16693 (c-symbol-chars): Now exported as a lang variable.
16694 (c-not-primitive-type-keywords): New lang variable.
16695
16696 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
16697 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 16698 parsed as a bitfield declaration.
b248a85d 16699
b796c9b7
SM
16700 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16701 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
16702 (c-punctuation-in): New function.
16703 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
16704 declarations properly.
16705
68575ab0
UJ
167062011-07-26 Ulf Jasper <ulf.jasper@web.de>
16707
16708 * calendar/icalendar.el (icalendar--all-events): Take care of
16709 multiple vcalendars in a single file.
b796c9b7 16710 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 16711
0f0a88b9
DD
167122011-07-25 Deniz Dogan <deniz@dogan.se>
16713
16714 * image.el (insert-image): Clarifying docstring.
16715
0b3f36df
MA
167162011-07-24 Michael Albinus <michael.albinus@gmx.de>
16717
16718 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
16719 `tramp-send-command-and-check' if there is no error.
16720 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
16721
a9901f61
AM
167222011-07-22 Alan Mackenzie <acm@muc.de>
16723
16724 Prevent cc-langs.elc being loaded at run time.
16725
16726 * progmodes/cc-mode.el: Remove two autoload forms which loaded
16727 cc-langs.
16728
4d61f28d 16729 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
16730 "(require 'cc-langs)". Quote a form so it will evaluate at
16731 (cc-mode's) compilation time.
16732
11d074b2
MA
167332011-07-22 Michael Albinus <michael.albinus@gmx.de>
16734
16735 * net/tramp.el (tramp-file-name-handler): Avoid recursive
16736 loading. (Bug#9114)
16737
938b94c8
MR
167382011-07-21 Martin Rudalics <rudalics@gmx.at>
16739
16740 * window.el (display-buffer-pop-up-window)
16741 (display-buffer-pop-up-side-window)
16742 (display-buffer-in-side-window): Call display-buffer-set-height
16743 and display-buffer-set-width after setting the new window's
b796c9b7 16744 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 16745
bfa4f190
SS
167462011-07-20 Sam Steingold <sds@gnu.org>
16747
16748 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
16749 (etags-tags-included-tables): Call `convert-standard-filename' on
16750 the file names contained in TAGS so that windows Emacs can handle
16751 TAGS files created by cygwin ctags.
16752
8ca42262
LMI
167532011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
16754
16755 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
16756 which apparently didn't work.
16757
5db2afd2 167582011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 16759
5db2afd2
RW
16760 * proced.el (proced-send-signal): For *Marked Processes* buffer
16761 put point at beginning of buffer.
16762
92e15d10
SB
167632011-07-19 Stephen Berman <stephen.berman@gmx.net>
16764
16765 * proced.el (proced-format): Make header lines align with the text
16766 (bug#1779).
16767
1bfd59e5
LMI
167682011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
16769
16770 * view.el (view-buffer): Allow running in `special' modes if we're
16771 visiting a file (bug#8615).
16772
f5aae37c
MR
167732011-07-19 Martin Rudalics <rudalics@gmx.at>
16774
16775 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
16776 (display-buffer-alist-set-1, display-buffer-alist-set-2):
16777 New functions.
f5aae37c
MR
16778 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
16779 more accurately.
16780
bf2c1571
AM
167812011-07-18 Alan Mackenzie <acm@muc.de>
16782
16783 Fontify declarators properly when, e.g., a jit-lock chunk begins
16784 inside a declaration.
16785
16786 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
16787
b796c9b7
SM
16788 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16789 New function.
bf2c1571
AM
16790 (c-complex-decl-matchers): Insert reference to
16791 c-font-lock-enclosing-decls.
16792
16793 * progmodes/cc-engine.el (c-backward-single-comment):
16794 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
16795 to nil around calls to (forward-comment -1).
16796
4e190b80
LMI
167972011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16798
12dc863d
LMI
16799 * image.el (put-image): Doc typo fix.
16800
a762e966
LMI
16801 * progmodes/etags.el (tags-search): Doc typo fix.
16802
4e190b80
LMI
16803 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
16804 password if we get errors 550 to 554.
16805
f019fb21
LMI
168062011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
16807
b796c9b7 16808 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 16809
81746738
LMI
16810 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
16811 indentation character (bug#6380).
16812
3ee3a1b5
LMI
16813 * files.el (buffer-offer-save): Made permanently local (bug#6241).
16814
c82f64de
LMI
16815 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
16816 to clarify what the problem is (bug#4291).
16817
f019fb21
LMI
16818 * simple.el (current-kill): Clarify what
16819 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
16820 (auto-fill-mode): Document `auto-fill-function' in relation to
16821 `auto-fill-mode' (bug#2470).
f019fb21 16822
0794775d
LM
168232011-07-16 Lawrence Mitchell <wence@gmx.li>
16824
16825 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
16826 method if slot is read-only (bug#9035).
16827
be39b8cc
MR
168282011-07-16 Martin Rudalics <rudalics@gmx.at>
16829
b796c9b7 16830 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 16831 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
16832 selected before, see discussion of (Bug#8615), (Bug#6954).
16833 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 16834
6ccf7859
GM
168352011-07-15 Glenn Morris <rgm@gnu.org>
16836
16837 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 16838 Respect help-form.
6ccf7859 16839
87e86684
LM
168402011-07-09 Lawrence Mitchell <wence@gmx.li>
16841
16842 * net/gnutls.el (gnutls-min-prime-bits): New variable.
16843 (gnutls-negotiate): Use it.
16844
d6066239
LMI
168452011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16846
b796c9b7
SM
16847 * net/gnutls.el (gnutls-negotiate):
16848 Upcase `gnutls-algorithm-priority'.
d6066239 16849
bd23ebc0
GM
168502011-07-15 Glenn Morris <rgm@gnu.org>
16851
c65bca65
GM
16852 * jka-compr.el (jka-compr-verbose): Move from here...
16853 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
16854 Add missing :version tag.
16855 * info.el: No need to require jka-compr when compiling.
bd23ebc0 16856
478615cc
LMI
168572011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16858
7b41decb
LMI
16859 * net/gnutls.el (gnutls-algorithm-priority): New variable.
16860 (gnutls-negotiate): Use it.
16861
dbc44fcd
LMI
16862 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
16863
06789f97
LMI
16864 * info.el (Info-beginning-of-buffer): New command.
16865 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
16866 announcing `b' as the key (bug#8325).
ab896c37 16867 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 16868
c39da690
LMI
16869 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
16870
3aa5f34b
LMI
16871 * international/mule-cmds.el
16872 (describe-specified-language-support): Make the error message
16873 clearer (bug#8905).
16874
4bf0979f
LMI
16875 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
16876
478615cc
LMI
16877 * isearch.el (isearch-barrier): Add a doc string, since it's
16878 mentioned in a function doc string (bug#8678).
16879
75c68aa1
MR
168802011-07-15 Martin Rudalics <rudalics@gmx.at>
16881
16882 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
16883 buffer argument (Bug#9083) and self-identifying label argument.
16884
a7c33da2
GM
168852011-07-15 Glenn Morris <rgm@gnu.org>
16886
16887 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
16888
2f5c6024
LMI
168892011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16890
16891 * man.el (Man-fontify-manpage): Fix message when formatting the
16892 man page (bug#7929).
16893
0bb23927 168942011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
16895
16896 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
16897 argument LRM; if non-nil, append an invisible LRM character to the
16898 buffer name.
16899 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
16900 last argument non-nil, when formatting buffer names.
0bb23927
EZ
16901 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
16902 paragraph direction.
cce4b0a7 16903
621ef9ab
LMI
169042011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16905
d1583c48
LMI
16906 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
16907 the man page name (bug#7929).
16908
6a57fb5f
LMI
16909 * image.el (put-image): Mention the `put-image' overlay property
16910 (bug#7834).
16911
d7956b14
LMI
16912 * scroll-bar.el (set-scroll-bar-mode): Mention that
16913 `scroll-bar-mode' lists the values (bug#7772).
16914
5b2d4a66
LMI
16915 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
16916 command (bug#7729).
16917
7509a874
LMI
16918 * rect.el (apply-on-rectangle): Return the point after the last
16919 operation.
16920 (string-rectangle): Go to the point after the last operation
16921 (bug#7522).
16922
4fe74b19
LMI
16923 * printing.el (pr-toggle-region): Clarify the documentation
16924 slightly (bug#7493).
16925
b796c9b7
SM
16926 * time.el (display-time-update):
16927 Allow `display-time-mail-function' to return nil (bug#7158).
16928 Fix suggested by Detlev Zundel.
ab283561 16929
fc233c9d
LMI
16930 * vc/diff.el (diff): Clarify the order the file names are read
16931 (bug#7111).
16932
43f5740b
LMI
16933 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
16934 the doc string (bug#7015).
16935
f2182a76
LMI
16936 * font-lock.el (font-lock-maximum-decoration): Mention what
16937 numeric levels mean (bug#6935).
16938
621ef9ab
LMI
16939 * startup.el (initial-buffer-choice): Don't mention the `none'
16940 selection, which is against policy.
16941
adc47434
MR
169422011-07-14 Martin Rudalics <rudalics@gmx.at>
16943
b796c9b7
SM
16944 * window.el (display-buffer-normalize-special):
16945 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 16946
7e5bfb8f
EZ
169472011-07-14 Eli Zaretskii <eliz@gnu.org>
16948
16949 * subr.el (version<, version<=, version=): Mention "-CVS" and
16950 "-12345" alpha version numbers.
16951
27fa387a
CY
169522011-07-14 Chong Yidong <cyd@stupidchicken.com>
16953
16954 * bindings.el: Add advertised binding for set-mark-command
16955 (Bug#5772).
16956
8bdfa064
CY
169572011-07-14 Chong Yidong <cyd@stupidchicken.com>
16958
16959 * bindings.el (mode-line-other-buffer):
16960 * bookmark.el (bookmark-bmenu-2-window):
16961 * bs.el (bs-cycle-next, bs-cycle-previous):
16962 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
16963 switch-to-buffer.
16964
16965 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 16966 Delete.
8bdfa064 16967
5eba16a3
JB
169682011-07-14 Juanma Barranquero <lekktu@gmail.com>
16969
16970 * follow.el (follow-debug-message, follow-redisplay):
16971 * jka-cmpr-hook.el (with-auto-compression-mode):
16972 Fix typos in docstrings.
16973
15853710
LMI
169742011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16975
a28e4607
LMI
16976 * subr.el (with-silent-modifications): Clarify somewhat what the
16977 macro inhibits (bug#6525).
16978
15853710
LMI
16979 * simple.el (eval-expression): Note what it does if called
16980 interactively (bug#6495).
16981
bee0fcef
CY
169822011-07-13 Chong Yidong <cyd@stupidchicken.com>
16983
b796c9b7
SM
16984 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
16985 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
16986
16987 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16988 Remove switch-to-buffer.
16989
58274504
LMI
169902011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16991
bd2fcc8d
LMI
16992 * files.el (make-directory): Clarify that an error will be raised
16993 if there's an error (bug#6397).
16994
0f04b32c
LMI
16995 * startup.el (initial-buffer-choice): Add `none' as a choice
16996 (bug#6234).
16997
465c5fc8
LMI
16998 * subr.el (add-hook): Clarify section about buffer-local hooks
16999 (bug#6218).
17000
58274504
LMI
17001 * dired.el (dired-flagged): Clarify doc string (bug#6117).
17002
bead9a43
JB
170032011-07-13 Juanma Barranquero <lekktu@gmail.com>
17004
17005 * tabify.el (untabify): Preserve the current column so that point
17006 doesn't move (bug#6032).
17007
3af98a7b
LMI
170082011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17009
b796c9b7
SM
17010 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
17011 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 17012
6240145a
GM
170132011-07-13 Glenn Morris <rgm@gnu.org>
17014
17015 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
17016 (dired-insert-directory): Give a message the first time
17017 if ls is found not to support --dired.
17018
1d8c2ccc
LMI
170192011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17020
17021 * simple.el (toggle-truncate-lines): Clarify what is toggled
17022 (bug#5580). Text by Drew Adams.
17023
5fc4038e
CY
170242011-07-13 Chong Yidong <cyd@stupidchicken.com>
17025
17026 * simple.el (blink-matching-open): Make the error message from the
17027 last change less verbose.
17028
bf6012e5
DN
170292011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
17030
17031 * font-lock.el (font-lock-comment-face): Use the high contrast
17032 "yellow" color for font-lock-comment-face on low color terminals
17033 using a dark background color (bug#4221).
17034
343c3b5a
LMI
170352011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17036
7e9505c5
LMI
17037 * dired.el (dired-insert-set-properties): Make the doc string
17038 reflect what it does now (bug#5325).
17039
c26fdcf5
LMI
17040 * simple.el (blink-matching-open): Say that we were unable to find
17041 the match within the limit, if we're limited (bug#5122).
17042
bb388cc5
LMI
17043 * international/mule-cmds.el (prefer-coding-system): Add an
17044 example (bug#4869).
17045
343c3b5a
LMI
17046 * progmodes/etags.el (tags-search): Document `file-list-form'
17047 (bug#4731).
17048
2a517d45
LM
170492011-07-13 Lawrence Mitchell <wence@gmx.li>
17050
17051 * net/browse-url.el (browse-url-default-browser)
17052 (browse-url-browser-function): Make the default browser choice a
17053 bit more logical (bug#4300). Also clean up the doc string.
17054
b6c78ef2
JB
170552011-07-13 Juanma Barranquero <lekktu@gmail.com>
17056
17057 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
17058 binary endings (bug#4440).
17059
1c4dd947
LMI
170602011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17061
a2014063
LMI
17062 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
17063 which can be pretty annoying (bug#8971).
17064
9c9c2d88
LMI
17065 * jka-compr.el (jka-compr-verbose): New variable, and use
17066 throughout (bug#8971).
17067
1c4dd947
LMI
17068 * info.el (Info-find-file): Fall back on the installation
17069 directory if we can't find the info node anywhere else.
17070
a1c9f41b
SO
170712011-07-13 Sergei Organov <osv@javad.com> (tiny change)
17072
17073 * vc/vc.el (vc-revert-file):
17074 Don't set file time-stamp in the past. (Bug#5181)
17075
536f3d36
LMI
170762011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17077
7152b011
LMI
17078 * files.el (after-find-file): Give a better error message when
17079 trying to find a symlink that points to a file that doesn't exist
17080 (bug#4398).
17081
536f3d36
LMI
17082 * progmodes/cc-vars.el: Remove (probably) misleading comment
17083 (bug#4396).
17084
460c0fba
JB
170852011-07-12 Johan Bockgård <bojohan@gnu.org>
17086
17087 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
17088
7a6bda45
CY
170892011-07-12 Chong Yidong <cyd@stupidchicken.com>
17090
17091 * mouse-sel.el: Hack restoring functionality, while keeping
17092 compatibility with 2010-07-03 changes to mouse selection.
17093 (mouse-sel-primary-overlay): New var.
17094 (mouse-sel-selection-alist): Use it.
17095 (mouse-sel-mode): Doc fix; remove points that are default features
17096 of mouse.el.
17097
c79598ef
JB
170982011-07-12 Johan Bockgård <bojohan@gnu.org>
17099
17100 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17101 Fix previous fix (bug#2490).
17102
ff8be6ef
RW
171032011-07-12 Roland Winkler <winkler@gnu.org>
17104
b796c9b7
SM
17105 * textmodes/bibtex.el (bibtex-initialize):
17106 Use pop-to-buffer-same-window.
ff8be6ef
RW
17107 (bibtex-search-entries): Fix interactive call.
17108
296ba3ee
LMI
171092011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17110
f5242a02 17111 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
17112 Fontise bytecomp Error lines more correctly (bug#2490).
17113 Fix suggested by Johan Bockgård.
f5242a02 17114
296ba3ee
LMI
17115 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
17116
17117 * dired-x.el (dired-guess-default): Use `delete-dups'.
17118
f69fd0d2
CY
171192011-07-12 Chong Yidong <cyd@stupidchicken.com>
17120
17121 * dired.el (dired-mark-prompt):
17122 * dired-aux.el (dired-read-shell-command): Doc fix.
17123
eab5dc07
LMI
171242011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17125
b796c9b7
SM
17126 * mail/sendmail.el (sendmail-query-once):
17127 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
17128 emacs -Q.
17129
17130 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17131
eab5dc07
LMI
17132 * cus-edit.el (custom-file): Take an optional no-error variable.
17133 (customize-save-variable): Set the variable, and give a warning if
17134 running under "emacs -q".
17135
a1e65d42
JB
171362011-07-11 Juanma Barranquero <lekktu@gmail.com>
17137
17138 * loadhist.el (unload-feature-special-hooks):
17139 Add `auto-coding-functions', `fill-nobreak-predicate' and
17140 `find-directory-functions' (bug#5327).
17141
1d52da10
LMI
171422011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17143
be958f1d
LMI
17144 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
17145
5bedb26c
LMI
17146 * cus-edit.el (custom-guess-name-alist): -alist variables should
17147 use the `alist' type (bug#3120). Suggested by Drew Adams.
17148
1d52da10
LMI
17149 * printing.el: Add documentation to all the `pr-toggle-' commands.
17150
cd394be1 171512011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
17152
17153 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
17154 backends where it makes sense (bug#2623).
17155
dcc88d8a
LMI
171562011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17157
c3de9feb
LMI
17158 * dired-x.el (dired-guess-default): Remove duplicate shell command
17159 entries (bug#2028).
8a93078b 17160 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 17161 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 17162
dcc88d8a
LMI
17163 * subr.el (remove-duplicates): New conveniency function.
17164
505e3645
LMI
171652011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
17166
17167 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
17168 (bug#1526).
17169
171702011-07-10 Martin Rudalics <rudalics@gmx.at>
17171
17172 * window.el (display-buffer-normalize-default): Don't invert
17173 meaning of even-window-heights. Reported by Eli Zaretskii
17174 <eliz@gnu.org>.
17175
455e4fa1
BR
171762011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
17177
17178 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
17179
8e0bc3e9
CY
171802011-07-10 Chong Yidong <cyd@stupidchicken.com>
17181
17182 * window.el (display-buffer): Fix arguments to
17183 display-buffer-reuse-window in last change.
17184
fa7c3228
CY
17185 * faces.el (link): Use a less saturated blue on light backgrounds.
17186
17187 * startup.el (fancy-startup-text, fancy-about-text)
17188 (fancy-startup-tail): Use font-lock faces, for background safety.
17189
c0a7f300
BN
171902011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
17191
b796c9b7
SM
17192 * emulation/viper-cmd.el (viper-change-state-to-vi):
17193 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 17194
4dc2a129
MR
171952011-07-09 Martin Rudalics <rudalics@gmx.at>
17196
17197 * window.el (display-buffer-default-specifiers): Remove.
17198 (display-buffer-macro-specifiers): Remove default specifiers.
17199 (display-buffer-alist): Default to nil.
b796c9b7 17200 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
17201 (display-buffer-pop-up-window): Allow splitting internal
17202 windows. Check whether a live window was created.
17203 (display-buffer-other-window-means-other-frame)
17204 (display-buffer-normalize-arguments): Rename to
17205 display-buffer-normalize-argument and rewrite. Set the
17206 other-window specifier.
17207 (display-buffer-normalize-special): New function.
17208 (display-buffer-normalize-options): Rename to
17209 display-buffer-normalize-default and rewrite.
17210 (display-buffer-normalize-options-inhibit): Remove.
17211 (display-buffer-normalize-specifiers): Rewrite.
17212 (display-buffer): Process other-window specifier and call
17213 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
17214 more faithfully.
b796c9b7 17215 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 17216 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
17217 (display-buffer-in-window, display-buffer-alist-set):
17218 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
17219 <tassilo@member.fsf.org>.
17220
2d43b8c9
LL
172212011-07-09 Leo Liu <sdl.web@gmail.com>
17222
17223 * register.el (insert-register): Restore accidental change on
17224 2011-06-26. (Bug#9028)
17225
7f9b7c53
GM
172262011-07-09 Glenn Morris <rgm@gnu.org>
17227
17228 * subr.el (remq): Handle the empty list. (Bug#9024)
17229
f042cfd8
AS
172302011-07-08 Andreas Schwab <schwab@linux-m68k.org>
17231
17232 * mail/sendmail.el (send-mail-function): No longer delay custom
17233 initialization.
17234 * custom.el (custom-initialize-delay): Doc fix.
17235
856b2f11
SM
172362011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17237
17238 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
17239
afae1d68
MA
172402011-07-08 Michael Albinus <michael.albinus@gmx.de>
17241
17242 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
17243 human-friendly prompt.
17244
0757af94
SM
172452011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17246
17247 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
17248 provided by a particular plugin.
17249
d760b731
LMI
172502011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
17251
17252 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
17253 save customizations (with "emacs -Q"), just set the variable
17254 instead of erroring out.
17255
17256 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17257
cd79ce90
JL
172582011-07-08 Juri Linkov <juri@jurta.org>
17259
17260 * arc-mode.el (archive-zip-expunge, archive-zip-update)
17261 (archive-zip-update-case): Use 7z if found by `executable-find'.
17262 The order of searching the available programs is the same as in
17263 `archive-zip-extract' (bug#8968).
17264
14cc04aa
CY
172652011-07-07 Chong Yidong <cyd@stupidchicken.com>
17266
17267 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
17268 (menu-bar-options-menu): Tweak descriptions.
17269
0a1848ec
LMI
172702011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17271
17272 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
17273 menu items into verb phrases (bug#1421). Also refill to fit under
17274 80 columns.
17275
f5bd0689
CY
172762011-07-07 Chong Yidong <cyd@stupidchicken.com>
17277
538e85c6
CY
17278 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
17279 (Info-read-node-name): Doc fix (Bug#1084).
17280
f5bd0689
CY
17281 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
17282 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
17283 (end-of-sexp, beginning-of-sexp)
17284 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
17285 (forward-symbol, forward-same-syntax, word-at-point)
17286 (sentence-at-point): Doc fix (Bug#1144).
17287
56ec5115
LMI
172882011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17289
f3f8e37f
LMI
17290 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
17291 should cover it (bug#1281).
17292
0757af94 17293 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 17294
e9fce1ac 17295 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
17296 negotiation fails, then possibly try again with a non-encrypted
17297 connection (bug#9017).
17298
56ec5115
LMI
17299 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
17300 be used.
17301
c2f9aec8
RS
173022011-07-07 Richard Stallman <rms@gnu.org>
17303
17304 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
17305 property, and handle its changed format.
17306 Look for the correct line number.
17307 Use file's line contents (but not past first =) to find
17308 correct line in message.
17309
ef7b981d 173102011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
17311
17312 * international/characters.el (build-unicode-category-table):
17313 Delete it.
0757af94 17314 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 17315
0757af94 17316 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
17317 to src/chartab.c.
17318 (get-char-code-property): Call unicode-property-table-internal to
17319 load a file. Call get-unicode-property-internal where necessary.
17320 (put-char-code-property): Call unicode-property-table-internal to
17321 load a file. Call put-unicode-property-internal where necessary.
17322 put-unicode-property-internal where necessary.
0757af94
SM
17323 (char-code-property-description):
17324 Call unicode-property-table-internal to load a file.
c805dec0
KH
17325
17326 * international/charprop.el:
17327 * international/uni-bidi.el:
17328 * international/uni-category.el:
17329 * international/uni-combining.el:
17330 * international/uni-comment.el:
17331 * international/uni-decimal.el:
17332 * international/uni-decomposition.el:
17333 * international/uni-digit.el:
17334 * international/uni-lowercase.el:
17335 * international/uni-mirrored.el:
17336 * international/uni-name.el:
17337 * international/uni-numeric.el:
17338 * international/uni-old-name.el:
17339 * international/uni-titlecase.el:
17340 * international/uni-uppercase.el: Regenerate.
17341
17342 * loadup.el: Load international/charprop.el before
17343 international/characters.
17344
e14b388a
CY
173452011-07-07 Chong Yidong <cyd@stupidchicken.com>
17346
17347 * window.el (next-buffer, previous-buffer): Signal an error if
17348 called from a minibuffer window.
17349
17350 * bindings.el: Revert 2011-07-04 change.
17351
354cf0ba
RS
173522011-07-06 Richard Stallman <rms@gnu.org>
17353
17354 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
17355 (rmail-mime-insert-bulk, rmail-mime-insert-text):
17356 Treat markers like ints.
17357 (rmail-mime-entity): Doc fix.
17358
a48868a7
LMI
173592011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17360
4906cd3d
LMI
17361 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
17362 defcustom again for backwards compatibility.
17363
e0457abe
LMI
17364 * simple.el (shell-command-on-region): Fill.
17365
d67f7e1f
LMI
17366 * dired-aux.el (dired-kill-line): Add a doc string.
17367
fe204702
LMI
17368 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
17369 to "\\sw\\|\\s_" (bug#358).
17370
a48868a7
LMI
17371 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
17372 (dired-unmark-backward): Ditto.
17373 (dired-flag-backup-files): Ditto.
17374
17375 * dired-x.el (dired-mark-sexp): Ditto.
17376
aa8a705c
RS
173772011-07-06 Richard Stallman <rms@gnu.org>
17378
17379 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
17380 (rmail-mime-entity): New arg TRUNCATED.
17381 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
17382 New functions.
17383 (rmail-mime-save): Warn if entity is truncated.
17384 (rmail-mime-toggle-hidden): Likewise, for showing.
17385 (rmail-mime-process-multipart): Record when an entity is truncated.
17386
a9a936b9
RS
17387 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
17388 if ENTITY is a string.
17389
1f2b92cb
LMI
173902011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17391
f4f73198 17392 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
17393 of faces when `M-C-x'-ing their definitions (bug#8378).
17394 Also clean up the code slightly.
f4f73198 17395
12b16734 17396 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 17397 because that makes the colors go away.
12b16734 17398
f0691d22
LMI
17399 * mail/sendmail.el (send-mail-function): Change the default to
17400 `sendmail-query-once'.
9e87df06 17401 (sendmail-query-once): Add an autoload cookie.
f0691d22 17402
1f2b92cb
LMI
17403 * net/network-stream.el (network-stream-open-starttls): Try using
17404 a plain connection even if the server offered STARTTLS, and we
17405 kinda wanted to use it, if Emacs doesn't have any STARTTLS
17406 capability. This should make smtpmail.el work in slightly more
17407 configurations.
17408
1cdd2a1b
MA
174092011-07-06 Michael Albinus <michael.albinus@gmx.de>
17410
17411 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
17412 New defun.
17413 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
17414
fbcc67e2
MM
174152011-07-06 Michael R. Mauger <mmaug@yahoo.com>
17416
17417 * progmodes/sql.el: Version 3.0
0757af94 17418 (sql-product-alist): Add product :completion-object,
fbcc67e2 17419 :completion-column, and :statement attributes.
0757af94 17420 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 17421 (sql-mode-syntax-table): Mark all punctuation.
0757af94 17422 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
17423 ansi keywords.
17424 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 17425 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
17426 (sql-oracle-show-reserved-words): New function for development.
17427 (sql-product-font-lock): Simplify for source code buffers.
17428 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
17429 New functions.
17430 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
17431 (sql-mode-map): Add statement movement functions.
17432 (sql-ansi-statement-starters, sql-oracle-statement-starters):
17433 New variable.
fbcc67e2
MM
17434 (sql-statement-regexp, sql-beginning-of-statement)
17435 (sql-end-of-statement, sql-signum): New functions.
0757af94 17436 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
17437 (sql-show-sqli-buffer): Bug fix.
17438 (sql-interactive-mode): Store connection data as buffer local.
0757af94 17439 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
17440 with sql-interactive-mode.
17441 (sql-save-connection): Save buffer local settings.
0757af94 17442 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
17443 (sql-product-interactive): Bug fix.
17444 (sql-preoutput-hold): New variable.
17445 (sql-interactive-remove-continuation-prompt): Bug fixes.
17446 (sql-debug-redirect): New variable.
17447 (sql-str-literal): New function.
17448 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 17449 Redesign.
fbcc67e2
MM
17450 (sql-oracle-save-settings, sql-oracle-restore-settings)
17451 (sql-oracle-list-all, sql-oracle-list-table): New functions.
17452 (sql-completion-object, sql-completion-column)
17453 (sql-completion-sqlbuf): New variables.
17454 (sql-build-completions-1, sql-build-completions)
17455 (sql-try-completion): New functions.
17456 (sql-read-table-name): Use them.
17457 (sql-contains-names): New buffer local variable.
17458 (sql-list-all, sql-list-table): Use it.
17459 (sql-oracle-completion-types): New variable.
17460 (sql-oracle-completion-object, sql-sqlite-completion-object)
17461 (sql-postgres-completion-object): New functions.
17462
d4eaeab1
GM
174632011-07-06 Glenn Morris <rgm@gnu.org>
17464
17465 * window.el (pop-to-buffer): Doc fix.
17466
322b7dab 174672011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
17468
17469 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
17470
322b7dab 174712011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 17472
322b7dab 17473 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 17474
322b7dab 17475 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 17476
605dd5bf
CY
174772011-07-05 Chong Yidong <cyd@stupidchicken.com>
17478
17479 * button.el (button): Inherit from link face. Suggested by Dan
17480 Nicolaescu.
17481
7dbfa719
SM
174822011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17483
3db614b0
SM
17484 * progmodes/gdb-mi.el: Fit in 80 columns.
17485 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
17486 switch-to-buffer.
17487
7dbfa719
SM
17488 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
17489 if imenu is simply not configured (bug#8941).
17490
919d884a
KM
174912011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
17492
17493 * allout.el (allout-post-undo-hook): New allout outline-change
17494 event hook to signal undo activity.
17495 (allout-post-command-business): Run allout-post-undo-hook if an
17496 undo just occurred.
7dbfa719
SM
17497 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
17498 * allout-widgets.el (allout-widgets-after-undo-function):
17499 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
17500 in the vicinity of an undo.
17501 (allout-widgets-mode): Include allout-widgets-after-undo-function
17502 on the new allout-post-undo-hook.
17503
450a0f09
SM
175042011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17505
17506 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
17507 Let define-derived-mode define it.
17508 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
17509 cycles of abbrev-table inheritance (bug#8998).
17510
2de69e00
RW
175112011-07-05 Roland Winkler <winkler@gnu.org>
17512
17513 * textmodes/bibtex.el: Add support for biblatex.
17514 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
17515 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
17516 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
17517 (bibtex-entry-alist, bibtex-field-alist): New variables.
17518 (bibtex-entry-field-alist): Obsolete alias for
17519 bibtex-BibTeX-entry-alist.
17520 (bibtex-entry-alist, bibtex-field-alist): New widgets.
17521 (bibtex-set-dialect): New command.
17522 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
17523 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
17524 Bind via bibtex-set-dialect.
2de69e00
RW
17525 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
17526 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
17527 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
17528 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
17529 Define via bibtex-set-dialect.
450a0f09
SM
17530 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
17531 Obey bibtex-no-opt-remove-re.
2de69e00
RW
17532 (bibtex-vec-push, bibtex-vec-incr): New functions.
17533 (bibtex-format-entry, bibtex-field-list)
17534 (bibtex-print-help-message, bibtex-validate)
17535 (bibtex-search-entries): Use new format of bibtex-entry-alist.
17536
2dcdbdd9
SM
175372011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17538
17539 * progmodes/compile.el (compilation-goto-locus):
17540 * net/tramp-cmds.el (tramp-append-tramp-buffers):
17541 * bs.el (bs-cycle-next, bs-cycle-previous):
17542 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
17543 * bindings.el (mode-line-other-buffer):
17544 * autoinsert.el (auto-insert):
17545 * arc-mode.el (archive-extract):
17546 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
17547
b27640fe
JB
175482011-07-05 Juanma Barranquero <lekktu@gmail.com>
17549
17550 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
17551 Fix check of `emacs-lock-unlockable-modes'.
17552 Coerce true values of `emacs-lock--try-unlocking' to t.
17553
53bbe3ad
JB
175542011-07-05 Juanma Barranquero <lekktu@gmail.com>
17555
17556 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
17557 * emacs-lock.el: New file.
17558
1d3cdbc7
JD
175592011-07-05 Julien Danjou <julien@danjou.info>
17560
17561 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
17562 than `boundp' to check if face is set.
17563
9173deec
JB
175642011-07-05 Juanma Barranquero <lekktu@gmail.com>
17565
17566 * register.el (registerv-make):
17567 * window.el (window-min-height): Fix typos in docstrings.
17568
869795d6
JD
175692011-07-05 Jan Djärv <jan.h.d@swipnet.se>
17570
9173deec 17571 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
17572 Update doc string.
17573
b768cdcd
JB
175742011-07-04 Juanma Barranquero <lekktu@gmail.com>
17575
17576 * server.el (server-execute): Catch quit and call
17577 `server-return-error' to pass the error back to emacsclient and
17578 close the connection (bug#8942).
17579
13aa217b
KM
175802011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
17581
17582 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
17583 insecure exception for current topic. Also note that auto-saves
17584 are handled differently.
17585
5d3385a0 17586 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
17587 State variables for tracking auto-save inhibition situation.
17588
17589 (allout-write-contents-hook-handler): Rename from
17590 'allout-write-file-hook-handler', and describe how it depends on
17591 write-contents-functions sensitivity to non-nil value to prevent
17592 file write.
17593
17594 (allout-auto-save-hook-handler): Remove. auto-save does not check
17595 this in individual buffers, only in the starting buffer, so this
17596 is not the right way for us to inhibit auto-save in a buffer
17597 according to its condition.
17598
17599 (allout-mode): Use new allout-write-contents-hook-handler, and
17600 only with write-contents-functions. Remove auto-save provisions -
17601 they're implemented elsewhere.
17602
17603 (allout-before-change-handler): If undo is in progress, note that
17604 for attention of allout-post-command-business.
17605
17606 (allout-post-command-business): If the command we're following was
17607 an undo, check for change in the status of encrypted items and
17608 adjust auto-save inhibitions accordingly.
17609
17610 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
17611 according to whether there are or aren't any plain-text topics
17612 pending encryption.
17613
2dcdbdd9 17614 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
17615 Adjust buffer-saved-size and some allout state to inhibit auto-saves
17616 if there are plain-text topics pending encryption.
13aa217b
KM
17617
17618 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
17619 buffer-saved-size and some allout state to not inhibit auto-saves
17620 if there are no longer any plain-text topics pending encryption.
17621
0757af94
SM
17622 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
17623 No longer provide for exemption of the current topic.
13aa217b 17624
ac89b32c
JL
176252011-07-04 Juri Linkov <juri@jurta.org>
17626
17627 Add 7z operations to delete and save changed members (bug#8968).
17628 * arc-mode.el (archive-7z-expunge, archive-7z-update):
17629 New defcustoms.
17630 (archive-7z-write-file-member): New function.
17631 (archive-7z-summarize): Fix the number of dashes in the
17632 listing output.
17633
8fa39615
SM
176342011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17635
17636 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
17637 (bug#8958).
17638
2f11b3f1
CY
176392011-07-04 Chong Yidong <cyd@stupidchicken.com>
17640
d66fef2b
CY
17641 * bindings.el: Ignore next-buffer and previous-buffer in
17642 minibuffer-local-map.
17643
2f11b3f1
CY
17644 * font-lock.el (font-lock-builtin-face): Change light background
17645 color to dark slate blue (Bug#6693).
17646
f932a347
WD
176472011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
17648
17649 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
17650
c8af70e1
SM
176512011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17652
17653 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
17654 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17655 Add switch-to-buffer.
17656
f158badc
LMI
176572011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17658
17659 * isearch.el (isearch-search-fun-function): Clarify further the
17660 meaning of the function returned.
17661
6d95bd46
MA
176622011-07-04 Michael Albinus <michael.albinus@gmx.de>
17663
17664 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
17665
17666 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
17667 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
17668 Use it.
17669 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
17670 `tramp-default-remote-path' does not exist.
17671 (tramp-send-command-and-read): New optional argument NOERROR.
17672 (tramp-open-connection-setup-interactive-shell)
17673 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
17674 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
17675 (tramp-process-sentinel): Flush also process' connection property.
17676 (tramp-sh-handle-start-file-process): Do not set process
17677 sentinel. It is done now ...
17678 (tramp-maybe-open-connection): ... here. (Bug#8929)
17679
909e6b67
MK
176802011-07-04 MON KEY <monkey@sandpframing.com>
17681
17682 * play/animate.el (animate-string): Doc fixes and allow changing
17683 the buffer name (bug#5417).
17684
176852011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17686
c8af70e1 17687 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 17688
f34755dc
PE
176892011-07-04 Paul Eggert <eggert@cs.ucla.edu>
17690
396cec72
PE
17691 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
17692 This is simpler and helps future-proof the code.
17693 (timer-until): Use time-subtract and float-time.
08235028 17694 (timer--time-less-p): Use time-less-p.
f34755dc 17695
56e6cc31
JB
176962011-07-04 Juanma Barranquero <lekktu@gmail.com>
17697
3abb79e5
JB
17698 * type-break.el (timep): Use the value of `float-time' to avoid a
17699 byte-compiler warning.
17700
56e6cc31
JB
17701 * server.el (server-eval-and-print): Return any result, even nil.
17702
7b9430b4
PE
177032011-07-03 Paul Eggert <eggert@cs.ucla.edu>
17704
17705 * type-break.el: Accept time formats that the builtins accept.
17706 (timep, type-break-time-difference): Accept any format that
17707 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
17708 This is simpler and helps future-proof the code.
17709 (type-break-time-difference): Round rather than ignoring
17710 subseconds components.
17711
3034e9e7
LMI
177122011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17713
17714 * info.el (Info-apropos-matches): Make non-interactive, since it
17715 doesn't seem to do anything useful as a command (bug#8829).
17716
1485f4c0
CY
177172011-07-03 Chong Yidong <cyd@stupidchicken.com>
17718
17719 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 17720 Move from faces.el.
1485f4c0
CY
17721 (frame-default-terminal-background): New function.
17722
17723 * custom.el (custom-push-theme): Don't record faces in `changed'
17724 theme; this doesn't work correctly for per-frame face settings.
17725 (disable-theme): Use face-set-after-frame-default to reset faces.
17726 (custom--frame-color-default): New function.
17727
9fa3dd45
LMI
177282011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17729
c8af70e1 17730 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
17731 (bug#8769).
17732
6cbbc20c
KR
177332011-03-29 Kevin Ryde <user42@zip.com.au>
17734
17735 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17736 `perl-Test2' extend to match possible "fail #N" rep count
17737 (bug#8377).
17738
c7f98048
LMI
177392011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17740
65676592
LMI
17741 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
17742 `smtpmail-via-smtp' now returns the error instead of nil.
17743
c7f98048
LMI
17744 * isearch.el (isearch-search-fun-function): Clarify the doc string
17745 (bug#8101).
17746
56e6cc31 177472011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
17748
17749 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
17750 unnecessary spaces (bug#8987).
17751
2b216704
LMI
177522011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17753
17754 * net/network-stream.el (open-network-stream): Use the
17755 :end-of-capability command thoughout.
17756
177572011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
17758
17759 * net/network-stream.el (open-network-stream): Add the
17760 :end-of-capability command parameter, used by pop3.el.
17761
36adf6ce
LMI
177622011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17763
1ca0da0e
LMI
17764 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
17765
fc00f69c
LMI
17766 * fringe.el (fringe-query-style): Remove redundant text " (type ?
17767 for list)" (bug#6475).
17768
28fd8759 17769 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 17770 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
17771 an error (bug#6297).
17772
0dd8b6da
LMI
17773 * man.el (Man-reference-regexp): Allow matching possible
17774 word-wrapped references (bug#6289).
17775
ce1438d6
LMI
17776 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
17777 for consistency with the other vc buffers (bug#6197).
17778 (vc-checkin): Ditto.
17779
17780 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
17781
36adf6ce
LMI
17782 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
17783
e83cc1f7
LMI
177842011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17785
8a20ca4c
LMI
17786 * custom.el (defcustom): Clarify that :set is only used in the
17787 Customize user interface (bug#6089).
17788
83319045
LMI
17789 * progmodes/flymake.el (flymake-mode): If the buffer isn't
17790 associated with a file, refuse to run instead of erroring out
17791 (bug#6084).
17792
a8392169
LMI
17793 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
17794 the doc string, since it appears that using `fill-column' always
17795 controls the width (bug#7845).
17796
e83cc1f7
LMI
17797 * simple.el (shell-command-on-region): Say where the error output
17798 went if `shell-command-default-error-buffer' is set (bug#6857).
17799
e47ca23b
KM
178002011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
17801
17802 * allout.el (allout-yank-processing): Adjust cursor position for
17803 backwards-deleted space.
17804
17805 (allout-rebullet-heading): Register changes with
17806 allout-exposure-changed-hook, so the modified topic is properly
17807 decorated.
17808
5cf56143
LMI
178092011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17810
08549772
LMI
17811 * minibuffer.el (completion-in-region): Document PREDICATE
17812 (bug#7136).
17813
48e96771
LMI
17814 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
17815 of keyword/argument pairs (bug#6904).
17816
c8af70e1
SM
17817 * replace.el (multi-occur):
17818 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 17819
e17d05e2
LMI
178202011-07-02 Drew Adams <drew.adams@oracle.com>
17821
17822 * dired.el (dired-mark-if): Make the message about whether it's
17823 marking or unmarking clearer (bug#8523).
17824
063b0e45
LMI
178252011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17826
17827 * disp-table.el (display-table-print-array): New function.
17828 (describe-display-table): Use it to print the vectors more pretty
17829 (Bug#8859).
17830
28545e04
MR
178312011-07-02 Martin Rudalics <rudalics@gmx.at>
17832
17833 * window.el (window-state-get-1): Don't assign clone numbers.
17834 Add clone-of item to list of window parameters.
17835 (window-state-put-2): Don't process clone numbers.
17836 (display-buffer-alist): Fix doc-string.
17837
3349e122
SM
178382011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
17839
17840 * subr.el (remq): Don't allocate if it's not needed.
17841 (keymap--menu-item-binding, keymap--menu-item-with-binding)
17842 (keymap--merge-bindings): New functions.
17843 (keymap-canonicalize): Use them to refine the canonicalization.
17844 * minibuffer.el (minibuffer-local-completion-map)
17845 (minibuffer-local-must-match-map): Move initialization from C.
17846 (minibuffer-local-filename-completion-map): Move initialization from C;
17847 don't inherit from anything here.
17848 (minibuffer-local-filename-must-match-map): Make obsolete.
17849 (completing-read-default): Use make-composed-keymap to combine
17850 minibuffer-local-filename-completion-map with either
17851 minibuffer-local-must-match-map or
17852 minibuffer-local-filename-completion-map.
17853
d224ac83
GM
178542011-07-01 Glenn Morris <rgm@gnu.org>
17855
3de63bf8
GM
17856 * type-break.el (type-break-time-sum): Use dolist.
17857
d224ac83
GM
17858 * textmodes/flyspell.el (flyspell-word-search-backward):
17859 Replace CL function.
17860
1a1e3f32
SM
178612011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17862
fe3f64d5
SM
17863 * mouse.el (mouse--strip-first-event): New function.
17864 (function-key-map): Use it to map fringe clicks to normal clicks
17865 by default.
17866
eb604e34
SM
17867 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
17868 (vc-bzr-revision-completion-table): Add support for annotate and date.
17869
1a1e3f32
SM
17870 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
17871 inherit from parent.
17872
5bd35902
LMI
178732011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17874
ace6c69c 17875 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 17876 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 17877
191e2bed
LMI
17878 * dired.el (dired-mode): Fix up the doc string as suggested by
17879 Drew Adams (bug#8817).
17880
5bd35902
LMI
17881 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
17882 cookie, since the manual says that it should be possible to add
17883 this function to `find-file-hook' (bug#8709).
17884
eee8207a
TZ
178852011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17886
17887 * progmodes/cfengine.el: Moved all cfengine3.el functionality
17888 here. Noted Ted Zlatanov as the maintainer.
17889 (cfengine-common-settings, cfengine-common-syntax): New functions
17890 to set up common things between `cfengine-mode' and
17891 `cfengine3-mode'.
17892 (cfengine3-mode): New mode.
17893 (cfengine3-defuns cfengine3-defuns-regex
17894 (cfengine3-class-selector-regex cfengine3-category-regex)
17895 (cfengine3-vartypes cfengine3-font-lock-keywords)
17896 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 17897 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 17898
36b148cf
MA
178992011-07-01 Michael Albinus <michael.albinus@gmx.de>
17900
17901 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
17902
17903 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
17904
0bf4ba9a
MR
179052011-07-01 Martin Rudalics <rudalics@gmx.at>
17906
17907 * window.el (same-window-buffer-names, same-window-regexps)
17908 (same-window-p, special-display-frame-alist)
17909 (special-display-popup-frame, special-display-function)
17910 (special-display-buffer-names, special-display-regexps)
17911 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
17912 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17913 (split-window-preferred-function, split-height-threshold)
17914 (split-width-threshold, even-window-heights)
17915 (display-buffer-mark-dedicated, window-splittable-p)
17916 (split-window-sensibly, window-safely-shrinkable-p):
17917 Un-obsolete.
17918 (display-buffer): Don't spread args with function specifier
17919 because special-display-popup-frame won't like it.
17920
35837f51
PE
179212011-07-01 Paul Eggert <eggert@cs.ucla.edu>
17922
d0672f86
PE
17923 Time-stamp simplifications and fixes.
17924 These improve accuracy slightly, and future-proof the code
17925 against some potential changes to current-time format.
17926
b9444d97
PE
17927 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
17928 by using time-since and float-time.
17929
0ef923dc
PE
17930 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
17931 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
17932 + NNN microseconds".
17933
2f81380d
PE
17934 * type-break.el (type-break-time-sum): Rewrite using time-add.
17935
845b5c3e
PE
17936 * play/hanoi.el (hanoi-current-time-float): Remove.
17937 All uses replaced by float-time.
17938
ee6f1be0
PE
17939 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
17940 This yields a more-accurate answer.
17941 (rng-time-to-float): Remove; no longer needed.
17942
fe955043
PE
17943 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
17944
5777162a
PE
17945 * calendar/timeclock.el (timeclock-seconds-to-time):
17946 Defalias to seconds-to-time, since they're the same thing.
17947
3103f8b6 17948 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 17949 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
17950 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
17951
0e61a35f
SM
179522011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17953
17954 * window.el (bury-buffer): Don't iconify the only frame.
17955 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
17956 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
17957
ddd63a1e
CY
179582011-07-01 Chong Yidong <cyd@stupidchicken.com>
17959
0e61a35f
SM
17960 * eshell/em-smart.el (eshell-smart-display-navigate-list):
17961 Add mouse-yank-primary.
ddd63a1e 17962
055f4923
TZ
179632011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17964
17965 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
17966
6a2fb145
SM
179672011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17968
17969 * emacs-lisp/find-func.el (find-library--load-name): New fun.
17970 (find-library-name): Use it to find relative load names when provided
17971 absolute file name (bug#8803).
17972
fd4983f2
LMI
179732011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17974
887d14ad
LMI
17975 * textmodes/flyspell.el (flyspell-word): Consider words that
17976 differ only in case as potential doublons (bug#5687).
17977
c53dc7fc
LMI
17978 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
17979 Remove two rather uninteresting debugging-like messages to make
17980 debbugs.el more silent.
17981
fd4983f2
LMI
17982 * comint.el (comint-password-prompt-regexp): Accept "Response" as
17983 a password-like phrase.
17984
7a71b18d 179852011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
17986
17987 * progmodes/cc-guess.el: New file.
17988
6a2fb145 17989 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
17990
17991 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
17992 derived from `c-basic-common-init'.
17993
17994 * progmodes/cc-mode.el (top-level): Require cc-guess.
17995 (c-basic-common-init): Use `cc-choose-style-for-mode'.
17996
1fa280a3
LM
179972011-06-30 Lawrence Mitchell <wence@gmx.li>
17998
17999 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
18000
e6597158
AM
180012011-06-30 Alan Mackenzie <acm@muc.de>
18002
1fa280a3
LM
18003 * progmodes/cc-engine.el (c-guess-continued-construct):
18004 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
18005 lock is disabled. Name this case as "CASE G".
18006
68ba37fb
KM
180072011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
18008
18009 * allout.el (allout-yank-processing): Fix injection of extra space
18010 between bullet and non-whitespace character in first topic when
18011 pasting, ensuring that the actual spacing in the pasted topic
18012 following the bullet char is preserved. This extra space was
18013 causing pasted encrypted topics to get a decrypted status even
18014 when the content was actually still encrypted. Now the decryption
18015 status from before the paste is preserved.
18016
18017 (allout-flag-region): Set all allout overlays so they evaporate
18018 when reduced to zero length (evanescent), to prevent overlay
18019 leakage.
18020
887a0b34
GM
180212011-06-30 Glenn Morris <rgm@gnu.org>
18022
94b9acce
GM
18023 * w32-fns.el (w32-charset-info-alist): Declare.
18024
1d9b46d4
GM
18025 * find-dired.el (find-grep-options): Simplify.
18026
cc232200
GM
18027 * term/ns-win.el (ns-set-resource): Declare.
18028
28e77c46
GM
18029 * ses.el (row, col): Declare dynamic variables honestly.
18030
887a0b34
GM
18031 * textmodes/reftex-parse.el (index-tags): Declare.
18032
658d8eb8
CY
180332011-06-30 Chong Yidong <cyd@stupidchicken.com>
18034
18035 * cus-edit.el (customize-push-and-save): New function.
18036
18037 * files.el (hack-local-variables-confirm): Use it.
18038
1fa280a3
LM
18039 * custom.el (load-theme): New arg NO-CONFIRM.
18040 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
18041 (custom-enabled-themes): Doc fix.
18042
18043 * cus-theme.el (customize-create-theme)
18044 (custom-theme-merge-theme): Callers to load-theme changed.
18045
bb617717
LMI
180462011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18047
d61bdd5d
LMI
18048 * thingatpt.el (thing-at-point-short-url-regexp): Require that
18049 short URLs have at least one dot in them (bug #7614).
18050
bb617717
LMI
18051 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
18052 nil, because using a pty is apparently too slow (bug #895).
18053
2f31f37a
LMI
180542011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
18055
18056 * mail/sendmail.el (sendmail-query-once): New function.
18057 (sendmail-query-once-function): New variable.
18058
3076b24e
GM
180592011-06-29 Glenn Morris <rgm@gnu.org>
18060
faf2a174
GM
18061 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
18062
3076b24e
GM
18063 * ses.el (top-level): Require cl when compiling.
18064 (ses-set-localvars): Fix error statement.
18065 Call it at compile time to silence a storm of warnings.
18066
5386012d
MR
180672011-06-29 Martin Rudalics <rudalics@gmx.at>
18068
18069 * window.el (normalize-live-buffer): Rename to
18070 window-normalize-buffer.
18071 (normalize-live-frame): Rename to window-normalize-frame.
18072 (normalize-any-window): Rename to window-normalize-any-window.
18073 (normalize-live-window): Rename to window-normalize-live-window.
18074 (make-window-atom): Rename to window-make-atom.
18075 (window-resize-reset): Rename to window--resize-reset.
18076 (window-resize-reset-1): Rename to window--resize-reset-1.
18077 (resize-mini-window): Rename to window--resize-mini-window.
18078 (resize-subwindows-skip-p): Rename to
18079 window--resize-subwindows-skip-p.
18080 (resize-subwindows-normal): Rename to
18081 window--resize-subwindows-normal.
18082 (resize-subwindows): Rename to window--resize-subwindows.
18083 (resize-other-windows): Rename to window--resize-siblings.
18084 (resize-this-window): Rename to window--resize-this-window.
18085 (resize-root-window): Rename to window--resize-root-window.
18086 (resize-root-window-vertically): Rename to
18087 window--resize-root-window-vertically.
18088 (normalize-buffer-to-display): Rename to
18089 window-normalize-buffer-to-display.
18090 (normalize-buffer-to-switch-to): Rename to
18091 window-normalize-buffer-to-switch-to.
18092 Correspondingly update all callers of the functions listed
18093 above.
18094 (display-buffer-alist, display-buffer-normalize-arguments)
18095 (display-buffer-normalize-options, display-buffer)
18096 (display-buffer-alist-set): Use "function" instead of
18097 "fun-with-args".
18098
1176868d
CY
180992011-06-28 Chong Yidong <cyd@stupidchicken.com>
18100
18101 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
18102 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
18103 debbugs.gnu.org. Mention acknowledgment email.
18104
20a7a65f
LMI
181052011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
18106
18107 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
18108 buffer multibyteness, since it shouldn't matter.
18109
5f45cca5
MR
181102011-06-28 Martin Rudalics <rudalics@gmx.at>
18111
18112 * window.el (display-buffer-in-side-window): Handle dedicated
18113 windows as in display-buffer-reuse-window.
18114 (display-buffer-normalize-alist): Use value of override
18115 specifier.
18116 (display-buffer-normalize-specifiers): Use value of
18117 other-window-means-other-frame specifier.
18118 (display-buffer-alist): Rewrite some texts in widgets.
18119 (display-buffer): Spread arguments when calling function
18120 specified by fun-with-args.
18121
ad85fe1f
DD
181222011-06-28 Deniz Dogan <deniz@dogan.se>
18123
1fa280a3
LM
18124 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18125 Unnest `let'.
da68c4c8 18126
ad85fe1f
DD
18127 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
18128 selectors (Bug#5732).
ec49bd31 18129 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 18130
a08cc025
JA
181312011-06-27 Jari Aalto <jari.aalto@cante.net>
18132
18133 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
18134 (eshell-ls-date-format): New defcustom.
18135 (eshell-ls-file): Use it.
18136
e2b551c5
SM
181372011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
18138
18139 * help-fns.el (describe-variable): Fix message for terminal-local vars.
18140
8982b231
KY
181412011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
18142
18143 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
18144 (ange-ftp-make-tmp-name): New arg.
18145 (ange-ftp-file-local-copy): Use it.
18146
36c9fa27
J
181472011-06-27 Jambunathan K <kjambunathan@gmail.com>
18148
18149 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
18150 no-conversion (Bug#8870).
18151
d68443dc
MR
181522011-06-27 Martin Rudalics <rudalics@gmx.at>
18153
18154 * window.el (window-right, window-left, window-child)
18155 (window-child-count, window-last-child)
18156 (window-iso-combination-p, walk-window-tree-1)
18157 (window-atom-check-1, window-tree-1, delete-window)
18158 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
18159 new naming conventions - window-vchild, window-hchild,
18160 window-next and window-prev are now called window-top-child,
18161 window-left-child, window-next-sibling and window-prev-sibling
18162 respectively.
d615d6d2
MR
18163 (resize-window-reset): Rename to window-resize-reset.
18164 (resize-window-reset-1): Rename to window-resize-reset-1.
18165 (resize-window): Rename to window-resize.
18166 (window-min-height, window-min-width)
18167 (resize-mini-window, resize-this-window, resize-root-window)
18168 (resize-root-window-vertically, adjust-window-trailing-edge)
18169 (enlarge-window, shrink-window, maximize-window)
18170 (minimize-window, delete-window, quit-restore-window)
18171 (split-window, balance-windows, balance-windows-area-adjust)
18172 (balance-windows-area, window-state-put-2)
18173 (display-buffer-even-window-sizes, display-buffer-set-height)
18174 (display-buffer-set-width, set-window-text-height)
18175 (fit-window-to-buffer): Rename all "resize-window" prefixed
18176 calls to use the "window-resize" prefix convention.
18177 (display-buffer-alist): Fix symbol for label specifier.
18178 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
18179 corresponding specifier.
18180 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 18181
b6458526
VB
181822011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
18183
18184 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
18185 convention.
18186 (ses-call-printer): Does not pass an empty string to formatter when the
18187 cell is empty to keep from barking printer Calc math-format-value.
18188
d31fd9ac
RS
181892011-06-27 Richard Stallman <rms@gnu.org>
18190
43d5bf84
RS
18191 * battery.el (battery-mode-line-limit): New variable.
18192 (battery-update): Handle it.
18193
d31fd9ac
RS
18194 * mail/rmailmm.el (rmail-mime-process-multipart):
18195 Handle truncated messages.
18196
819a6054
GM
181972011-06-27 Glenn Morris <rgm@gnu.org>
18198
18199 * progmodes/flymake.el (flymake-err-line-patterns):
18200 Allow for column numbers in the ant/javac pattern. (Bug#8866)
18201
cedc73f2
VB
182022011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
18203
819a6054 18204 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
18205 (ses--clean-!, ses--clean-_): New functions.
18206 (ses-range): Add configurability of readout order, and conversion
18207 to Calc vector.
18208
5e5d49b6
VB
18209 * ses.el (ses-repair-cell-reference-all): New function.
18210 (ses-cell-symbol): Set macro as safe, so that it can be used in
18211 formulas.
18212
56e6cc31 18213 * ses.el: Update cycle detection algorithm.
90ca8b49 18214 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 18215 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
18216 (ses-set-localvars): New function.
18217 (ses-make-cell): Add property-list as a cell element.
18218 (ses-cell-property-get-fun, ses-cell-property-get)
18219 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
18220 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
18221 New functions.
90ca8b49
VB
18222 (ses-cell-property-set, ses-cell-property-pop)
18223 (ses-cell-property-get-handle): New macro.
18224 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
18225 New aliases, used for code readability.
18226 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
18227 cycle detection.
18228 (ses-self-reference-early-detection): New defcustom.
fac916bf 18229 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
18230 (ses-mode): Use ses-set-localvars.
18231 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
18232 before lauching the update processing.
18233 (ses-initialize-Dijkstra-attempt): New function.
18234 (ses-recalculate-cell): Update for cycle detection based on
18235 Dijkstra algorithm.
18236
2bb63e81
VB
18237 * ses.el: Fix commenting and indenting convention.
18238
c9d29fb8
SM
182392011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
18240
18241 * bs.el (bs-cycle-next): Complete last change.
18242
d8e4b68b
JB
182432011-06-27 Drew Adams <drew.adams@oracle.com>
18244
18245 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
18246
40098786
LMI
182472011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18248
c9d29fb8
SM
18249 * net/network-stream.el (network-stream-open-starttls):
18250 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
18251 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
18252
40098786
LMI
18253 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
18254 to binary to possibly avoid line encoding issues on Windows (among
18255 other things).
18256
468d09d4
LMI
182572011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18258
18259 * net/network-stream.el (open-network-stream): Return an :error
18260 saying what the problem was, if possible.
18261
18262 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
18263 server.
18264
18265 * net/network-stream.el (network-stream-open-starttls): If we
18266 wanted to use STARTTLS, and the server offered it, but we weren't
18267 able to because we had no STARTTLS support, then close the connection.
18268 (open-network-stream): Return an :error element, if present.
18269
16f07dd7
CY
182702011-06-26 Chong Yidong <cyd@stupidchicken.com>
18271
88821ca0
CY
18272 * hl-line.el (hl-line-sticky-flag): Doc fix.
18273 (global-hl-line-sticky-flag): New option (Bug#8323).
18274 (global-hl-line-highlight): Obey it.
18275
16f07dd7
CY
18276 * vc/vc.el (vc-revert-show-diff): Default to t.
18277
6b5ccddf
KM
182782011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
18279
c9d29fb8
SM
18280 * allout-widgets.el (allout-widgets-post-command-business):
18281 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
18282 undecorated when an isearch is continued past, and isearch
18283 automatically collapses them. This leads to "widget leaks", where
18284 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
18285 hidden widgets can slow down cursor travel, substantially.
18286 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
18287 so we're doing without this nicety.
18288
18289 (allout-widgets-tally-string): Don't try to do a hash-table-count
18290 of allout-widgets-tally when it's nil. This eliminates spurious "Error
18291 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
18292 *Messages* when allout-widgets-maintain-tally is t.
18293
355f2e07
MR
182942011-06-26 Martin Rudalics <rudalics@gmx.at>
18295
18296 * window.el (display-buffer-normalize-argument): Rename to
18297 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
18298 LABEL argument. Respect special-display-function when popping up
18299 a new frame. Fix code searching for a window showing the buffer
18300 on another frame.
c9d29fb8
SM
18301 (display-buffer-normalize-specifiers):
18302 Call display-buffer-normalize-arguments.
355f2e07
MR
18303 (display-buffer-in-window): Don't undedicate the window if its
18304 buffer remains the same.
18305 Reported by Drew Adams <drew.adams@oracle.com>.
18306 (display-buffer-alist): Add choice for same-window macro
18307 specfier.
18308 (display-buffer): Mention special meaning of LABEL argument in
18309 doc-string. Fix quoting. Don't pop up a new frame even as
18310 fallback.
18311
7ca8fc42
JB
183122011-06-26 Juanma Barranquero <lekktu@gmail.com>
18313
18314 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
18315 avoid deleting the current window in some cases (bug#8911).
18316
bc312254
AS
183172011-06-26 Andreas Schwab <schwab@linux-m68k.org>
18318
18319 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
18320 (Bug#8934)
18321
2db18f3f
LMI
183222011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18323
c9d29fb8
SM
18324 * net/network-stream.el (network-stream-open-starttls):
18325 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
18326 (network-stream-open-tls): Ditto.
18327
6302e0d3
LL
183282011-06-26 Leo Liu <sdl.web@gmail.com>
18329
18330 * register.el (registerv): New struct.
18331 (registerv-make): New function.
c9d29fb8
SM
18332 (jump-to-register, describe-register-1, insert-register):
18333 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
18334 struct. (Bug#8415)
18335
5fdd4046
CY
183362011-06-26 Chong Yidong <cyd@stupidchicken.com>
18337
2afef60a
CY
18338 * vc/vc.el (vc-revert-show-diff): New defcustom.
18339 (vc-diff-internal): New arg specifying diff buffer.
18340 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
18341 reuse an existing *vc-diff* buffer (Bug#8927).
18342
5fdd4046
CY
18343 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
18344
e93db24a
GM
183452011-06-26 Glenn Morris <rgm@gnu.org>
18346
18347 * progmodes/f90.el (f90-critical-indent): New option.
18348 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
18349 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
18350 (f90-mode): Doc fix.
18351 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
18352 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
18353 (f90-beginning-of-block, f90-next-block, f90-indent-region)
18354 (f90-match-end): Handle block, critical.
18355
eefff499
GM
183562011-06-25 Glenn Morris <rgm@gnu.org>
18357
f6ba4cc9
GM
18358 * calendar/diary-lib.el (diary-included-files): Doc fix.
18359 (diary-include-files): New function, extracted from
18360 diary-include-other-diary-files and diary-mark-included-diary-files.
18361 (diary-include-other-diary-files, diary-mark-included-diary-files):
18362 Just call diary-include-files.
18363 (diary-mark-entries): Reset diary-included-files on first call.
18364
16712304
GM
18365 * calendar/diary-lib.el (diary-mark-entries)
18366 (diary-mark-included-diary-files):
18367 Visit included diary-files in temp buffers.
18368
5d8e0d43
GM
18369 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
18370 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
18371 (f90-start-block-re, f90-imenu-generic-expression)
18372 (f90-looking-at-program-block-start, f90-no-block-limit):
18373 Add support for submodules.
18374
ccf7a5d5
GM
18375 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
18376 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 18377
11fdef7d 183782011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
18379
18380 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
18381 buffer-file-type before setting its value, to avoid disastrous
eefff499 18382 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 18383
74f53697
JB
183842011-06-25 Juanma Barranquero <lekktu@gmail.com>
18385
18386 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
18387
18388 * ses.el (ses-unload-function):
18389 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
18390
18391 * proced.el (proced-unload-function):
18392 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
18393
18a4ce5e
AR
183942011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
18395
18396 * server.el (server-create-window-system-frame): Add parameters arg.
18397 (server-process-filter): Doc fix. Handle frame-parameters.
18398
519d22cc
JB
183992011-06-25 Juanma Barranquero <lekktu@gmail.com>
18400
18401 Fix bug#8730, bug#8781.
18402
18403 * loadhist.el (unload--set-major-mode): New function.
18404 (unload-feature): Use it.
18405
18406 * progmodes/python.el (python-after-info-look): Add autoload cookie.
18407 (python-unload-function): New function.
18408
c206f5b0
SM
184092011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
18410
18411 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
18412
f9ad64f3
GS
184132011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
18414
18415 * net/browse-url.el (browse-url-firefox-program): Add icecat to
18416 the candidates list.
18417
7d0da90e
JB
184182011-06-24 Juanma Barranquero <lekktu@gmail.com>
18419
18420 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
18421
14b4e83d
RS
184222011-06-23 Richard Stallman <rms@gnu.org>
18423
18424 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
18425 (rmail-variables): Set next-error-move-function.
18426 (rmail-what-message): Take argument POS.
18427 (rmail-next-error-move): New function.
18428
273d2baf
SM
184292011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
18430
18431 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
18432 messages for adjacent non-terminals.
18433
56c2cc9a
RS
184342011-06-23 Richard Stallman <rms@gnu.org>
18435
18436 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 18437 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
18438 (rmail-start-mail): Don't specify use of rmail-mail-return;
18439 that's done by mail-bury now.
18440 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 18441
d59eb518
MA
184422011-06-23 Michael Albinus <michael.albinus@gmx.de>
18443
18444 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
18445 SIZE is a number.
18446
02cfc6d6
MR
184472011-06-23 Martin Rudalics <rudalics@gmx.at>
18448
18449 * window.el (get-lru-window, get-mru-window)
18450 (get-largest-window): Never return a minibuffer window.
18451 (display-buffer-pop-up-window): Fix a bug that could lead to
18452 reusing the minibuffer window.
18453 (display-buffer): Pass original specifier argument to
18454 display-buffer-function instead of the normalized one.
18455 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18456
4e323265
LL
184572011-06-22 Leo Liu <sdl.web@gmail.com>
18458
18459 * minibuffer.el (completing-read-function)
1f9f395d 18460 (completing-read-default): Move from minibuf.c.
4e323265 18461
7a70468f
RS
184622011-06-22 Richard Stallman <rms@gnu.org>
18463
50718fc2
RS
18464 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
18465 to Rmail even if not started by a special Rmail command.
18466
7a70468f
RS
18467 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
18468 Copy the buffer currently showing just one message.
18469
297dde5a
RW
184702011-06-22 Roland Winkler <winkler@gnu.org>
18471
18472 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
18473 (bibtex-clean-entry): First delete the old key so that a
18474 customized algorithm for generating the new key does not get
18475 confused by the old key.
18476 (bibtex-url): Obey regexp of first step.
18477 (bibtex-search-entries): Do not use add-to-list with local
18478 list-var.
18479
97bb1093
LMI
184802011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
18481
18482 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
18483 stored a user name, then query for the password first, instead of
18484 waiting for SMTP to give an error message and the trying again.
18485
1c0f1a19
JD
184862011-06-22 Lawrence Mitchell <wence@gmx.li>
18487
18488 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
18489 BUFFER in call-process.
18490
396f7c9d
LMI
184912011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
18492
18493 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
18494 QUIT twice.
ddb7ffee
LMI
18495 (smtpmail-try-auth-methods): Require user name and password from
18496 auth-source.
396f7c9d 18497
8998d1b3
MR
184982011-06-22 Martin Rudalics <rudalics@gmx.at>
18499
18500 * window.el (display-buffer-default-specifiers)
18501 (display-buffer-alist): Remove entries for pop-up-frame-alist.
18502 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 18503 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
18504
18505 * frame.el (pop-up-frame-alist, pop-up-frame-function)
18506 (special-display-frame-alist, special-display-popup-frame):
18507 Remove duplicate declarations. These are now in window.el.
18508
4ea31e07
LMI
185092011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18510
c9d29fb8
SM
18511 * mail/smtpmail.el (smtpmail-via-smtp):
18512 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
18513 server supports it. SMTP servers that support STARTTLS commonly
18514 require it.
18515
18516 * net/network-stream.el (network-stream-open-starttls): Support
18517 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 18518 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 18519
95f41d9a
LMI
18520 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
18521 upgrades with `open-network-stream', and rely solely on
18522 auth-source for all credentials. Big changes throughout the file,
18523 but in particular:
c9d29fb8
SM
18524 (smtpmail-auth-credentials): Remove.
18525 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
18526 (smtpmail-via-smtp): Check for servers saying they want AUTH after
18527 MAIL FROM, too.
95f41d9a 18528
c9d29fb8
SM
18529 * net/network-stream.el (network-stream-open-starttls):
18530 Provide support for client certificates both for external and built-in
4ea31e07
LMI
18531 STARTTLS.
18532 (auth-source): Require.
18533 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
18534 (network-stream-certificate): Change cert-cert to cert and
18535 cert-key to key.
4ea31e07 18536
065ec2c7
MA
185372011-06-21 Michael Albinus <michael.albinus@gmx.de>
18538
18539 * net/tramp-cache.el (top): Don't load the persistency file when
18540 "emacs -Q" has been called.
18541
cd93b359
DR
185422011-06-21 Tim Harper <timcharper@gmail.com>
18543
d8e4b68b
JB
18544 * term/ns-win.el (ns-initialize-window-system):
18545 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
18546 resource to NO as it is not yet supported by the NS port.
18547
ae9c0411
JB
185482011-06-21 Juanma Barranquero <lekktu@gmail.com>
18549
18550 * misc.el (list-dynamic-libraries--refresh): Compute header here...
18551 (list-dynamic-libraries): ...not here.
18552
7f3f739f
LL
185532011-06-21 Leo Liu <sdl.web@gmail.com>
18554
18555 * subr.el (sha1): Implement sha1 using secure-hash.
18556
327c8fb1
MR
185572011-06-21 Martin Rudalics <rudalics@gmx.at>
18558
18559 * window.el (display-buffer-alist): In default value do not
18560 enforce searching a window on any but the selected frame.
18561 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
18562 (display-buffer-select-window): Remove function.
18563 (display-buffer-in-window): When a window on another frame gets
18564 reused, do not select it any more but just raise its frame if
18565 necessary (Bug#8851) and (Bug#8856).
18566 (display-buffer-normalize-options): Handle pop-up-frames related
18567 options more faithfully.
18568 (pop-to-buffer): Don't rely on `display-buffer' selecting the
18569 window if it is on another frame.
c9d29fb8
SM
18570 (display-buffer-alist, display-buffer-default-specifiers):
18571 Don't make new frame unsplittable by default.
9e9de014
MR
18572 (display-buffer-normalize-argument): Fix doc-string typo and use
18573 'same-frame-other-window instead of 'other-window when associating
18574 with display-buffer-macro-specifiers.
327c8fb1 18575
7cf3f556
VB
185762011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
18577
18578 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
18579 New functions.
18580 (5x5-mode-map, 5x5-mode-menu): Bind them.
18581 (5x5-draw-grid): Tweak the solver's rendering.
18582
60a406cf
SM
185832011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18584
18585 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
18586 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
18587
d8e4b68b 185882011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
18589
18590 * menu-bar.el: Use function variable instead of switch-to-buffer.
18591 (menu-bar-select-buffer-function): New variable.
60a406cf 18592 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 18593
478d6f95
SM
185942011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18595
18596 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
18597 variable's status.
18598
ca530739
JD
185992011-06-20 Jan Djärv <jan.h.d@swipnet.se>
18600
18601 * x-dnd.el (x-dnd-version-from-flags)
18602 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
18603 and long as number (Bug#8899).
18604 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
18605
bcd70d97
SM
186062011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
18607
60a406cf 18608 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
18609 (completion-try-completion, completion-all-completions): Compute the
18610 metadata argument if it's missing; make it optional (bug#8795).
18611
60a406cf 18612 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
18613 (widget-complete): Use new :completion-function property.
18614 (widget-completions-at-point): New function.
18615 (default): Use :completion-function instead of :complete.
60a406cf
SM
18616 (widget-default-completions): Rename from widget-default-complete;
18617 Rewrite.
bcd70d97
SM
18618 (widget-string-complete, widget-file-complete, widget-color-complete):
18619 Remove functions.
18620 (file, symbol, function, variable, coding-system, color):
18621 * international/mule-cmds.el (default-input-method, charset)
18622 (language-info-custom-alist):
18623 * cus-edit.el (face): Use new property :completions.
18624
18625 * progmodes/pascal.el (pascal-completions-at-point): New function.
18626 (pascal-mode): Use it.
18627 (pascal-mode-map): Use completion-at-point.
18628 (pascal-toggle-completions): Make obsolete.
18629 (pascal-complete-word, pascal-show-completions):
18630 * progmodes/octave-mod.el (octave-complete-symbol):
18631 Redefine as obsolete alias.
18632 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
18633 Signal absence of completion info for old Octave,
18634 (inferior-octave-complete): Redefine as obsolete alias.
18635 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
18636 (meta-completions-at-point): Rename from meta-complete-symbol and
18637 adapt it for use on completion-at-point-functions.
18638 (meta-common-mode): Use it.
18639 (meta-looking-at-backward, meta-match-buffer): Remove.
18640 (meta-complete-symbol): Redefine as obsolete alias.
18641 (meta-common-mode-map): Use completion-at-point.
18642 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
18643 (makefile-mode-map): Use completion-at-point.
18644 (makefile-completions-at-point): Rename from makefile-complete and
18645 adapt it for use on completion-at-point-functions.
18646 (makefile-mode): Use it.
18647 (makefile-complete): Redefine as obsolete alias.
18648
aebf69c8
DD
186492011-06-20 Deniz Dogan <deniz@dogan.se>
18650
18651 * net/rcirc.el: Delete trailing whitespaces once and for all.
18652
bfbbb27d
DC
186532011-06-20 Daniel Colascione <dan.colascione@gmail.com>
18654
18655 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
18656
d264a46b
CY
186572011-06-19 Chong Yidong <cyd@stupidchicken.com>
18658
4ca009e5
CY
18659 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
18660
d264a46b
CY
18661 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
18662
fbf5b3ce
MR
186632011-06-19 Martin Rudalics <rudalics@gmx.at>
18664
18665 * window.el (display-buffer-other-window-means-other-frame):
18666 Call display-buffer-normalize-alist.
18667 (display-buffer-normalize-specifiers-1): Rename to
18668 display-buffer-normalize-argument. New argument other-frame.
18669 Rewrite.
18670 (display-buffer-normalize-specifiers-2): Rename to
18671 display-buffer-normalize-options.
18672 (display-buffer-normalize-alist-1): New function.
18673 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
18674 display-buffer-normalize-alist.
18675 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
18676 (display-buffer-normalize-options-inhibit): New variable.
18677 (display-buffer-normalize-specifiers): Rewrite calling
18678 display-buffer-normalize-alist,
18679 display-buffer-normalize-argument, and
18680 display-buffer-normalize-options. Don't call the latter if
18681 display-buffer-normalize-options-inhibit is non-nil.
18682 (frame-auto-delete): New option.
18683 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
18684 (window-list-no-nils, window-state-ignored-parameters)
18685 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
18686 (window-state-put-1, window-state-put-2, window-state-put):
18687 New functions.
9a028c23
MR
18688 (display-buffer-normalize-options): Move special-display-p group
18689 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 18690
6d10d800
CY
186912011-06-18 Chong Yidong <cyd@stupidchicken.com>
18692
6420d28b
CY
18693 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
18694 groups (Bug#8776).
18695 (rx-submatch-n): New function.
18696 (rx): Document it.
18697
ddb8b596
CY
18698 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
18699 (Bug#8768).
18700
18701 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
18702
77080289
CY
18703 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
18704
61dfb316
CY
18705 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
18706 anytime existing face settings are present (Bug#8889).
18707
6d10d800
CY
18708 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
18709 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
18710 Remove unused argument.
18711
be3fb2b8
MR
187122011-06-18 Martin Rudalics <rudalics@gmx.at>
18713
bcd70d97
SM
18714 * window.el (display-buffer-default-specifiers):
18715 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
18716 pop-up-window-min-width, and another reuse-window specifier
18717 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
18718 (display-buffer-normalize-specifiers-2):
18719 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
18720 pop-up-windows is unset. Add a reuse-window specifier for the
18721 case popping up a new window fails.
18722 (special-display-popup-frame): Remove double quoting.
28dec25a 18723 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 18724
1c6d8c76
SM
187252011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
18726
18727 * shell.el (shell-completion-vars): Set pcomplete-termination-string
18728 according to comint-completion-addsuffix.
18729
18730 * pcomplete.el: Convert to lexical binding and fix bug#8819.
18731 (pcomplete-suffix-list): Mark as obsolete.
18732 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
18733 pcomplete-seen in the closure.
18734 (pcomplete-comint-setup): Setup completion-at-point as well.
18735 (pcomplete--entries): New function.
18736 (pcomplete--env-regexp): New var.
18737 (pcomplete-entries): Rewrite to work with partial-completion and
18738 without relying on pcomplete-suffix-list.
18739 (pcomplete-pare-list): Remove, unused.
18740
25aef8b8
MR
187412011-06-17 Martin Rudalics <rudalics@gmx.at>
18742
18743 * window.el (display-buffer-alist): Set pop-up-window-min-height
18744 and pop-up-window-min-width in default value. Reported by
18745 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
18746 other-window-means-other-frame.
18747 (display-buffer-macro-specifiers): Comment out entry for
18748 other-window specifier.
18749 (display-buffer-other-window-means-other-frame): New function.
18750 (display-buffer-normalize-specifiers-1): New arguments
18751 buffer-name and label. Treat other-window case specially.
18752 (display-buffer-normalize-specifiers-2): Treat other-window case
18753 specially.
18754 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
18755 (display-buffer-normalize-specifiers):
18756 Call display-buffer-normalize-specifiers-3.
25aef8b8 18757
dbad4f69
MR
187582011-06-17 Martin Rudalics <rudalics@gmx.at>
18759
18760 * window.el (same-window-p): Fix two typos introduced when
18761 adding with-no-warnings.
d1067961
MR
18762 (display-buffer-normalize-specifiers-1): Don't check
18763 pop-up-frames for 'unset initialization.
18764 (display-buffer-normalize-specifiers-2): Major rewrite using
18765 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
18766 (pop-up-frames, display-buffer-reuse-frames)
18767 (display-buffer-mark-dedicated): Don't initialize to 'unset.
18768 Suggested by David Engster <deng@randomsample.de>.
18769 (even-window-heights): Initialize to 'unset.
18770 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
18771 (display-buffer-macro-specifiers): Don't pop up a new frame in the
18772 other window case.
dbad4f69 18773
9b9c9e3a
MR
187742011-06-16 Martin Rudalics <rudalics@gmx.at>
18775
bcd70d97
SM
18776 * window.el (display-buffer-normalize-specifiers-1):
18777 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 18778 second argument of display-buffer (Bug#8865).
981d5c09
MR
18779 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
18780 (switch-to-buffer-other-window-same-frame)
18781 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
18782 Adams (Bug#8875).
9c2755e9
MR
18783 (display-buffer): Don't check noninteractive when calling
18784 display-buffer-pop-up-frame.
18785 (display-buffer-pop-up-frame): Never pop up a frame in
18786 noninteractive mode (Bug#8857).
67222e1d
MR
18787 (enlarge-window, shrink-window): Don't report an error when the
18788 window can't be resized as requested (Bug#8862).
9b9c9e3a 18789
2b75be67
SM
187902011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18791
9ffdd3ba
SM
18792 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
18793
cb581a67
SM
18794 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
18795
2b75be67
SM
18796 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
18797
8c0e3589
AM
187982011-06-15 Alan Mackenzie <acm@muc.de>
18799
cb581a67
SM
18800 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
18801 for declarators, disable knr checking to speed up for normal files.
18802 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 18803
b96e6cde
LMI
188042011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18805
4bba86e6
LMI
18806 * net/network-stream.el (open-network-stream): Add the keyword
18807 :always-query-capabilities for the case where you want to force a
18808 `plain' network connection, but the protocol still requires the
18809 capabilitiy command (i.e., SMTP and EHLO).
18810
2b75be67 18811 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
18812 consistency with other `-live-p' functions.
18813
efdcdbf8
SM
188142011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18815
18816 * window.el (same-window-buffer-names, same-window-regexps)
18817 (special-display-frame-alist, special-display-popup-frame)
18818 (special-display-function, special-display-buffer-names)
18819 (special-display-regexps, pop-up-frame-alist)
18820 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
18821 (pop-up-windows, split-window-preferred-function)
18822 (split-height-threshold, split-width-threshold, even-window-heights)
18823 (display-buffer-mark-dedicated): Don't encourage the use of
18824 display-buffer-alist from Elisp code.
18825
c5cde042
DN
188262011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
18827
18828 * progmodes/python.el (python-mode): Derive from prog-mode.
18829 * progmodes/ps-mode.el (ps-mode):
18830 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 18831 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
18832 * progmodes/ld-script.el (ld-script-mode): Likewise.
18833
baa1c9ab
MR
188342011-06-15 Martin Rudalics <rudalics@gmx.at>
18835
18836 * window.el (display-buffer-alist): Trim default value to avoid
18837 popping up a new frame (Bug#8857) or reusing an arbitrary window
18838 on another frame.
18839 (display-buffer): Do not fall back on popping up a new frame in
18840 batch mode (Bug#8857).
18841
c5dd5a51
CY
188422011-06-14 Chong Yidong <cyd@stupidchicken.com>
18843
18844 * cus-theme.el (describe-theme-1): Use custom-theme-p.
18845 (custom-theme-summary): New function.
18846 (customize-themes): Use it.
18847
d647b7c4
GM
188482011-06-13 Glenn Morris <rgm@gnu.org>
18849
18850 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
18851
9481c002
MR
188522011-06-13 Martin Rudalics <rudalics@gmx.at>
18853
357f93d2
MR
18854 * help.el (help-window): Remove variable.
18855 (help-window-point-marker, temp-buffer-max-height)
18856 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
18857 (help-print-return-message): Don't set help-window.
18858 (resize-temp-buffer-window): Rewrite cod eand doc-string.
18859 (help-window-setup-finish): Remove.
18860 (help-window-display-message, help-window-setup)
18861 (with-help-window): Major rewrite based on new
18862 display-buffer-window variable.
18863
18864 * help-mode.el (help-mode-finish): Remove help-window related
18865 code.
18866
18867 * view.el (view-exits-all-viewing-windows): Remove reference to
18868 view-return-to-alist in doc-string.
18869 (view-return-to-alist): Make obsolete.
18870 (view-buffer): Call pop-to-buffer-same-window and remove
18871 undo-window code.
18872 (view-buffer-other-window): Call pop-to-buffer-other-window and
18873 simplify code. Ignore second argument.
18874 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
18875 simplify code. Ignore second argument.
18876 (view-return-to-alist-update): Make obsolete.
18877 (view-mode-enter): Rename second argument to QUIT-RESTORE.
18878 Rewrite using quit-restore window parameters.
2b75be67
SM
18879 (view-mode-exit): Rename second argument to EXIT-ONLY.
18880 Rewrite using quit-restore-window.
357f93d2
MR
18881 (View-exit, View-exit-and-edit, View-leave, View-quit)
18882 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
18883 appropriate arguments.
18884 (view-end-message): Use quit-restore window parameter.
18885
9481c002
MR
18886 * window.el (display-buffer-function): Rewrite doc-string.
18887 (display-buffer-window, display-buffer-alist): New variables.
18888 (display-buffer-split-specifiers)
18889 (display-buffer-side-specifiers)
18890 (display-buffer-macro-specifiers): New constants.
18891 (display-buffer-even-window-sizes, display-buffer-set-height)
18892 (display-buffer-set-width, display-buffer-select-window)
18893 (display-buffer-in-window, display-buffer-reuse-window)
18894 (display-buffer-split-window-1, display-buffer-split-window)
18895 (display-buffer-split-atom-window, display-buffer-pop-up-window)
18896 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
18897 (display-buffer-in-side-window, normalize-buffer-to-display)
18898 (display-buffer-normalize-specifiers-1)
18899 (display-buffer-normalize-specifiers-2)
2b75be67
SM
18900 (display-buffer-normalize-specifiers, display-buffer-frame):
18901 New functions.
9481c002
MR
18902 (display-buffer): Major rewrite.
18903 (display-buffer-other-window, display-buffer-other-frame)
18904 (pop-to-buffer, switch-to-buffer-other-window)
18905 (switch-to-buffer-other-frame): Rewrite.
18906 (display-buffer-same-window, display-buffer-same-frame)
18907 (display-buffer-same-frame-other-window)
18908 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18909 (pop-to-buffer-other-window)
18910 (pop-to-buffer-same-frame-other-window)
18911 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
18912 (switch-to-buffer-other-window-same-frame): New functions.
18913 (same-window-p, special-display-p): Rewrite disabling warnings.
18914 Make obsolete.
18915 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18916 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
18917 Make obsolete
18918 (same-window-buffer-names, same-window-regexps)
18919 (special-display-frame-alist, special-display-popup-frame)
18920 (special-display-function, special-display-buffer-names)
18921 (special-display-regexps, pop-up-frame-alist)
18922 (pop-up-frame-function, split-window-preferred-function)
18923 (split-height-threshold, split-width-threshold)
18924 (even-window-heights): Make obsolete.
18925
9db51aca
GM
189262011-06-12 Glenn Morris <rgm@gnu.org>
18927
18928 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 18929 Misc simplifications.
9db51aca 18930
39cffb44
MR
189312011-06-12 Martin Rudalics <rudalics@gmx.at>
18932
18933 * window.el (window-safely-shrinkable-p): Restore function which
18934 was inadvertently removed in change from 2011-06-11. Declare as
18935 obsolete.
18936
2b75be67
SM
18937 * calendar/calendar.el (calendar-generate-window):
18938 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
18939 window-safely-shrinkable-p.
18940
a8955be7
GM
189412011-06-12 Glenn Morris <rgm@gnu.org>
18942
18943 * progmodes/fortran.el (fortran-mode-syntax-table):
18944 * progmodes/f90.el (f90-mode-syntax-table):
18945 Set % to punctuation. (Bug#8820)
18946 (f90-find-tag-default): Remove, no longer needed.
18947
f0d4059d
DC
189482011-06-12 Daniel Colascione <dan.colascione@gmail.com>
18949
18950 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
18951
1100a63c
CY
189522011-06-11 Chong Yidong <cyd@stupidchicken.com>
18953
18954 * image.el (image-animated-p): Return animation delay in seconds.
18955 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
18956 (image-animate-timeout): Remove DELAY argument. Don't assume
18957 every subimage has the same delay; get it from image-animated-p.
18958 (image-animate): Caller changed.
18959
def722bf
MA
189602011-06-11 Michael Albinus <michael.albinus@gmx.de>
18961
18962 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
18963 to ignored backtrace functions.
18964
0a2bb1a9
GM
189652011-06-11 Glenn Morris <rgm@gnu.org>
18966
18967 * calendar/appt.el (appt-disp-window-function): Doc fix.
18968 (appt-check): Handle overlapping appointments. (Bug#8337)
18969
6198ccd0
MR
189702011-06-11 Martin Rudalics <rudalics@gmx.at>
18971
18972 * window.el (window-tree-1, window-tree): New functions, moving
18973 the latter to window.el.
18974 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
18975 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
18976 (bw-refresh-edges): Remove.
18977 (balance-windows-1, balance-windows-2): New functions.
18978 (balance-windows): Rewrite in terms of window tree functions,
18979 balance-windows-1 and balance-windows-2.
18980 (bw-adjust-window): Remove.
18981 (balance-windows-area-adjust): New function with functionality of
18982 bw-adjust-window but using resize-window.
2b75be67
SM
18983 (set-window-text-height): Rewrite doc-string.
18984 Use normalize-live-window and resize-window.
18985 (enlarge-window-horizontally, shrink-window-horizontally):
18986 Rename argument to DELTA.
6198ccd0
MR
18987 (window-buffer-height): New function.
18988 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
18989 Rewrite using new window resize routines.
2b75be67
SM
18990 (kill-buffer-and-window, mouse-autoselect-window-select):
18991 Use ignore-errors instead of condition-case.
6198ccd0
MR
18992 (quit-window): Call delete-frame instead of delete-windows-on
18993 for the only buffer on frame.
18994
9397e56f
MR
189952011-06-10 Martin Rudalics <rudalics@gmx.at>
18996
18997 * loadup.el (top-level): Load window before files for the sake
18998 of replace-buffer-in-windows.
18999
19000 * files.el (read-buffer-to-switch)
19001 (switch-to-buffer-other-window)
2b75be67
SM
19002 (switch-to-buffer-other-frame, display-buffer-other-frame):
19003 Move to window.el.
9397e56f
MR
19004
19005 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
19006 (previous-buffer): Move to window.el.
19007
19008 * bindings.el (unbury-buffer): Move to window.el.
19009
19010 * window.el (delete-other-windows-vertically): Move after
19011 definition of delete-other-windows.
19012 (other-window, delete-windows-on, replace-buffer-in-windows):
19013 Move here from window.c.
19014 (record-window-buffer, unrecord-window-buffer)
19015 (set-window-buffer-start-and-point, switch-to-prev-buffer)
19016 (switch-to-next-buffer): New functions.
19017 (get-next-valid-buffer, last-buffer, next-buffer): Move here
19018 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
19019 (previous-buffer): Move here from simple.el.
19020 Call switch-to-prev-buffer.
9397e56f
MR
19021 (bury-buffer): Move here from buffer.c. Switch to previous
19022 buffer when window cannot be deleted.
19023 (unbury-buffer): Move here from bindings.el.
19024 (ctl-x-map): Move binding for other-window from window.c to
19025 here.
19026 (read-buffer-to-switch, switch-to-buffer-other-window)
19027 (switch-to-buffer-other-frame): Move here from files.el.
19028 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
19029 (switch-to-buffer): Move here from buffer.c.
19030 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 19031
562dd5e9
MR
190322011-06-10 Martin Rudalics <rudalics@gmx.at>
19033
19034 * window.el (window-min-height, window-min-width): Move here
19035 from window.c. Add defcustoms and rewrite doc-strings.
19036 (resize-mini-window, resize-window): New functions.
19037 (adjust-window-trailing-edge, enlarge-window, shrink-window):
19038 Move here from window.c.
19039 (maximize-window, minimize-window): New functions.
19040 (delete-window, delete-other-windows, split-window): Move here
19041 from window.c.
19042 (window-split-min-size): New function.
19043 (split-window-keep-point): Mention split-window-above-each-other
19044 instead of split-window-vertically.
2b75be67 19045 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
19046 Rename split-window-vertically to split-window-above-each-other
19047 and provide defalias for old definition.
19048 (split-window-side-by-side, split-window-horizontally):
19049 Rename split-window-horizontally to split-window-side-by-side
19050 and provide defalias for the old definition.
562dd5e9
MR
19051 (ctl-x-map): Move bindings for delete-window,
19052 delete-other-windows and enlarge-window here from window.c.
19053 Replace bindings for split-window-vertically and
19054 split-window-horizontally by bindings for
19055 split-window-above-each-other and split-window-side-by-side.
19056
19057 * cus-start.el (all): Remove entries for window-min-height and
19058 window-min-width. Add entries for window-splits and
19059 window-nest.
19060
f0da764a
GM
190612011-06-09 Glenn Morris <rgm@gnu.org>
19062
80675c21
GM
19063 * calendar/appt.el (appt-mode-line): New function.
19064 (appt-check, appt-disp-window): Use it.
19065
f0da764a
GM
19066 * files.el (hack-one-local-variable-eval-safep):
19067 Allow minor-modes with explicit +/-1 arguments.
19068
59f623b7
TZ
190692011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
19070
19071 * term/xterm.el (xterm): Add defgroup.
19072 (xterm-extra-capabilities): Add defcustom to supply known xterm
19073 capabilities, skip querying them, or query them (default).
19074 (terminal-init-xterm): Use it.
19075 (terminal-init-xterm-modify-other-keys): New function to set up
19076 modifyOtherKeys support to simplify `terminal-init-xterm'.
19077
9aab8e0d
MR
190782011-06-09 Martin Rudalics <rudalics@gmx.at>
19079
19080 * window.el (resize-window-reset, resize-window-reset-1)
19081 (resize-subwindows-skip-p, resize-subwindows-normal)
19082 (resize-subwindows, resize-other-windows, resize-this-window)
19083 (resize-root-window, resize-root-window-vertically)
19084 (window-deletable-p, window-or-subwindow-p)
19085 (frame-root-window-p): New functions.
19086
e8b08aee
GM
190872011-06-09 Glenn Morris <rgm@gnu.org>
19088
19089 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
19090 (ange-ftp-get-files): Use it.
19091
254c37a5
AK
190922011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
19093
19094 * mail/sendmail.el (mail-recover-1, mail-recover):
19095 * files.el (recover-file, recover-session):
19096 Handle dired-listing-switches not being just a single short option.
19097
35d7dbd3
GM
190982011-06-09 Glenn Morris <rgm@gnu.org>
19099
19100 * calendar/appt.el (appt-display-message, appt-disp-window):
19101 Handle lists of appointments.
19102
387522b2
MR
191032011-06-08 Martin Rudalics <rudalics@gmx.at>
19104
2b75be67
SM
19105 * window.el (one-window-p): Move down in code.
19106 Rewrite doc-string.
19107 (window-current-scroll-bars): Rewrite doc-string.
19108 Normalize live window argument.
387522b2
MR
19109 (walk-windows, get-window-with-predicate, count-windows):
19110 Rewrite doc-string. Use window-list-1.
19111 (window-in-direction-2, window-in-direction, get-mru-window):
19112 New functions.
19113
d8e4b68b 191142011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
19115
19116 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
19117 Doc fix (Bug#8713).
19118
191192011-06-08 Chong Yidong <cyd@stupidchicken.com>
19120
19121 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
19122
191232011-06-08 Juanma Barranquero <lekktu@gmail.com>
19124
19125 * loadhist.el (unload-feature-special-hooks):
19126 Add `comint-output-filter-functions'.
19127
0de12c52
IK
191282011-06-08 Ivan Kanis <gnu@kanis.fr>
19129
19130 * calendar/appt.el (appt-check): Move some initializations into the let.
19131
f3d1777e
MR
191322011-06-08 Martin Rudalics <rudalics@gmx.at>
19133
19134 * window.el (window-height): Defalias to window-total-height.
19135 (window-width): Defalias to window-body-width.
19136
18af70d0
CY
191372011-06-07 Chong Yidong <cyd@stupidchicken.com>
19138
19139 * image-mode.el (image-toggle-animation): New command.
19140 (image-mode-map): Bind it to RET.
19141 (image-mode): Update message.
19142 (image-toggle-display-image): Avoid a spurious cache flush.
19143 (image-transform-rotation): Doc fix.
19144 (image-transform-properties): Return quickly in the normal case.
19145 (image-animate-loop): Rename from image-animate-max-time.
19146
2b75be67 19147 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
19148 (create-animated-image): Remove unnecessary function.
19149 (image-animate): Rename from image-animate-start. New arg.
2b75be67 19150 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
19151 (image-animate-timer): Use car-safe.
19152 (image-animate-timeout): Rename argument.
19153
190b47e6
MR
191542011-06-07 Martin Rudalics <rudalics@gmx.at>
19155
19156 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
19157 window.c. Rename first argument to ALL-FRAMES.
19158 Rephrase doc-strings.
19159 (get-buffer-window-list): Rewrite using window-list-1.
19160 Rephrase doc-string.
a1511caf
MR
19161 (window-safe-min-height, window-safe-min-width): New constants.
19162 (window-size-ignore, window-min-size, window-min-size-1)
19163 (window-sizable, window-sizable-p, window-size-fixed-1)
19164 (window-size-fixed-p, window-min-delta-1, window-min-delta)
19165 (window-max-delta-1, window-max-delta, window-resizable)
19166 (window-resizable-p, window-total-height, window-total-width)
19167 (window-body-width): New functions.
19168 (window-full-height-p, window-full-width-p): Rewrite using
19169 window-total-size.
19170 (window-body-height): Rewrite using window-body-size.
190b47e6 19171
85cc1f11
MR
191722011-06-06 Martin Rudalics <rudalics@gmx.at>
19173
19174 * window.el (window-right, window-left, window-child)
19175 (window-child-count, window-last-child, window-any-p)
19176 (normalize-live-buffer, normalize-live-frame)
19177 (normalize-any-window, normalize-live-window)
19178 (window-iso-combination-p, window-iso-combined-p)
19179 (window-iso-combinations)
19180 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
19181 (windows-with-parameter, window-with-parameter)
19182 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
19183 (window-atom-check, window-side-check, window-check):
19184 New functions.
85cc1f11
MR
19185 (ignore-window-parameters, window-sides, window-sides-vertical)
19186 (window-sides-slots): New variables.
19187 (window-size-fixed): Move down in code. Minor doc-string fix.
19188
e7156492
AS
191892011-06-05 Andreas Schwab <schwab@linux-m68k.org>
19190
19191 * comint.el (comint-dynamic-complete-as-filename)
19192 (comint-dynamic-complete-filename): Correctly call
19193 completion-in-region.
19194
7e821d0d
DD
191952011-06-05 Deniz Dogan <deniz@dogan.se>
19196
19197 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
19198 in last change.
19199
ac09b8a1
DD
192002011-06-05 Deniz Dogan <deniz@dogan.se>
19201
19202 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
19203 (rcirc): Use it to prompt for encryption.
19204
34699b85
RW
192052011-06-05 Roland Winkler <winkler@gnu.org>
19206
19207 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
19208 (bibtex-search-entries): New command bound to C-c C-a.
19209 (bibtex-display-entries): New function.
19210
004dedd3
RW
192112011-06-05 Roland Winkler <winkler@gnu.org>
19212
19213 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
19214 (bibtex-insert-kill): After yanking insert newline if necessary.
19215 (bibtex-initialize): Call bibtex-string-files-init only once.
19216 (bibtex-mode): Do not call easy-menu-add.
19217 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
19218 (bibtex-yank): Set arg properly if nil.
19219
022fe7ce
RW
192202011-06-05 Roland Winkler <winkler@gnu.org>
19221
2b75be67
SM
19222 * textmodes/bibtex.el (bibtex-search-entry-globally):
19223 New variable.
022fe7ce
RW
19224 (bibtex-search-entry): Use it.
19225
b7c3692a
RW
192262011-06-05 Roland Winkler <winkler@gnu.org>
19227
19228 * textmodes/bibtex.el (bibtex-entry-format): New option
19229 sort-fields.
19230 (bibtex-format-entry, bibtex-reformat): Honor this option.
19231 (bibtex-parse-entry): Return fields in proper order.
19232
8eda563d
JB
192332011-06-05 Juanma Barranquero <lekktu@gmail.com>
19234
19235 * doc-view.el (doc-view-remove-if): Move computation of result out
19236 of `dolist' to silence misleading lexical-binding warning.
19237
7dbe3dbc
CY
192382011-06-04 Chong Yidong <cyd@stupidchicken.com>
19239
19240 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
19241 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
19242
0c33dd17
MA
192432011-06-04 Michael Albinus <michael.albinus@gmx.de>
19244
19245 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
19246 "SunOS 5.10".
19247
f8f91c2b
MA
192482011-06-04 Michael Albinus <michael.albinus@gmx.de>
19249
19250 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
19251 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
19252 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
19253 (tramp-parse-putty):
19254 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
19255 (tramp-completion-function-alist-ssh)
19256 (tramp-completion-function-alist-telnet)
19257 (tramp-completion-function-alist-su)
19258 (tramp-completion-function-alist-putty): Set `tramp-autoload'
19259 cookie.
19260
19261 * net/tramp-ftp.el:
19262 * net/tramp-sh.el:
19263 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
19264 load "tramp.el" `tramp-set-completion-function'.
19265
e17d9003
SM
192662011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
19267
19268 * shell.el: Require and use pcomplete.
19269 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
19270 (shell-completion-vars): Set pcomplete-default-completion-function.
19271
6c4cab03
DD
192722011-06-04 Deniz Dogan <deniz@dogan.se>
19273
19274 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
19275 `memq' (Bug#8799).
19276
ea9fafe0
SM
192772011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
19278
19279 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
19280
b3e945d3
JB
192812011-06-02 Juanma Barranquero <lekktu@gmail.com>
19282
19283 * bs.el (bs--mark-unmark, bs--nth-wrapper):
19284 * mpc.el (mpc-select-extend, mpc-songpointer-context):
19285 * vc/log-view.el (log-view-beginning-of-defun):
19286 * vc/smerge-mode.el (smerge-apply-resolution-patch)
19287 (smerge-refine-forward, smerge-refine-chopup-region):
19288 Silence warning for unused `dotimes' counter variables.
19289
7d520089
SM
192902011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
19291
19292 * net/tramp.el (tramp-with-progress-reporter): Rename from
19293 with-progress-reporter. Use `declare'.
19294 * net/tramp-smb.el:
19295 * net/tramp-sh.el:
19296 * net/tramp-gvfs.el: Update all uses.
19297
a1c2400f
JB
192982011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
19299
19300 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
19301 buffer isn't killed before making it current.
19302
2403c841
SM
193032011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
19304
19305 Silence various byte-compiler warnings.
19306 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
19307 `access-type' and new obsolescence format.
19308 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
19309 new format.
19310 (byte-compile-check-variable): New `access-type' argument.
19311 Only warn if the access-type is obsolete.
19312 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19313 (byte-compile-variable-set): Adjust callers.
19314 * help-fns.el (describe-variable): Adjust to new obsolescence format.
19315 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
19316 setting it as obsolete.
19317 * simple.el (minibuffer-completing-symbol):
19318 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
19319 access as obsolete.
19320 * minibuffer.el (minibuffer-completing-file-name): Don't make it
19321 obsolete yet.
19322 * international/quail.el (quail-mouse-choose-completion): Remove unused
19323 code referring to obsolete var.
19324 (quail-choose-completion-string): Remove.
19325 * server.el (server-clients-with, server-kill-buffer-query-function)
19326 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
19327 * proced.el (proced-send-signal):
19328 * emacs-lisp/lisp.el (lisp-complete-symbol):
19329 Replace completion-annotate-function with completion-extra-properties.
19330
2462470b
SM
193312011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
19332
fb5b2591
SM
19333 * simple.el (goto-line): Use read-number.
19334 (overriding-map-is-bound): Remove.
19335 (saved-overriding-map): Change default.
19336 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
19337 Take the map as argument.
19338 (universal-argument, negative-argument, digit-argument): Use it.
19339 (restore-overriding-map): Adjust.
19340 (do-auto-fill): Use fill-forward-paragraph.
19341 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
19342
fd6fa53f
SM
19343 * minibuffer.el (minibuffer-inactive-mode-map): New var.
19344 (minibuffer-inactive-mode): New major mode.
19345 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
19346 the *Messages* buffer" hack.
19347 (mouse-popup-menubar): Don't burp if the event is a normal key.
19348
2462470b
SM
19349 Miscellaneous tweaks.
19350 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
19351 lexical scoping as in subr.el's dolist and dotimes.
19352 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
19353 Silence compiler warning.
19354 * thingatpt.el (forward-whitespace): Trivial coding style fix.
19355 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
19356 * international/ccl.el (ccl-compile): Trivial simplification.
19357 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
19358 * emacs-lisp/testcover.el (testcover-end): Remove spurious
19359 `printflag' argument.
19360 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
19361 Purecopy the whole obsolescence data.
19362
108bf785
LL
193632011-06-01 Leo Liu <sdl.web@gmail.com>
19364
19365 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
19366 improve doc-string as suggested by Marco Pessotto
19367 <melmothx@gmail.com>.
19368 (rcirc-print): Fix last change.
19369
30a23501
SM
193702011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19371
19372 * minibuffer.el (complete-with-action): Return nil for the metadata and
19373 boundaries of non-functional tables.
19374 (completion-table-dynamic): Return nil for the metadata.
19375 (completion-table-with-terminator): Add default case, using
19376 complete-with-action.
19377 (completion--metadata): New function.
19378 (completion-all-sorted-completions, minibuffer-completion-help): Use it
19379 to try and avoid pathological performance problems.
19380 (completion--embedded-envvar-table): Return `category' metadata.
19381
bcd54f83
LMI
193822011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
19383
19384 * subr.el (process-alive-p): New tiny convenience function.
19385
e227544d
SM
193862011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19387
19388 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
19389 content but also its previous major mode.
19390
e8296fdc
HE
193912011-05-31 Helmut Eller <eller.helmut@gmail.com>
19392
4d61f28d 19393 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
19394 *Backtrace* buffer when we exit with C-M-c.
19395
620c53a6
SM
193962011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19397
19398 * minibuffer.el: Add metadata method to completion tables.
19399 (completion-category-overrides): New defcustom.
19400 (completion-metadata, completion--field-metadata)
19401 (completion-metadata-get, completion--styles)
19402 (completion--cycle-threshold): New functions.
19403 (completion-try-completion, completion-all-completions):
19404 Add `metadata' argument to choose completion-styles.
19405 (completion--do-completion): Use metadata to choose cycling.
19406 (completion-all-sorted-completions): Use metadata for sorting.
19407 Remove :completion-cycle-penalty which is not needed any more.
19408 (completion--try-word-completion): Add `metadata' argument.
19409 (minibuffer-completion-help): Check metadata for annotation function
19410 and sorting.
19411 (completion-file-name-table): Return `category' metadata.
19412 (minibuffer-completing-file-name): Make obsolete.
19413 * simple.el (minibuffer-completing-symbol): Make obsolete.
19414 * icomplete.el (icomplete-completions): Pass new `metadata' param to
19415 completion-try-completion.
19416
1257e755
SM
194172011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
19418
19419 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
19420
3767e706
LL
194212011-05-30 Leo Liu <sdl.web@gmail.com>
19422
19423 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
19424 (rcirc-print): Decode all incoming messages (bug#8744).
19425 (rcirc-decode-coding-system): Allow value nil for automatic coding
19426 system detection.
3767e706 19427
d1a5d56a
GM
194282011-06-01 Glenn Morris <rgm@gnu.org>
19429
19430 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
19431
e8cbec34
CY
194322011-05-29 Chong Yidong <cyd@stupidchicken.com>
19433
19434 * image.el (image-animate-max-time): Allow nil and t values.
19435 Default to nil.
19436 (create-animated-image): Doc fix.
19437 (image-animate-start): Remove second arg; just use
19438 image-animate-max-time.
19439 (image-animate-timeout): Doc fix. Args changed.
19440
19441 * image-mode.el (image-toggle-display-image): Ensure that the
19442 image spec passed to the animate timer is the same object as in
58179cce 19443 the buffer's display property (Bug#6981).
e8cbec34
CY
19444 (image-transform-properties): Doc fix.
19445
19446 * image.el (image-animate-max-time): Default to nil.
19447
159daf87
MR
194482011-05-29 Martin Rudalics <rudalics@gmx.at>
19449
19450 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
19451 entire buffer list (Bug#8184).
19452
d66c4c7c
CY
194532011-05-29 Chong Yidong <cyd@stupidchicken.com>
19454
19455 * image.el (imagemagick-types-inhibit)
19456 (imagemagick-register-types): Doc fix.
19457
80aec780
DD
194582011-05-29 Deniz Dogan <deniz@dogan.se>
19459
19460 * net/rcirc.el (rcirc): Use the user's stored encryption method by
19461 default.
19462
1dd3c2d9
CY
194632011-05-29 Chong Yidong <cyd@stupidchicken.com>
19464
19465 * select.el: Don't perform clipboard-manager saving in hooks;
19466 leave the hooks empty.
19467
60e56523
LL
194682011-05-28 Leo Liu <sdl.web@gmail.com>
19469
19470 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
19471 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
19472 (occur-edit-mode): New major mode (Bug#8463).
19473 (occur-after-change-function): New function.
19474 (occur-engine): Give Occur tags a read-only property.
19475
2b1e1a22
KR
194762011-05-28 Kevin Ryde <user42@zip.com.au>
19477
19478 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
19479
5d344e88
CY
194802011-05-28 Chong Yidong <cyd@stupidchicken.com>
19481
8e6ca83d
CY
19482 * bindings.el (help-echo): Make the initial non-indicator dash
19483 empty on graphical terminals (Bug#7295).
19484
5d344e88
CY
19485 * files.el (auto-mode-alist): Move config rule after the
19486 in-stripping one (Bug#8547).
19487
bfbbace7
CY
19488 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
19489
fbeba6e2
CY
19490 * startup.el (normal-splash-screen): Remove gratuitous mode-line
19491 setting (Bug#8740).
19492
60ed8c72
AA
194932011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
19494
4ac619f0
AA
19495 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
19496 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
19497 (Bug#8539).
60ed8c72 19498
23db196e
CY
194992011-05-28 Chong Yidong <cyd@stupidchicken.com>
19500
19501 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
19502
5012f24c
DK
195032011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
19504
19505 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
19506 (hs-hide-block-at-point, hs-find-block-beginning)
19507 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
19508 (Bug#8279).
19509
6a639b16
GM
195102011-05-28 Glenn Morris <rgm@gnu.org>
19511
19512 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
19513
d43eaf2c
CY
195142011-05-28 Chong Yidong <cyd@stupidchicken.com>
19515
5199bde1
CY
19516 * help-fns.el (describe-function-1): If the function is a derived
19517 major mode, print the parent mode.
19518
d43eaf2c
CY
19519 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
19520 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
19521
423428a8
SM
195222011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
19523
0ff8e1ba 19524 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 19525 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
19526 * progmodes/etags.el (tags-completion-at-point-function):
19527 * info-look.el (info-lookup-completions-at-point): Mark as
19528 non-exclusive.
19529 (info-complete): Adjust accordingly.
19530
423428a8
SM
19531 * info-look.el: Convert to lexical-binding and completion-at-point.
19532 (info-lookup-completions-at-point): New function.
19533 (info-complete): Use it and completion-in-region.
19534
b74aa22b
DA
195352011-05-28 Drew Adams <drew.adams@oracle.com>
19536
19537 * isearch.el: Let M-e start with point at the first mismatched char.
19538 (isearch-fail-pos): New function.
19539 (isearch-edit-string): Use it.
19540
66e2e71d
DK
195412011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19542
19543 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19544
b1890b0f 195452011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
19546
19547 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
19548 traversal functions for avl-trees.
19549 (avl-tree--stack): New struct.
19550 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
19551 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
19552 (avl-tree--do-enter): Add optional `updatefun' arg.
19553 Change return value.
eb95d01d 19554 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
19555 (avl-tree--do-delete): Add `test' and `nilflag' args.
19556 Change return value.
eb95d01d
TC
19557 (avl-tree-member): Add optional `nilflag'
19558 (avl-tree-member-p): New function.
19559 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
19560 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
19561 (avl-tree-stack-empty-p): New functions.
19562
3769ddcf
TC
19563 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
19564 avl-tree--del-balance1 and make it work both ways.
19565 (avl-tree--del-balance2): Remove.
19566 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
19567 make it work both ways.
19568 (avl-tree--enter-balance2): Remove.
19569 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
19570 New macros.
19571 (avl-tree--mapc, avl-tree-map): Add direction argument.
19572
eb95d01d 195732011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
19574
19575 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
19576
a9f737ee
CY
195772011-05-27 Chong Yidong <cyd@stupidchicken.com>
19578
19579 * select.el: Support clipboard managers with built-in function
19580 x-clipboard-manager-save, via delete-frame-functions and
19581 kill-emacs-hook.
19582 (xselect-convert-to-targets): Add MULTIPLE target to list.
19583 (xselect-convert-to-save-targets): New function.
19584
c92a1e54
KH
195852011-05-27 Kenichi Handa <handa@m17n.org>
19586
19587 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
19588 let-binding rfc2047-encode-encoded-words to nil.
19589
e145f188
GM
195902011-05-27 Glenn Morris <rgm@gnu.org>
19591
5ec8a862
GM
19592 * mail/emacsbug.el: Don't require url-util.
19593
4b29d9fb
GM
19594 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
19595
e145f188
GM
19596 * files.el (set-auto-mode):
19597 Also respect mode: entries at the end of the file. (Bug#8586)
19598
7d15102b
GM
195992011-05-26 Glenn Morris <rgm@gnu.org>
19600
98f593b8
GM
19601 * files.el (hack-local-variables-prop-line, hack-local-variables):
19602 Downcase mode names, as seems to be traditional.
27b48e63 19603 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 19604
7d15102b
GM
19605 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
19606 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
19607
51d5b4ec
JD
196082011-05-25 Julien Danjou <julien@danjou.info>
19609
19610 * textmodes/rst.el (rst-define-level-faces): Do not define face
19611 symbol if it is already defined.
19612
91513f63
VB
196132011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
19614
19615 * play/5x5.el (5x5-new-game, 5x5-randomize):
19616 Reset 5x5-solver-output to nil when a new grid is cast.
19617 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
19618 these debugging traces, as defmacro breaks the compiled code.
19619
4d90d6d0
DK
196202011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19621
19622 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19623
e1b90ef6
LL
196242011-05-24 Leo Liu <sdl.web@gmail.com>
19625
19626 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
19627 (vc-bzr-sha1): Adapt.
19628
d8e4b68b 19629 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
19630
19631 * bindings.el: Provide sha1 feature.
19632
db0406bb 196332011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
19634
19635 * mail/sendmail.el: Require `rfc2047'.
19636 (mail-insert-from-field): Do not perform RFC2047 encoding.
19637 (mail-encode-header): New function.
19638 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
19639 buffer to the return value of select-message-coding-system.
19640 Call mail-encode-header.
b8d747b9
KH
19641
19642 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
19643
db0406bb 196442011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 19645
4d90d6d0
DK
19646 * mail/supercite.el (sc-default-cite-frame):
19647 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 19648
eb8a5e9b
GM
196492011-05-24 Glenn Morris <rgm@gnu.org>
19650
f8630703
GM
19651 * progmodes/python.el (brm-menu): Declare.
19652
8831bbed
GM
19653 * emulation/viper.el (viper-set-hooks): Declare.
19654
eb8a5e9b
GM
19655 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
19656 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
19657 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
19658 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
19659 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
19660 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
19661
a2a25d24
SM
196622011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
19663
19664 Add an :exit-function for completion-at-point.
19665
19666 * minibuffer.el (completion--done): New fun.
19667 (completion--do-completion): Use it. New arg `expect-exact'.
19668 (minibuffer-complete, minibuffer-complete-word): Don't output message,
19669 since completion--do-completion does it for us now.
19670 (minibuffer-force-complete): Use completion--done and
19671 completion--replace. Handle sole-completion case with more care.
19672 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
19673 (completion-extra-properties): New var.
19674 (completion-annotate-function): Make obsolete.
19675 (minibuffer-completion-help): Adjust accordingly.
19676 Use completion-list-insert-choice-function.
19677 (completion-at-point, completion-help-at-point):
19678 Bind completion-extra-properties.
19679 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
19680 * simple.el (completion-list-insert-choice-function): New var.
19681 (completion-setup-function): Preserve it.
19682 (choose-completion): Pay attention to it, shuffle the code a bit.
19683 (choose-completion-string): New arg `insert-function'.
19684
19685 * textmodes/bibtex.el: Convert to lexical binding.
19686 (bibtex-mode-map): Use completion-at-point.
19687 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
19688 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
19689 (bibtex-complete): Define as obsolete alias.
19690 (bibtex-complete-internal): Remove.
19691 (bibtex-format-entry): Remove unused sub-group in regexp.
19692 * shell.el (shell--command-completion-data)
19693 (shell-environment-variable-completion):
19694 * pcomplete.el (pcomplete-completions-at-point):
19695 * comint.el (comint--complete-file-name-data): Use :exit-function
19696 instead of completion-table-with-terminator so it also works for
19697 choose-completion.
19698
e44e373d
SM
196992011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19700
4f91a816
SM
19701 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
19702
782fc819
SM
19703 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
19704 (bug#8710).
19705
e44e373d
SM
19706 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
19707
381987c3
KM
197082011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
19709
19710 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
19711 customization variable and implement: If non-nil, auto-fill will
19712 be inhibited while on topic's header line.
19713
b776bc70
VB
197142011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
19715
19716 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 19717 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
19718 always have a solution in grid size = 5 cases.
19719 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
19720 (5x5-solver-output, 5x5-log-buffer): New vars.
19721 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
19722 Make these variables buffer local to achieve 5x5 multi-session-ness.
19723 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
19724 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
19725 (5x5-solve-suggest): New funs.
19726 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
19727 randomize a grid so that we ensure that there is always a solution.
19728 (5x5-make-random-grid): Allow other movement than flipping.
19729
7de88b6e
KR
197302011-05-23 Kevin Ryde <user42@zip.com.au>
19731
19732 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 19733 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
19734 advice and passes PREDICATE.
19735
b1ef1257
SM
197362011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19737
bbca48fe
SM
19738 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
19739 byte-compile-lambda if it's actually a lambda.
19740
b1ef1257
SM
19741 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
19742 Fix function quoting. Use backquote better.
19743
92a9cc65
YS
197442011-05-22 Yuanle Song <sylecn@gmail.com>
19745
19746 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
19747 matching (Bug#8516).
19748
f0fb8059
JA
197492011-01-22 Jari Aalto <jari.aalto@cante.net>
19750
19751 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
19752 different face (Bug#8178).
19753
d5b44c93
CY
197542011-05-22 Chong Yidong <cyd@stupidchicken.com>
19755
19756 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
19757 defface (Bug#8144).
19758
79106a44
SM
197592011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
19760
9c848d8a
SM
19761 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
19762 funcall as well (bug#8712). Warn when performing those conversions.
19763 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
19764
79106a44
SM
19765 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
19766
88dfa756
GM
197672011-05-22 Glenn Morris <rgm@gnu.org>
19768
19769 * files.el (hack-local-variables-prop-line): Small simplifications.
19770 (hack-local-variables, hack-local-variables-prop-line):
19771 If MODE-ONLY, return the mode, rather than just `t'.
19772
b7cf2c79
SM
197732011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
19774
19775 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
19776
3f1a8558
GM
197772011-05-21 Glenn Morris <rgm@gnu.org>
19778
7e4ccca3
GM
19779 * files.el (hack-local-variables-prop-line, hack-local-variables):
19780 If only interested in the mode, don't bother doing the other stuff.
19781
637d46ca
GM
19782 * image-mode.el (image-after-revert-hook):
19783 Redraw all frames on which the image is visible. (Bug#8567)
19784
973d955b
GM
19785 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
19786
3f1a8558
GM
19787 * wid-edit.el (widget-checklist-match-inline):
19788 Fix 2011-04-19 change. (Bug#8649)
19789
96479927
SM
197902011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
19791
1dcf791f
SM
19792 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
19793 Also allow singlespace after single-letter capitals followed by a dot.
19794
96479927
SM
19795 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
19796 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
19797
35fd0881
N
197982011-05-20 Nix <nix@esperi.org.uk>
19799
19800 * files.el (basic-save-buffer-2):
19801 Fix handling of break-hardlink-on-save with non-existent files.
19802
82745640
DD
198032011-05-19 Deniz Dogan <deniz@dogan.se>
19804
19805 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 19806 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 19807
4a720484
GM
198082011-05-19 Glenn Morris <rgm@gnu.org>
19809
d1f21341
GM
19810 * progmodes/f90.el (f90-type-def-re):
19811 Handle "type, bind(c)". (Bug#8691)
19812
4a720484
GM
19813 * emacs-lisp/autoload.el (batch-update-autoloads):
19814 Set autoload-excludes by parsing loadup.el rather than Makefiles.
19815
2fb0a219
MA
198162011-05-18 Michael Albinus <michael.albinus@gmx.de>
19817
19818 * net/tramp.el (tramp-process-actions): Set "first-password-request"
19819 property for the correct connection in case of multihops.
19820
e565dd37
GM
198212011-05-18 Glenn Morris <rgm@gnu.org>
19822
c2571358 19823 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
19824 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
19825
e565dd37
GM
19826 Rationalize calendar handling of day and month abbrev-arrays.
19827 * calendar/calendar.el (calendar-customized-p): New function.
19828 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
19829 (calendar-day-name-array, calendar-month-name-array): Doc fix.
19830 Add :set function.
19831 (calendar-abbrev-length, calendar-day-abbrev-array)
19832 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
19833 (calendar-day-abbrev-array, calendar-month-abbrev-array):
19834 Elements may no longer be nil.
19835 (calendar-day-name, calendar-month-name):
19836 Update for changed nature of abbrev arrays.
19837 * calendar/diary-lib.el (diary-name-pattern):
19838 Update for changed nature of abbrev arrays.
19839 (diary-mark-entries-1): Update calendar-make-alist calls.
19840 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
19841 * calendar/cal-html.el (cal-html-day-abbrev-array):
19842 Simply inherit from calendar-day-abbrev-array.
19843
1d99a745
SM
198442011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
19845
19846 * progmodes/grep.el (grep-mode): Disable default
19847 compilation-directory-matcher setting (bug#8684).
19848
7c1d9aa0
MA
198492011-05-17 Michael Albinus <michael.albinus@gmx.de>
19850
19851 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
19852 instead of "head" and "tail". There were problems with SunOS 5.9,
19853 and it performs better.
19854
3952e9d8
GM
198552011-05-17 Glenn Morris <rgm@gnu.org>
19856
2dd12e7f
GM
19857 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
19858
e4157b9c
GM
19859 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
19860 Replace obsolete function.
19861
8e249bbd
GM
19862 * shell.el (pcomplete-parse-arguments-function): Declare.
19863
3952e9d8
GM
19864 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
19865 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
19866 (appt-check): Doc fixes.
19867 (appt-disp-window-function, appt-delete-window-function):
19868 Remove needless special case in custom :type.
19869 (appt-display-count): Default to 0, not nil.
19870 (appt-check): Reset appt-display-count to 0, not nil.
19871
c71a0d48 198722011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 19873
c71a0d48
GM
19874 * progmodes/python.el (python-font-lock-keywords):
19875 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 19876
31d55be9
SM
198772011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
19878
19879 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
19880
3bfacb2f
KR
198812011-05-16 Kevin Ryde <user42@zip.com.au>
19882
19883 * info-look.el (makefile-automake-mode): New setups, looking in
19884 automake manual, then makefile-mode.
19885 (makefile-mode): Remove automake manual, have it just in
19886 makefile-automake-mode since there's various things different or
19887 not relevant to plain make.
19888 (makefile-mode): Remove "other-modes" non-existent automake-mode,
19889 believe a hypothetical automake-mode would go to makefile-mode,
19890 not the other way around.
19891
c8e83751
CY
198922011-05-15 Chong Yidong <cyd@stupidchicken.com>
19893
5e9e35cd
CY
19894 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
19895 hunk-end tags (Bug#8672).
19896
c8e83751
CY
19897 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
19898 vc-annotate-show-diff-revision-at-line (Bug#8671).
19899
50b23e5a
GM
199002011-05-14 Glenn Morris <rgm@gnu.org>
19901
7210a739
GM
19902 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
19903 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
19904 (change-log-font-lock-keywords): Also handle multiple author lines
19905 with leading tabs. (Bug#8644)
7210a739 19906
4691905a
GM
19907 * calendar/appt.el (appt-check): Rename some local variables.
19908 Some simplification/reordering.
19909
50b23e5a
GM
19910 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
19911 (feedmail-sendmail-f-doesnt-sell-me-out)
19912 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19913 (feedmail-debug-sit-for, feedmail-queue-express-hook)
19914 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
19915 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
19916 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
19917 (feedmail-binmail-gnulinuxish-template):
19918 Rename from feedmail-binmail-linuxish-template.
19919 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
19920 Use insert-buffer-substring.
19921
215cda7c
BC
199222011-05-14 Bill Carpenter <bill@carpenter.org>
19923
19924 * mail/feedmail.el (feedmail-patch-level): Increase.
19925 (feedmail-debug): New custom group.
19926 (feedmail-confirm-outgoing-timeout)
19927 (feedmail-sendmail-f-doesnt-sell-me-out)
19928 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19929 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
19930 (feedmail-sender-line, feedmail-from-line)
19931 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 19932 (feedmail-spray-this-address)
215cda7c
BC
19933 (feedmail-spray-address-fiddle-plex-list)
19934 (feedmail-queue-use-send-time-for-date)
19935 (feedmail-queue-use-send-time-for-message-id)
19936 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
19937 (feedmail-buffer-eating-function):
19938 Doc fixes.
19939 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
19940 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
19941 (feedmail-message-action-scroll-down): New functions.
19942 (feedmail-queue-directory, feedmail-queue-draft-directory):
19943 Use expand-file-name.
19944 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
19945 Remove C-v help entry.
19946 (feedmail-queue-buffer-file-name): New variable.
19947 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
19948 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
19949 (feedmail-message-action-send-strong, feedmail-message-action-edit)
19950 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
19951 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
19952 (feedmail-message-action-toggle-spray)
19953 (feedmail-run-the-queue-no-prompts)
19954 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
19955 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
19956 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
19957 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
19958 (feedmail-envelope-deducer, feedmail-fiddle-from)
19959 (feedmail-fiddle-sender, feedmail-default-date-generator)
19960 (feedmail-fiddle-date, feedmail-fiddle-message-id)
19961 (feedmail-fiddle-spray-address)
19962 (feedmail-fiddle-list-of-spray-fiddle-plexes)
19963 (feedmail-fiddle-list-of-fiddle-plexes)
19964 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
19965 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
19966 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
19967 Change default. Doc fix.
19968 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
19969 (feedmail-binmail-linuxish-template): New constant.
19970 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
19971 Respect feedmail-sendmail-f-doesnt-sell-me-out.
19972 (feedmail-send-it): Add debug call.
19973 Use feedmail-queue-buffer-file-name, and
19974 feedmail-send-it-immediately-wrapper.
19975 (feedmail-message-action-send): Add debug call.
19976 Use feedmail-send-it-immediately-wrapper.
19977 (feedmail-queue-express-to-queue): Add debug call.
19978 Run feedmail-queue-express-hook.
19979 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
19980 (feedmail-message-action-help-blat):
19981 Rename from feedmail-queue-send-edit-prompt-help-first.
19982 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
19983 Check line-endings. Handle errors better.
19984 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
19985 Doc fix. Add debug call.
19986 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
19987 Use feedmail-queue-send-edit-prompt-inner.
19988 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
19989 (feedmail-queue-send-edit-prompt-inner): New function, extracted
19990 from feedmail-queue-send-edit-prompt.
19991 (feedmail-queue-send-edit-prompt-help)
19992 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
19993 (feedmail-tidy-up-slug): Add debug call.
19994 Respect feedmail-queue-slug-suspect-regexp.
19995 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
19996 (feedmail-dump-message-to-queue): Add debug call.
19997 Expand queue-directory.
19998 (feedmail-dump-message-to-queue): Change message slightly.
19999 Use feedmail-say-chatter.
20000 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
20001 (feedmail-send-it-immediately-wrapper): New function.
20002 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
20003 Insert empty string rather than newline. Handle full-frame case.
20004 Use catch/throw. Use feedmail-say-chatter.
20005 (feedmail-fiddle-from): Try mail-host-address.
20006 (feedmail-default-message-id-generator): Doc fix.
20007 Bind system-time-locale. Handle missing end.
20008 (feedmail-fiddle-x-mailer): Add debug call.
20009 Handle feedmail-x-mailer-line being nil.
20010 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
20011 Add debug call. Use buffer-substring-no-properties.
20012 (feedmail-say-debug, feedmail-say-chatter): New functions.
20013 (feedmail-find-eoh): Give an explicit error.
20014
42c7e61e
UJ
200152011-05-13 Ulf Jasper <ulf.jasper@web.de>
20016
c2571358 20017 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 20018 family from helvetica to sans.
c2571358 20019 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
20020 etc/images/newsticker.
20021
c2571358 20022 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
20023 family from helvetica to sans.
20024
20025 * net/newst-plainview.el (newsticker-new-item-face)
20026 (newsticker-old-item-face, newsticker-immortal-item-face)
20027 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 20028 (newsticker-statistics-face): Change default family from
42c7e61e 20029 helvetica to sans.
c2571358 20030 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
20031 etc/images/newsticker.
20032
5d3385a0
JB
20033 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
20034 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
20035 auto-marking.
20036
8497a297
DV
200372011-05-13 Didier Verna <didier@xemacs.org>
20038
20039 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
20040 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
20041 TODO entries.
8497a297
DV
20042 (lisp-lambda-list-keyword-parameter-indentation)
20043 (lisp-lambda-list-keyword-parameter-alignment)
20044 (lisp-lambda-list-keyword-alignment): New customizable user options.
20045 (lisp-indent-defun-method): Improve docstring.
20046 (extended-loop-p): Fix comment.
20047 (lisp-indent-lambda-list-keywords-regexp): New variable.
20048 (lisp-indent-lambda-list): New function.
20049 (lisp-indent-259): Use it.
20050 (lisp-indent-defmethod): Support for more than one
20051 method qualifier and properly indent methods lambda-lists.
20052 (defgeneric): Provide a missing common-lisp-indent-function property.
20053
f278f87f
SM
200542011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
20055
20056 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
20057 bounds for the empty string (bug#8667).
20058
5233edd7
GM
200592011-05-13 Glenn Morris <rgm@gnu.org>
20060
5237a44f
GM
20061 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
20062
8340026c 20063 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 20064 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 20065
5233edd7 20066 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 20067 (appt-time-msg-list): Doc fix.
a5464014 20068 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 20069
92d10796
AS
200702011-05-12 Andreas Schwab <schwab@linux-m68k.org>
20071
20072 * progmodes/ld-script.el (ld-script-keywords)
20073 (ld-script-builtins): Update keywords list.
20074
914a0ae1
SM
200752011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20076
c89be45f
SM
20077 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
20078
914a0ae1
SM
20079 * shell.el (shell-completion-vars): New function.
20080 (shell-mode):
20081 * simple.el (read-shell-command): Use it.
20082 (blink-matching-open): No need for " [...]" in minibuffer-message.
20083
98dc3df3
GM
200842011-05-12 Glenn Morris <rgm@gnu.org>
20085
20086 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
20087 (appt-check): Simplify.
20088
d2fc7e3d 200892011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 20090
4d61f28d 20091 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
20092 literal "/dev/null".
20093
d2fc7e3d 200942011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
20095
20096 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
20097 Fix typo.
20098
d2fc7e3d 200992011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 20100
3f254caa
SM
20101 * progmodes/which-func.el (which-function):
20102 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
20103 which might not be defined (Bug#8260).
20104
d45885f7
GM
201052011-05-12 Glenn Morris <rgm@gnu.org>
20106
20107 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
20108 Let byte-compile-initial-macro-environment always take precedence.
20109
488086f4
SM
201102011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20111
20112 * net/rcirc.el: Add support for SSL/TLS connections.
20113 (rcirc-server-alist): New field `encryption'.
20114 (rcirc): Check `encryption' settings.
20115 (rcirc-connect): New arg `encryption'. Use open-network-stream.
20116 Merge make-local-variable into `set'.
20117 (rcirc--connection-open-p): New function.
20118 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
20119 the process is not a network process (e.g. running gnutls-cli).
20120 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
20121 Make rcirc-(en|de)code-coding-system local here.
20122 (rcirc-mode): Merge make-local-variable into `set'.
20123 (rcirc-parent-buffer): Make permanent buffer-local.
20124 (rcirc-multiline-minor-mode): Don't do it here.
20125 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
20126 there's no server buffer.
20127
7d3b9d44
GM
201282011-05-11 Glenn Morris <rgm@gnu.org>
20129
f64049c6
GM
20130 * newcomment.el (comment-kill): Prefix "unused" local.
20131
93c9df73
GM
20132 * term/w32console.el (get-screen-color): Declare.
20133
7d3b9d44
GM
20134 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
20135 Handle symbol elements of byte-compile-initial-macro-environment.
20136
9e2dd53f
LL
201372011-05-10 Leo Liu <sdl.web@gmail.com>
20138
488086f4
SM
20139 * bookmark.el (bookmark-bmenu-mode-map):
20140 Bind bookmark-bmenu-search to `/'.
8b340240 20141
9e2dd53f 20142 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
20143 (footnote-unicode-string, footnote-unicode-regexp): New variable.
20144 (Footnote-unicode): New function.
20145 (footnote-style-alist): Add unicode style to the list.
20146 (footnote-style): Doc fix.
9e2dd53f 20147
79b70037
GM
201482011-05-10 Jim Meyering <meyering@redhat.com>
20149
20150 Fix doubled-word typos.
20151 * international/quail.el (quail-insert-kbd-layout): and and -> and
20152 * kermit.el: and and -> and
20153 * net/ldap.el (ldap-search-internal): to to -> to
20154 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
20155 * progmodes/js.el (js-mode): and and -> and
20156 * textmodes/artist.el (artist-move-to-xy): at at -> at
20157 (artist-draw-region-trim-line-endings): if if -> if
20158 And Safetyc -> Safety.
20159 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
20160
b8f82dc1 201612011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 20162 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
20163
20164 * files.el (hack-one-local-variable-eval-safep):
20165 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
20166
4f99f44b
GM
201672011-05-10 Glenn Morris <rgm@gnu.org>
20168
20169 * calendar/diary-lib.el (diary-list-entries-hook)
20170 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
20171 (diary-nongregorian-marking-hook, diary-list-entries)
20172 (diary-include-other-diary-files, diary-mark-entries)
20173 (diary-mark-included-diary-files): Doc fixes.
20174
84f29e6b
JB
201752011-05-09 Juanma Barranquero <lekktu@gmail.com>
20176
20177 * misc.el: Require tabulated-list.el during compilation.
20178
9bedd73a
CY
201792011-05-09 Chong Yidong <cyd@stupidchicken.com>
20180
488086f4
SM
20181 * progmodes/compile.el (compilation-start):
20182 Run compilation-filter-hook for the async case too.
9bedd73a
CY
20183 (compilation-filter-hook): Doc fix.
20184
797c735c
DD
201852011-05-09 Deniz Dogan <deniz@dogan.se>
20186
20187 * wdired.el: Remove outdated installation comment. Fix usage
20188 comment.
20189
5f4b1dfe
JB
201902011-05-09 Juanma Barranquero <lekktu@gmail.com>
20191
20192 * misc.el: Implement new command `list-dynamic-libraries'.
20193 (list-dynamic-libraries--loaded-only-p): New variable.
20194 (list-dynamic-libraries--refresh): New function.
20195 (list-dynamic-libraries): New command.
20196
4c44026c
CY
201972011-05-09 Chong Yidong <cyd@stupidchicken.com>
20198
488086f4
SM
20199 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20200 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
20201 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
20202 higher priority to avoid clobbering by gnu.
20203
027f966d
CY
202042011-05-08 Chong Yidong <cyd@stupidchicken.com>
20205
20206 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
20207 if the face has existing theme settings (Bug#8454).
20208
085f5d7d
CY
202092011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
20210
488086f4
SM
20211 * progmodes/perl-mode.el (perl-imenu-generic-expression):
20212 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 20213
2a86a00c
RS
20214 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
20215 special file names `.' and `..' (Bug#8259).
20216
d9c54a06
CY
202172011-05-08 Chong Yidong <cyd@stupidchicken.com>
20218
488086f4
SM
20219 * progmodes/grep.el (grep-mode-font-lock-keywords):
20220 Remove buffer-changing entries.
d9c54a06
CY
20221 (grep-filter): New function.
20222 (grep-mode): Add it to compilation-filter-hook.
20223
20224 * progmodes/compile.el (compilation-filter-hook)
20225 (compilation-filter-start): New defvars.
20226 (compilation-filter): Call compilation-filter-hook prior to
20227 updating the process mark.
20228
c4662635
SM
202292011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
20230
20231 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
20232
b0512a1d
EZ
202332011-05-07 Eli Zaretskii <eliz@gnu.org>
20234
605c9376
EZ
20235 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
20236 mailclient-send-it even if window-system is nil. (Bug#8595)
20237
c4662635
SM
20238 * term/w32console.el (terminal-init-w32console):
20239 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
20240 background-mode. (Bug#8597)
20241
d1dc2cc2
SM
202422011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
20243
20244 Make bytecomp.el understand that defmethod defines funs (bug#8631).
20245 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
20246 New functions.
20247 (defgeneric, eieio--defmethod): Use them.
20248 (eieio-defgeneric): Remove.
20249 (defmethod): Call defgeneric in a way visible to the byte-compiler.
20250
915d1300
GM
202512011-05-07 Glenn Morris <rgm@gnu.org>
20252
a3961c3e
GM
20253 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
20254 Use let rather than let*.
20255 (timeclock-find-discrep): Remove unused local.
20256
314347b9
GM
20257 * calendar/diary-lib.el (diary-comment-start): Doc fix.
20258
915d1300
GM
20259 * calendar/appt.el (appt-time-msg-list): Doc fix.
20260
275b59b0
NF
202612011-05-06 Noah Friedman <friedman@splode.com>
20262
20263 * apropos.el (apropos-print-doc): Only use
20264 emacs-lisp-docstring-fill-column when it is bound to an integer,
20265 per that variable's documentation.
20266
6c19f744
SM
202672011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
20268
20269 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 20270 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 20271
60f884b2
GM
202722011-05-06 Glenn Morris <rgm@gnu.org>
20273
5006e634
GM
20274 * calendar/appt.el (appt-message-warning-time): Doc fix.
20275 (appt-warning-time-regexp): New option.
20276 (appt-make-list): Respect appt-message-warning-time.
20277
548d0a63
GM
20278 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
20279 New options.
20280 (diary-add-to-list): Strip comments from the displayed string.
20281 (diary-mode): Set comment-start and comment-end.
20282
60f884b2
GM
20283 * vc/diff-mode.el (smerge-refine-subst): Declare.
20284 (diff-refine-hunk): Don't require smerge-mode when compiling.
20285
989681bb
JB
202862011-05-06 Juanma Barranquero <lekktu@gmail.com>
20287
20288 * simple.el (list-processes): Return nil as the docstring says.
20289
a6bc05e1
MA
202902011-05-05 Michael Albinus <michael.albinus@gmx.de>
20291
20292 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
20293 to "".
20294 (ange-ftp-write-region, ange-ftp-insert-file-contents)
20295 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
20296 determining of binary transfer. (Bug#7383)
20297
23c22e9a
MA
202982011-05-05 Michael Albinus <michael.albinus@gmx.de>
20299
c4662635
SM
20300 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20301 Fix port computation bug. (Bug#8618)
23c22e9a 20302
0bff894f
GM
203032011-05-05 Glenn Morris <rgm@gnu.org>
20304
b8296902
GM
20305 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
20306
1f522ce8
GM
20307 * simple.el (shell-dynamic-complete-functions)
20308 (comint-dynamic-complete-functions): Declare.
20309
cf5bee67
GM
20310 * net/network-stream.el (gnutls-negotiate):
20311 * simple.el (tabulated-list-print): Fix declarations.
20312
20313 * progmodes/gud.el (syntax-symbol, syntax-point):
20314 Remove unnecessary and incorrect declarations.
20315
0bff894f 20316 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 20317 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 20318
9869b3ae
SM
203192011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
20320
20321 Fix earlier half-done eieio-defmethod change (bug#8338).
20322 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
20323 Streamline and change calling convention.
20324 (defmethod): Adjust accordingly and simplify.
20325 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
20326 new eieio--defmethod.
20327 (slot-boundp): Minor CSE simplification.
20328
9c1d5ac5
MZ
203292011-05-05 Milan Zamazal <pdm@zamazal.org>
20330
20331 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
20332 (glasses-make-readable): Use glasses-separate-capital-groups.
20333
455c834e
JB
203342011-05-05 Juanma Barranquero <lekktu@gmail.com>
20335
20336 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
20337 (warning-series): Doc fix.
20338 (display-warning): Don't try to create the buffer if we just found it.
20339
9ed7c8cb
CY
203402011-05-04 Chong Yidong <cyd@stupidchicken.com>
20341
20342 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
20343 (autoload-find-generated-file): New function.
20344 (generate-file-autoloads): Bind generated-autoload-file to
20345 buffer-file-name.
9869b3ae
SM
20346 (update-file-autoloads, update-directory-autoloads):
20347 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
20348 output file (Bug#7989).
20349 (batch-update-autoloads): Doc fix.
20350
0898ca10
JB
203512011-05-04 Juanma Barranquero <lekktu@gmail.com>
20352
20353 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
20354
31dfb76c
GM
203552011-05-04 Glenn Morris <rgm@gnu.org>
20356
f330b642
GM
20357 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
20358 function, so it follows changes in calendar-date-style.
20359 (diary-fancy-date-matcher): New function.
20360 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
20361 (diary-fancy-font-lock-fontify-region-function):
20362 Use diary-fancy-date-pattern as a function.
20363
31dfb76c
GM
20364 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
20365 non-numbers for `year' etc pseudo-variables. (Bug#8583)
20366
48e79d6a
TZ
203672011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
20368
20369 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
20370 instead of positional arguments. Allow :keylist and :crlfiles
20371 arguments.
20372 (open-gnutls-stream): Call it.
20373
20374 * net/network-stream.el (network-stream-open-starttls): Adjust to
20375 call `gnutls-negotiate' with :process and :hostname arguments.
20376
dd5a5ee0
SM
203772011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
20378
ef80fc09
SM
20379 * minibuffer.el (completion--message): New function.
20380 (completion--do-completion, minibuffer-complete)
20381 (minibuffer-force-complete, minibuffer-complete-word): Use it.
20382 (completion--do-completion): Don't ignore completion-auto-help when in
20383 icomplete-mode.
20384
dd5a5ee0
SM
20385 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
20386 internal encoding (e.g. tibetan zero is not whitespace).
20387 (global-whitespace-mode): Prefer save-current-buffer.
20388 (whitespace-trailing-regexp): Remove useless save-match-data.
20389 (whitespace-empty-at-bob-regexp): Minor simplification.
20390
b7d22a83
CY
203912011-05-03 Chong Yidong <cyd@stupidchicken.com>
20392
20393 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
20394
5192af46
AM
203952011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
20396
20397 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 20398 Use `concat' to create string for insertion.
5192af46 20399
5767d190
SM
204002011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
20401
20402 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
20403 Avoid open-line which runs post-self-insert-hook.
20404 (bibtex-fill-entry): Remove unused `end' var.
20405
bf242939
AM
204062011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
20407
5767d190
SM
20408 * textmodes/ispell.el (ispell-add-per-file-word-list):
20409 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 20410
25666126
LL
204112011-05-03 Leo Liu <sdl.web@gmail.com>
20412
20413 * isearch.el (isearch-yank-pop): New command.
5767d190 20414 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
20415 (isearch-forward): Mention it.
20416
52d3c2d0
SM
204172011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
20418
1bcace58
SM
20419 * simple.el (minibuffer-complete-shell-command): Remove.
20420 (minibuffer-local-shell-command-map): Use completion-at-point.
20421 (read-shell-command): Setup completion vars here instead.
20422 (read-expression-map): Bind TAB to symbol completion.
20423
52d3c2d0
SM
20424 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
20425 error directly rather via storing it into `results'.
20426
35813471
LL
204272011-05-02 Leo Liu <sdl.web@gmail.com>
20428
20429 * vc/diff.el: Fix description.
20430
e793a940
LMI
204312011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20432
20433 * server.el (server-eval-at): New function.
20434
8de66e05
LMI
204352011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20436
20437 * net/network-stream.el (open-network-stream): Take a :nowait
20438 parameter and pass it on to `make-network-process'.
20439 (network-stream-open-plain): Ditto.
20440
dcb79f20
AS
204412011-04-30 Andreas Schwab <schwab@linux-m68k.org>
20442
20443 * faces.el (face-spec-set-match-display): Don't match toolkit
20444 options on terminal frames.
20445
14a7fbd8
SM
204462011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
20447
7eabc1be
SM
20448 * progmodes/pascal.el: Use lexical binding.
20449 (pascal-mode-map): Remove author preferences.
20450
14a7fbd8
SM
20451 * pcomplete.el (pcomplete-std-complete): Don't abuse
20452 completion-at-point.
20453
50f84510
JB
204542011-04-28 Juanma Barranquero <lekktu@gmail.com>
20455
6e087a44
JB
20456 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
20457 removing code that has been dead since 1991 or so.
20458
50f84510
JB
20459 * startup.el (command-line): When warning about "_emacs", use a
20460 delayed warning to allow the user to filter it out.
20461
0ba690bd
DD
204622011-04-28 Deniz Dogan <deniz@dogan.se>
20463
20464 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
20465 user has not joined.
20466
08abfaad
SM
204672011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
20468
20469 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
20470 aren't any completions at point.
20471
638f053a
JB
204722011-04-28 Juanma Barranquero <lekktu@gmail.com>
20473
20474 * subr.el (display-delayed-warnings): New function.
20475 (delayed-warnings-hook): New variable.
20476
8fff8daa
SM
204772011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
20478
08abfaad
SM
20479 * minibuffer.el (completion-at-point, completion-help-at-point):
20480 Don't presume that a given completion-at-point-function will always
20481 use the same calling convention.
20482
8fff8daa
SM
20483 * pcomplete.el (pcomplete-completions-at-point):
20484 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
20485 pcomplete-seen is non-nil.
20486 (pcomplete-comint-setup): Also recognize the new comint/shell
20487 completion functions.
20488 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
20489 pcomplete-seen is non-nil.
20490
841a1577 204912011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 20492
841a1577 20493 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 20494 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 20495 the first character in the entry. This allows for code to add its
211ec907
UJ
20496 own uid to the entry.
20497 (icalendar--convert-float-to-ical): Add export of
20498 `diary-float'-entries save for those with the optional DAY
20499 argument.
20500
2a782793
DC
205012011-04-27 Daniel Colascione <dan.colascione@gmail.com>
20502
20503 * subr.el (shell-quote-argument): Use alternate escaping strategy
20504 when we spot a variable reference in a string.
20505
0438ce91
DC
205062011-04-26 Daniel Colascione <dan.colascione@gmail.com>
20507
20508 * cus-start.el (all): Define customization for debug-on-event.
20509
841a1577 205102011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
20511
20512 * subr.el (shell-quote-argument): Escape correctly under Windows.
20513
d090ed6c
SM
205142011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20515
20516 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
20517
bfd31217
MA
205182011-04-25 Michael Albinus <michael.albinus@gmx.de>
20519
d090ed6c
SM
20520 * net/tramp.el (tramp-process-actions): Add POS argument.
20521 Delete region between POS and (pos).
bfd31217 20522
d090ed6c
SM
20523 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20524 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
20525 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
20526
20527 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
20528 position in `tramp-process-actions' call.
20529
20530 * net/trampver.el: Update release number.
20531
e92f3bd3
SM
205322011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20533
850256b5
SM
20534 * custom.el (defcustom): Obey lexical-binding.
20535
e92f3bd3
SM
20536 Fix octave-inf completion problems reported by Alexander Klimov.
20537 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
20538 Inherit from octave-mode-syntax-table.
20539 (inferior-octave-mode): Set info-lookup-mode.
20540 (inferior-octave-completion-at-point): New function.
20541 (inferior-octave-complete): Use it and completion-in-region.
20542 (inferior-octave-dynamic-complete-functions): Use it as well, and use
20543 comint-filename-completion.
20544 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
20545 symbol elements which shouldn't be word elements.
20546 (octave-font-lock-keywords, octave-beginning-of-defun)
20547 (octave-function-header-regexp): Adjust regexps accordingly.
20548 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
20549
cd22b309
JB
205502011-04-25 Juanma Barranquero <lekktu@gmail.com>
20551
20552 * net/gnutls.el (gnutls-errorp): Declare before first use.
20553
8b492194
TZ
205542011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
20555
20556 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
20557 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 20558 default trustfile exists before going to use it. Add missing
5a5fa834 20559 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
20560 Reported by Claudio Bley <claudio.bley@gmail.com>.
20561 (open-gnutls-stream): Add usage example.
20562
20563 * net/network-stream.el (network-stream-open-starttls): Give host
20564 parameter to `gnutls-negotiate'.
20565 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 20566 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 20567
841a1577 205682011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 20569
cd22b309
JB
20570 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
20571 Use correct match group (bug#8438).
05842630 20572
3ba7869c
CY
205732011-04-24 Chong Yidong <cyd@stupidchicken.com>
20574
512e3ae1
CY
20575 * emacs-lisp/package.el (package-built-in-p): Fix typo.
20576 (package-menu--generate): New arg specifying packages to show.
20577 (package-menu-refresh, package-menu-execute, list-packages):
20578 Callers changed.
20579 (package-show-package-list): New function, replacing deleted
20580 package--list-packages (renamed because it is non-internal).
20581
20582 * finder.el (finder-list-matches): Use package-show-package-list
20583 instead of deleted package--list-packages.
20584
e92f3bd3
SM
20585 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
20586 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
20587 (vc-annotate-mode-map): Bind it to RET.
20588
7031be6d
UR
205892011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
20590
20591 * progmodes/etags.el (next-file): Don't use set-buffer to change
20592 buffers (Bug#8478).
20593
4ef177aa
CY
205942011-04-24 Chong Yidong <cyd@stupidchicken.com>
20595
c8d173eb
CY
20596 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
20597
4ef177aa
CY
20598 * apropos.el (apropos-label-face): Avoid variable-pitch face.
20599 (apropos-accumulator): Doc fix.
20600 (apropos-function, apropos-macro, apropos-command)
20601 (apropos-variable, apropos-face, apropos-group, apropos-widget)
20602 (apropos-plist): Add face property.
20603 (apropos-symbols-internal): Fix indentation.
20604 (apropos-print): Simplify help, and recognize apropos-multi-type.
20605 (apropos-print-doc): Use button-type-get to extract the button's
20606 face property. Fill docstring (Bug#8352).
20607
4ffd0d6b 206082011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
20609
20610 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
20611
c6c32125 20612 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 20613 (mpuz-mode-map): Use mapc.
c6c32125
JB
20614 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
20615 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
20616 Fix typos in docstrings.
20617
58d468b4
JB
20618 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
20619 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
20620
6470c3c6
JB
20621 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
20622
4ffd0d6b 206232011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
20624
20625 * minibuffer.el (completion--do-completion): Avoid the "Next char
20626 not unique" prompt if icomplete-mode is enabled (Bug#5849).
20627
3ad8bad0
CY
20628 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
20629 mouse-2 into unread-command-events, it is interpreted correctly.
20630
71d73c9c 20631 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 20632 (image-toggle-display): Doc fix.
71d73c9c 20633
841a1577 206342011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 20635
4ffd0d6b
GM
20636 * textmodes/page.el (what-page): Use line-number-at-pos to
20637 calculate line number (Bug#6825).
6e1dbaa9 20638
c2fb1b60
JB
206392011-04-22 Juanma Barranquero <lekktu@gmail.com>
20640
20641 * eshell/esh-mode.el (find-tag-interactive): Declare function.
20642 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
20643 Pass argument NO-DEFAULT to `find-tag-interactive'.
20644
e02f48d7
JB
206452011-04-22 Juanma Barranquero <lekktu@gmail.com>
20646
20647 Lexical-binding cleanup.
20648
20649 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
20650 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
20651 * progmodes/ada-prj.el (ada-prj-initialize-values)
20652 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
20653 (ada-prj-show-value):
20654 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
20655 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
20656 (antlr-invalidate-context-cache, antlr-options-menu-filter)
20657 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
20658 * progmodes/bug-reference.el (bug-reference-push-button):
20659 * progmodes/fortran.el (fortran-line-length):
20660 * progmodes/glasses.el (glasses-change):
20661 * progmodes/octave-mod.el (octave-fill-paragraph):
20662 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
20663 (python-pdbtrack-grub-for-buffer, python-sentinel):
20664 * progmodes/sql.el (sql-save-connection):
20665 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
20666 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
20667 Mark unused parameters.
20668
20669 * progmodes/compile.el (compilation--flush-directory-cache)
20670 (compilation--flush-parse, compile-internal): Mark unused parameters.
20671 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
20672 (compilation-next-error-function): Remove unused variable `timestamp'.
20673
20674 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
20675 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
20676
20677 * progmodes/dcl-mode.el (dcl-end-of-command):
20678 Remove unused variable `start'.
20679 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
20680 (dcl-option-value-basic, dcl-option-value-offset)
20681 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
20682 Mark unused parameters.
20683 (dcl-save-local-variable): Remove unused variable `val'.
20684 (mode): Declare.
20685
20686 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
20687 Mark unused parameters.
20688 (delphi-ignore-changes): Move before first use.
20689 (delphi-charset-token-at): Remove unused variable `start'.
20690 (delphi-else-start): Remove unused variable `if-count'.
20691 (delphi-comment-block-start, delphi-comment-block-end):
20692 Remove unused variable `kind'.
20693 (delphi-indent-line): Remove unused variable `new-point'.
20694
20695 * progmodes/ebrowse.el (ebrowse-files-list)
20696 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
20697 Mark unused parameters. Don't quote `lambda'.
20698 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
20699 Don't quote `lambda'.
20700 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
20701 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
20702 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
20703 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
20704 Use `ignore-errors'.
20705 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
20706 (ebrowse-view/find-file-and-search-pattern)
20707 (ebrowse-view/find-member-declaration/definition):
20708 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
20709 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
20710 Rename parameter PREFIX-ARG to PREFIX.
20711 (ebrowse-tags-read-name): Remove unused variables `start' and
20712 `member-info'.
20713 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
20714 to `tags-file'.
20715
20716 * progmodes/etags.el (local-find-tag-hook): Declare.
20717 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
20718 Mark unused parameters.
20719
20720 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
20721 (executable-interpret): Mark unused parameter.
20722
20723 * progmodes/flymake.el (flymake-process-sentinel)
20724 (flymake-after-change-function)
20725 (flymake-create-temp-with-folder-structure)
20726 (flymake-get-include-dirs-dot): Mark unused parameters.
20727 (flymake-safe-delete-directory): Remove unused variable `err'.
20728
20729 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
20730 (speedbar-timer-fn, speedbar-line-text)
20731 (speedbar-change-expand-button-char, speedbar-delete-subblock)
20732 (speedbar-center-buffer-smartly): Declare functions.
20733 (gdb-find-watch-expression): Remove unused variable `array'.
20734 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
20735 (gdb-starting): Mark unused parameters.
20736 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
20737 (gdb-table-string): Remove unused variable `res'.
20738 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
20739 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
20740 (gdb-display-buffer): Remove unused variable `cur-size'.
20741
20742 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
20743 allow lexical-binding compilation.
20744 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
20745 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
20746 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
20747 Mark unused parameters.
20748 (gud-gdb-marker-filter): Remove unused variable `match'.
20749 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
20750 lambda expressions and funcall them, instead of using `fset'.
20751
20752 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
20753 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
20754
20755 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
20756 variable `header-beg'; use `let'.
20757
20758 * progmodes/icon.el (indent-icon-exp): Remove unused variables
20759 `restart', `last-sexp' and `at-do'.
20760
20761 * progmodes/js.el (js--debug): Mark unused parameter.
20762 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
20763 (js--splice-into-items): Remove unused variable `item'.
20764 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
20765
20766 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
20767 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
20768 (makefile-complete): Remove unused variable `try'.
20769 (makefile-fill-paragraph, makefile-match-function-end):
20770 Mark unused parameters.
20771
20772 * progmodes/octave-inf.el (inferior-octave-complete):
20773 Remove unused variable `proc'.
20774 (inferior-octave-output-digest): Mark unused parameter.
20775
20776 * progmodes/perl-mode.el (perl-calculate-indent):
20777 Remove unused variable `err'.
20778
20779 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
20780 (prolog-indent-line): Mark unused parameters.
20781 (prolog-indent-line): Remove unused variable `beg'.
20782
20783 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
20784 (reporter-dont-compact-list): Declare.
20785
20786 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
20787 Remove unused variable `char'.
20788 (sh-debug): Mark unused parameter.
20789 (sh-get-indent-info): Remove unused variable `start'.
20790 (sh-calculate-indent): Remove unused variable `var'.
20791
20792 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
20793 (simula-electric-keyword): Remove unused variable `null'.
20794 (simula-search-backward, simula-search-forward): Remove unused
20795 variables `begin' and `end'.
20796
20797 * progmodes/vera-mode.el (vera-guess-basic-syntax):
20798 Remove unused variable `pos'.
20799 (vera-electric-tab, vera-comment-uncomment-region):
20800 Mark unused parameters.
20801 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
20802
7ede3b65
CY
208032011-04-22 Chong Yidong <cyd@stupidchicken.com>
20804
20805 * emacs-lisp/package.el (package--builtins, package-alist)
20806 (package-load-descriptor, package-built-in-p, package-activate)
20807 (define-package, package-installed-p)
20808 (package-compute-transaction, package-buffer-info)
20809 (package--push): Doc fix. Distinguish more clearly between
20810 version strings and version lists.
20811
121656e9
JB
208122011-04-21 Juanma Barranquero <lekktu@gmail.com>
20813
20814 Lexical-binding cleanup.
20815
20816 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
20817 (5x5-make-mutate-best):
20818 * play/fortune.el (fortune-in-buffer):
20819 * play/gomoku.el (gomoku-init-display):
20820 * play/solitaire.el (solitaire, solitaire-do-check):
20821 * play/tetris.el (tetris-default-update-speed-function):
20822 Mark unused parameters.
20823
20824 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
20825 (bubbles--shift): Remove unused variable `char-org'.
20826 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
20827 (bubbles--show-images): Remove unused variable `char'.
20828
20829 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
20830 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
20831 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
20832 (decipher-analyze-buffer): Use ?\s.
20833 (decipher-make-checkpoint): Remove unused variable `mapping'.
20834
20835 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
20836
20837 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
20838 Remove unused variable `result'; use `let'.
20839
20840 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
20841 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
20842 (gametree-children-shown-p, gametree-compute-reduced-score):
20843 Use `ignore-errors'.
20844
20845 * play/handwrite.el (ps-lpr-switches): Declare.
20846 (handwrite): Remove unused variables `pmin' and `lastp'.
20847
20848 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
20849
20850 * play/landmark.el (landmark-init-display)
20851 (landmark-update-naught-weights): Mark unused parameters.
20852 (landmark-y): Remove unused variable `noise'. Simplify.
20853 (landmark-human-plays): Remove unused variable `score'.
20854
20855 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
20856 (mpuz-try-proposal): Remove unused variable `game'.
20857
20858 * play/zone.el (life-patterns): Declare.
20859
80f499c7
JB
208602011-04-20 Juanma Barranquero <lekktu@gmail.com>
20861
20862 * vc/vc.el (ediff-vc-internal): Declare function.
20863
024ff170
SM
208642011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20865
c0a193ea
SM
20866 * shell.el: Use lexical-binding and std completion UI.
20867 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
20868 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
20869 comint-preoutput-filter-functions rather than on
20870 comint-output-filter-functions.
20871 (shell-command-completion, shell--command-completion-data)
20872 (shell-filename-completion, shell-environment-variable-completion)
20873 (shell-c-a-p-replace-by-expanded-directory): New functions.
20874 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
20875 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
20876 (shell-dynamic-complete-environment-variable): Use them.
20877 (shell-dynamic-complete-as-environment-variable)
20878 (shell-dynamic-complete-as-command): Remove.
20879 (shell-match-partial-variable): Match past point.
20880 * comint.el: Clean up use of completion-at-point-functions.
20881 (comint-completion-at-point): New function.
20882 (comint-mode): Use it completion-at-point-functions.
20883 (comint-dynamic-complete): Make it obsolete.
20884 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
20885 (comint-c-a-p-replace-by-expanded-history): New function.
20886 (comint-dynamic-complete-functions)
20887 (comint-replace-by-expanded-history): Use it.
20888 * minibuffer.el (completion-table-with-terminator): Allow dynamic
20889 termination strings. Try harder to avoid second try-completion.
20890 (completion-in-region-mode-map): Disable bindings that don't work yet.
20891
2dbaa080
SM
20892 * comint.el: Use lexical-binding. Require CL.
20893 (comint-dynamic-complete-functions): Use comint-filename-completion.
20894 (comint-completion-addsuffix): Tweak custom type.
20895 (comint-filename-completion, comint--common-suffix)
20896 (comint--common-quoted-suffix, comint--table-subvert)
20897 (comint--complete-file-name-data): New functions.
20898 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
20899 (comint-dynamic-list-filename-completions): Use them.
20900 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 20901
2dbaa080
SM
20902 * minibuffer.el (completion-in-region-mode):
20903 Keep completion-in-region-mode--predicate global.
20904 (completion-in-region--postch):
20905 Assume completion-in-region-mode--predicate is not null.
20906
c79a6f38
SM
20907 * progmodes/flymake.el (flymake-start-syntax-check-process):
20908 Obey `dir'. Simplify.
20909
024ff170
SM
20910 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
20911 we're in VC after all.
20912
1c6c854e
CS
209132011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
20914
20915 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 20916 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
20917 (vc-version-diff): Use vc-diff-build-argument-list-internal.
20918
bed7f140
SM
209192011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20920
332e62ab
SM
20921 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
20922 add sanity check.
20923
bed7f140
SM
20924 * obsolete/erc-hecomplete.el: Make obsolete.
20925 * obsolete/: Standardize obsolescence info in the header.
20926
f195c582
GM
209272011-04-20 Glenn Morris <rgm@gnu.org>
20928
20929 * calendar/solar.el (solar-horizontal-coordinates):
20930 Use the longitude argument rather than `calendar-longitude'.
20931 (solar-date-next-longitude): Remove unused locals.
20932
cb79b8c0
VJL
209332011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
20934
20935 * whitespace.el: New version 13.2.1.
20936
209372011-04-20 felix <EmacsWiki> (tiny change)
20938
d8e4b68b 20939 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
20940 switching between major modes on a file.
20941
602ea69d
SM
209422011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
20943
20944 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
20945 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
20946 multi-line comments as well.
20947
06b60517
JB
209482011-04-19 Juanma Barranquero <lekktu@gmail.com>
20949
20950 Lexical-binding cleanup.
20951
20952 * arc-mode.el (archive-mode-revert):
20953 * cmuscheme.el (scheme-interactively-start-process):
20954 * custom.el (custom-initialize-delay):
20955 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
20956 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
20957 * emacs-lock.el (emacs-lock-clear-sentinel):
20958 * ezimage.el (defezimage):
20959 * follow.el (follow-avoid-tail-recenter):
20960 * fringe.el (set-fringe-mode-1):
20961 * generic-x.el (bat-generic-mode-compile):
20962 * help-mode.el (help-info-variable, help-do-xref)
20963 (help-mode-revert-buffer):
20964 * help.el (view-emacs-todo):
20965 * iswitchb.el (iswitchb-completion-help):
20966 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
20967 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
20968 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
20969 * locate.el (locate-update):
20970 * longlines.el (longlines-encode-region)
20971 (longlines-after-change-function):
20972 * outline.el (outline-isearch-open-invisible):
20973 * ps-def.el (declare-function, charset-dimension, char-width)
20974 (encode-char):
20975 * ps-mule.el (ps-mule-plot-string):
20976 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
20977 (recentf-edit-list-select, recentf-edit-list-validate)
20978 (recentf-open-files-action):
20979 * rect.el (delete-whitespace-rectangle-line)
20980 (rectangle-number-line-callback):
20981 * register.el (window-configuration-to-register)
20982 (frame-configuration-to-register):
20983 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
20984 * select.el (xselect-convert-to-string, xselect-convert-to-length)
20985 (xselect-convert-to-targets, xselect-convert-to-delete)
20986 (xselect-convert-to-filename, xselect-convert-to-charpos)
20987 (xselect-convert-to-lineno, xselect-convert-to-colno)
20988 (xselect-convert-to-os, xselect-convert-to-host)
20989 (xselect-convert-to-user, xselect-convert-to-class)
20990 (xselect-convert-to-name, xselect-convert-to-integer)
20991 (xselect-convert-to-atom, xselect-convert-to-identity):
20992 * subr.el (declare, ignore, process-kill-without-query)
20993 (text-clone-maintain):
20994 * terminal.el (te-get-char, te-tic-sentinel):
20995 * tool-bar.el (tool-bar-make-keymap):
20996 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
20997 * type-break.el (type-break-mode, type-break-noninteractive-query):
20998 * view.el (View-back-to-mark):
20999 * wid-browse.el (widget-browse-action, widget-browse-widget)
21000 (widget-browse-widgets, widget-browse-sexp):
21001 * widget.el (define-widget-keywords):
21002 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
21003 Mark unused parameters.
21004
21005 * align.el (align-adjust-col-for-rule): Mark unused parameter.
21006 (align-areas): Remove unused variable `look'.
21007 (align-region): Remove unused variables `real-end' and `pos-list'.
21008
21009 * apropos.el (apropos-score-doc): Remove unused variable `i'.
21010
21011 * bindings.el (mode-line-modified, mode-line-remote):
21012 Mark unused parameters.
21013 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
21014
21015 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
21016 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
21017
21018 * comint.el (comint-history-isearch-pop-state)
21019 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
21020 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
21021 (comint-substitute-in-file-name): Doc fix.
21022
21023 * completion.el (cmpl-statistics-block): Mark unused parameter.
21024 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
21025 (save-completions-to-file, load-completions-from-file):
21026 Remove unused local variable `e'.
21027
21028 * composite.el (compose-chars): Remove unused variable `len'.
21029 (lgstring-insert-glyph): Remove unused variable `g'.
21030 (compose-glyph-string): Remove unused variables `ascent',
21031 `descent', `lbearing' and `rbearing'.
21032 (compose-glyph-string-relative): Remove unused variables
21033 `lbearing', `rbearing' and `wadjust'.
21034 (compose-gstring-for-graphic): Remove unused variables `header',
21035 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
21036 (compose-gstring-for-terminal): Remove unused variables `header'
21037 and `nchars'. Use `let', not `let*'.
21038
21039 * cus-edit.el (Custom-set, Custom-save, custom-reset)
21040 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
21041 (Custom-buffer-done, custom-buffer-create-internal)
21042 (custom-browse-visibility-action, custom-browse-group-tag-action)
21043 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
21044 (widget-magic-mouse-down-action, custom-toggle-parent)
21045 (custom-add-parent-links, custom-toggle-hide-variable)
21046 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
21047 (custom-toggle-hide-face, face, hook, custom-group-link-action)
21048 (custom-face-menu-create, custom-variable-menu-create, get)
21049 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
21050 (custom-reset-standard-save-and-update): Remove unused variable `value'.
21051 (customize-apropos): Remove unused variable `tests'.
21052 (custom-group-value-create): Remove unused variable `hidden-p'.
21053 (sort-fold-case): Declare.
21054
21055 * cus-theme.el (custom-reset-standard-faces-list)
21056 (custom-reset-standard-variables-list): Declare.
21057 (customize-create-theme, custom-theme-revert, custom-theme-write)
21058 (custom-theme-choose-mode, customize-themes, custom-theme-save):
21059 Mark unused parameters.
21060
21061 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
21062
21063 * delim-col.el (delimit-columns-max): Move defvar before first use.
21064
21065 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 21066 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
21067
21068 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
21069 (auto-insert): Declare.
21070 (desktop-restore-file-buffer): Rename desktop-* parameters;
21071 mark unused ones.
21072 (desktop-create-buffer): Rename desktop-* parameters and bind them.
21073 (desktop-buffer): Rename desktop-* parameters.
21074
21075 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
21076 (dframe-reposition-frame-xemacs, dframe-help-echo)
21077 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
21078 Mark unused parameters.
21079
21080 * dired-aux.el (backup-extract-version-start, overwrite-query)
21081 (overwrite-backup-query, rename-regexp-query)
21082 (rename-non-directory-query): Declare.
21083 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
21084 (dired-add-entry): Remove unused variable `orig-file-name'.
21085 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
21086 Use parameter PRESERVE-TIME instead of accessing dynamic variable
21087 `dired-copy-preserve-time' directly.
21088 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
21089 (dired-insert-subdir-newpos): Rename unused variable `pos'.
21090
21091 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
21092 (dired-virtual-revert, dired-make-relative-symlink):
21093 Mark unused parameters.
21094 (manual-program): Declare.
21095 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
21096 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
21097 wrapped in `with-no-warnings' to avoid replacing one warning by another.
21098
21099 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
21100
21101 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
21102
21103 * echistory.el (electric-history-in-progress, Helper-return-blurb):
21104 Declare.
21105
21106 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
21107
21108 * electric.el (Electric-command-loop): Rename parameter
21109 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
21110
21111 * expand.el (expand-in-literal): Remove unused variable `here'.
21112
21113 * facemenu.el (facemenu-add-new-color):
21114 Remove unused variable `docstring'.
21115
21116 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
21117 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
21118 (face-attr-construct): Mark unused parameter. Doc fix.
21119 (read-color): Remove unused variable `hex-string'.
21120
21121 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
21122 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
21123 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
21124 (display-buffer-other-frame): Remove unused variable `old-window'.
21125 (kill-buffer-hook): Declare.
21126 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
21127 Mark unused parameters.
21128 (after-find-file): Pass 1 to `auto-save-mode', not t.
21129
21130 * files-x.el (auto-insert): Declare.
21131 (modify-file-local-variable-prop-line): Remove unused variable `val'.
21132
21133 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 21134 variable `buf'. Mark unused parameter.
06b60517
JB
21135 (find-lisp-insert-directory): Mark unused parameter.
21136
21137 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
21138 (format-encode-region): Remove unused variables `cur-buf' and `result'.
21139 (format-common-tail): Remove, unused.
21140 (format-deannotate-region): Remove unused variable `loc'.
21141 (format-annotate-region): Remove unused variable `p'.
21142 (format-annotate-single-property-change): Remove unused variables
21143 `default' and `tail'.
21144
21145 * forms.el (read-file-filter): Declare.
21146 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
21147
21148 * frame.el (frame-creation-function-alist): Mark unused parameter.
21149 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
21150
21151 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
21152 Remove unused parameters.
21153 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
21154 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
21155
21156 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
21157 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
21158 (hfy-prepare-tag-map): Mark unused parameters.
21159 (htmlfontify-buffer): Use `called-interactively-p'.
21160
21161 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
21162 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
21163 (ibuffer-do-occur): Mark unused parameters.
21164 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
21165 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
21166
21167 * ibuffer.el: Don't quote `lambda'.
21168 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
21169 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
21170 Mark unused parameters.
21171
21172 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
21173 (ido-completing-read): Mark unused parameters.
21174 (ido-copy-current-word): Mark unused parameters;
21175 remove unused variable `name'.
21176 (ido-sort-merged-list): Remove unused parameter `dirs'.
21177
21178 * ielm.el (ielm-input-sender): Mark unused parameter.
21179 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
21180 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
21181 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
21182 `ielm-string' as a dynamic variable accessible from the IELM prompt.
21183 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
21184
21185 * image-dired.el (image-dired-display-thumbs): Remove unused
21186 variables `curr-file' and `count'.
21187 (image-dired-remove-tag): Remove unused variable `start'.
21188 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
21189 variable `curr-file'
21190 (image-dired-rotate-original): Remove unused variable `temp-file'.
21191 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
21192 Remove unused variable `file'.
21193 (image-dired-gallery-generate): Remove unused variable `curr'.
21194 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
21195
21196 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
21197
21198 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
21199
21200 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
21201
21202 * isearch.el (minibuffer-history-symbol): Declare.
21203 (isearch-edit-string): Remove unused variable `err'.
21204 (isearch-message-prefix, isearch-message-suffix):
21205 Mark unused parameters.
21206
21207 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
21208
21209 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
21210
21211 * makesum.el (double-column): Remove unused variable `cnt'.
21212
21213 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
21214 (ido-ignore-item-temp-list): Declare.
21215
21216 * mouse-drag.el (mouse-drag-throw): Remove unused variables
21217 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
21218 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
21219 (mouse-drag-drag): Remove unused variables `mouse-delta' and
21220 `mouse-col-delta'.
21221
21222 * mouse-sel.el (mouse-extend-internal):
21223 Remove unused variable `orig-window-frame'.
21224
21225 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
21226 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
21227 Move declarations before first use.
21228 (pcomplete-opt): Mark unused parameters; doc fix.
21229
21230 * proced.el (proced-revert): Mark unused parameter.
21231 (proced-send-signal): Remove unused variable `err'.
21232
21233 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
21234 Rename parameter PREFIX-ARG to ARG.
21235 (ps-basic-plot-string, ps-basic-plot-whitespace):
21236 Mark unused parameters.
21237
21238 * replace.el (replace-count): Define.
21239 (occur-revert-function): Mark unused parameters.
21240 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
21241 (isearch-case-fold-search, isearch-string): Declare.
21242 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
21243 bind `case-fold-search'. Remove unused variables `beg' and `end',
21244 and simplify.
21245 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
21246 COUNT and bind `replace-count'.
21247 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
21248 to COUNT.
21249
21250 * savehist.el (print-readably, print-string-length): Declare.
21251
21252 * shadowfile.el (shadow-expand-cluster-in-file-name):
21253 Remove unused variable `cluster'.
21254 (shadow-copy-file): Remove unused variable `i'.
21255 (shadow-noquery, shadow-clusters, shadow-site-cluster)
21256 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
21257 (shadow-define-literal-group, shadow-define-regexp-group)
21258 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
21259
21260 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
21261 (shell): Use `called-interactively-p'.
21262 (shell-directory-tracker): Remove unused variable `chdir-failure'.
21263
21264 * simple.el (compilation-context-lines, comint-file-name-quote-list)
21265 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
21266 (delete-backward-char): Remove unused variable `ocol'.
21267 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
21268 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
21269 (event-apply-hyper-modifier, event-apply-shift-modifier)
21270 (event-apply-control-modifier, event-apply-meta-modifier):
21271 Mark unused parameters.
21272 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
21273 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
21274
21275 * speedbar.el (speedbar-ignored-directory-expressions)
21276 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
21277 (speedbar-find-file, speedbar-dir-follow)
21278 (speedbar-directory-buttons-follow, speedbar-tag-find)
21279 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
21280 (speedbar-buffers-line-directory, speedbar-buffer-click):
21281 Mark unused parameters.
21282 (speedbar-tag-file): Remove unused variable `mode'.
21283 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
21284
21285 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
21286
21287 * talk.el (talk): Remove unused variable `display'.
21288
21289 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
21290 (tar-write-region-annotate): Mark unused parameter.
21291
21292 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
21293 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
21294 Declare them, wrapped in `with-no-warnings' to avoid replacing one
21295 warning by another.
21296
21297 * time-stamp.el (time-stamp-string-preprocess):
21298 Remove unused variable `require-padding'.
21299
21300 * tree-widget.el (widget-glyph-enable): Declare.
21301 (tree-widget-action): Mark unused parameter.
21302
21303 * w32-fns.el (x-get-selection): Mark unused parameter.
21304 (autoload-make-program, generated-autoload-file): Declare.
21305
21306 * wdired.el (wdired-revert): Mark unused parameters.
21307 (wdired-xcase-word): Remove unused variable `err'.
21308
21309 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
21310 (whitespace-help-scroll): Remove unused variable `data-help'.
21311
21312 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
21313 (widget-image-insert, widget-after-change, default)
21314 (widget-default-format-handler, widget-default-notify)
21315 (widget-default-prompt-value, widget-info-link-action)
21316 (widget-url-link-action, widget-function-link-action)
21317 (widget-variable-link-action, widget-file-link-action)
21318 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
21319 (widget-field-prompt-internal, widget-field-action, widget-field-match)
21320 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
21321 (widget-insert-button-action, widget-delete-button-action, visibility)
21322 (widget-documentation-link-action, widget-documentation-string-action)
21323 (widget-const-prompt-value, widget-regexp-match, symbol)
21324 (widget-coding-system-prompt-value)
21325 (widget-key-sequence-value-to-external, sexp)
21326 (widget-sexp-value-to-internal, character, vector, cons)
21327 (widget-choice-prompt-value, widget-boolean-prompt-value)
21328 (widget-color--choose-action): Mark unused parameters.
21329 (widget-item-match-inline, widget-choice-match-inline)
21330 (widget-checklist-match, widget-checklist-match-inline)
21331 (widget-group-match): Rename parameter VALUES to VALS.
21332 (widget-field-value-set): Remove unused variable `size'.
21333 (widget-color-action): Remove unused variables `value' and `start'.
21334
21335 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 21336 variable `dir'. Doc fix.
06b60517
JB
21337 (windmove-find-other-window): Don't pass it.
21338
21339 * window.el (count-windows): Mark unused parameter.
21340 (bw-adjust-window): Remove unused variable `err'.
21341
21342 * woman.el (woman-file-name): Remove unused variable `default'.
21343 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
21344 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
21345 (global-font-lock-mode): Declare.
21346 (woman-decode-region): Mark unused parameter.
21347 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
21348
21349 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
21350 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
21351 (x-dnd-handle-moz-url): Remove unused variable `title'.
21352 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
21353
21354 * xml.el (xml-parse-tag, xml-parse-attlist):
21355 Remove unused variable `pos'.
21356
bc4f7f3d
GM
213572011-04-19 Glenn Morris <rgm@gnu.org>
21358
21359 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
21360 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
21361 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
21362 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
21363 * calendar/cal-html.el (cal-html-insert-minical):
21364 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
21365 (calendar-mark-date-pattern):
21366 Prefix "unused" locals.
21367
21368 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
21369 optional argument `style'.
21370
21371 * calendar/appt.el (appt-make-list):
21372 * calendar/cal-china.el (calendar-chinese-date-string):
21373 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
21374 (diary-hebrew-yahrzeit):
21375 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
21376 * calendar/calendar.el (calendar-generate-window):
21377 * calendar/time-date.el (time-to-days):
21378 Remove unused local variables.
21379
16a43933
CY
213802011-04-18 Chong Yidong <cyd@stupidchicken.com>
21381
21382 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
21383 glyphless-char-display table.
21384 (tabulated-list-glyphless-char-display): New var.
21385
7eed1860
SS
213862011-04-18 Sam Steingold <sds@gnu.org>
21387
21388 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
21389 to acknowledgments.
21390
4d2d1ccd
GM
213912011-04-17 Glenn Morris <rgm@gnu.org>
21392
21393 * calendar/diary-lib.el (diary-sexp-entry):
21394 * calendar/holidays.el (holiday-sexp):
21395 Set debug-on-error rather than the removed stack-trace-on-error.
21396
239da61d
GM
213972011-04-16 Glenn Morris <rgm@gnu.org>
21398
21399 * progmodes/f90.el: Use lexical-binding.
21400 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
21401
8b05752a
SM
214022011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21403
daca8ba5
SM
21404 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
21405 (mail-mode): Setup mailalias completion here instead.
21406 * mail/mailalias.el: Use lexical-binding.
21407 (pattern, mailalias-done): Declare dynamic.
21408 (mail-completion-at-point-function): New function, from mail-complete.
21409 (mail-complete): Use it.
21410 (mail-completion-expand): New function.
21411 (mail-get-names): Use it.
21412 (mail-directory, mail-directory-process, mail-directory-stream):
21413 Don't use `pattern' for lexically bound arg.
21414
6f542485
SM
21415 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
21416
037e7c3f
SM
21417 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
21418 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
21419 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
21420
8b05752a
SM
21421 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
21422 (byte-save-window-excursion, byte-temp-output-buffer-setup)
21423 (byte-interactive-p): Define them again, for use when inlining
21424 old code.
21425
49093f60
JB
214262011-04-15 Juanma Barranquero <lekktu@gmail.com>
21427
21428 * loadup.el: Use `string-to-number', not `string-to-int'.
21429
b5b8e7de
SM
214302011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21431
21432 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
21433 gud-gdb-complete-command.
21434 (gud-gdb-completions): New function, from gud-gdb-complete-command.
21435 (gud-gdb-completion-at-point): New function.
21436 (gud-gdb-completions): Remove.
21437
f42efeb5
MA
214382011-04-14 Michael Albinus <michael.albinus@gmx.de>
21439
49093f60
JB
21440 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
21441 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
21442 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
21443 whether `executable-find' is bound.
f42efeb5
MA
21444
21445 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
21446
e240cc21
SM
214472011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
21448
21449 * minibuffer.el (completion-in-region-mode-predicate)
21450 (completion-in-region-mode--predicate): New vars.
21451 (completion-in-region, completion-in-region--postch)
21452 (completion-in-region-mode): Use them.
21453 (completion--capf-wrapper): Also return the hook function.
21454 (completion-at-point, completion-help-at-point):
21455 Adjust and provide a predicate.
c2bd2ab0
SM
21456
21457 Preserve arg names for advice of subr and lexical functions (bug#8457).
21458 * help-fns.el (help-function-arglist): Consolidate the subr and
21459 new-byte-code cases. Add argument `preserve-names' to extract names
21460 from the docstring when needed.
21461 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
21462 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
21463 (ad-arglist): Use help-function-arglist's new arg.
21464 (ad-definition-type): Use cond.
21465
c183f693
JB
214662011-04-13 Juanma Barranquero <lekktu@gmail.com>
21467
06641a47
JB
21468 * autorevert.el (auto-revert-handler):
21469 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
21470 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
21471 Don't quote lambda.
21472
c183f693
JB
21473 * image-mode.el (image-transform-set-scale):
21474 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
21475
1e3b6001
G
214762011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21477
21478 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 21479 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
21480 Upgrades via gnutls-cli are too slow to be done opportunistically.
21481
2d6af8dd
JB
214822011-04-12 Juanma Barranquero <lekktu@gmail.com>
21483
21484 * dframe.el (dframe-current-frame): Remove spurious quote.
21485
c0749a51
GM
214862011-04-12 Glenn Morris <rgm@gnu.org>
21487
088d0d61
GM
21488 * calendar/cal-tex.el (cal-tex-end-document):
21489 Try to automatically use latin1 input if needed.
21490
c0749a51
GM
21491 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
21492 Don't try to cons a mark onto an empty element.
21493
5c90fde0
LL
214942011-04-11 Leo Liu <sdl.web@gmail.com>
21495
21496 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
21497 buffers.
21498 (ido-kill-buffer-at-head): Support killing virtual buffers.
21499
369e974d
CY
215002011-04-10 Chong Yidong <cyd@stupidchicken.com>
21501
21502 * minibuffer.el (completion-show-inline-help): New var.
21503 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
21504 (minibuffer-force-complete, minibuffer-complete-word):
21505 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
21506
21507 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
21508 to avoid interference from inline help (Bug#5849).
21509
37f1c930
LL
215102011-04-10 Leo Liu <sdl.web@gmail.com>
21511
099c39a4
JB
21512 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21513 Fix typo.
37f1c930 21514
a32d4040
CY
215152011-04-09 Chong Yidong <cyd@stupidchicken.com>
21516
21517 * image-mode.el (image-toggle-display-image): Signal an error if
21518 not in Image mode.
21519 (image-transform-mode, image-transform-resize)
21520 (image-transform-set-rotation): Doc fix.
daca8ba5 21521 (image-transform-set-resize): Delete.
a32d4040
CY
21522 (image-transform-set-scale, image-transform-fit-to-height)
21523 (image-transform-fit-to-width): Handle image-toggle-display-image
21524 and image-transform-resize directly.
21525
099c39a4 215262011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
21527
21528 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
21529 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
21530 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
21531 (doc-view-mode-map): Add bindings for the new functions.
21532
099c39a4 215332011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 21534
4d61f28d 21535 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
21536 Fix typo in docstring.
21537
3726838a
EZ
215382011-04-08 Eli Zaretskii <eliz@gnu.org>
21539
04f33f1e
EZ
21540 * files.el (file-size-human-readable): Produce one digit after
21541 decimal, like "ls -lh" does.
21542
21543 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
21544 the file size representation.
21545
3726838a
EZ
21546 * simple.el (list-processes): If async subprocesses are not
21547 available, error out with a clear error message.
21548
cbb59342
CY
215492011-04-08 Chong Yidong <cyd@stupidchicken.com>
21550
21551 * help.el (help-form-show): New function, to be called from C.
21552 Put help-form output in a buffer named differently than *Help*.
21553
e3971c44
EZ
215542011-04-08 Eli Zaretskii <eliz@gnu.org>
21555
21556 * files.el (file-size-human-readable): New function.
21557
21558 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
21559 computing the representation inline. Don't require `cl'.
21560
12544bbe
GM
215612011-04-08 Glenn Morris <rgm@gnu.org>
21562
a1de6c6a
GM
21563 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
21564
3c4671f4
GM
21565 * net/browse-url.el (browse-url-firefox):
21566 Test system-type, not system-configuration.
21567
b605679c
GM
21568 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
21569 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
21570 Use log-edit-empty-buffer-p. (Bug#7598)
21571
56442f0c
GM
21572 * net/rlogin.el (rlogin-process-connection-type): Simplify.
21573 (rlogin-mode-map): Initialize in the defvar.
21574 (rlogin): Use ignore-errors.
21575
12544bbe
GM
21576 * replace.el (occur-mode-map): Some fixes for menu items.
21577
eb237b0f
AH
215782011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
21579
21580 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
21581
7d668f2c
CY
215822011-04-06 Chong Yidong <cyd@stupidchicken.com>
21583
e67a13ab
CY
21584 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
21585 issuing unused warnings.
21586
21587 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
21588 macro directly.
21589
7d668f2c
CY
21590 * simple.el: Lisp reimplement of list-processes. Based on an
21591 earlier reimplementation by Leo Liu, but using tabulated-list.el.
21592 (process-menu-mode): New major mode.
21593 (list-processes--refresh, list-processes):
21594 (process-menu-visit-buffer): New functions.
21595
21596 * files.el (save-buffers-kill-emacs): Don't assume any return
21597 value of list-processes, which is undocumented anyway.
21598
a83ec3c9
CY
215992011-04-06 Chong Yidong <cyd@stupidchicken.com>
21600
21601 * emacs-lisp/tabulated-list.el: New file.
21602
e91a96fe
CY
21603 * emacs-lisp/package.el: Use Tabulated List mode.
21604 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
21605 (package-menu-mode): Derive from tabulated-list-mode. Set up the
21606 table format using Tabulated List mode variables.
21607 (package--push): New macro, replacing package-list-maybe-add.
21608 (package-menu--generate): Use package--push. Renamed from
21609 package--generate-package-list.
21610 (package-menu-refresh, list-packages): Use it.
daca8ba5 21611 (package-menu--print-info): Rename from package-print-package.
e91a96fe 21612 Return insertion data instead of inserting it directly.
099c39a4
JB
21613 (package-menu-describe-package, package-menu-execute):
21614 Use tabulated-list-get-id.
e91a96fe
CY
21615 (package-menu-mark-delete, package-menu-mark-install)
21616 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
21617 (package-menu-mark-obsolete-for-deletion):
21618 Use tabulated-list-put-tag.
e91a96fe
CY
21619 (package--list-packages, package-menu-revert)
21620 (package-menu-get-package, package-menu-get-version)
21621 (package-menu-sort-by-column): Functions deleted.
21622 (package-menu-package-list, package-menu-sort-key): Vars deleted.
21623 (package-menu--status-predicate, package-menu--version-predicate)
21624 (package-menu--name-predicate)
21625 (package-menu--description-predicate): Handle arguments in the
21626 Tabulated List format.
21627 (package-list-packages-no-fetch): Call list-packages.
21628
3e214b50
JB
216292011-04-06 Juanma Barranquero <lekktu@gmail.com>
21630
21631 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 21632 (after-find-file): Don't bind it.
3e214b50
JB
21633 (revert-buffer-in-progress-p): New variable.
21634 (revert-buffer): Bind it.
21635 Pass nil for `after-find-file-from-revert-buffer'.
21636
21637 * saveplace.el (save-place-find-file-hook): Use new variable
21638 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
21639
3f0f1700
GM
216402011-04-06 Glenn Morris <rgm@gnu.org>
21641
c0274801
GM
21642 * Makefile.in (AUTOGEN_VCS): New variable.
21643 (autoloads): Use $AUTOGEN_VCS.
21644
3f0f1700
GM
21645 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
21646 * calendar/calendar.el (calendar-mode-map):
21647 Check for toolkit scroll bars. (Bug#8305)
21648
41ea9e48
CY
216492011-04-05 Chong Yidong <cyd@stupidchicken.com>
21650
21651 * minibuffer.el (completion-in-region--postch)
21652 (completion-in-region-mode): Remove unnecessary messages.
21653
6194c800
JB
216542011-04-05 Juanma Barranquero <lekktu@gmail.com>
21655
33256f14
JB
21656 * font-lock.el (font-lock-refresh-defaults):
21657 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
21658 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
21659
6194c800
JB
21660 * info.el (Info-directory-list, Info-read-node-name-2)
21661 (Info-split-parameter-string): Doc fixes.
21662 (Info-virtual-nodes): Reflow docstring.
21663 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
21664 (Info-apropos-toc-nodes, info-finder, Info-get-token)
21665 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
21666 Fix typos in docstrings.
21667 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
21668 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
21669 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
21670 (Info-restore-desktop-buffer): Mark unused parameters.
21671 (Info-directory-find-file, Info-directory-find-node)
21672 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
21673 (Info-virtual-index-find-node, Info-apropos-find-file)
21674 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 21675 Mark unused parameters; fix typos in docstrings.
6194c800
JB
21676 (Info-virtual-index): Remove unused local variable `nodename'.
21677
b87a8200 216782011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 21679
b87a8200
DD
21680 * net/rcirc.el: Update my e-mail address.
21681 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 21682
3b2ff876
CY
216832011-04-05 Chong Yidong <cyd@stupidchicken.com>
21684
21685 * startup.el (command-line): Save the cursor's theme-face
21686 directly, instead of using face-override-spec.
21687
21688 * custom.el (load-theme): Minor optimization in assigning faces.
21689
8d17e7ca
JB
216902011-04-04 Juanma Barranquero <lekktu@gmail.com>
21691
21692 * help-fns.el (describe-variable): Complete all variables having
21693 documentation, including keywords.
21694 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
21695
2fbc1934
JB
216962011-04-04 Juanma Barranquero <lekktu@gmail.com>
21697
21698 Convert to lexical-binding.
21699
21700 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
21701 (bs--get-marked-string, bs--get-modified-string)
21702 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
21703 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
21704 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
21705
21706 * ehelp.el (electric-help-execute-extended)
21707 (electric-help-ctrl-x-prefix):
21708 * hexl.el (hexl-revert-buffer-function):
21709 * linum.el (linum-after-change, linum-after-scroll):
21710 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
21711
21712 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
21713
74f50695
DU
217142011-04-04 Daiki Ueno <ueno@unixuser.org>
21715
21716 * epa-dired.el:
21717 * epa-mail.el:
21718 * epa-hook.el:
21719 * epa-file.el:
21720 * epa.el:
21721 * epg.el: Use lexical binding.
21722
c11325f7
CY
217232011-04-03 Chong Yidong <cyd@stupidchicken.com>
21724
0d9e9a12
CY
21725 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
21726
c11325f7 21727 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
21728 dictionary case for flyspell-mark-duplications-exceptions.
21729 Use regexp matching for languages.
c11325f7
CY
21730 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
21731 default dictionary (Bug#7926).
21732
da91b5f2
CY
217332011-04-02 Chong Yidong <cyd@stupidchicken.com>
21734
099c39a4
JB
21735 * emacs-lisp/package.el (package--with-work-buffer):
21736 Recognize https URLs.
da91b5f2 21737
099c39a4
JB
21738 * net/network-stream.el: Move from gnus/proto-stream.el.
21739 Change prefix to network-stream throughout.
da91b5f2
CY
21740 (open-protocol-stream): Merge into open-network-stream, leaving
21741 open-protocol-stream as an alias. Handle nil BUFFER args.
21742
21743 * subr.el (open-network-stream): Move to net/network-stream.el.
21744
afa8e9f6
GM
217452011-04-02 Glenn Morris <rgm@gnu.org>
21746
1d2e369d
GM
21747 * find-dired.el (find-exec-terminator): New option.
21748 (find-ls-option): Test for -ls support.
21749 (find-ls-subdir-switches): Test for -b in find-ls-option.
21750 (find-dired, find-grep-dired): Doc fixes.
21751 (find-dired): Use find-exec-terminator.
21752
8abb7da8 21753 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
21754 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
21755 (find-name-arg): Remove purecopy.
8abb7da8 21756
f3ca7378
GM
21757 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
21758 (grep-compute-defaults): Check for `-exec COMMAND +' support.
21759 Set grep-find-use-xargs, grep-find-command, and grep-find-template
21760 accordingly. Don't add the null-device if not needed.
21761
afa8e9f6
GM
21762 * files.el (save-some-buffers): Doc fix.
21763
35eae264
EZ
217642011-04-02 Eli Zaretskii <eliz@gnu.org>
21765
21766 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
21767
26b51db5
JB
217682011-04-01 Juanma Barranquero <lekktu@gmail.com>
21769
21770 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
21771 Use `dolist' rather than `mapcar'.
21772
7200d79c
SM
217732011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
21774
03408648 21775 Add lexical binding.
7200d79c 21776
03408648
SM
21777 * subr.el (apply-partially): Use new closures rather than CL.
21778 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
21779 (dolist, dotimes): Use slightly different expansion for lexical code.
21780 (functionp): Move to C.
21781 (letrec): New macro.
21782 (with-wrapper-hook): Use it and apply-partially instead of CL.
21783 (eval-after-load): Preserve lexical-binding.
21784 (save-window-excursion, with-output-to-temp-buffer): Turn them
21785 into macros.
7200d79c 21786
03408648
SM
21787 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
21788
21789 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
21790 than the arglist.
21791 (help-add-fundoc-usage): Don't add `Not documented'.
21792 (help-function-arglist): Handle closures, subroutines, and new
21793 byte-code-functions.
21794 (help-make-usage): Remove leading underscores.
21795 (describe-function-1): Handle closures.
21796 (describe-variable): Use special-variable-p for completion.
21797
21798 * files.el (lexical-binding): Declare safe.
f488fb65 21799
03408648
SM
21800 * emacs-lisp/pcase.el: Don't use destructuring-bind.
21801 (pcase--memoize): Rename from pcase-memoize. Change weakness.
21802 (pcase): Add `let' pattern.
21803 Change memoization so it actually works.
21804 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
21805 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
21806 <let>: New case.
f488fb65 21807
03408648
SM
21808 * emacs-lisp/macroexp.el: Use lexical binding.
21809 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
21810 Don't convert ' to #' without checking that it's indeed quoting
21811 a lambda.
21812
21813 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 21814 Use eval-sexp-add-defvars.
03408648
SM
21815 (eval-sexp-add-defvars): New fun.
21816
21817 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
21818
21819 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
21820 Don't autoload.
21821 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
21822 than the internal `byte-compile-lambda'.
21823 (defmethod): Don't hide code under quotes.
21824 (eieio-defmethod): New `code' argument.
21825
21826 * emacs-lisp/eieio-comp.el: Remove.
21827
21828 * emacs-lisp/edebug.el (edebug-eval-defun)
21829 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
21830 (edebug-toggle): Avoid `eval'.
21831
21832 * emacs-lisp/disass.el (disassemble-internal): Handle new
21833 `closure' objects.
21834 (disassemble-1): Handle new byte codes.
21835
21836 * emacs-lisp/cl.el (pushnew): Silence warning.
21837
21838 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
21839 (cl-byte-compile-throw): Remove.
21840 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
21841
21842 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
21843 closures.
21844
21845 * emacs-lisp/cconv.el: New file.
21846
21847 * emacs-lisp/bytecomp.el: Use lexical binding instead of
21848 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
21849 (byte-compile-initial-macro-environment):
21850 Handle declare-function here.
21851 (byte-compile--lexical-environment): New var.
21852 (byte-stack-ref, byte-stack-set, byte-discardN)
21853 (byte-discardN-preserve-tos): New lap codes.
21854 (byte-interactive-p): Don't use any more.
21855 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
21856 New macros.
21857 (byte-compile-lapcode): Use them and handle new lap codes.
21858 (byte-compile-obsolete): Remove.
21859 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
21860 (byte-compile-arglist-warn): Check late def of inlinable funs.
21861 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
21862 since they should have been expanded by now.
21863 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
21864 (byte-compile-from-buffer): Remove unused second arg.
21865 (byte-compile-preprocess): New function.
21866 (byte-compile-toplevel-file-form): New function to distinguish
21867 file-form calls from outside from file-form calls from hunk-handlers.
21868 (byte-compile-file-form): Simplify.
21869 (byte-compile-file-form-defsubst): Remove.
21870 (byte-compile-file-form-defmumble): Simplify now that
21871 byte-compile-lambda always returns a byte-code-function.
21872 (byte-compile): Preprocess.
21873 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
21874 Remove, not used any more.
21875 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
21876 (byte-compile-make-args-desc): New funs.
21877 (byte-compile-lambda): Handle lexical functions. Always return
21878 a byte-code-function.
21879 (byte-compile-reserved-constants): New var, to make up room for
21880 closed-over variables.
21881 (byte-compile-constants-vector): Obey it.
21882 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
21883 (byte-compile-macroexpand-declare-function): New function.
21884 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
21885 byte-code-functions.
21886 (byte-compile-form): Check obsolescence here.
21887 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
21888 (byte-compile-variable-ref): Remove.
21889 (byte-compile-dynamic-variable-op): New fun.
21890 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21891 (byte-compile-variable-set): New funs.
21892 (byte-compile-discard): Add 2 args.
21893 (byte-compile-stack-ref, byte-compile-stack-set)
21894 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
21895 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
21896 macroexpand-all instead.
21897 (byte-compile-quote-form): Remove.
21898 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
21899 (byte-compile-bind, byte-compile-unbind): New funs.
21900 (byte-compile-let): Handle let* and lexical binding.
21901 (byte-compile-let*): Remove.
21902 (byte-compile-catch, byte-compile-unwind-protect)
21903 (byte-compile-track-mouse, byte-compile-condition-case):
21904 Handle a new :fun-body form, used for lexical scoping.
21905 (byte-compile-save-window-excursion)
21906 (byte-compile-with-output-to-temp-buffer): Remove.
21907 (byte-compile-defun): Simplify.
21908 (byte-compile-stack-adjustment): New fun.
21909 (byte-compile-out): Use it.
21910 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
21911
21912 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
21913 handler any more.
21914
21915 * emacs-lisp/byte-opt.el: Use lexical binding.
21916 (byte-inline-lapcode): Remove (to bytecomp).
21917 (byte-compile-inline-expand): Pay attention to inlining to/from
21918 lexically bound code.
21919 (byte-compile-unfold-lambda): Don't handle byte-code-functions
21920 any more.
21921 (byte-optimize-form-code-walker): Don't handle save-window-excursion
21922 any more and don't call compiler-macros.
21923 (byte-compile-splice-in-already-compiled-code): Remove.
21924 (byte-code): Don't inline any more.
21925 (disassemble-offset): Receive `bytes' as argument rather than via
21926 dynamic scoping.
21927 (byte-compile-tag-number): Declare before first use.
21928 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
21929 `return' even if make-spliceable.
21930 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
21931 obsolete interactive-p.
21932 (byte-optimize-lapcode): Optimize new lap-codes.
21933 Don't trip up on new form of `byte-constant' lap code.
21934
21935 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
21936
21937 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
21938
21939 * custom.el (custom-initialize-default, custom-declare-variable):
21940 Use `defvar'.
21941
21942 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
21943 New variables.
21944 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
21945 (COMPILE_FIRST): Add macroexp and cconv.
21946 * makefile.w32-in: Mirror changes in Makefile.in.
21947
21948 * vc/cvs-status.el:
21949 * vc/diff-mode.el:
21950 * vc/log-edit.el:
21951 * vc/log-view.el:
21952 * vc/smerge-mode.el:
21953 * textmodes/bibtex-style.el:
090bd7cb 21954 * textmodes/css-mode.el:
03408648
SM
21955 * startup.el:
21956 * uniquify.el:
da91b5f2
CY
21957 * minibuffer.el:
21958 * newcomment.el:
21959 * reveal.el:
21960 * server.el:
21961 * mpc.el:
21962 * emacs-lisp/smie.el:
21963 * doc-view.el:
21964 * dired.el:
03408648
SM
21965 * abbrev.el: Use lexical binding.
21966
0f0c1f27
EZ
219672011-04-01 Eli Zaretskii <eliz@gnu.org>
21968
21969 * info.el (info-display-manual): New function.
21970
c82b2579
SM
219712011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
21972
21973 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
21974
221ddf68
TH
219752011-03-31 Tassilo Horn <tassilo@member.fsf.org>
21976
21977 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 21978 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 21979
cba6e77e
GM
219802011-03-31 Glenn Morris <rgm@gnu.org>
21981
e040639f
GM
21982 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
21983
cba6e77e
GM
21984 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
21985
6d0f1c9e
CS
219862011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
21987
21988 * progmodes/python.el (python-default-interpreter)
21989 (python-python-command-args, python-jython-command-args)
21990 (python-which-shell, python-which-args, python-which-bufname)
21991 (python-file-queue, python-comint-output-filter-function)
21992 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
21993 variables and functions.
21994
3e2d70fd
SM
219952011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
21996
21997 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
21998 (completion-in-region-mode): New minor mode.
21999 (completion-in-region): Use it.
22000 (completion-in-region--data, completion-in-region-mode-map): New vars.
22001 (completion-in-region--postch): New function.
22002 (completion--capf-misbehave-funs, completion--capf-safe-funs):
22003 New vars.
22004 (completion--capf-wrapper): New function.
22005 (completion-at-point): Use it to track well-behavedness of
22006 hook functions.
22007 (completion-help-at-point): New command.
22008
f3e4086c
JM
220092011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
22010
22011 * vc/add-log.el (add-change-log-entry): Don't use whitespace
22012 syntax class to search for whitespace on a single line
22013 (Message-ID: <4D938140.4030905@redhat.com>).
22014
eb7ffc14
LL
220152011-03-30 Leo Liu <sdl.web@gmail.com>
22016
22017 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
22018 New commands.
22019 (edit-abbrevs-map): Bind them here.
22020 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
22021
d806ab68
KM
220222011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
22023
22024 * allout.el (allout-hide-by-annotation, allout-flag-region):
22025 Reduce possibility of overlay leakage by making them volatile.
22026
22027 * allout-widgets.el (allout-widgets-tally): Define as nil so the
22028 hash is not shared between buffers. Mode initialization is
22029 responsible for giving it a useful starting value.
22030 (allout-item-span): Reduce possibility of overlay leakage by
22031 making them volatile.
22032 (allout-widgets-count-buttons-in-region): Add diagnostic function
22033 for tracking down button overlay leaks.
22034
ea622834
LL
220352011-03-29 Leo Liu <sdl.web@gmail.com>
22036
22037 * ido.el (ido-read-internal): Use the default history var
22038 minibuffer-history if no HISTORY is specified.
22039
b62f8267
G
220402011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
22041
03408648
SM
22042 * net/imap.el (imap-shell-open, imap-process-connection-type):
22043 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
22044 Kerberos, SSL, other subprocesses.
22045
947b6566
LL
220462011-03-28 Leo Liu <sdl.web@gmail.com>
22047
22048 * abbrev.el (abbrev-table-empty-p): New function.
22049 (prepare-abbrev-list-buffer): Place empty abbrev tables after
22050 nonempty ones. (Bug#5937)
22051
5ffb62aa
JD
220522011-03-27 Jan Djärv <jan.h.d@swipnet.se>
22053
22054 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
22055
7a097943
LL
220562011-03-27 Leo Liu <sdl.web@gmail.com>
22057
22058 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
22059 for foreground and background colors.
22060 (ansi-color-make-color-map): Adapt.
22061
c5b40130
LL
220622011-03-25 Leo Liu <sdl.web@gmail.com>
22063
1f48f7d2
LL
22064 * midnight.el (midnight-time-float): Remove. Note it calculates
22065 the microsecond component incorrectly and seconds-to-time does the
22066 same job.
625897ec 22067 Remove redundant (require 'timer).
1f48f7d2 22068
c5b40130
LL
22069 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
22070 (ido-completions): Remove unused arguments. (Bug#8329)
22071
d86d2721
SM
220722011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
22073
22074 * minibuffer.el (completion--flush-all-sorted-completions):
22075 Remove itself from hook.
22076 (completion-at-point): Let the functions perform the completion
22077 immediately and return nil or t.
22078 * comint.el (comint-dynamic-complete-functions): Now identical to
22079 completion-at-point-functions.
22080 (comint-dynamic-list-input-ring): Remove unused var `index'.
22081 (comint--match-partial-filename, comint--unquote&expand-filename):
22082 New funs, split from comint-match-partial-filename.
22083 (comint-dynamic-complete): Use completion-at-point.
22084 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
22085
e8974c48
DA
220862011-03-24 Drew Adams <drew.adams@oracle.com>
22087
22088 * thingatpt.el: Support `defun'.
22089
def71b5e
LL
220902011-03-23 Leo Liu <sdl.web@gmail.com>
22091
cb5af48e
LL
22092 * abbrevlist.el: Move to obsolete/abbrevlist.el.
22093
def71b5e
LL
22094 * help-mode.el (help-mode-finish): Tweak regexp.
22095
927c53e7
GM
220962011-03-23 Glenn Morris <rgm@gnu.org>
22097
18d05bed
GM
22098 * eshell/esh-opt.el (eshell-eval-using-options):
22099 Do not bind unused local variable `eshell-option-stub'.
22100
927c53e7
GM
22101 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
22102
9d0da923
JB
221032011-03-22 Juanma Barranquero <lekktu@gmail.com>
22104
22105 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
22106 keymap variable in `with-no-warnings' to avoid a warning when the
22107 keymap has been already `defconst'ed.
22108
4b978a67
LL
221092011-03-22 Leo Liu <sdl.web@gmail.com>
22110
22111 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
22112 encode all chars in abbrevs; otherwise use emacs-mule or
22113 utf-8-emacs. (Bug#8308)
22114
5fd62452
JB
221152011-03-22 Juanma Barranquero <lekktu@gmail.com>
22116
0b1596c6
JB
22117 * simple.el (backward-delete-char-untabify):
22118 Avoid warning about using `delete-backward-char'.
22119
5fd62452
JB
22120 * image.el (image-type-file-name-regexps): Make it variable.
22121 `imagemagick-register-types' modifies it, and the user may want
22122 to add new extensions for known image types.
22123 (imagemagick-register-types): Throw error if not using ImageMagick.
22124
0b4e93f1
LL
221252011-03-22 Leo Liu <sdl.web@gmail.com>
22126
22127 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
22128 located before rcirc-prompt-end-marker.
22129 (rcirc-complete): Error if point is not after rcirc prompt.
22130 Handle the case when table is nil.
9882e214 22131 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 22132
fccee4ab
CY
221332011-03-22 Chong Yidong <cyd@stupidchicken.com>
22134
22135 * custom.el (custom--inhibit-theme-enable): Make it affect only
22136 custom-theme-set-variables and custom-theme-set-faces.
22137 (provide-theme): Ignore custom--inhibit-theme-enable.
22138 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
22139 (custom-enabling-themes): Delete variable.
d86d2721
SM
22140 (enable-theme): Accept only loaded themes as arguments.
22141 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
22142 (custom-enabled-themes): Forbid themes from setting this.
22143 Eliminate use of custom-enabling-themes.
22144 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 22145
af896da6
LL
221462011-03-21 Leo Liu <sdl.web@gmail.com>
22147
22148 * ido.el (ido-read-internal): Add ido-selected to history instead
22149 of user input.
22150
78f64af0
SM
221512011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
22152
22153 * subr.el (deferred-action-list, deferred-action-function):
22154 Mark obsolete.
22155
b16ac1ec
LL
221562011-03-21 Leo Liu <sdl.web@gmail.com>
22157
810f7698
LL
22158 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
22159 change on 2011-02-13 (bug#8309).
22160
b16ac1ec
LL
22161 * minibuffer.el (read-file-name-function): Change default value.
22162 (read-file-name--defaults): Rename from read-file-name-defaults.
22163 (read-file-name-default): Rename from read-file-name.
22164 (read-file-name): Call read-file-name-function.
22165
4e05e67e
GM
221662011-03-21 Glenn Morris <rgm@gnu.org>
22167
22168 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
22169 Doc fixes.
22170
4359915b
CY
221712011-03-21 Chong Yidong <cyd@stupidchicken.com>
22172
22173 * cus-theme.el: Add missing provide statement.
22174 (customize-create-theme): Extract theme value correctly.
22175 (custom-theme-visit-theme): Autoload.
22176 (customize-create-theme): Prompt before inserting default faces.
22177
1fe275ee
JB
221782011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
22179
22180 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
22181 units and musical notes.
22182
cd394be1 221832011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
22184
22185 * ido.el (ido-read-internal): Use completing-read-default.
22186 (ido-completing-read): Fix compatibility with completing-read.
22187
7d476bde
CO
221882011-03-20 Christian Ohler <ohler@gnu.org>
22189
22190 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
22191 (ert-delete-all-tests): Use `called-interactively-p' rather than
22192 `interactive-p'.
22193 (ert--make-xrefs-region): Respect END.
22194
fe0fb33e
CY
221952011-03-19 Chong Yidong <cyd@stupidchicken.com>
22196
ff854b0b
CY
22197 * dired-aux.el (dired-create-directory): Signal an error if the
22198 directory already exists (Bug#8246).
22199
fe0fb33e
CY
22200 * facemenu.el (list-colors-display): Call list-faces-display
22201 inside with-help-window.
22202 (list-colors-print): Use display property to align the final
22203 column, instead of checking window-width.
22204
576bce32
EZ
222052011-03-19 Eli Zaretskii <eliz@gnu.org>
22206
4d61f28d 22207 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
22208 windows-nt systems.
22209 (emerge-protect-metachars): Quote correctly for ms-dos and
22210 windows-nt systems.
22211
89c41d68 222122011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
22213
22214 * info.el (info-initialize): Replace all uses of `:' with
22215 path-separator for compatibility with non-Unix systems.
22216 Cache quoting of path-separator. (Bug#8258)
22217
b14e3e21 222182011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
22219
22220 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
22221 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
22222 (mouse-avoidance-mode): Fix typos in docstrings.
22223
4525ce3e
CY
222242011-03-19 Chong Yidong <cyd@stupidchicken.com>
22225
22226 * startup.el (package-subdirectory-regexp): Move from package.el.
22227 Omit \\` and \\', and let callers add them.
22228
22229 * emacs-lisp/package.el (package-strip-version)
22230 (package-load-all-descriptors): Add \\` and \\' to
22231 package-subdirectory-regexp before using it.
22232 (package-untar-buffer): New arg DIR; ensure that file untars only
22233 into this expected directory. Remove superfluous delete-region.
22234 (package-unpack): Caller changed.
22235 (package-tar-file-info): Use package-subdirectory-regexp.
22236
a904a09a 222372011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 22238
a904a09a
SM
22239 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
22240 diff-mode-shared-map (bug#8284).
22241 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
22242
222432011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22244
22245 * calendar/time-date.el (format-seconds): Use assoc instead of
22246 assoc-string, since assoc-string doesn't exist in XEmacs.
22247
171fc304
JB
222482011-03-17 Juanma Barranquero <lekktu@gmail.com>
22249
22250 * custom.el (custom-known-themes): Reflow docstring.
22251 (custom-theme-load-path): Fix typo in docstring.
22252 (load-theme): Fix typo in error message.
22253 (custom-available-themes, custom-variable-theme-value):
22254 Use `let', not `let*'.
22255
d71990a1
JB
222562011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
22257
22258 * calc/README: Mention inclusion of musical notes.
22259
22260 * calc/calc-units.el (calc-lu-quant): Rename from
22261 `calc-logunits-quantity'.
22262 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
22263 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
22264 (calc-db): Rename from `calc-dblevel'.
22265 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
22266 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
22267 (calc-np): Rename from `calc-nplevel'.
22268 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
22269 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
22270 (calc-lu-plus): Rename from `calc-logunits-add'.
22271 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
22272 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
22273 (calc-lu-minus): Rename from `calc-logunits-sub'.
22274 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
22275 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
22276 (calc-lu-times): Rename from `calc-logunits-mul'.
22277 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
22278 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
22279 (calc-lu-divide): Rename from `calc-logunits-div'.
22280 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
22281 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
22282
22283 * calc/calc-ext.el (calc-init-extensions): Update the names of the
22284 functions being autoloaded.
22285
22286 * calc/calc.el (calc-lu-power-reference): Rename from
22287 `calc-logunits-power-reference'.
22288 (calc-lu-field-reference): Rename from
22289 `calc-logunits-field-reference'.
22290
7a71b18d
GM
22291 * calc/calc-help.el (calc-l-prefix-help):
22292 Mention musical note functions.
d71990a1 22293
40c2934b
SM
222942011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
22295
22296 * minibuffer.el (completion-all-sorted-completions):
22297 Use :completion-cycle-penalty text property if present.
22298
b0911414
KM
222992011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
22300
22301 * allout.el (allout-yank-processing): Adjust for new rebulleting
22302 regime so bullet being yanked is used without prompting the user
22303 for a choice.
22304
8a05b668
JB
223052011-03-16 Juanma Barranquero <lekktu@gmail.com>
22306
22307 * startup.el (command-line): Warn the user that _emacs is deprecated.
22308
5ba5fb81
JB
223092011-03-16 Juanma Barranquero <lekktu@gmail.com>
22310
22311 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
22312 (delphi-verbose, delphi-comment-face, delphi-string-face)
22313 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
22314 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
22315 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
22316 (delphi-new-comment-line, delphi-font-lock-defaults)
22317 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
22318 Fix typos in docstrings.
22319
2dab465b
KM
223202011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
22321
5ba5fb81 22322 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
22323 Invert the roles of character and string values for INSTEAD, so a
22324 string is used for the more common case of a defaulting prompt.
22325
0adf5618
SM
223262011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22327
22328 * progmodes/ruby-mode.el (ruby-backward-sexp):
22329 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
22330 * play/gamegrid.el (gamegrid-make-face):
22331 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
22332 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
22333 * notifications.el (notifications-notify):
22334 * net/xesam.el (xesam-search-engines):
22335 * net/quickurl.el (quickurl-list-insert):
22336 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
22337
d72700e5
CY
223382011-03-15 Chong Yidong <cyd@stupidchicken.com>
22339
22340 * startup.el (command-line): Update package subdirectory regexp.
22341
49c5410a
SM
223422011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22343
c6eee9aa
SM
22344 * allout.el (allout-abbreviate-flattened-numbering)
22345 (allout-mode-deactivate-hook): Fix up obsolescence "date".
22346
49c5410a
SM
22347 * subr.el (read-char-choice): Only show the cursor after the prompt,
22348 not after the answer.
22349
047b2bb9
KR
223502011-03-15 Kevin Ryde <user42@zip.com.au>
22351
22352 * help-fns.el (variable-at-point): Skip leading quotes, if any
22353 (bug#8253).
22354
0a57d256
SM
223552011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22356
22357 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
22358 warning message.
22359
77c992bc
MA
223602011-03-14 Michael Albinus <michael.albinus@gmx.de>
22361
22362 * shell.el (shell): When called interactively, offer to change the
22363 shell file name on remote hosts.
22364
eebc475d
TZ
223652011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
22366
22367 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
22368 integration for LDAP parameters. The host, base, user or binddn,
22369 and secret tokens can be specified in a netrc file, for instance.
22370 This is optional because an `auth-source' parameter must be
22371 specified in the search attributes.
22372
9d05d1ba
JB
223732011-03-13 Juanma Barranquero <lekktu@gmail.com>
22374
22375 * help.el (describe-mode): Link to the mode's definition (bug#8185).
22376
09d9db2c
GM
223772011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22378
22379 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
22380 into declaration. Remove redundant and harmful binding.
22381
223822011-03-12 Eli Zaretskii <eliz@gnu.org>
22383
22384 * files.el (file-ownership-preserved-p): Pass `integer' as an
22385 explicit 2nd argument to `file-attributes'. If the file's owner
22386 is the Administrators group on Windows, and the current user is
22387 Administrator, consider that a match.
22388
22389 * server.el (server-ensure-safe-dir): Consider server directory
22390 safe on MS-Windows if its owner is the Administrators group while
22391 the current Emacs user is Administrator. Use `=' to compare
22392 numerical UIDs, since they could be integers or floats.
22393
219bd536
JB
223942011-03-12 Juanma Barranquero <lekktu@gmail.com>
22395
22396 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
22397
f3afd36b
MA
223982011-03-12 Michael Albinus <michael.albinus@gmx.de>
22399
22400 Sync with Tramp 2.2.1.
22401
22402 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
22403
22404 * net/trampver.el: Update release number.
22405
3aaaa6f1
SM
224062011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22407
94642599
SM
22408 * progmodes/compile.el (compilation--previous-directory): Fix up
22409 various nil/dead-marker mismatches (bug#8014).
22410 (compilation-directory-properties, compilation-error-properties):
22411 Don't call it at a position past the one we're about to change.
22412
3aaaa6f1
SM
22413 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
22414 Disable obsolescence warnings in the file that declares it.
22415
14239447
KM
224162011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
22417
099c39a4
JB
22418 * allout-widgets.el (allout-widgets-tally):
22419 Initialize allout-widgets-tally as a hash table rather than nil to
22420 prevent mode-line redisplay warnings. Also, clarify the module
22421 description and fix a comment typo.
14239447 22422
135e287c
JB
224232011-03-11 Juanma Barranquero <lekktu@gmail.com>
22424
22425 * help-fns.el (describe-variable): Don't complete keywords.
22426 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
22427
ffbf300e
CY
224282011-03-10 Chong Yidong <cyd@stupidchicken.com>
22429
ba08b241
CY
22430 * emacs-lisp/package.el (package-version-join): Impose a standard
22431 string representation for pre/alpha/beta version lists.
22432 (package-unpack-single): Standardize the directory name by passing
22433 it through package-version-join.
22434 (package-strip-rcs-id): Accept any version string that does not
22435 signal an error in version-to-list.
ffbf300e 22436
f346fd6b
MA
224372011-03-10 Michael Albinus <michael.albinus@gmx.de>
22438
22439 * simple.el (delete-trailing-whitespace): Return nil for the
22440 benefit of `write-file-functions'.
22441
ccb55d27
GM
224422011-03-10 Glenn Morris <rgm@gnu.org>
22443
5ceaac0c
GM
22444 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
22445
02da65ff
GM
22446 * vc/vc-git.el (vc-git-program): New option.
22447 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
22448 (vc-git--call): Use it.
22449
b2f603cc
GM
22450 * eshell/esh-util.el (eshell-condition-case): Doc fix.
22451
5772caab
GM
22452 * cus-edit.el (Custom-newline): If no button at point, look
22453 for a subgroup button at start-of-line. (Bug#2298)
22454
ccb55d27
GM
22455 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
22456
ec6ecaed
JD
224572011-03-10 Julien Danjou <julien@danjou.info>
22458
22459 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
22460 `cursor-type' is nil.
22461
9d5aa01d
JB
224622011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
22463
22464 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
22465
b6a5875b
KM
224662011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
22467
7a71b18d 22468 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
22469 preserves the existing header prefix, rebulleting it if necessary,
22470 rather than replacing it. This is necessary for proper operation
22471 of cooperative addons like allout-widgets.
1154d12e
JB
22472 (allout-make-topic-prefix, allout-rebullet-heading):
22473 Change SOLICIT arg to INSTEAD, and interpret additionally a string
22474 value as alternate bullet to be used, instead of prompting the user
22475 for a bullet character.
b6a5875b 22476
ee545c35
MA
224772011-03-09 Michael Albinus <michael.albinus@gmx.de>
22478
d86d2721
SM
22479 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22480 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
22481 `tramp-default-port'.
22482
c47971d7
DD
224832011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
22484
22485 * net/rcirc.el (rcirc-handler-001): Remove useless
22486 with-rcirc-process-buffer.
22487 (rcirc-check-auth-status): Swap arguments to string-match.
22488
13522cb4
GM
224892011-03-09 Glenn Morris <rgm@gnu.org>
22490
0be6f4f1
GM
22491 * shell.el (shell-mode):
22492 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
22493
13522cb4
GM
22494 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
22495 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
22496
515de2e3
CY
224972011-03-08 Chong Yidong <cyd@stupidchicken.com>
22498
22499 * emacs-lisp/package.el (package-refresh-contents)
22500 (package-menu-execute): Use condition-case-no-debug.
22501
b511b994
MA
225022011-03-08 Michael Albinus <michael.albinus@gmx.de>
22503
22504 * simple.el (shell-command-to-string): Use `process-file'.
22505
22506 * emacs-lisp/package.el (package-tar-file-info): Handle also
22507 remote files.
22508
d86d2721
SM
22509 * emacs-lisp/package-x.el (package-upload-buffer-internal):
22510 Use `equal' for upload base check.
b511b994 22511
25bbfb31
AM
225122011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
22513
22514 * textmodes/texinfo.el (texinfo-environments):
22515 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
22516
be996521
GM
225172011-03-08 Glenn Morris <rgm@gnu.org>
22518
e9c8529f
GM
22519 * cus-start.el (cursor-in-non-selected-windows):
22520 Fix :set quoting oddness. (Bug#8192)
22521
be996521
GM
22522 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
22523 in some setf expressions. (Bug#2159)
22524
2bb5649e
CY
225252011-03-08 Chong Yidong <cyd@stupidchicken.com>
22526
22527 * custom.el (custom-available-themes): Return themes in
22528 alphabetical order.
22529
33383987 22530See ChangeLog.15 for earlier changes.
e3d51b27
MR
22531
22532;; Local Variables:
22533;; coding: utf-8
e3d51b27
MR
22534;; End:
22535
acaf905b 22536 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
22537
22538 This file is part of GNU Emacs.
22539
22540 GNU Emacs is free software: you can redistribute it and/or modify
22541 it under the terms of the GNU General Public License as published by
22542 the Free Software Foundation, either version 3 of the License, or
22543 (at your option) any later version.
22544
22545 GNU Emacs is distributed in the hope that it will be useful,
22546 but WITHOUT ANY WARRANTY; without even the implied warranty of
22547 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22548 GNU General Public License for more details.
22549
22550 You should have received a copy of the GNU General Public License
22551 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.