* frame.h (struct frame): Convert external_tool_bar member to
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
19e09879
GM
12012-11-10 Glenn Morris <rgm@gnu.org>
2
714cebd1
GM
3 * mail/emacsbug.el (report-emacs-bug-tracker-url)
4 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
5 (report-emacs-bug-create-existing-bugs-buffer)
6 (report-emacs-bug-parse-query-results)
7 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
8
bf67dafa
GM
9 * term.el (term-default-fg-color, term-default-bg-color):
10 Make obsolete, rather than just saying "deprecated" in the doc.
11
19e09879
GM
12 * term.el (term): Rename from `term-face'.
13 (term-current-face, ansi-term-color-vector)
14 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
15 Update all users.
16
6baf66d5 172012-11-10 Jan Djärv <jan.h.d@swipnet.se>
531bdce6
JD
18
19 * server.el (server-create-window-system-frame): Handle Nextstep
20 specially (Bug#12780).
21
6baf66d5 222012-11-10 Glenn Morris <rgm@gnu.org>
fedb154e
GM
23
24 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
25 Unautoload, and make obsolete. (Bug#7449)
26
6baf66d5 272012-11-10 Chong Yidong <cyd@gnu.org>
9d9e48d9
CY
28
29 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
30 rename from diff-remove-trailing-whitespace (Bug#12831).
31
6baf66d5 322012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
32170f7f
SM
33
34 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
35 miscompilation of trace.el.
36
6baf66d5 372012-11-10 Glenn Morris <rgm@gnu.org>
26f59676
GM
38
39 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
40
6baf66d5 412012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
41626722
SM
42
43 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
44 (bug#12812).
45
6baf66d5 462012-11-10 Chong Yidong <cyd@gnu.org>
7d806bfe
CY
47
48 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
49 a defcustom with an appropriate :set function.
50 (minibuffer-default--in-prompt-regexps): New function.
51
6baf66d5 522012-11-10 Glenn Morris <rgm@gnu.org>
2ee1d59f 53
031b2ea7
GM
54 * emacs-lisp/cl.el (define-setf-expander, defsetf)
55 (define-modify-macro): Doc fixes.
56
2ee1d59f
GM
57 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
58 (gv-define-simple-setter): Update doc of `fix-return'.
59
6baf66d5 602012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
d57c286e 61
b715ed44
SM
62 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
63 twice when `fix-return' is set (bug#12813).
64
d57c286e
SM
65 * emacs-lisp/cl.el (defsetf): Pass the third arg to
66 gv-define-simple-setter (bug#12812).
67
c9cac599
SM
68 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
69 (bug#12756).
70
6baf66d5 712012-11-10 Glenn Morris <rgm@gnu.org>
6b3770fb
GM
72
73 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
74
5593ed90
GM
75 * emacs-lisp/cl-extra.el (cl-prettyexpand):
76 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
77 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
78 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
79
80 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
81
05a859c1
LL
822012-11-10 Leo Liu <sdl.web@gmail.com>
83
84 * ido.el (ido-set-matches-1): Improve flex matching performance by
85 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
86
32e5c58c
SM
872012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
88
89 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
90 (ad--defalias-fset): New function.
91 (ad-safe-fset): Remove.
92 (ad-make-freeze-definition): Use cl-letf*.
93
f5925cd9
SM
942012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
95
da03ef8a
SM
96 * subr.el (dolist): Don't bind VAR in RESULT.
97
6858633a
SM
98 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
99 (fset, documentation): Don't save real def since we don't advise.
100 (ad-do-advised-functions): Remove problematic `result-form'.
101 (ad-safe-fset): `ad-real-fset' => `fset'.
102 (ad-read-advised-function): Don't assume that ad-do-advised-functions
103 uses CL's dolist internally.
104 (ad-arglist): Remove unused arg `name'.
105 (ad-docstring, ad-make-advised-docstring):
106 `ad-real-documentation' => `documentation'.
107 (warning-suppress-types): Declare.
108 (ad-set-arguments): Simple CSE.
109 (ad-recover-normality): Sanity check.
110
f5925cd9
SM
111 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
112 (funcall '(lambda ..) ..) into ((lambda ..) ..).
113
93a66b3a
VB
1142012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
115
116 * ses.el: symbol to coordinate mapping is made by symbol property
f5925cd9
SM
117 `ses-cell'. This means that the same mapping is done for all SES
118 sheets. That is good enough for cells with standard A1 names, but
119 not for named cell. So a hash map is added for the latter.
120 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
93a66b3a
VB
121 (ses-sym-rowcol): Use hashmap for named cell.
122 (ses-is-cell-sym-p): New defun.
123 (ses-decode-cell-symbol): New defun.
f5925cd9
SM
124 (ses-create-cell-variable): Add cell to hashmap when name is not
125 A1-like.
93a66b3a
VB
126 (ses-rename-cell): Check that cell new name is not already in
127 spreadsheet with the use of ses-is-cell-sym-p
128 (ses-rename-cell): Use hash map for named cells, but accept also
129 renaming back to A1-like.
130
67dd8ad1
SM
1312012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
132
57618ecf
SM
133 * emacs-lisp/advice.el: Use new dynamic docstrings.
134 (ad-make-advised-definition-docstring, ad-advised-definition-p):
135 Use dynamic-docstring-function instead of ad-advice-info.
136 (ad--make-advised-docstring): New function extracted from
137 ad-make-advised-docstring.
138 (ad-make-advised-docstring): Use it.
139 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
140 from sql-help.
141 (sql-help): Use it with dynamic-docstring-function.
142
67dd8ad1
SM
143 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
144
be883b34
SM
1452012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
146
d41706aa
SM
147 * files.el (hack-one-local-variable--obsolete): New function.
148 (hack-one-local-variable): Use it for obsolete settings.
149
85e55412
SM
150 * subr.el (locate-user-emacs-file): If both old and new name exist, use
151 the new name.
152
be883b34
SM
153 * progmodes/js.el (js--filling-paragraph): New var.
154 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
155 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
156 less sneaky.
157
cabc040a
JD
1582012-11-08 Julien Danjou <julien@danjou.info>
159
160 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
161 `auto-mode-alist' (Bug#12835).
162
d14bb752
SM
1632012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
164
79b3e376
SM
165 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
166 (perl--prettify-symbols-alist): New const.
167 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
168 New functions.
169 (perl-font-lock-keywords-2): Use them.
170 (perl-electric-noindent-p): New function.
171 (perl-mode): Use it to set up electric-indent-mode.
172 (perl-electric-terminator, perl-indent-command): Mark obsolete.
173 (perl-mode-map): Remove bindings for them.
174 (perl-imenu-generic-expression, perl-outline-level):
175 Match functions&packages in column>0.
176
3b11e6ac
SM
177 * env.el (env--substitute-vars-regexp): New const.
178 (substitute-env-vars): Use it. Add `only-defined' arg.
179 * net/tramp.el (tramp-replace-environment-variables): Use it.
180
784c1a7b
SM
181 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
182 Byte-compile *before* eval in eval-and-compile.
183 (byte-compile-log-warning): Remove redundant inhibit-read-only.
184 (byte-compile-file-form-autoload): Don't hide actual definition.
185 (byte-compile-maybe-guarded): Accept `functionp' as well.
186
d14bb752
SM
187 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
188
499a0f7a
MA
1892012-11-07 Michael Albinus <michael.albinus@gmx.de>
190
191 * notifications.el (notifications-get-server-information-method):
192 New defconst.
193 (notifications-get-capabilities): Fix docstring.
194 (notifications-get-server-information): New defun.
195
f0704a9a
AM
1962012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
197
198 * textmodes/ispell.el (ispell-region): Standard re-indent for better
199 readability.
200
b159a1fd
AM
201 * textmodes/ispell.el: Experimental support for support debugging.
202 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
203 buffer for ispell.
204 (ispell-print-if-debug): New function to print stuff to
205 `ispell-debug-buffer' if debugging is enabled.
206 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
207 show some debugging info.
208 (ispell-buffer-with-debug): New function that creates a debugging
209 buffer and calls `ispell-buffer' with debugging enabled.
210
056cb3a1
AM
211 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
212 comment in autoconf mode. (Bug#12768)
213
8e6a67b7
DA
2142012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
215
216 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
217 frame-first-window, frame-root-window, frame-selected-window,
218 minibuffer-selected-window, minibuffer-window,
219 window-absolute-pixel-edges, window-at, window-body-height,
220 window-body-width, window-display-table, window-combination-limit,
221 window-frame, window-fringes, window-inside-absolute-pixel-edges,
222 window-inside-edges, window-inside-pixel-edges, window-left-child,
223 window-left-column, window-margins, window-next-buffers,
224 window-next-sibling, window-new-normal, window-new-total,
225 window-normal-size, window-parameter, window-parameters, window-parent,
226 window-pixel-edges, window-point, window-prev-buffers,
227 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
228 window-start, window-text-height, window-top-child, window-top-line,
229 window-total-height, window-total-width and window-use-time to the list
230 of functions without side-effects.
231 (toplevel): Add window-valid-p to the list of error-free functions
232 without side-effects.
233
53fc914f
AM
2342012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
235
f5925cd9
SM
236 * textmodes/ispell.el (ispell-program-name):
237 Update spellchecker parameters when customized.
53fc914f 238
9749e2b0
GM
2392012-11-04 Glenn Morris <rgm@gnu.org>
240
241 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
242
2cbafa56
CY
2432012-11-04 Chong Yidong <cyd@gnu.org>
244
245 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
246 same-window-* variables.
247
85178ca1
JL
2482012-11-04 Juri Linkov <juri@jurta.org>
249
250 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
251 (isearch-describe-key, isearch-describe-mode): Use a display
252 action instead of binding same-window-* variables (Bug#10040).
253
5c677d44
GM
2542012-11-03 Glenn Morris <rgm@gnu.org>
255
49138400
GM
256 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
257 Rename handler properties back from cl-- to cl-. (Bug#12788)
258
5c677d44
GM
259 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
260
1d4341f9
EZ
2612012-11-03 Eli Zaretskii <eliz@gnu.org>
262
263 * term/pc-win.el: Don't load term/internal from here.
264
265 * loadup.el: Load term/internal from here.
266
12fd5ee1
FEG
2672012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
268
269 * progmodes/python.el (inferior-python-mode): Fix hang in
270 jit-lock (Bug#12645).
271
43bcfda6
MR
2722012-11-03 Martin Rudalics <rudalics@gmx.at>
273
274 * window.el (switch-to-visible-buffer)
275 (switch-to-buffer-preserve-window-point): Fix doc-strings.
276
376a8e83
GM
2772012-11-03 Glenn Morris <rgm@gnu.org>
278
279 * emacs-lisp/cl-lib.el (cl--random-time):
280 Rename from cl-random-time. (Bug#12773)
281 (cl--gensym-counter, cl--random-state): Update callers.
282 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
283
0f7b074f
CY
2842012-11-03 Chong Yidong <cyd@gnu.org>
285
286 * cus-start.el: Make cursor-type customizable (Bug#11633).
287
3a6851d9
GM
2882012-11-02 Glenn Morris <rgm@gnu.org>
289
00a3b041
GM
290 * filecache.el: No need to load find-lisp when compiling.
291 (find-lisp-find-files): Autoload it.
292 (file-cache-add-directory-recursively): Don't require find-lisp.
293
11fef14a
GM
294 * image.el (image-type-from-file-name): Trivial simplification.
295
3a6851d9
GM
296 * emacs-lisp/bytecomp.el (byte-compile-eval):
297 Decouple "noruntime" and "cl-functions" warnings.
298
b4b096e4
SB
2992012-11-01 Stephen Berman <stephen.berman@gmx.net>
300
301 * play/gomoku.el (gomoku-display-statistics): Update mode line
302 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
303
218e997a
MR
3042012-10-31 Martin Rudalics <rudalics@gmx.at>
305
306 * window.el (quit-restore-window): If the window has been
307 created on an existing frame and ended up as the sole window on
308 that frame, do not delete it (Bug#12764).
309
b08b6da7
SM
3102012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
311
3618df45
SM
312 * progmodes/sh-script.el (sh--inside-noncommand-expression):
313 Rename from sh--inside-arithmetic-expression, handle more cases
314 (bug#11263).
315
b08b6da7
SM
316 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
317 (sh-font-lock-open-heredoc): Use it (bug#12770).
318
4ddedf94
GM
3192012-10-30 Glenn Morris <rgm@gnu.org>
320
f43a5263
GM
321 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
322
4ddedf94
GM
323 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
324
748b0d84
CY
3252012-10-29 Chong Yidong <cyd@gnu.org>
326
b5dd9a77
CY
327 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
328 function key is stored in a keyboard macro (Bug#4894).
329
748b0d84
CY
330 * thingatpt.el (number-at-point): Apply a thing-at-point property.
331
e07fcbdc
SM
3322012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
333
d7f9cc85
SM
334 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
335 header comments".
336 (diff-unified->context, diff-context->unified)
337 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
338
c606253c
SM
339 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
340
e07fcbdc
SM
341 * files.el (find-alternate-file): Only ask one question (bug#12487).
342
894b9dd9
CY
3432012-10-29 Chong Yidong <cyd@gnu.org>
344
1dc2755a
CY
345 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
346 Suggested by Dan Nicolaescu (Bug#6326).
347
329c48d8
CY
348 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
349
2230fa5b 350 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 351
e84cad57
CY
352 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
353
1913c5f5
CY
354 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
355
894b9dd9
CY
356 * face-remap.el (face-remap-add-relative): Handle the case where a
357 face-remapping-alist entry is a cons cell (Bug#12762).
358
329c48d8
CY
3592012-10-29 Kevin Ryde <user42@zip.com.au>
360
361 * woman.el (woman-parse-numeric-value): Handle picas correctly
362 (Bug#12639).
363
a0ccbcbd
GM
3642012-10-29 Glenn Morris <rgm@gnu.org>
365
366 * emacs-lisp/cl.el (defsetf): Doc fix.
367
b3871e59
SM
3682012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
369
370 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
371 syntax to the matching opener, if any (bug#12547).
372 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
373 matching open as a "case-(".
374 (sh-smie-rc-grammar): Add a corresponding rule for it.
375
cd44022c
DH
3762012-10-28 Daniel Hackney <dan@haxney.org>
377
378 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
379 "PKGNAME-autoloads.el" in case we created it.
380
70edffb1
SM
3812012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
382
86957a0c
SM
383 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
384 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 385 (completion--twq-all): Disable too-strict assertions.
86957a0c 386
70edffb1
SM
387 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
388
d069271c
EZ
3892012-10-27 Eli Zaretskii <eliz@gnu.org>
390
391 * profiler.el (profiler-report-make-entry-part): Fix help-echo
392 text to match the real keybindings.
393
e2f022a3
JL
3942012-10-27 Juri Linkov <juri@jurta.org>
395
396 * wdired.el (wdired-keep-marker-rename): New defcustom.
397 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
398 (Bug#11795)
399
400 * dired.el (dired-keep-marker-rename): Add reference to
401 `wdired-keep-marker-rename' in the docstring.
402 Add default character value ?R to display initially in
403 Customization UI instead of ?@.
404
df171c23
MR
4052012-10-27 Martin Rudalics <rudalics@gmx.at>
406
407 * window.el (display-buffer): In doc-string describe
408 window-height and window-width alist entries.
409
410 * time.el (display-time-world): Restore fit-window-to-buffer
411 behavior.
412
05b621a6
CY
4132012-10-27 Chong Yidong <cyd@gnu.org>
414
415 * subr.el (insert-buffer-substring-as-yank): Doc fix.
416
55f197b2
J
4172012-10-26 Jambunathan K <kjambunathan@gmail.com>
418
419 * minibuffer.el (completion-category-overrides): New completion
420 category `bookmark' (bug#11131).
421
372212df
SM
4222012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
423
150f809c
SM
424 * emacs-lisp/advice.el (ad-assemble-advised-definition):
425 Silence bogus compiler warnings for ad-do-it.
426
372212df
SM
427 * bookmark.el (bookmark-completing-read): Set the completion category
428 to `bookmark' (bug#11131).
429
c5772569
B
4302012-10-26 Bastien <bzg@altern.org>
431 Stefan Monnier <monnier@iro.umontreal.ca>
432
433 * face-remap.el: Use lexical-binding.
434 (text-scale-adjust): Improve docstring. Use itself for the temporary
435 overlay-map bindings, so as to repeat the "Use..." message each time.
436
a2be0357
SM
4372012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
438
63314e57
SM
439 * emacs-lisp/macroexp.el (macroexp--expand-all):
440 Obey byte-compile-warning-enabled-p (bug#12486).
441
a2be0357
SM
442 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
443 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
444
8c7727c3
MR
4452012-10-26 Martin Rudalics <rudalics@gmx.at>
446
447 * mouse.el (mouse-drag-line): Move last form into preceding when
448 clause (Bug#12731).
449
450 * help.el (resize-temp-buffer-window): Fix doc-string.
451
3f2a848d
DE
4522012-10-25 David Engster <deng@randomsample.de>
453
454 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 455 Remove. This feature is already integrated in imenu.
3f2a848d
DE
456
457 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
458 always loaded. Require `speedbar' unconditionally.
459
a7723be6
SM
4602012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
461
aaabfc8b
SM
462 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
463
414a8595
SM
464 * minibuffer.el (minibuffer-force-complete): Fix thinko.
465
fb5b9475
SM
466 * net/ldap.el (ldap-search-internal): The official ldif format starts
467 with a "version: 1" header (bug#12724).
468
a7723be6
SM
469 * emacs-lisp/package.el (package-installed-p): Warn if not ready
470 (bug#12721).
471
a05cb6e3
GM
4722012-10-25 Glenn Morris <rgm@gnu.org>
473
474 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
475
3c92de70
SM
4762012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
477
478 * minibuffer.el (minibuffer-force-complete): Use one more marker
479 for the temporary-overlay-map command (bug#12619).
480
a4b6d7c6
CY
4812012-10-24 Chong Yidong <cyd@gnu.org>
482
483 * time.el (display-time-world-mode): Derive from special-mode.
484 (display-time-world): Use display-buffer (Bug#12708).
485 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
486 (display-time-world-display): Wrap the final delete-char inside
487 inhibit-read-only.
a4b6d7c6 488
75e8f9d2
CY
4892012-10-24 Chong Yidong <cyd@gnu.org>
490
cd996018
CY
491 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
492 Doc fix.
493
75e8f9d2
CY
494 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
495
d92df117
SM
4962012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
497
498 * minibuffer.el (completion--all-sorted-completions-location): New var.
499 (completion--cache-all-sorted-completions)
500 (completion--flush-all-sorted-completions): Use it.
501 (completion-in-region, completion-in-region--postch)
502 (completion-at-point, completion-help-at-point): Use markers in
503 completion-in-region--data (bug#12619).
504
9c3e39f3
SM
5052012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
506
c79825bd
SM
507 * progmodes/compile.el (compilation-start): Try to handle common
508 quoting of `cd' argument (bug#12640).
509
9c3e39f3
SM
510 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
511 (bug#12671).
512
a6709bc7
GM
5132012-10-23 Glenn Morris <rgm@gnu.org>
514
515 * progmodes/gud.el (gud-menu-map):
516 Check gdb-active-process is bound. (Bug#12358)
517
d1069532
SM
5182012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
519
d20d69c0
SM
520 * repeat.el (repeat): Set real-this-command (bug#12232).
521
d1069532
SM
522 * htmlfontify.el (hfy-post-html-hook):
523 * filesets.el (filesets-cache-fill-content-hook):
524 * arc-mode.el (archive-extract-hook):
525 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
526 * net/rcirc.el (rcirc-sentinel-functions)
527 (rcirc-receive-message-functions, rcirc-activity-functions)
528 (rcirc-print-functions):
529 * net/dbus.el (dbus-event-error-functions):
530 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
531 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
532 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
533 * term/sun.el (sun-raw-prefix-hooks):
534 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
535
f7eac6d8
MA
5362012-10-23 Michael Albinus <michael.albinus@gmx.de>
537
d1069532
SM
538 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
539 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
540 (tramp-smb-wait-for-output): Add timeout to
541 `tramp-accept-process-output' calls.
542
608d9d7c
CY
5432012-10-23 Chong Yidong <cyd@gnu.org>
544
49238e7f
CY
545 * faces.el (font-list-limit): Define as an obsolete variable.
546
547 * startup.el (command-line):
548 * cus-start.el: Don't refer to font-list-limit.
549
608d9d7c
CY
550 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
551
4ff5b1b2
SM
5522012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
553
554 * subr.el (internal-temp-output-buffer-show): Rename from
555 temp-output-buffer-show, since previously compiled files expect this name.
556
ea1d4aac
GM
5572012-10-23 Glenn Morris <rgm@gnu.org>
558
559 * image.el (image-type-from-file-name): If multiple types match,
560 return the first one that is supported. (Bug#9045)
561
eda82a31
GM
5622012-10-22 Glenn Morris <rgm@gnu.org>
563
564 * image.el (imagemagick-enabled-types): Doc fix.
565
4f020bec
TA
5662012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
567
568 * progmodes/which-func.el (which-func-current): The hash-table may have
569 an explicit nil (bug#12338).
570
c77d37e2
SM
5712012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
572
573 * electric.el (electric-pair-delete-selection-self-insert-function):
574 Rename to electric-pair-will-use-region, return a boolean.
575 (electric-pair-mode): Adjust accordingly. Don't require delsel.
576
577 * delsel.el (delete-selection-helper): Use a function instead of a hook.
578 (delete-selection-pre-hook): Use use-region-p.
579 (delete-selection-self-insert-function): Remove.
580 (self-insert-command): Obey self-insert-uses-region-functions.
581 (self-insert-iso): Revert to previous setting, since we don't actually
582 know what that command does.
583 (delete-selection-self-insert-hooks): Remove.
584
b1d39ccc
SL
5852012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
586
587 * delsel.el (delete-selection-helper): New function, extracted from
588 delete-selection-pre-hook.
589 (delete-selection-pre-hook): Use it.
590 (delete-selection-self-insert-function): New function.
591 (delete-selection-self-insert-hooks): New hook.
592 (self-insert-command, self-insert-iso): Use it.
593 * electric.el (electric-pair-syntax): New function, extracted from
594 electric-pair-post-self-insert-function.
595 (electric-pair-post-self-insert-function): Use it.
596 (electric-pair-delete-selection-self-insert-function): New function.
597 (electric-pair-mode): Require delsel and setup
598 delete-selection-self-insert-hooks (bug#11520).
599
045ef729
CY
6002012-10-20 Chong Yidong <cyd@gnu.org>
601
4c5d08a8
CY
602 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
603 no changes to show (Bug#12586).
604
045ef729
CY
605 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
606 list explicitly (Bug#12571).
607
3503c798 6082012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 609
b1d39ccc
SL
610 * progmodes/flymake.el (flymake-create-temp-inplace):
611 Use file-truename.
79e1997a 612
2068905b
EZ
6132012-10-20 Eli Zaretskii <eliz@gnu.org>
614
615 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
616
4c9e9550
JB
6172012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
618
619 * calc/calc-units.el (math-extract-units): Properly extract powers
620 of units.
621
1a6e7e38
DC
6222012-10-20 Daniel Colascione <dancol@dancol.org>
623
624 * frame.el (make-frame): Set x-display-name as we used to in order
625 to unbreak creating an X11 frame from an Emacs daemon started
626 without a display.
627
8e808318
SM
6282012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
629
630 * minibuffer.el (minibuffer-force-complete): Make the next completion use
f5925cd9 631 the same completion-field (bug#12221).
8e808318 632
fb0104da
MR
6332012-10-19 Martin Rudalics <rudalics@gmx.at>
634
635 * emacs-lisp/debug.el (debug): Record height of debugger window
636 also when debugger will be back (Bug#8789).
637
8c27235e
CY
6382012-10-18 Chong Yidong <cyd@gnu.org>
639
640 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
641 Convert to defcustom.
642 (gdb-get-source-file): Don't bind pop-up-windows.
643
644 * progmodes/gud.el (gud-display-line): Don't specially re-use
645 other frames for the gdb-mi case (Bug#12648).
646
90eacf99
SM
6472012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
648
aaf0c300
SM
649 * emacs-lisp/advice.el: Clean up commentary a bit.
650 (ad-do-advised-functions, ad-with-originals): Use `declare'.
651 (byte-code-function-p): Never redefine.
652
90eacf99
SM
653 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
654
281c9d2b
GM
6552012-10-18 Glenn Morris <rgm@gnu.org>
656
40714e3d
GM
657 * dired.el (dired-sort-toggle): Some ls implementations only allow
658 a single option string. (Bug#12666)
659
281c9d2b
GM
660 * minibuffer.el (completion-cycle-threshold): Doc fix.
661
b278604e
KH
6622012-10-17 Kenichi Handa <handa@gnu.org>
663
90eacf99
SM
664 * international/mule.el (set-keyboard-coding-system):
665 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
666 Supply TERMINAL arg to set-input-meta-mode.
667
df171c23 6682012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
669
670 * wdired.el (wdired-old-marks): New variable.
671 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
672 (wdired-do-renames): Move point with renamed file and don't lose
673 mark status (Bug#11795).
674
e5a94ec4
JL
6752012-10-16 Juri Linkov <juri@jurta.org>
676
677 * replace.el (query-replace-help): Mention multi-buffer replacement
678 keys in the Help message. (Bug#12655)
679
d18a0d24
CY
6802012-10-15 Chong Yidong <cyd@gnu.org>
681
682 * emacs-lisp/byte-run.el (defsubst): Doc fix.
683
8111f5e6
EZ
6842012-10-14 Eli Zaretskii <eliz@gnu.org>
685
7b9abf24
EZ
686 * window.el (display-buffer): Doc fix.
687
8111f5e6
EZ
688 * progmodes/compile.el (compilation-error-regexp-alist-alist):
689 Adjust the msft regexp to the output of Studio 2010, and move msft
690 before edg-1. See the discussion on emacs-devel,
691 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
692 for the details.
693
5046ef67
SM
6942012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
695
9760c73c
SM
696 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
697 (oset): Move uses of object-class-fast macro after its definition.
698
5046ef67
SM
699 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
700
0d11ff1c
CY
7012012-10-13 Chong Yidong <cyd@gnu.org>
702
703 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
704 enabled, re-enable it (Bug#11963).
705
88ded8ac
MR
7062012-10-13 Martin Rudalics <rudalics@gmx.at>
707
708 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
709 non-nil, restore window configuration (Bug#12623).
710
bd0ffffd
SM
7112012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
712
06485aa8
SM
713 * help-fns.el (describe-variable, describe-function-1):
714 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
715
bd0ffffd
SM
716 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
717
3a989246
GM
7182012-10-12 Glenn Morris <rgm@gnu.org>
719
720 * mail/rmailsum.el (rmail-header-summary):
721 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
722
55cd00c8
FEG
7232012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
724
bd0ffffd
SM
725 * progmodes/python.el (python-mode-map):
726 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
727 (python-nav--up-list): Fix behavior for blocks on the same level.
728
ac9fc2c7
SM
7292012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
730
d8cc4c00 731 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 732
5253a5fd
SM
733 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
734 changes to the format of load-history.
735
ac9fc2c7
SM
736 * international/mule-cmds.el (read-char-by-name): Move let-binding of
737 completion-ignore-case in case that var is buffer-local (bug#12615).
738
cde44a77
KH
7392012-10-11 Kenichi Handa <handa@gnu.org>
740
741 * international/eucjp-ms.el: Re-generated.
742
4ef4a10d
KH
7432012-10-10 Kenichi Handa <handa@gnu.org>
744
745 * select.el (xselect--encode-string): If a coding is specified for
746 selection, and that is compatible with COMPOUND_TEXT, use it.
747
9d7f027b
MR
7482012-10-10 Martin Rudalics <rudalics@gmx.at>
749
750 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
751 (switch-to-buffer):
752 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 753
238f3a58
SM
7542012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
755
756 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
757 Don't document nil as a useful value (bug#12583).
758
1d51f99c
MA
7592012-10-09 Michael Albinus <michael.albinus@gmx.de>
760
238f3a58
SM
761 * net/tramp.el (tramp-debug-message):
762 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
763 (with-tramp-progress-reporter): Rename from
764 `tramp-with-progress-reporter'.
238f3a58
SM
765 (with-tramp-file-property, with-tramp-connection-property):
766 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
767 `with-connection-property', respectively.
768
769 * net/tramp-cache.el: Remove `with-file-property' and
770 `with-connection-property'.
771
772 * net/tramp.el:
773 * net/tramp-gvfs.el:
774 * net/tramp-sh.el:
775 * net/tramp-smb.el: Adapt callees.
776
777 * net/trampver.el: Update release number.
778
26b77251
GM
7792012-10-09 Glenn Morris <rgm@gnu.org>
780
9a5f296f
GM
781 * w32-fns.el (set-message-beep):
782 * term/w32-win.el (set-message-beep): Update declarations.
783
94c66ce5
SM
7842012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
785
10766e9e
SM
786 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
787 (mode-line-widen, mode-line-input-method-map)
788 (mode-line-coding-system-map, mode-line-remote)
789 (mode-line-unbury-buffer, mode-line-bury-buffer)
790 (mode-line-next-buffer, mode-line-previous-buffer):
791 Replace save-selected-window+select-window => with-selected-window.
792
f754db08
SM
793 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
794 * progmodes/cc-vars.el (bq-process): Remove, unused.
795
94c66ce5
SM
796 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
797
a4ff7fe1
FEG
7982012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
799
800 Implemented `backward-up-list'-like navigation.
801 * progmodes/python.el (python-nav-up-list)
802 (python-nav-backward-up-list): New functions.
803 (python-mode-map): Define substitute key for backward-up-list to
804 python-nav-backward-up-list.
805
24517d82
FEG
8062012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
807
808 * progmodes/python.el (python-fill-paragraph): Rename from
809 python-fill-paragraph-function. Fixed fill-paragraph for
810 decorators (Bug#12605).
811
51867ae2
FEG
8122012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
813
814 * progmodes/python.el (python-shell-output-filter): Handle extra
815 carriage return in OSX (Bug#12409).
816
a5b773c4
FEG
8172012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
818
819 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 820 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
821 (python-syntax-propertize-function): Use it.
822 (python-shell-output-syntax-table): New var.
823 (inferior-python-mode): Prevent unbalanced parens/quotes from
824 previous output mess with current input context.
825
13373538
JB
8262012-10-08 Juanma Barranquero <lekktu@gmail.com>
827
828 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
829 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
830
775a132d
MA
8312012-10-08 Michael Albinus <michael.albinus@gmx.de>
832
833 * ffap.el (ffap-replace-file-component): Support Tramp file name
834 syntax, not only ange-ftp's one.
835
3ab44929
GM
8362012-10-08 Glenn Morris <rgm@gnu.org>
837
57f1dee4
GM
838 * cus-start.el (message-log-max): Set :version.
839
3ab44929
GM
840 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
841
6a088630
MR
8422012-10-08 Martin Rudalics <rudalics@gmx.at>
843
844 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
845 the minibuffer window (Bug#10851).
846
8dbce54c
FEG
8472012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
848
849 Enhancements on forward-sexp movement.
850 * progmodes/python.el (python-nav-beginning-of-statement)
851 (python-nav-end-of-statement): Return point-marker.
852 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
853 (python-info-current-symbol)
854 (python-info-statement-starts-block-p): Rename from
855 python-info-beginning-of-block-p.
856 (python-info-statement-ends-block-p): Rename from
857 python-info-end-of-block-p.
858 (python-info-beginning-of-statement-p)
859 (python-info-end-of-statement-p)
860 (python-info-beginning-of-block-p, python-info-end-of-block-p):
861 New functions.
862
5acd2b3e
SM
8632012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
864
865 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
866 frame-selected-windows.
867
e08348a0
DC
8682012-10-08 Daniel Colascione <dancol@dancol.org>
869
870 * battery.el (battery-status-function): Check for
871 w32-battery-status itself, not system-time windows-nt.
872
873 * frame.el: Require cl-lib.
874 (display-format-alist): New variable mapping frame types to
875 functions that initialize them.
876 (window-system-for-display): New function: interprets
877 display-format-alist.
878 (make-frame-on-display): Remove existing display-selection logic
879 and just forward to make-frame, which will now DTRT.
880 (make-frame): Restructure to use window-system-for-display to
881 figure out how to create a frame on a given display.
882 (display-mouse-p): Look for frame-type w32, not a particular
883 system-type.
884
885 * loadup.el: Load w32 lisp code when we have the w32 feature.
886
887 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
888 system-type windows-nt.
889
890 * server.el (server-create-window-system-frame): Look for window
891 type.
892 (server-proces-filter): Only force a window system when windows-nt
893 _and_ w32. Explain why.
894
895 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
896 of window systems we configure for the mode.
897
898 * startup.el (command-line): Mark window system is initialized
899 after we've done it.
900
901 * common-win.el (x-select-text): Look for w32, not windows-nt.
902
903 * ns-win.el: Require cl-lib. Add ourselves to
904 display-format-alist.
905 (ns-initialize-window-system): Assert we're not initialized twice.
906
907 * w32-win.el: Enable lexical binding; require cl-lib; add
908 ourselves to display-format-alist.
909 (w32-handle-dropped-file): Convert incoming dropped files from
910 Windows paths to Cygwin ones before passing them on to the rest of
911 Emacs.
912 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
913 (w32-initialize-window-system): Assert we're not initialized twice.
914
915 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
916 (x-initialize-window-system): Assert we're not initialized twice.
917
918 * w32-common-fns.el: New File.
919 (w32-version, w32-using-nt, w32-get-clipboard-data)
920 (w32-set-clipboard-data, x-set-selection, x-get-selection)
921 (w32-charset-info-alist, x-last-selected, text)
922 (x-get-selection-value, x-selection-value): Move here.
923
924 * w32-fns.el: Require w32-common-fns.
925 (w32-version, w32-using-nt, w32-get-clipboard-data)
926 (w32-set-clipboard-data, x-set-selection, x-get-selection)
927 (w32-charset-info-alist, x-last-selected, text)
928 (x-get-selection-value, x-selection-value): Move to
929 w32-common-fns.
930
931 * w32-vars.el:
932 (w32-allow-system-shell, w32-system-shells): Define only in
933 non-cygwin case.
934
795b1482
SM
9352012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
936
937 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
938 (read-passwd): Remove a few more potential sources of leaks.
939
f27c99dc
FEG
9402012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
941
942 * progmodes/python.el (inferior-python-mode)
795b1482 943 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
944 variables copied from parent buffer.
945
fcacb558
JD
9462012-10-07 Jan Djärv <jan.h.d@swipnet.se>
947
948 * term/ns-win.el (ns-read-file-name): Update declaration to match
949 nsfns.m.
950 (ns-respond-to-change-font): Change fontsize separatly so we are sure
951 it is set when font is acted upon.
952
be0d5bae
FEG
9532012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
954
955 Enhancements to indentation.
956 * progmodes/python.el (python-indent-context): Give priority to
957 inside-string context. Make comments indentation markers.
958 (python-indent-region): Do not mess with strings, unless it's the
959 enclosing set of quotes.
960
13af0d10
SM
9612012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
962
662a9d0e
SM
963 * window.el (internal--before-save-selected-window)
964 (internal--after-save-selected-window): New functions extracted from
965 save-selected-window. Make sure we return the `alist' we construct.
966 (save-selected-window): Use them.
967
968 * textmodes/tex-mode.el (tex-recenter-output-buffer):
969 Use with-selected-window.
970
13af0d10
SM
971 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
972 forms that define macros (bug#12593).
973
6aa75fb6
KH
9742012-10-07 Kenichi Handa <handa@gnu.org>
975
13af0d10
SM
976 * international/mule-conf.el (compound-text-with-extensions):
977 Add :mime-charset property as x-ctext.
6aa75fb6 978
78d876b9
SM
9792012-10-07 Stefan Merten <smerten@oekonux.de>
980
981 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
982 (rst-indent-literal-normal, rst-indent-literal-minimized)
983 (rst-indent-comment): Correct :version tag.
557337e9 984 (rst-official-cvs-rev): Correct version string.
78d876b9 985
99a1e701
GM
9862012-10-07 Glenn Morris <rgm@gnu.org>
987
988 * mail/rmailmm.el (rmail-mime-process-multipart):
989 Do not confuse a multipart message with an epilogue
990 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
991
08f18c3d
FEG
9922012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
993
994 Fix shell output retrieval and comint-prompt-regexp init.
995 * progmodes/python.el (inferior-python-mode):
996 (python-shell-make-comint): Fix initialization of
997 comint-prompt-regexp from copied file local variables.
998 (python-shell-fetched-lines): Remove var.
999 (python-shell-output-filter-in-progress): Rename from
1000 python-shell-fetch-lines-in-progress.
1001 (python-shell-output-filter-buffer): Rename from
1002 python-shell-fetch-lines-string.
1003 (python-shell-fetch-lines-filter): Delete function.
1004 (python-shell-output-filter): New function.
1005 (python-shell-send-string-no-output): Use them.
1006
82ed3ab4
GM
10072012-10-07 Glenn Morris <rgm@gnu.org>
1008
1595ecfa
GM
1009 * hi-lock.el (hi-lock-process-phrase):
1010 Try to make it less fragile. (Bug#7161)
1011
82ed3ab4
GM
1012 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
1013
f1f4dba0
GM
10142012-10-06 Glenn Morris <rgm@gnu.org>
1015
addc11ed 1016 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
1017 non-existent mode `help'.
1018 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 1019
460042b8
GM
1020 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
1021 (reftex-create-bibtex-footer): Fix custom types.
1022
67667c70
GM
1023 * progmodes/sh-script.el (sh-indent-after-continuation):
1024 Add explicit :group.
1025
18dec750
GM
1026 * textmodes/rst.el (rst-preferred-decorations)
1027 (rst-shift-basic-offset): Clarify obsolescence versions.
1028
d1a1c7e6
GM
1029 * profiler.el (profiler): Add missing group :version tag.
1030 * avoid.el (mouse-avoidance-banish-position):
1031 * proced.el (proced-renice-command):
1032 * calc/calc.el (calc-ensure-consistent-units):
1033 * calendar/icalendar.el (icalendar-import-format-uid):
1034 * net/tramp.el (tramp-save-ad-hoc-proxies):
1035 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1036 * progmodes/flymake.el (flymake-error-bitmap)
1037 (flymake-warning-bitmap, flymake-fringe-indicator-position):
1038 * progmodes/sh-script.el (sh-indent-after-continuation):
1039 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
1040 (verilog-before-save-font-hook, verilog-after-save-font-hook):
1041 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
1042 (vhdl-array-index-record-field-in-sensitivity-list)
1043 (vhdl-indent-comment-like-next-code-line):
1044 * textmodes/reftex-vars.el (reftex-ref-style-alist)
1045 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
1046 (reftex-cite-key-separator, reftex-create-bibtex-header)
1047 (reftex-create-bibtex-footer):
1048 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1049 (rst-indent-literal-normal, rst-indent-literal-minimized)
1050 (rst-indent-comment): Add missing custom :version tags.
1051
ef35abb4
GM
1052 * calendar/timeclock.el (timeclock-modeline-display):
1053 Add missing obsolete alias for renamed user option.
1054
d1aae614
GM
1055 * strokes.el (strokes-modeline-string):
1056 * emulation/crisp.el (crisp-mode-modeline-string):
1057 * eshell/esh-mode.el (eshell-status-in-modeline):
1058 Aliases to defcustoms must come before the defcustom.
1059
f1f4dba0
GM
1060 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
1061 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1062 (cal-tex-cursor-week-monday): Doc fixes.
1063 (cal-tex-cursor-week2-summary): Doc fix.
1064 Rename from cal-tex-cursor-week-at-a-glance.
1065
1066 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
1067 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
1068
1069 * calendar/calendar.el (calendar-mode-map):
1070 Add cal-tex-cursor-week2-summary.
1071
d39109c3
SM
10722012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1073
685f87b0
SM
1074 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
1075
d39109c3
SM
1076 * subr.el (read-passwd-map): New var.
1077 (read-passwd): Use `read-string' again.
1078 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
1079
5694896d
J
10802012-10-06 Jambunathan K <kjambunathan@gmail.com>
1081
1082 * register.el (append-to-register, prepend-to-register):
1083 Deactivate mark, as does `copy-to-register' (bug#12389).
1084
9414dd8d
CY
10852012-10-06 Chong Yidong <cyd@gnu.org>
1086
1087 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
1088
2b89bca4
KH
10892012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
1090
1091 * international/characters.el: Fix simple mistake ((car chars) ->
1092 elt), delete duplicated code.
1093
d5acb99a
GM
10942012-10-06 Glenn Morris <rgm@gnu.org>
1095
1096 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
1097
123ec157
JS
10982012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
1099
1100 * color.el (color-hsl-to-rgb): Fix incorrect results for
1101 small and large hue values. (Bug#12559)
1102
7fa36ccb
FEG
11032012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
1104
1105 Enhancements to docstring formatting when filling paragraphs.
1106 * progmodes/python.el (python-fill-docstring-style): Rename from
1107 python-fill-string-style. Added new style.
1108 (python-fill-string): Use new style. Better checks for
1109 docstrings.
1110
d8788e1e
GM
11112012-10-05 Glenn Morris <rgm@gnu.org>
1112
204f3953
GM
1113 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
1114
d8788e1e
GM
1115 * color.el (color-name-to-rgb, color-rgb-to-hex)
1116 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
1117 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
1118 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1119 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
1120
8d956cef
GM
1121 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
1122
e8757f09 11232012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
1124
1125 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
1126 to get the correct size across symlinks.
1127
e8757f09
GM
1128 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
1129
0e2ae83d
JL
11302012-10-04 Juri Linkov <juri@jurta.org>
1131
1132 * replace.el (query-replace-interactive): Declare obsolete.
1133 (query-replace-read-from): Add the last incremental search string
1134 to the list of default values accessible via M-n.
1135 (map-query-replace-regexp): Use `read-regexp'.
1136 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1137 (map-query-replace-regexp, replace-string, replace-regexp):
1138 Fix docstrings to replace mentions of `query-replace-interactive'
1139 with alternatives. (Bug#12526)
1140
93cacb6d
JL
11412012-10-04 Juri Linkov <juri@jurta.org>
1142
1143 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
1144 (dired-pop-to-buffer): Declare obsolete.
1145 (dired-mark-pop-up): Doc fix.
1146
fc345011
FEG
11472012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
1148
1149 Allow user to set docstring style for fill-paragraph.
1150 * progmodes/python.el
1151 (python-fill-comment-function, python-fill-string-function)
1152 (python-fill-decorator-function, python-fill-paren-function):
1153 Remove :safe for defcustoms.
1154 (python-fill-string-style): New defcustom
5694896d 1155 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
1156 (python-fill-string): Honor python-fill-string-style settings.
1157
6bab5d8b
MR
11582012-10-04 Martin Rudalics <rudalics@gmx.at>
1159
1160 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
1161 after setting its buffer (Bug#10805).
1162
a1a9f411
FEG
11632012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
1164
1165 Fix cornercase for string syntax.
1166 * progmodes/python.el (python-syntax-propertize-function):
1167 Simplify and enhance the regexp for unescaped quotes. Now it also
1168 matches quotes in weird situations like the single quote in
1169 "something\"'".
1170 (python-syntax-stringify): Simplify num-quotes detecting code.
1171
05e153a6
GM
11722012-10-03 Glenn Morris <rgm@gnu.org>
1173
1174 * help-macro.el (three-step-help):
1175 Revert 2012-09-29 change. (Bug#12567)
1176
2e566ecb
MR
11772012-10-03 Martin Rudalics <rudalics@gmx.at>
1178
96ef9ccd
MR
1179 * menu-bar.el (kill-this-buffer): Don't do anything when
1180 `menu-frame' is not alive or visible (Bug#8184).
1181
2e566ecb
MR
1182 * emacs-lisp/debug.el (debug): When quitting the debugger window
1183 restore current buffer (Bug#12502).
1184
a96e1cb7
CY
11852012-10-02 Chong Yidong <cyd@gnu.org>
1186
5694896d
J
1187 * progmodes/hideif.el (hif-lookup, hif-defined):
1188 Handle semantic-c-takeover-hideif.
a96e1cb7 1189
b3ecad33
PE
11902012-10-02 Paul Eggert <eggert@cs.ucla.edu>
1191
1192 Change sampling interval units from ms to ns.
1193 * profiler.el (profiler-sampling-interval): Change units
1194 from ms to ns, multiplying the default by 1000000 so that
1195 it remains 1 ms.
1196 (profiler-report-cpu-line-format): Give enough room for
1197 the maximum counters on 64-bit hosts.
1198 (profiler-report-render-calltree-1): Call them "CPU samples",
1199 not "Time (ms)", since they are not milliseconds now (and
1200 never really were).
1201
8cb51b66 12022012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 1203
5694896d
J
1204 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
1205 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 1206
fd795bf4
CY
12072012-10-02 Chong Yidong <cyd@gnu.org>
1208
1209 * emacs-lisp/eieio.el: Restore Version header.
1210
fe0a74f9
SM
12112012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1212
6be9197e
SM
1213 * vc/diff-mode.el (diff--auto-refine-data): New var.
1214 (diff-hunk): Use it to delay refinement.
1215 (diff-mode): Remove overlays when we turn off font-lock.
1216
18486139
SM
1217 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
1218 (table-initialize-table-fixed-width-mode)
1219 (table-set-table-fixed-width-mode): Remove functions.
1220 (table-command-list): Move initialization into declaration.
1221 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
1222 (table-with-cache-buffer): Use `declare'.
1223 (table-span-cell): Simplify via CSE.
1224 (table-fixed-width-mode): Use define-minor-mode.
1225 (table-call-interactively, table-funcall, table-apply): Remove.
1226 (table-function): New function, to replace them.
1227
d83ef976
SM
1228 * bookmark.el (bookmark-search-pattern): Remove var.
1229 (bookmark-read-search-input): Remove function.
1230 (bookmark-bmenu-search): Reimplement using a minibuffer.
1231
cd386662
SM
1232 * faces.el (modeline): Remove obsolete face name.
1233
fe0a74f9
SM
1234 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
1235 and give a non-nil default value.
1236 (add-change-log-entry): Simplify accordingly.
1237
9f7b98f8
DG
12382012-10-01 Dmitry Gutov <dgutov@yandex.ru>
1239
1240 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
1241 (vc-git-log-edit-toggle-amend): New function.
1242 (vc-git-log-edit-toggle-signoff): New function.
1243 (vc-git-log-edit-mode): New major mode.
1244 (vc-git-log-edit-mode-map): Keymap for it.
1245 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
1246
1247 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
1248 header names.
1249 (log-edit-toggle-header): New function.
1250 (log-edit-extract-headers): Accept function values in HEADERS alist.
1251
62a81506
CY
12522012-10-01 David Engster <deng@randomsample.de>
1253
1254 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
1255 from symbol property and change message to be more consistent with
1256 Emacs proper.
1257 (eieio-describe-generic): Add filename for each implementation.
1258 Fix indices for generic and normal methods.
1259 (eieio-method-def, eieio-class-def): New buttons.
1260 (eieio-help-find-method-definition)
1261 (eieio-help-find-class-definition): New functions.
1262 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
1263 class, constructor and method definitions.
1264
1265 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
1266 information in symbol property.
1267 (scoped-class): Remove.
1268 (eieio-slot-name-index, call-next-method): Check if it is bound.
1269
12702012-10-01 Leo P. White <lpw25@cam.ac.uk>
1271
1272 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
1273 (eieio-custom-mode): New major mode.
1274 (eieio-customize-object): Use it.
1275
12762012-10-01 Eric Ludlam <zappo@gnu.org>
1277
1278 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
1279 specifying the expected class, and whether subclassing is allowed.
1280 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
1281 (eieio-persistent-validate/fix-slot-value)
1282 (eieio-persistent-slot-type-is-class-p): New functions.
1283 (eieio-named::slot-missing): Doc fix.
62a81506
CY
1284
1285 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
1286 Stop using unused publd variable.
1287
1288 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1289 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
1290 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
1291 (eieio-speedbar-handle-click): Do not specify a class for the
1292 method. Fixes method invocation order problems with EDE.
1293
375e49d4
SM
12942012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1295
1296 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
1297 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
1298
16ce6ccd
KF
12992012-10-01 Karl Fogel <kfogel@red-bean.com>
1300
1301 * bookmark.el (bookmark-version-control): Give tags in the
1302 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
1303 (bookmark-write-file): Bind `print-circle' to `t' to allow
1304 circular custom bookmark types. (Bug#12503)
16ce6ccd 1305
19e54a4d
PE
13062012-10-01 Paul Eggert <eggert@cs.ucla.edu>
1307
86ec63ba
PE
1308 Revert the FOLLOW-SYMLINKS change for file-attributes.
1309 * files.el (remote-file-name-inhibit-cache, after-find-file):
1310 * time.el (display-time-file-nonempty-p): Undo last change.
1311
19e54a4d
PE
1312 * profiler.el (profiler-sampling-interval): Change default back to 1.
1313 See Stefan Monnier in
1314 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
1315
0478776b
FEG
13162012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
1317
1318 Shell output catching a la gud-gdb.
1319 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
1320 (python-shell-fetch-lines-string, python-shell-fetched-lines):
1321 New Vars.
0478776b
FEG
1322 (python-shell-fetch-lines-filter): New function.
1323 (python-shell-send-string-no-output): Use them.
1324
c22bac2c
TM
13252012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
1326
1327 * profiler.el (profiler-sampling-interval): Rename from
1328 profiler-sample-interval.
1329 (profiler-sampling-interval): Default to 10.
1330 (profiler-find-profile): New command (was profiler-find-log).
1331 (profiler-find-profile-other-window): New command.
1332 (profiler-find-profile-other-frame): New command.
1333 (profiler-profile): Introduce API-level data structure.
1334
e7a2937b
PE
13352012-09-30 Paul Eggert <eggert@cs.ucla.edu>
1336
1337 file-attributes has a new optional arg FOLLOW-SYMLINKS.
1338 * files.el (remote-file-name-inhibit-cache):
1339 * time.el (display-time-file-nonempty-p): Use it.
1340 * files.el (after-find-file): Don't chase links before calling
1341 file-exists-p, as file-exists-p already does the right thing.
1342
4f595e15
RA
13432012-09-30 Ralf Angeli <angeli@caeruleus.net>
1344
1345 Merge from standalone RefTeX repository.
1346
1347 The following ChangeLog entries are shortened versions of the
1348 original ones with file paths adapted. A not so strongly edited
1349 version of the original ChangeLog can be found in the commit log.
1350
1351 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
1352 (reftex-arg-cite): Use `reftex-cite-key-separator'.
1353 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
1354
1355 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
1356 that entries with whitespace at various places are found.
1357 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
1358 Include @String definitions in the resulting bib file. Add header
1359 and footer defined in `reftex-create-bibtex-header' and
1360 `reftex-create-bibtex-footer'.
1361 (reftex-do-citation): Make it possible again to insert
1362 non-existent entries. Save match data when asking for optional
1363 arguments. Return all keys, not just the first one.
1364 (reftex-all-used-citation-keys): Fix regexp to correctly extract
1365 all citations in the same line.
1366 (reftex-parse-bibtex-entry): Accept additional optional argument
1367 `raw' and keep quotes or braces if it is non-nil. Match fields
1368 containing hyphens besides word constituents.
1369 (reftex-get-string-refs): New function.
1370 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
1371 and ask if it should be reread in case it did.
1372 (reftex-pop-to-bibtex-entry)
1373 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
1374 entries with spaces or tabs in front of arguments.
1375 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
1376 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
1377 Match entries containing numbers and symbol constituents.
1378 (reftex-do-citation, reftex-figure-out-cite-format):
1379 Use `reftex-cite-key-separator'.
4f595e15
RA
1380
1381 * textmodes/reftex-dcr.el: Move provide statement to end of file.
1382 (reftex-mouse-view-crossref): Explain why point is set.
1383
1384 * textmodes/reftex-global.el: Whitespace changes.
1385
1386 * textmodes/reftex-index.el: Move provide statement to end of
1387 file.
1388 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
1389 (reftex-index-visit-phrases-buffer): Set marker when visiting
1390 buffer. This allows for returning from the phrases file to the
1391 file one was just editing instead of the file where the last
1392 phrases was added from.
1393 (reftex-index-phrases-syntax-table): New variable. Give ?\"
1394 punctuation syntax as it usually is not used as string quote in
1395 TeX-related modes and may occur unmatched. The change also
1396 prevents fontification of quoted content.
1397 (reftex-index-phrases-mode): Use it.
1398
375e49d4
SM
1399 * textmodes/reftex-parse.el (reftex-parse-from-file):
1400 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
1401 (reftex-parse-from-file): Use beginning of match instead of end as
1402 bound.
1403
1404 * textmodes/reftex-ref.el: Adapt creation of
1405 `reftex-<package>-<macro>' functions to new structure of
1406 `reftex-ref-style-alist'.
375e49d4
SM
1407 (reftex-reference): Use `reftex-ref-style-list' function.
1408 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
1409 reference macro if `reftex-ref-macro-prompt' is non-nil.
1410 (reftex-reference): Pass refstyle to `reftex-format-special'.
1411 Determine reference macro by looking at
375e49d4
SM
1412 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
1413 Use only one special format function.
4f595e15
RA
1414 (reftex-varioref-vref, reftex-fancyref-fref)
1415 (reftex-fancyref-Fref): Remove definitions. The functions are now
1416 generated from `reftex-ref-style-alist'.
1417 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
1418 Remove.
1419 (reftex-format-special): New function.
1420
1421 * textmodes/reftex-sel.el
1422 (reftex-select-cycle-ref-style-internal): Adapt to new structure
1423 of `reftex-ref-style-alist'. Remove code for testing macro type.
1424 (reftex-select-toggle-varioref)
1425 (reftex-select-toggle-fancyref): Remove.
1426 (reftex-select-cycle-ref-style-internal)
1427 (reftex-select-cycle-ref-style-forward)
1428 (reftex-select-cycle-ref-style-backward): New functions.
1429 (reftex-select-label-map): Use `v' and `V' for general cycling
1430 through reference styles. Add `p' for switching between number
1431 and page reference types.
1432
375e49d4
SM
1433 * textmodes/reftex-toc.el (reftex-re-enlarge):
1434 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
1435 the horizontal version throws an error even if the parameter is 0.
1436
1437 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
1438 (reftex-plug-into-AUCTeX): Doc fix.
1439 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
1440 string. Adapt to new name.
1441 (reftex-ref-style-alist): Change structure so that it is not
1442 possible to use multiple different package names within a style.
375e49d4
SM
1443 Remove the symbols for symbols for macro type distinction.
1444 Add characters for macro selection.
4f595e15
RA
1445 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
1446 (reftex-create-bibtex-footer): New variables.
1447 (reftex-format-ref-function): Mention third argument of special
1448 format function.
375e49d4
SM
1449 (reftex-ref-style-alist, reftex-ref-style-default-list):
1450 New variables.
4f595e15
RA
1451 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1452 to new implementation. Mark as obsolete. Add compatibility code
1453 for honoring the variable values in case they are set.
375e49d4
SM
1454 (reftex-cite-format-builtin, reftex-bibliography-commands):
1455 Add support for ConTeXt.
1456 (reftex-format-ref-function, reftex-format-cite-function):
1457 Fix custom type.
4f595e15
RA
1458 (reftex-cite-key-separator): New variable.
1459
1460 * textmodes/reftex.el (reftex-syntax-table-for-bib)
1461 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
1462 `reftex-syntax-table' because parens have to retain their paren
1463 syntax in order for parsing of BibTeX entries like @book(...) to
1464 work.
1465 (reftex-in-comment): Do not error out if `comment-start-skip' is
1466 not set. Deal correctly with escaped comment characters.
375e49d4
SM
1467 (reftex-tie-multifile-symbols): Add doc string.
1468 Initialize `reftex-ref-style-list'.
4f595e15
RA
1469 (reftex-untie-multifile-symbols): Add doc string.
1470 (reftex-add-index-macros): Doc fix.
1471 (reftex-ref-style-activate, reftex-ref-style-toggle)
1472 (reftex-ref-style-list): New functions.
1473 (reftex-mode-menu): Use them. Adapt to new structure of
1474 `reftex-ref-style-alist'.
1475 (reftex-select-with-char): Kill the RefTeX Select buffer when
1476 done.
1477 (reftex-remove-if): New function.
1478 (reftex-erase-all-selection-and-index-buffers)
1479 (reftex-mode-menu): Reference styles are now computed from
1480 `reftex-ref-style-alist'. Fix typo.
1481 (reftex-report-bug): New function.
1482 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1483 algorithms with O(n log n). Introduce optional argument SORT (not
1484 yet used).
1485
440ba395
FEG
14862012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1487
1488 Enhancements for triple-quote string syntax.
375e49d4
SM
1489 * progmodes/python.el (python-syntax-propertize-function):
1490 Match both quote cases in one regexp.
440ba395
FEG
1491 (python-syntax-stringify): Handle matches properly.
1492
4c478e6b
JL
14932012-09-30 Juri Linkov <juri@jurta.org>
1494
1495 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 1496 to nil around the call to `insert' to prevent
4c478e6b
JL
1497 directory time modification by lock_file. (Bug#2295)
1498 * tar-mode.el (tar-summarize-buffer): Idem.
1499
d80d54b2
JL
15002012-09-30 Juri Linkov <juri@jurta.org>
1501
1502 * facemenu.el (list-colors-sort): Add option "Luminance".
1503 (list-colors-sort-key): Implement it.
1504
1505 * vc/diff-mode.el (diff-refine-removed):
1506 * vc/ediff-init.el (ediff-fine-diff-A):
1507 * vc/smerge-mode.el (smerge-refined-removed):
1508 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1509
d7e642cc
JD
15102012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1511
1512 * term/ns-win.el (x-file-dialog): New function.
1513
ee41332b
JB
15142012-09-30 Juanma Barranquero <lekktu@gmail.com>
1515
1516 * ido.el (ido-max-directory-size): Default to nil; the current
1517 default is small for POSIX systems, and impractical on Windows 7
1518 now that lstat returns directory sizes for NTFS.
1519
5938d519
MR
15202012-09-30 Martin Rudalics <rudalics@gmx.at>
1521
1522 In buffer display functions handle window-height/window-width
1523 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
1524 * window.el (window--display-buffer): New argument ALIST.
1525 Obey window-height and window-width alist entries.
1526 (window--try-to-split-window): New argument ALIST.
1527 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
1528 changed and window-combination-limit equals `window-size'.
1529 (display-buffer-in-atom-window)
1530 (display-buffer-in-major-side-window)
1531 (display-buffer-in-side-window, display-buffer-same-window)
1532 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1533 (display-buffer-pop-up-window, display-buffer-below-selected)
1534 (display-buffer-at-bottom, display-buffer-in-previous-window)
1535 (display-buffer-use-some-window): Adjust all callers of
1536 window--display-buffer and window--try-to-split-window.
1537 (fit-frame-to-buffer): New option.
1538 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1539 is non-nil.
1540 (display-buffer-in-major-side-window): Evaluate window-height /
1541 window-width alist entries.
1542
1543 * help.el (temp-buffer-resize-frames)
1544 (temp-buffer-resize-regexps): Remove options.
1545 (temp-buffer-resize-mode): Adjust doc-string.
1546 (resize-temp-buffer-window): Don't consult
1547 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1548 temp-buffer-resize-frames.
1549
375e49d4
SM
1550 * dired.el (dired-mark-pop-up):
1551 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
1552 entry.
1553
c4c0c2df
CY
15542012-09-30 Chong Yidong <cyd@gnu.org>
1555
48de8b12
CY
1556 * server.el (server-host): Document the security implications.
1557 (server-auth-key): Doc fix.
1558
1559 * startup.el (initial-buffer-choice): Doc fix.
1560
1561 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1562
a97dc380
CY
1563 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1564 restriction change.
1565
d39d3c8e
CY
1566 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1567
c4c0c2df
CY
1568 * help-fns.el (help-fns--obsolete): Fix last change.
1569
98a5e33b
SM
15702012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1571
34cf6f39
SM
1572 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1573 (minor-mode-map-alist): Remove redundant code.
1574
e01c13fe
SM
1575 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1576 visited in a buffer.
1577 (cvs-insert-visited-file): New function.
1578 (find-file-hook): Use it.
1579
1580 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1581
02661b3a
SM
1582 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1583 chose face.
1584 (log-edit-empty-buffer-p): Don't require a space after a header.
1585
43711d4b
SM
1586 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1587
38a30d64
SM
1588 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1589
4ffb41a9
SM
1590 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1591 a proper minor-mode.
1592
98a5e33b
SM
1593 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1594
de82e29b
GM
15952012-09-29 Glenn Morris <rgm@gnu.org>
1596
5cc2e639
GM
1597 * winner.el (winner-mode): Remove variable (let define-minor-mode
1598 handle it).
1599 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1600 Doc fixes.
1601 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1602 (winner-mode): Use define-minor-mode.
1603
7bd302eb
GM
1604 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1605 the full definition in loaddefs, rather than duplicating it.
1606
2923922f 1607 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 1608
0e3e4156
GM
1609 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1610 (inferior-lisp-program, inferior-lisp-load-command)
1611 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 1612 No need to autoload defcustoms.
0e3e4156 1613
de82e29b
GM
1614 * hippie-exp.el (hippie-expand-try-functions-list)
1615 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1616 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1617 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 1618 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
1619 * progmodes/vhdl-mode.el (vhdl-line-expand):
1620 Explicitly load hippie-exp, so it does not get autoloaded
1621 while hippie-expand-try-functions-list is let-bound.
1622
e60b51ab
GM
16232012-09-28 Glenn Morris <rgm@gnu.org>
1624
277f0cfa
GM
1625 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1626
e60b51ab
GM
1627 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1628 Only "cl.el" counts as cl these days.
1629
53baf48a
JL
16302012-09-28 Juri Linkov <juri@jurta.org>
1631
1632 Display archive errors in the echo area instead of inserting
1633 to the file buffer.
1634
1635 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1636 to STDERR-TEST that can be a regexp matching a successful output.
1637 Create a temporary file and redirect stderr to it. Search for
1638 STDERR-TEST in the stderr output and display it in the echo area
1639 if no match is found.
1640 (archive-extract-by-file): New function like
1641 `archive-extract-by-stdout' but extracting archives to files
1642 and looking for successful matches in stdout. Function body is
1643 mostly copied from `archive-rar-extract'.
1644 (archive-rar-extract): Use `archive-extract-by-file'.
1645 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1646
9c1228c3
LL
16472012-09-28 Leo Liu <sdl.web@gmail.com>
1648
375e49d4
SM
1649 * pcomplete.el (pcomplete-show-completions):
1650 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 1651
9c1228c3
LL
1652 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1653
7f457c06
SM
16542012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1655
3df749b0
SM
1656 * type-break.el: Use lexical-binding.
1657 (type-break-mode): Use define-minor-mode.
1658
7f457c06
SM
1659 * emacs-lisp/pcase.el (pcase--mark-used): New.
1660 (pcase--u1): Use it (bug#12512).
1661
1662 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1663 in load-history with the right file name.
1664
c00ebc98
TH
16652012-09-28 Tassilo Horn <tsdh@gnu.org>
1666
1667 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1668 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1669 (doc-view-get-bounding-box): Make bounding box slicing work for
1670 ODF and DVI documents.
1671
96fb7170
GM
16722012-09-28 Glenn Morris <rgm@gnu.org>
1673
1674 * type-break.el (type-break-mode, type-break-interval)
1675 (type-break-good-rest-interval, type-break-keystroke-threshold):
1676 No need to autoload.
1677 (type-break-good-rest-interval, type-break-keystroke-threshold):
1678 Add :set-after.
1679
5bc93c67
CY
16802012-09-28 Chong Yidong <cyd@gnu.org>
1681
1682 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1683 Add :version tag.
1684
9cad61d6
SM
16852012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1686
e28e67b3 1687 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 1688
daee954c
GM
16892012-09-27 Glenn Morris <rgm@gnu.org>
1690
a88324d4
GM
1691 * faces.el (x-display-name): Declare (for without-x builds).
1692
8e5064e5
GM
1693 * linum.el (linum-format): Don't autoload it. Improve :type.
1694
cc1783c2
GM
1695 * progmodes/tcl.el: Don't require outline when compiling.
1696 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
1697 * textmodes/sgml-mode.el: Don't require outline when compiling.
1698 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1699
48c339f2
GM
1700 * term.el (term-ansi-reset):
1701 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1702
daee954c
GM
1703 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1704 files for RCS and SCCS. (Bug#9781)
1705
b7f42161
CY
17062012-09-27 Chong Yidong <cyd@gnu.org>
1707
1708 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1709 change; value should be t.
1710
a2e770db
SM
17112012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1712
83600dc8
SM
1713 * image-mode.el: Use lexical-binding.
1714 (image-mode-winprops): Use t to stand for the window of
1715 a buffer that's not displayed.
1716 * doc-view.el (doc-view-new-window-function): Handle the new
1717 t in winprops.
1718 (doc-view-enlarge): Make it a real nop if the size is not changed.
1719 (doc-view-display): Handle the case where the buffer is not (yet?)
1720 displayed in any window.
1721 (doc-view-saved-settings): New var.
1722 (doc-view-mode): Use it.
1723 (doc-view-fallback-mode): Set it.
1724
a2e770db
SM
1725 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1726 Set lexical-binding.
1727 (minibuffer-eldef-shorten-default): New var.
1728 (minibuffer-default-in-prompt-regexps): Use it for new default.
1729 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1730
e3b60857
JB
17312012-09-26 Juanma Barranquero <lekktu@gmail.com>
1732
1733 * international/uni-bidi.el:
1734 * international/uni-category.el:
1735 * international/uni-name.el:
1736 * international/uni-numeric.el: Regenerate.
1737
3a880af4
SM
17382012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1739 Stefan Monnier <monnier@iro.umontreal.ca>
1740
1741 * profiler.el: New file.
1742
07b1a5fb
SM
17432012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1744
1745 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1746 (testcover-reinstrument): Simplify with CSE.
1747
42019c2e
JB
17482012-09-26 Juanma Barranquero <lekktu@gmail.com>
1749
1750 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1751
179f044b
WS
17522012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1753
1754 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1755 (verilog-auto-input, verilog-auto-insert-lisp)
1756 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1757 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1758 (verilog-auto-unused, verilog-auto-wire)
1759 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1760 newline. Reported by Andrew Jones.
1761 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1762 Reported by Brad Dobbie.
07b1a5fb
SM
1763 (verilog-batch-delete-trailing-whitespace):
1764 Create verilog-batch-delete-trailing-whitespace.
1765 Reported by Brad Dobbie.
179f044b
WS
1766 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1767 parameters from another module. Reported by Dan Katz.
1768 (verilog-auto, verilog-auto-assign-modport)
1769 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1770 AUTOINOUTMODPORT for UVM interface module shell generation.
1771 Reported by Brad Dobbie.
1772 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1773 standard behavior.
1774 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1775 Reported by Matt Martin.
1776
9c52dd5a
MR
17772012-09-25 Martin Rudalics <rudalics@gmx.at>
1778
1779 * window.el (window--resize-child-windows): When resizing child
1780 windows proportionally, process them in reverse order to
1781 preserve the "when splitting a window the new one gets the odd
1782 line" behavior.
1783 (window--resize-root-window-vertically): When resizing the
1784 minibuffer window try to affect only windows at the bottom of the
1785 frame. (Bug#12419)
1786
863666eb
CY
17872012-09-25 Chong Yidong <cyd@gnu.org>
1788
1789 * subr.el (declare): Doc fix.
1790
1791 * help-fns.el (help-fns--obsolete): Handle macros properly.
1792
59f7af81
CY
17932012-09-25 Chong Yidong <cyd@gnu.org>
1794
1795 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1796 this function obsolete.
1797
1798 * calendar/cal-x.el (calendar-two-frame-setup)
1799 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1800 * calendar/calendar.el (american-calendar, european-calendar)
1801 (calendar-for-loop):
1802 * comint.el (comint-dynamic-simple-complete)
1803 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1804 * desktop.el (desktop-load-default):
1805 * dired-x.el (dired-omit-here-always)
1806 (dired-hack-local-variables, dired-default-directory):
1807 * emacs-lisp/derived.el (derived-mode-class):
1808 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1809 * emacs-lock.el (toggle-emacs-lock):
1810 * epa.el (epa-display-verify-result):
1811 * epg.el (epg-sign-keys, epg-start-sign-keys)
1812 (epg-passphrase-callback-function):
1813 * eshell/esh-util.el (eshell-for):
1814 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1815 (eshell-add-to-window-buffer-names):
1816 * files.el (locate-file-completion):
1817 * imenu.el (imenu-example--create-c-index)
1818 (imenu-example--create-lisp-index)
1819 (imenu-example--lisp-extract-index-name)
1820 (imenu-example--name-and-position):
1821 * international/mule-cmds.el (princ-list):
1822 * international/mule-diag.el (decode-codepage-char):
1823 * international/mule-util.el (detect-coding-with-priority):
1824 * iswitchb.el (iswitchb-read-buffer):
1825 * mail/mailalias.el (mail-complete):
1826 * mail/sendmail.el (mail-sent-via):
1827 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1828 (mouse-major-mode-menu):
1829 * password-cache.el (password-read-and-add):
1830 * pcomplete.el (pcomplete-parse-comint-arguments):
1831 * progmodes/sh-script.el (sh-maybe-here-document):
1832 * replace.el (query-replace-regexp-eval):
1833 * savehist.el (savehist-load):
1834 * simple.el (choose-completion-delete-max-match):
1835 * term.el (term-dynamic-simple-complete):
1836 * vc/ediff-init.el (ediff-check-version):
1837 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1838 * vc/vc.el (vc-diff-switches-list):
1839 * view.el (view-return-to-alist-update): Likewise.
1840
1841 * subr.el (eval-next-after-load, makehash, insert-string)
1842 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1843 mark obsolete.
1844 (mode-line-inverse-video): Variable deleted.
1845
1846 * international/mule-util.el (string-to-sequence): Remove.
1847
1848 * calendar/calendar.el (calendar-version):
1849 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1850 (icalendar-convert-diary-to-ical):
1851 * cus-edit.el (custom-mode):
1852 * ansi-color.el (ansi-color-unfontify-region):
1853 * international/latin1-disp.el (latin1-char-displayable-p):
1854 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
1855 * progmodes/which-func.el (which-func-update-1):
1856 Use define-obsolete-function-alias.
59f7af81
CY
1857
1858 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
1859 * net/newst-treeview.el (newsticker-groups-filename):
1860 Fix incorrect obsolescence declaration.
59f7af81
CY
1861
1862 * allout.el (allout-passphrase-hint-string): Likewise.
1863 (allout-init): Use a declare form to mark obsolete.
1864
1865 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1866 this applies to functions.
1867
1868 * iswitchb.el (iswitchb-read-buffer): Move code of
1869 iswitchb-define-mode-map here, and delete that obsolete function.
1870
1871 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1872 font-lock-reference-face.
1873
cca96c97
GM
18742012-09-25 Glenn Morris <rgm@gnu.org>
1875
b06eeda8
GM
1876 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1877 Doc fixes.
1878
cca96c97
GM
1879 * eshell/em-term.el (eshell-term-name):
1880 Default to term-term-name. (Bug#12485)
1881
dc4f818b
FEG
18822012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1883
cca96c97
GM
1884 * progmodes/python.el (python-shell-send-buffer): Better handling
1885 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 1886
289c24bd
GM
18872012-09-24 Glenn Morris <rgm@gnu.org>
1888
1889 * eshell/esh-cmd.el (eshell-find-alias-function):
1890 Tighten up file-name regexp. (Bug#12499)
1891
8fb8b88f
FEG
18922012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1893
1894 Enhancements for triple-quote string syntax.
1895 * progmodes/python.el (python-quote-syntax): Remove.
1896 (python-syntax-propertize-function): New value.
07b1a5fb
SM
1897 (python-syntax-count-quotes, python-syntax-stringify):
1898 New functions.
8fb8b88f 1899
6c27f0f8
CY
19002012-09-24 Chong Yidong <cyd@gnu.org>
1901
a5f2b6ec
CY
1902 * mail/supercite.el (sc-version): Remove obsolete function.
1903 (sc-describe): Don't mark as obsolete, since it is bound.
1904 (sc-submit-bug-report): Remove.
1905
1906 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1907 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
1908 (log-edit-require-final-newline)
1909 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
1910
1911 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1912 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1913 * vc/vc.el (vc-checkout-carefully): Likewise.
1914
1915 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1916 (emerge-version): Remove.
1917
1918 * progmodes/compile.el (compile-internal): Remove.
1919 (compilation-parse-errors-function): Fix typo.
1920
1921 * international/mule.el (set-char-table-default): Remove.
1922 (set-coding-priority, make-coding-system, generic-char-p)
1923 (charset-list, charset-bytes, charset-id): Use declare to mark
1924 functions as obsolete.
1925
1926 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1927 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1928 * vc/vc-hooks.el (vc-default-registered): Don't use
1929 vc-master-templates.
1930
07b1a5fb
SM
1931 * font-lock.el (font-lock-reference-face):
1932 Use define-obsolete-variable-alias.
6c27f0f8
CY
1933
1934 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1935 * calendar/calendar.el (calendar-font-lock-keywords):
1936 * calendar/diary-lib.el (diary-font-lock-keywords)
1937 (diary-fancy-font-lock-keywords):
1938 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1939 * textmodes/reftex-index.el (reftex-insert-index):
1940 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1941 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1942 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1943 * progmodes/prolog.el (prolog-font-lock-keywords):
1944 * progmodes/idlwave.el (idlwave-idl-keywords):
1945 * progmodes/ada-mode.el (ada-font-lock-keywords):
1946 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1947
bcc0adbf
GM
19482012-09-24 Glenn Morris <rgm@gnu.org>
1949
1950 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1951
095bb823
FEG
19522012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1953
1954 * progmodes/python.el (python-indent-line): More consistent cursor
1955 movement behavior.
1956
70efc5c9
SM
19572012-09-23 Stefan Merten <smerten@oekonux.de>
1958
1959 * textmodes/rst.el: Fix compiler warning.
1960
2f438239
RW
19612012-09-23 Roland Winkler <winkler@gnu.org>
1962
07b1a5fb
SM
1963 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1964 Transcribe also LaTeX hyphenation.
2f438239
RW
1965 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1966 bibtex-reformat-previous-options.
1967
936ad041
RW
19682012-09-23 Roland Winkler <winkler@gnu.org>
1969
1970 * proced.el (proced-renice-command): New variable.
1971 (proced-marked-processes): New function.
1972 (proced-with-processes-buffer): New macro.
1973 (proced-send-signal): Use them.
1974 (proced-renice): New command bound to r.
1975
6fab0274
RW
19762012-09-23 Roland Winkler <winkler@gnu.org>
1977
1978 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1979 ibuffer-saved-filter-groups has one element, shortcut the call of
1980 completing-read. (Bug#12331)
1981
9a930676
CY
19822012-09-23 Chong Yidong <cyd@gnu.org>
1983
1984 * bindings.el (mode-line-toggle-read-only):
1985 * bs.el (bs-toggle-readonly):
1986 * buff-menu.el (Buffer-menu-toggle-read-only):
1987 * dired.el (dired-toggle-read-only):
1988 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1989
d07ff9db
CY
19902012-09-23 Chong Yidong <cyd@gnu.org>
1991
1992 * image.el (image-type-available-p): Adapt to init-image-library
1993 argument changes.
1994
51c4474e
JL
19952012-09-22 Juri Linkov <juri@jurta.org>
1996
1997 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1998 `dired-toggle-read-only'. (Bug#12462)
1999
43bf5e8e
MR
20002012-09-22 Martin Rudalics <rudalics@gmx.at>
2001
2002 * subr.el (temp-output-buffer-show): New function.
2003 (with-output-to-temp-buffer): Call temp-output-buffer-show
2004 instead of internal-temp-output-buffer-show.
2005
c88b867f
CY
20062012-09-22 Chong Yidong <cyd@gnu.org>
2007
3df47cd5
CY
2008 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
2009 (Bug#12462).
2010
c88b867f
CY
2011 * repeat.el (repeat): Doc fix (Bug#12348).
2012
2013 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
2014 (Bug#10909).
2015
2016 * simple.el (shell-command-on-region): Doc fix.
3171e303 2017 (read-only-mode): Doc fix.
c88b867f 2018
df9685f3
EZ
20192012-09-22 Eli Zaretskii <eliz@gnu.org>
2020
2021 * emacs-lisp/timer.el (run-with-idle-timer)
2022 (timer-activate-when-idle): Warn against reinvoking an idle timer
2023 from within its own timer action. (Bug#12447)
2024
8e17c9ba
MR
20252012-09-22 Martin Rudalics <rudalics@gmx.at>
2026
2027 * cus-start.el (window-combination-limit): Add new optional
2028 values.
2029 * window.el (temp-buffer-window-show)
2030 (window--try-to-split-window): Handle new values of
2031 window-combination-limit (Bug#1806).
2032 (split-window): Test window-combination-limit for t instead of
2033 non-nil.
2034 (display-buffer-at-bottom): New buffer display action function.
2035 * help.el (temp-buffer-resize-regexps): New option.
2036 (temp-buffer-resize-mode): Rewrite doc-string.
2037 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 2038 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 2039
48a24920
SM
20402012-09-22 Stefan Merten <smerten@oekonux.de>
2041
70efc5c9 2042 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
2043 (rst-official-version)
2044 (rst-package-emacs-version-alist): Sync with official version
2045 V1.4.0.
2046 (rst-faces-defaults, rst-set-level-default)
2047 (rst-level-face-max, rst-level-face-base-color)
2048 (rst-level-face-base-light, rst-level-face-format-light)
2049 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
2050 (rst-adornment-faces-alist): Match new setup.
2051 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
2052 (rst-level-5, rst-level-6): New faces.
2053
82f8cd94
CY
20542012-09-22 Chong Yidong <cyd@gnu.org>
2055
2056 * simple.el (undo): Handle indirect buffers (Bug#8207).
2057
acfa068f 20582012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
2059
2060 IDO: Disable match re-ordering for buffer switching.
2bc9406c 2061 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
2062 (ido-set-matches-1): Use it. (Bug#2042)
2063
acfa068f 20642012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
2065
2066 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
2067 Fix 2011-05-17 change. (Bug#12418)
2068
acfa068f 20692012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
2070
2071 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
2072
acfa068f 20732012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
2074
2075 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
2076 Be more robust about locating simple.el.
2077
acfa068f 20782012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
2079
2080 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
2081
acfa068f
CY
20822012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
2083
2084 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
2085
41a97e6f
JL
20862012-09-20 Juri Linkov <juri@jurta.org>
2087
eb2deaff
JL
2088 * replace.el (query-replace-read-from): Use `read-regexp' instead
2089 of `read-from-minibuffer' when `regexp-flag' is non-nil.
2090 (occur-read-primary-args): Use `read-regexp' instead of
2091 `read-string'.
2092 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
2093 `read-from-minibuffer'.
2094 * isearch.el (isearch-occur): Use `read-regexp' instead of
2095 `read-string'.
2096 * dired.el (dired-read-regexp): Use `read-regexp' instead of
2097 `read-from-minibuffer'.
2098 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
2099 of `read-string'. (Bug#7567)
2100
5825610b
JL
2101 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
2102 and allow accepting a list of strings prepended to a list of
2103 standard default values. Doc fix. (Bug#12321)
2104
eebbf404
JL
2105 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
2106
41a97e6f
JL
2107 * replace.el (read-regexp): Don't add ": " when PROMPT already
2108 ends with a colon and space. (Bug#12321)
2109
c9e452d3
TH
21102012-09-20 Tassilo Horn <tsdh@gnu.org>
2111
2112 * doc-view.el (doc-view-display): Better fix for the cl-assertion
2113 error.
2114
ee97deee
SM
21152012-09-20 Stefan Merten <smerten@oekonux.de>
2116
70efc5c9 2117 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
2118 Fixes feature request bug#11711.
2119 (rst-mode): Create `imenu-create-index-function'.
2120 (rst-get-stripped-line): Delete after refactoring.
2121 (rst-section-tree, rst-section-tree-rec)
2122 (rst-section-tree-point): Refactor and document properly.
2123 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
2124 (rst-imenu-convert-cell, rst-imenu-create-index):
2125 New function.
ee97deee 2126
f490dab9
SM
21272012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2128
95b9712e
SM
2129 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
2130 (macroexp--expand-all): Use it.
2131 (macroexp--funcall-and-return): Remove by folding it into its sole
2132 caller (macroexp--warn-and-return).
2133 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
2134 Use macroexp--obsolete-warning.
2135
f490dab9
SM
2136 * calc/calc.el: Fix last change by removing the whole chunk, since it
2137 was only needed back when Calc was not bundled.
2138
96e8d411
MR
21392012-09-20 Martin Rudalics <rudalics@gmx.at>
2140
2141 * emacs-lisp/debug.el (debug): Restore assignment to
2142 debugger-old-buffer removed on 2012-09-08.
2143
0876a82d
JL
21442012-09-20 Juri Linkov <juri@jurta.org>
2145
2146 * dired-aux.el (dired-diff): Remove (require 'diff) since
2147 `diff-latest-backup-file' is now autoloaded.
2148
9f7c28f0
CY
21492012-09-20 Chong Yidong <cyd@gnu.org>
2150
2151 * vc/diff.el (diff-latest-backup-file): Autoload.
2152
7a04bee9
SM
21532012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2154
e6f0a80d
SM
2155 * calc/calc.el: Remove redundant autoload shape check.
2156 (sel-mode): Don't defvar.
2157 (calc-get-stack-element): Add `sel-mode' arg instead.
2158 (calc-top, calc-top-list): Pass it this additional argument.
2159 * calc/calc-store.el (calc-store-map):
2160 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
2161 (calc-map-equation, calc-outer-product, calc-inner-product):
2162 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
2163
7a04bee9
SM
2164 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
2165
12734222
JL
21662012-09-19 Juri Linkov <juri@jurta.org>
2167
2168 * dired-aux.el (dired-diff): Add (require 'diff) because
2169 `diff-latest-backup-file' is not autoloaded.
2170 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
2171 of `dired-get-filename' to t to not report error when there is
2172 no default file on the current line.
2173
46624b4f
SM
21742012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2175
ce97595b
SM
2176 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
2177 macroexp--eval-if-compile.
2178 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
2179 (macroexp--expand-all): Use them (bug#12371).
2180
46624b4f
SM
2181 * doc-view.el (doc-view-guess-paper-size)
2182 (doc-view-scale-bounding-box): Fix unbound `caddr'.
2183
db8a5a18
TH
21842012-09-19 Tassilo Horn <tsdh@gnu.org>
2185
2186 New feature: set optimal slice from BoundingBox information.
2187 * doc-view.el (doc-view-mode-map): Add keybinding.
2188 (doc-view-menu): Add menu entry.
2189 (doc-view-set-slice): Adapt docstring.
2190 (doc-view-get-bounding-box, doc-view-guess-paper-size)
2191 (doc-view-scale-bounding-box)
2192 (doc-view-set-slice-from-bounding-box): New functions.
2193 (doc-view-paper-sizes): New defvar.
2194
69f6644c
GM
21952012-09-19 Glenn Morris <rgm@gnu.org>
2196
35f5b19d
GM
2197 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
2198 (byte-compile-log-warning): Autoload. (Bug#12371)
2199
69f6644c
GM
2200 * calendar/calendar.el (calendar-american-month-header)
2201 (calendar-european-month-header, calendar-iso-month-header)
2202 (calendar-month-header): New options.
2203 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
2204 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
2205
e543ae91
JD
22062012-09-19 Jan Djärv <jan.h.d@swipnet.se>
2207
2208 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
2209
2fd5e67d
JL
22102012-09-18 Juri Linkov <juri@jurta.org>
2211
2212 * dired-aux.el (dired-diff): Restore original functionality of
2213 getting the default value, but keep new feature of using the
2214 latest existing backup file (`diff-latest-backup-file').
2215
42917e79
JL
22162012-09-18 Juri Linkov <juri@jurta.org>
2217
2218 * dired.el (dired-mark): If the region is active in Transient Mark
2219 mode, mark all files in the active region. Doc fix.
2220 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
2221 Doc fix. (Bug#10624)
2222
20f70ede
JL
22232012-09-18 Juri Linkov <juri@jurta.org>
2224
2225 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
2226 attributes for M-n are pulled from the file at point.
2227 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
2228 Suggested by Drew Adams. (Bug#10624)
2229
32fb8162
DG
22302012-09-18 Dmitry Gutov <dgutov@yandex.ru>
2231
2232 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
2233 whitespace after "end".
2234 (ruby-do-end-to-brace): Collapse block to one line if it fits
2235 within fill-column.
2236
37ab5092
MR
22372012-09-18 Martin Rudalics <rudalics@gmx.at>
2238
2239 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
2240 value.
2241 (debug): Don't remove debugger window when debugger is expected
2242 to be back.
2243
ed1f0bd3
CY
22442012-09-18 Chong Yidong <cyd@gnu.org>
2245
2246 * custom.el (defface): Doc fix.
2247
2248 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
2249
a11035b8
MB
22502012-09-18 Martin Blais <blais@furius.ca> (tiny change)
2251
2252 * progmodes/compile.el (compilation-start): Use compilation-always-kill
2253 to initialize query-on-exit; then test that instead (bug#12288).
2254
64f6a736
SM
22552012-09-17 Stefan Merten <smerten@oekonux.de>
2256
70efc5c9 2257 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
2258 (rst-defcustom-testcover, rst-testcover-add-compose)
2259 (rst-testcover-add-1value): New functions.
2260 (rst-portable-mark-active-p): Replace by `use-region-p'.
2261 (rst-update-section, rst-classify-adornment)
2262 (rst-find-title-line): Mark `1value' forms.
2263 (rst-classify-adornment): Remove superfluous form.
2264 (rst-update-section, rst-get-adornments-around)
2265 (rst-adornment-complete-p, rst-get-next-adornment)
2266 (rst-adjust, rst-promote-region)
2267 (rst-display-adornments-hierarchy, rst-straighten-adornments)
2268 (rst-find-pfx-in-region, rst-section-tree-rec)
2269 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
2270 (rst-toc-node, rst-toc, rst-forward-section)
2271 (rst-iterate-leftmost-paragraphs)
2272 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
2273 (rst-bullet-list-region)
2274 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
2275 (rst-compile-find-conf, rst-compile)
2276 (rst-repeat-last-character): Fix style.
2277
580bd868
CY
22782012-09-17 Chong Yidong <cyd@gnu.org>
2279
2280 * comint.el (comint--complete-file-name-data): Don't add a space
2281 if the status is `sole'; that adds a gratuitous space in the
2282 completion-cycling case (Bug#12092).
2283
2284 * pcomplete.el (pcomplete-completions-at-point): Likewise.
2285
69de3ec6
RS
22862012-09-17 Richard Stallman <rms@gnu.org>
2287
0dee970c
RS
2288 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
2289 only in the mime-shown mode, not in raw mode.
2290 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 2291 mime processing. (Bug#12305)
0dee970c 2292
6b250df6
GM
2293 * mail/rmail.el (rmail-retry-failure):
2294 Turn off mime processing first. (Bug#12037)
acb1c47b 2295
69de3ec6
RS
2296 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
2297
d079ee5f
CY
22982012-09-17 Chong Yidong <cyd@gnu.org>
2299
2300 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
2301 (shell-dynamic-complete-functions): Convert to defcustom.
2302 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
2303
865fe16f
CY
2304 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
2305 * comint.el (comint-prompt-read-only):
2306 * custom.el (defcustom):
2307 * hi-lock.el (hi-lock-mode):
2308 * ibuffer.el (ibuffer-formats):
2309 * ielm.el (ielm-prompt-read-only):
2310 * novice.el (disable-command):
2311 * saveplace.el (toggle-save-place):
2312 * speedbar.el (speedbar-supported-extension-expressions):
2313 * startup.el (auto-save-list-file-prefix, init-file-user)
2314 (after-init-hook, inhibit-startup-echo-area-message):
2315 * strokes.el (strokes-help):
2316 * time-stamp.el (time-stamp):
2317 * calendar/calendar.el (calendar, diary-file):
2318 * calendar/diary-lib.el (diary-mail-entries, diary)
2319 (diary-list-entries-hook):
2320 * calendar/holidays.el (holidays, calendar-holidays):
2321 * calendar/lunar.el (lunar-phases):
2322 * calendar/solar.el (sunrise-sunset):
2323 * emulation/edt.el (edt-load-keys):
2324 * emulation/viper.el (viper-mode):
2325 * eshell/em-alias.el (eshell-command-aliases-list):
2326 * eshell/esh-util.el (eshell-convert-numeric-arguments):
2327 * international/ogonek.el (ogonek-information):
2328 * net/tramp-cmds.el (tramp-bug):
2329 * net/quickurl.el (quickurl-reread-hook-postfix):
2330 * play/decipher.el (decipher-font-lock-keywords):
2331 * progmodes/cc-styles.el (c-set-style):
2332 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
2333 * progmodes/inf-lisp.el (inferior-lisp-prompt):
2334 * progmodes/octave-mod.el (octave-mode):
2335 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
2336 * progmodes/verilog-mode.el (verilog-read-defines):
2337 * textmodes/two-column.el (2C-mode): Likewise.
2338
48093eb9
KY
23392012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
2340
2341 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
2342 that holds many addresses.
2343
c584eaf9
CY
23442012-09-16 Chong Yidong <cyd@gnu.org>
2345
40d70ecb
CY
2346 * align.el (align-areas): Call the indication function with
2347 positions instead of markers for arguments (Bug#12343).
2348
1667e065
CY
2349 * files.el (parse-colon-path): Use split-string (Bug#12351).
2350
fdc2806d 2351 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 2352 (display-buffer-function): Mark as obsolete.
fdc2806d 2353
f1be615c 2354 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
2355 values similar to font-lock-keywords (Bug#12136).
2356 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
2357 (compilation-error-regexp-alist): Doc fix.
2358
f40a9709
GM
23592012-09-15 Glenn Morris <rgm@gnu.org>
2360
72aa16e1
GM
2361 * version.el (emacs-bzr-version-bzr): New function.
2362 (emacs-bzr-get-version): Add optional EXTERNAL argument.
2363
82375160
GM
2364 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
2365 checkouts, check the parent dirstate matches the branch.
2366 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
2367 empty string.
2368
f40a9709
GM
2369 * version.el (emacs-bzr-version): Doc fix.
2370 (emacs-bzr-version-dirstate): New function.
2371 (emacs-bzr-get-version): For lightweight checkouts, if the parent
2372 is local try and check that it matches the branch. If not, just
2373 use dirstate information. (Bug#12441)
2374
cb26b7f5
JL
23752012-09-14 Juri Linkov <juri@jurta.org>
2376
2377 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
2378 (Bug#12399)
2379
2de39f08
SM
23802012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2381
0fb3cb7c
SM
2382 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
2383
2de39f08
SM
2384 * emacs-lisp/edebug.el: Miscellaneous cleanup.
2385 Remove obsolete byte-compiler hack that tried to silence some warnings.
2386 (edebug-submit-bug-report): Remove.
2387 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
2388 Remove aliases, use the un-prefixed name instead.
2389 (edebug-pop-to-buffer): Consider other frames.
2390 (edebug-original-read):: Make it more obvious that it's always defined.
2391 (edebug--make-form-data-entry, edebug--form-data-name)
2392 (edebug--form-data-begin, edebug--form-data-end): Rename from the
2393 single-dashed name, and implement with cl-defstruct.
2394 (edebug-set-form-data-entry): Use the standard accessors.
2395 (edebug-make-top-form-data-entry): Use push.
2396 (edebug-no-match): Drop useless `funcall'.
2397 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
2398 to functions.
2399 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
2400 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
2401 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
2402 (easy-menu-define, with-custom-print): Remove redundant specs.
2403 (edebug-outside-overriding-local-map)
2404 (edebug-outside-overriding-terminal-local-map): Remove, unused.
2405 (edebug--display): Bind unread-command-events directly to nil rather
2406 than binding it to unread-command-events and later setting it to nil.
2407 (edebug--display): Kill edebug-eval-buffer here...
2408 (edebug--recursive-edit): ...rather than here.
2409 Bind standard-output and standard-input.
2410 (edebug-eval): Check cl-macroexpand-all is fboundp.
2411 (edebug-temp-display-freq-count): Fix last change.
2412
2413 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
2414 * subr.el (noreturn, 1value): Add `debug' spec.
2415 * emacs-lisp/advice.el: Require cl-lib.
2416 (ad-copy-tree): Remove, use copy-tree instead.
2417 (ad-dolist): Remove use dolist or cl-dolist instead.
2418 (ad-do-return): Remove, use cl-return instead.
2419 (defadvice): Add `debug' spec.
2420
5b68b333
JL
24212012-09-13 Juri Linkov <juri@jurta.org>
2422
2423 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
2424 (Bug#12399)
2425
b9800ec4
GM
24262012-09-13 Glenn Morris <rgm@gnu.org>
2427
6a2e6868
GM
2428 * calc/calc.el (math-compose-expr):
2429 * calc/calc-ext.el (math-compose-expr):
2430 * progmodes/cc-defs.el (cl-macroexpand-all):
2431 * progmodes/cc-langs.el (delete-duplicates, mapcan)
2432 (cl-macroexpand-all): Update declarations.
2433
b9800ec4
GM
2434 * vc/vc.el: No need to require ediff.
2435 (ediff-load-version-control): Declare.
2436 (ediff-vc-internal): Fix declaration.
2437 (vc-version-ediff): Require ediff.
2438
c18e885b
PE
24392012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2440
2441 Use a more backwards-compatible timer format (Bug#12430).
2442 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
2443 being right after USECS, as that better supports old code that
2444 inadvisedly looked directly at the timer vector.
2445
d607d303
KH
24462012-09-13 Kenichi Handa <handa@gnu.org>
2447
2448 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2449 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
2450 `coding-priority' property of these language environment.
2451
72eac303
PE
24522012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2453
2454 Fix glitches caused by addition of psec to timers (Bug#12430).
2455 * image.el (image-animate-timer):
2456 * time.el (display-time-world-timer):
2457 Use timer--function and timer--args rather than raw access to
2458 timer vector.
2459
2168fe4f
GM
24602012-09-13 Glenn Morris <rgm@gnu.org>
2461
2462 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2463 If not compiling a file, try using load-file-name.
2464
bd8d6108
SM
24652012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2466
c0c54fbd
SM
2467 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
2468 Fix last change.
2469 (edebug-update-eval-list): Use `push'.
2470
bd8d6108
SM
2471 * emacs-lisp/edebug.el: Use lexical-binding.
2472 Remove the "edebug-" prefix from non-dynamically-scoped variables.
2473 Mark unused args with underscore.
2474 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2475 (edebug-form-data): Use defvar-local.
2476 (edebug-make-before-and-after-form, edebug-make-after-form):
2477 Use backquote.
2478 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2479 Not dynamically scoped any more.
2480 (edebug--enter-trace): Add arguments `function' and `args'.
2481 Rename from edebug-enter-trace.
2482 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2483 (edebug--update-coverage): Add `after-index' and `value' args.
2484 Rename from edebug-update-coverage.
2485 (edebug-slow-after): Call it accordingly.
2486 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2487 edebug-recursive-edit.
2488 (edebug--display): Call it accordingly. Add args `value',
2489 `offset-index', and `arg-mode'. Rename from edebug-display.
2490 (edebug-debugger, edebug): Call it accordingly.
2491 (edebug-eval-display-list): Use dolist.
2492
a9f9d9de
JL
24932012-09-12 Juri Linkov <juri@jurta.org>
2494
2495 * info.el (Info-search): Don't check for isearch-mode and
2496 isearch-regexp before let-binding search-spaces-regexp to
2497 Info-search-whitespace-regexp.
2498 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2499 search-whitespace-regexp if isearch-lax-whitespace or
2500 isearch-regexp-lax-whitespace is non-nil.
2501 (Info-mode): Don't set local variable search-whitespace-regexp.
2502 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2503
bfeae2cf
SM
25042012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2505
2506 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2507 (debugger-env-macro): Remove support for unread-command-char.
2508
2509 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2510 the temporary map re-appearing on emulation-mode-map-alists.
2511
2512 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2513 since 22.1.
2514
2515 * ehelp.el (with-electric-help): Accept functions in
2516 electric-help-form-to-execute.
2517 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2518 And replace unread-command-char -> unread-command-events.
2519
fbbcaf1b
MA
25202012-09-12 Michael Albinus <michael.albinus@gmx.de>
2521
2522 Sync with Tramp 2.2.6.
2523
2524 * net/tramp.el (tramp-accept-process-output): Don't use
2525 JUST-THIS-ONE in the XEmacs case.
2526
2527 * net/trampver.el: Update release number.
2528
4dece104
MR
25292012-09-12 Martin Rudalics <rudalics@gmx.at>
2530
bfeae2cf
SM
2531 * emacs-lisp/debug.el (debugger-previous-window-height):
2532 New variable.
4dece104
MR
2533 (debug): When debugger-jumping-flag is non-nil try to restore
2534 height of debugger window. (Bug#8789)
2535
45b82ad0
SM
25362012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2537
60c49c0f
SM
2538 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2539 overriding-local-map and pre/post-command-hook here.
2540 (edebug-recursive-edit): Do it here instead (bug#12345).
2541 (edebug-outside-unread-command-char): Remove all uses of
2542 unread-command-char.
2543
45b82ad0
SM
2544 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2545 inhibit-debugger is bound instead.
2546
baa26ea0
BG
25472012-09-11 Bastien Guerry <bzg@gnu.org>
2548
2549 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 2550 (Bug#12346)
baa26ea0 2551
04e8abfa
BG
25522012-09-11 Bastien Guerry <bzg@gnu.org>
2553
96d03571 2554 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 2555 (Bug#12347)
96d03571
BG
2556
25572012-09-11 Bastien Guerry <bzg@gnu.org>
2558
fc0c31f8 2559 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 2560
04e082b0
MM
25612012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2562
2563 * progmodes/sql.el: Version 3.1
2564 (sql-db2-escape-newlines): New variable.
2565 (sql-escape-newlines-filter): Use it.
2566
399a361b
JB
25672012-09-10 Juanma Barranquero <lekktu@gmail.com>
2568
2569 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2570
0780c517
DN
25712012-09-10 Dan Nicolaescu <dann@gnu.org>
2572
45b82ad0
SM
2573 * vc/diff-mode.el (diff-mode-menu):
2574 Bind diff-remove-trailing-whitespace.
0780c517 2575
9b851e25
SM
25762012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2577
2578 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
2579 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2580 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
2581 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2582 (eval-defun-2): Remove bogus interactive spec.
2583 (lisp-indent-line): Remove redundant whole-exp code, now done in
2584 indent-according-to-mode.
2585 (save-match-data): Remove redundant indent data.
2586
2587 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2588 Use `declare'.
2589
3231d532
JL
25902012-09-09 Juri Linkov <juri@jurta.org>
2591
2592 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2593 (replace-lax-whitespace, query-replace-regexp)
2594 (query-replace-regexp-eval, replace-regexp): Doc fix.
2595 (perform-replace, replace-highlight): Let-bind
2596 isearch-lax-whitespace to replace-lax-whitespace and
2597 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2598
2599 * isearch.el (isearch-query-replace): Let-bind
2600 replace-lax-whitespace to isearch-lax-whitespace and
2601 replace-regexp-lax-whitespace to
2602 isearch-regexp-lax-whitespace. (Bug#10885)
2603
70fe8236
SM
26042012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2605
2606 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2607
8ed43f15
AM
26082012-09-09 Alan Mackenzie <acm@muc.de>
2609
70fe8236
SM
2610 * progmodes/cc-engine.el (c-state-cache-init):
2611 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2612 (c-record-parse-state-state):
2613 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 2614
bfabf70a
AS
26152012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2616
2617 * register.el (register-separator): Rename from
2618 separator-register. All uses changed. Doc fix.
2619 (register): Fix version.
2620
011474aa
CY
26212012-09-09 Chong Yidong <cyd@gnu.org>
2622
2623 * replace.el (query-replace-map): Bind four new symbols for
2624 requesting window scrolling.
2625
2626 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2627 query-replace-map (Bug#8948).
2628
2629 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2630
2631 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2632 since they are now in query-replace-map.
2633
2634 * window.el (scroll-other-window-down): Make the arg optional.
2635
a8b7cd8d
CY
26362012-09-09 Chong Yidong <cyd@gnu.org>
2637
2638 * files.el (hack-local-variables-confirm): Use quit-window to kill
2639 the *Local Variables* buffer.
2640
c3268831
DG
26412012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2642
2643 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2644 not just expect to be at its beginning. Adjust callees.
2645 Succeed when do-end block has no space before the pipe character.
2646 (ruby-brace-to-do-end): When the original block is one-liner,
2647 convert to multiline. Reindent the result.
2648
0979429b
J
26492012-09-08 Jambunathan K <kjambunathan@gmail.com>
2650
2651 * register.el (register): New group.
27359e99 2652 (separator-register): New user option.
0979429b
J
2653 (increment-register): Route it to `append-to-register', if
2654 register contains text. Implication is that `C-x r +' can now be
2655 used for appending to a text register (bug#12217).
2656 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 2657 `separator-register'.
0979429b 2658
ace2989a
AM
26592012-09-08 Alan Mackenzie <acm@muc.de>
2660
2661 AWK Mode: make auto-newline work when there's "==" in the pattern.
2662 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2663 correctly.
0979429b
J
2664 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2665 Test more rigorously for "=" token.
ace2989a 2666
616c6c36
DG
26672012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2668
0979429b
J
2669 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2670 Only fail when reached LIMIT.
616c6c36 2671
35d98877
CY
26722012-09-08 Chong Yidong <cyd@gnu.org>
2673
2674 * dired.el (dired-mode-map): Don't bind M-=.
2675
2676 * dired-aux.el (dired-diff): Use backup file as default.
2677
1715f2db
DA
26782012-09-08 Drew Adams <drew.adams@oracle.com>
2679
2680 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2681
6dcef6ec
CY
26822012-09-08 Chong Yidong <cyd@gnu.org>
2683
2684 * subr.el (syntax-after, syntax-class): Doc fix.
2685
fa2bcf43
MR
26862012-09-08 Martin Rudalics <rudalics@gmx.at>
2687
2688 * window.el (display-buffer-in-previous-window): New buffer
2689 display action function.
2690
2691 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2692 (debugger-previous-window): New variable.
2693 (debug): Rewrite using display-buffer-in-previous-window,
2694 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2695
daac280a
SM
26962012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2697
2698 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2699
9dd40b00
MM
27002012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2701
daac280a
SM
2702 * progmodes/python.el (python-shell-send-string):
2703 When default-directory is remote, create temp file on remote
9dd40b00
MM
2704 filesystem.
2705 (python-shell-send-file): When file is remote, pass local view of
2706 file paths to remote Python interpreter. (Bug#12340)
2707
145823ec
CY
27082012-09-07 Chong Yidong <cyd@gnu.org>
2709
cee2e90d
CY
2710 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2711
0d7eb2ea
CY
2712 * files.el (after-find-file): Don't fail on a read-only buffer if
2713 require-final-newline is `visit' or `visit-save' (Bug#11156).
2714
145823ec
CY
2715 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2716
daac280a
SM
2717 * userlock.el (ask-user-about-supersession-threat):
2718 Use read-char-choice (Bug#12093).
145823ec 2719
74c582e6
CY
27202012-09-07 Chong Yidong <cyd@gnu.org>
2721
e5c2edf7
CY
2722 * subr.el (buffer-narrowed-p): New function.
2723
2724 * ses.el (ses-widen):
2725 * simple.el (count-words--buffer-message):
1f9f395d 2726 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
2727
2728 * simple.el (count-words-region): Don't signal an error if there
2729 is a non-nil prefix arg and the mark is not set.
c640e87d 2730
74c582e6
CY
2731 * help.el (describe-key-briefly): Allow the message to be seen
2732 when invoked from the minibuffer (Bug#7014).
2733
d81ceaaf
DG
27342012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2735
2736 * progmodes/ruby-mode.el (ruby-end-of-defun)
2737 (ruby-beginning-of-defun): Simplify, allow indentation before
2738 block beginning and end keywords.
8f06acce
DG
2739 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2740 (ruby-end-of-defun): Expect that the point is at the beginning of
2741 the defun.
d81ceaaf 2742
d458ef98
SM
27432012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2744
2745 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2746 (bug#12367).
2747 (cl--make-usage-args): Strip _ from argument names.
2748
20367d28
RS
27492012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2750
2751 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2752 obsolete alias speedbar-key-map.
2753 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2754 (vhdl-index-menu-init): Don't use obsolete variable
2755 font-lock-maximum-size.
2756
3424a4f6
CY
27572012-09-06 Chong Yidong <cyd@gnu.org>
2758
2759 * frame.el (window-system-version): Mark as obsolete.
2760
fcbfbdea
CY
2761 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2762 of obsolete variable speedbar-key-map.
2763
826b3235
JL
27642012-09-06 Juri Linkov <juri@jurta.org>
2765
2766 * replace.el (replace-lax-whitespace): New defcustom.
2767 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2768 (replace-string, replace-regexp): Mention it in docstrings.
2769 (perform-replace, replace-highlight): Let-bind
2770 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2771 to the values of replace-lax-whitespace and regexp-flag.
2772 Don't let-bind search-whitespace-regexp. (Bug#10885)
2773
2774 * isearch.el (isearch-query-replace): Let-bind
2775 replace-lax-whitespace instead of let-binding
2776 replace-search-function and replace-re-search-function.
2777 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2778 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2779 (isearch-toggle-symbol): Set isearch-regexp to nil
2780 in isearch-word mode (like in isearch-toggle-word).
2781
1ec5e41d
JL
27822012-09-06 Juri Linkov <juri@jurta.org>
2783
2784 * replace.el (replace-search-function)
2785 (replace-re-search-function): Set default values to nil.
2786 (perform-replace): Let-bind isearch-related variables based on
2787 replace-related values, call `isearch-search-fun' and let-bind
2788 the result to `search-function'. Remove code that sets
2789 `search-function' and `search-string' separately for
2790 `delimited-flag'.
2791 (replace-highlight): Add new argument `delimited-flag' and
2792 rename other arguments to the names used in `perform-replace'.
2793 Let-bind `isearch-word' to the argument `delimited-flag'.
2794 (Bug#10885, bug#10887)
2795
0ba2d4b6
DG
27962012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2797
2798 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2799 ruby-beginning-of-indent, simplify, allow all keywords to have
2800 indentation before them.
2801 (ruby-beginning-of-indent): Adjust for above. Search until the
2802 found point is not inside a string or comment.
2803 (ruby-font-lock-keywords): Allow symbols to start with "@"
2804 character, give them higher priority than variables.
2805 (ruby-syntax-propertize-function)
2806 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2807 matchers. Expression expansions are not comments when inside a
2808 string, and there comment syntax status is irrelevant.
2809 (ruby-match-expression-expansion): New function. Check that
2810 expression expansion is inside a string, and it's not escaped.
2811 (ruby-font-lock-keywords): Use it.
2812
ef654460
MR
28132012-09-05 Martin Rudalics <rudalics@gmx.at>
2814
2815 * help.el (temp-buffer-max-height): New default value.
2816 (temp-buffer-resize-frames): New option.
2817 (resize-temp-buffer-window): Optionally resize frame.
2818
2819 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2820 (fit-frame-to-buffer): New function.
2821
7e570fbf 28222012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
2823
2824 * emulation/cua-rect.el (cua--init-rectangles):
2825 * textmodes/picture.el (picture-mode-map):
2826 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2827 like forward-char and backward-char. (Bug#12317)
2828
7e570fbf 28292012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
2830
2831 * progmodes/flymake.el (flymake-warning-re): New variable.
2832 (flymake-parse-line): Use it.
2833
7e570fbf 28342012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
2835
2836 * calendar/holidays.el (holiday-christian-holidays):
2837 Rename an entry. (Bug#12289)
2838
7e570fbf 28392012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
2840
2841 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2842 (bug#12222).
2843
972debf2
SM
28442012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2845
2846 * loadup.el: Load macroexp. Remove hack.
2847 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2848 (macroexp--expand-all): Use it to get better warnings.
2849 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2850 (internal-macroexpand-for-load): New functions.
2851 (macroexp--pending-eager-loads): New var.
2852 (emacs-startup-hook): New hack to replace one in loadup.el.
2853 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2854 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2855 (cl-psetf): Simplify.
2856 (cl-defstruct): Add indent rule.
2857
8ce192e3
LI
28582012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2859
2860 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2861 over `user-mail-address' for the SMTP MAIL FROM envelope.
2862 (smtpmail-via-smtp): Ditto.
2863
6578b4d8
DG
28642012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2865
2866 * progmodes/ruby-mode.el: Clean up keybindings.
2867 (ruby-mode-map): Don't bind ruby-electric-brace,
2868 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2869 backward-kill-word, reindent-then-newline-and-indent.
2870 (ruby-mark-defun): Remove.
2871 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2872 (ruby-mode): Set local beginning-of-defun-function and
2873 end-of-defun-function values.
2874
c5e28e39
MR
28752012-09-03 Martin Rudalics <rudalics@gmx.at>
2876
2877 * window.el (temp-buffer-window-setup-hook)
2878 (temp-buffer-window-show-hook): New hooks.
2879 (temp-buffer-window-setup, temp-buffer-window-show)
2880 (with-temp-buffer-window): New functions.
972debf2
SM
2881 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2882 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
2883
2884 * help.el (temp-buffer-resize-mode): Fix doc-string.
2885 (resize-temp-buffer-window): New optional argument WINDOW.
2886
2887 * files.el (recover-file, save-buffers-kill-emacs):
2888 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2889
73406194
MA
28902012-09-02 Michael Albinus <michael.albinus@gmx.de>
2891
2892 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2893 remote definition of `default-directory', ensure we can connect.
2894
63dd1c6f
JL
28952012-09-02 Juri Linkov <juri@jurta.org>
2896
2897 Toggle whitespace matching mode with M-s SPC.
2898 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2899
2900 * isearch.el (search-whitespace-regexp): Doc fix.
2901 Remove cons cell customization.
2902 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2903 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2904 New variables.
2905 (isearch-forward, isearch-forward-regexp): Doc fix.
2906 (isearch-toggle-lax-whitespace): New command.
2907 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2908 (re-search-forward-lax-whitespace)
2909 (re-search-backward-lax-whitespace): New functions.
2910 (isearch-whitespace-regexp): Remove function.
2911 (isearch-query-replace): Let-bind replace-search-function and
2912 replace-re-search-function.
2913 (isearch-occur): Let-bind search-spaces-regexp according to the
2914 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2915 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2916 condition for C-q SPC.
2917 (isearch-search-fun-default): Use new functions mentioned above.
2918 (isearch-search-forward, isearch-search-backward): Remove functions.
2919 (isearch-search): Don't let-bind search-spaces-regexp.
2920 (isearch-lazy-highlight-space-regexp): Remove variable.
2921 (isearch-lazy-highlight-lax-whitespace)
2922 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2923 (isearch-lazy-highlight-new-loop): Use them.
2924 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2925
af7dda05
CY
29262012-09-02 Chong Yidong <cyd@gnu.org>
2927
2928 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2929
d67d3afd
GM
29302012-09-02 Glenn Morris <rgm@gnu.org>
2931
2932 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2933
69678719
GM
29342012-09-01 Glenn Morris <rgm@gnu.org>
2935
2936 * term.el: Tidy up menu definitions.
2937 (term-mode-map): Use easymenu for In/Out, Complete menus.
2938 (term-pager-break-map): Initialize in the defvar.
2939 (term-terminal-menu, term-signals-menu): Define with easymenu.
2940 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2941 (term-pager-menu): New, extracted from term-process-pager.
2942 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2943 (term-update-mode-line): Propertize line/char and page items.
2944 (term-process-pager): Move keymap initialization elsewhere.
2945
78dd6ab1
MR
29462012-09-01 Martin Rudalics <rudalics@gmx.at>
2947
2948 * window.el (switch-to-prev-buffer): Handle additional values of
2949 BURY-OR-KILL argument. Don't switch in minibuffer window.
2950 (switch-to-next-buffer): Don't switch in minibuffer window.
2951 (quit-restore-window): New function based on quit-window.
2952 Handle additional values of former KILL argument.
2953 (quit-window): Call quit-restore-window with appropriate
2954 interpretation of KILL argument.
2955 (display-buffer-below-selected): New buffer display action
2956 function.
2957
3d10e134
SM
29582012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2959
2960 * minibuffer.el (completion-at-point-functions): Complete docstring
2961 (bug#12254).
2962
0e23ef9d
PE
29632012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2964
2965 Better seed support for (random).
2966 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2967 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2968 * play/mpuz.el, play/tetris.el, play/zone.el:
2969 * calc/calc-comb.el (math-init-random-base):
2970 * play/blackbox.el (bb-init-board):
2971 * play/life.el (life):
2972 * server.el (server-use-tcp):
2973 * type-break.el (type-break):
2974 Remove unnecessary call to (random t).
2975 * net/sasl.el (sasl-unique-id-function):
2976 Change (random t) to (random), now that the latter is more random.
2977 * play/life.el (life-initialized): Remove no-longer-needed var.
2978
862382df
MR
29792012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2980
2981 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2982 Consider frame's buffer predicate when choosing the buffer.
2983 (Bug#12081)
2984
262a66e1
RS
29852012-08-30 Richard Stallman <rms@gnu.org>
2986
2987 * simple.el (special-mode-map): Delete binding for `z'.
2988
f17e1d00
AS
29892012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2990
2991 * progmodes/compile.el (compilation-always-kill): Doc fix.
2992
24777832
CY
29932012-08-30 Chong Yidong <cyd@gnu.org>
2994
2995 * window.el (display-buffer-reuse-frames): Make the obsolescence
2996 message more informative.
2997
69ba1f04
GM
29982012-08-30 Glenn Morris <rgm@gnu.org>
2999
3000 * paren.el (show-paren-delay):
3001 Add a :set function. Doc fix. (Bug#12297)
3002
f0019ede
MB
30032012-08-29 Martin Blais <blais@furius.ca> (tiny change)
3004
3005 * progmodes/compile.el (compilation-always-kill): New var.
3006 (compilation-start): Use it.
3007
35e62fc9
SM
30082012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3009
af070a1c
SM
3010 * simple.el (read-only-mode): Move from files.el for bootstrapping.
3011 * files.el (read-only-mode): Move to simple.el.
3012
35e62fc9
SM
3013 * files.el (read-only-mode): New minor mode.
3014 (toggle-read-only): Use it and mark obsolete.
3015 (find-file--read-only):
3016 * vc/vc.el (vc-next-action, vc-checkout):
3017 * vc/vc-cvs.el (vc-cvs-checkout):
3018 * obsolete/vc-mcvs.el (vc-mcvs-update):
3019 * ffap.el (ffap--toggle-read-only): Update callers.
3020
c2c43c23
MA
30212012-08-29 Michael Albinus <michael.albinus@gmx.de>
3022
3023 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
3024 remote shell scripts.
3025 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
3026
3027 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
3028 "/usr/local/sbin".
3029
9fba804b
SM
30302012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3031
3032 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
3033
eada0861 30342012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 3035
806f0cc7
LL
3036 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
3037 completion-at-point. (Bug#12220)
3038
3bb213b9
LL
3039 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
3040
22ab32ef
LL
3041 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
3042
eada0861 30432012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 3044
19c17fc1
CY
3045 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
3046 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 3047
eada0861 30482012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
3049
3050 * progmodes/hideif.el (hif-compress-define-list):
3051 Fix typo. (Bug#11951)
3052
eada0861 30532012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
3054
3055 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
3056 buffer local setting.
3057
27d6c5a8
LL
3058 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
3059 rcirc-encode-coding-system.
3060
eada0861 30612012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
3062
3063 * net/rcirc.el (rcirc-split-message): New function.
3064 (rcirc-send-message): Use it. (Bug#12051)
3065
d44688e4
JL
30662012-08-28 Juri Linkov <juri@jurta.org>
3067
3068 * info.el (Info-fontify-node): Hide empty lines at the end of
3069 the node. (Bug#12272)
3070
34f10d41
MR
30712012-08-27 Drew Adams <drew.adams@oracle.com>
3072
3073 * dired.el (dired-pop-to-buffer): Make window start at beginning
3074 of buffer (Bug#12281).
3075
77f1f99c
CY
30762012-08-26 Chong Yidong <cyd@gnu.org>
3077
3078 * window.el (special-display-regexps, special-display-frame-alist)
3079 (special-display-buffer-names, special-display-function)
3080 (display-buffer-reuse-frames): Mark as obsolete.
3081
3082 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
3083
3084 * help.el (help-print-return-message): Don't treat
3085 display-buffer-reuse-frames specially.
3086
d97af5a0
CY
30872012-08-26 Chong Yidong <cyd@gnu.org>
3088
9fba804b
SM
3089 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3090 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
3091 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
3092 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
3093 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
3094 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
3095 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
3096 the functions directly with gdb-display-buffer-other-frame-action.
3097 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
3098 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
3099 (gdb-display-stack-buffer, gdb-display-locals-buffer)
3100 (gdb-display-registers-buffer): Define directly.
3101 (def-gdb-display-buffer): Macro deleted.
3102 (gdb-display-buffer): Remove second and third args, callers don't
3103 use them. Defer to the default display-buffer behavior, apart
3104 from making windows dedicated.
3105 (gdb-setup-windows): Don't call display-buffer unnecessarily.
3106
3107 * progmodes/gud.el (gud-display-line): Just use display-buffer.
3108
3109 * window.el (display-buffer-pop-up-frame): Handle a
3110 pop-up-frame-parameters alist entry.
3111 (display-buffer): Document it.
3112
dd7ffad6
CY
31132012-08-26 Chong Yidong <cyd@gnu.org>
3114
3115 * isearch.el (search-whitespace-regexp): Make string and nil
3116 values apply to both ordinary and regexp search. Allow a cons
3117 cell value to distinguish between the two.
3118 (isearch-whitespace-regexp, isearch-search-forward)
3119 (isearch-search-backward): New functions.
3120 (isearch-occur, isearch-search-fun-default, isearch-search)
3121 (isearch-lazy-highlight-new-loop): Use them.
3122 (isearch-forward, isearch-forward-regexp): Doc fix.
3123
4c47bd1e
CY
31242012-08-26 Chong Yidong <cyd@gnu.org>
3125
3126 * faces.el (help-argument-name): Always inherit from italic
3127 (Bug#12213).
3128
9aba119d
MR
31292012-08-25 Martin Rudalics <rudalics@gmx.at>
3130
3131 * window.el (window--even-window-heights): Even heights when
3132 WINDOW and the selected window form a vertical combination.
3133 (display-buffer-use-some-window): Provide that window used gets
3134 sized back by quit-window. (Bug#11880) and (Bug#12091)
3135
ca5256ad
PE
31362012-08-24 Paul Eggert <eggert@cs.ucla.edu>
3137
3138 Fix file time stamp problem with bzr and CVS (Bug#12001).
3139 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
3140 in the file's time stamp, since the version control system loses
3141 that information.
3142
d1c0d176
JL
31432012-08-22 Juri Linkov <juri@jurta.org>
3144
3145 * info.el (Info-fontify-node): Hide the suffix of the
3146 Info file name in the header line. (Bug#12187)
3147
141562ff
GM
31482012-08-22 Glenn Morris <rgm@gnu.org>
3149
3150 * calendar/cal-tex.el (cal-tex-weekly-common):
3151 Restore leading blank page.
3152
61a48e19 31532012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
3154
3155 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
3156 the region under `shift-select-mode'. (Bug#12231)
3157
31582012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
3159
3160 * progmodes/executable.el (executable-prefix): Set to "#!" instead
3161 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
3162 gives details on why the space is never needed.
3163
ea95074e
MR
31642012-08-22 Martin Rudalics <rudalics@gmx.at>
3165
9fba804b
SM
3166 * window.el (walk-window-tree, window-with-parameter):
3167 New optional argument MINIBUF to control whether these functions
ea95074e
MR
3168 should run on the minibuffer window.
3169 (window-at-side-list): Don't operate on minibuffer window.
3170 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
3171 (window--size-ignore): Rename to window--size-ignore-p.
3172 Update callers.
caceae25
MR
3173 (display-buffer-in-atom-window, window--major-non-side-window)
3174 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
3175 (delete-side-window, display-buffer-in-side-window):
3176 New functions.
caceae25
MR
3177 (window--side-check, window-deletable-p, delete-window)
3178 (delete-other-windows, split-window): Handle side windows and
3179 atomic windows appropriately.
3180 (window--display-buffer): Call display-buffer-record-window also
3181 when the window buffer did not change.
ea95074e 3182
80a51fa0
CS
31832012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
3184
3185 * help-fns.el (help-fns--key-bindings):
3186 Abbreviate non-symbol remap targets. (Bug#12174)
3187
fbb6300b
MR
31882012-08-22 Martin Rudalics <rudalics@gmx.at>
3189
3190 * dired.el (dired-mark-remembered): Don't clobber point.
3191 (Bug#11795)
3192
2b2c0794
GM
31932012-08-22 Glenn Morris <rgm@gnu.org>
3194
3195 * progmodes/bug-reference.el (bug-reference): New custom group.
3196 (bug-reference-bug-regexp): Make it a defcustom.
3197
37219830
DU
31982012-08-22 Daiki Ueno <ueno@unixuser.org>
3199
3200 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
3201 (js-paren-indent-offset, js-square-indent-offset)
3202 (js-curly-indent-offset): Add :safe (Bug#12257).
3203
94e0e559
EC
32042012-08-22 Edward O'Connor <hober0@gmail.com>
3205
3206 * json.el (json-key-format): Add error properties.
3207 (json-encode-key): New function.
3208 (json-encode-hash-table, json-encode-alist, json-encode-plist):
3209 Use json-encode-key.
3210
da485f5e
GM
32112012-08-22 Glenn Morris <rgm@gnu.org>
3212
3213 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
3214 (cal-tex-leftday, cal-tex-rightday): Remove functions.
3215 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
3216 Update for above change.
3217
c6cc78b8
AS
32182012-08-21 Andreas Schwab <schwab@linux-m68k.org>
3219
3220 * cus-face.el (custom-face-attributes): Fix customize type for the
3221 :underline attribute. (Bug#11805)
3222
5481664a
MR
32232012-08-21 Martin Rudalics <rudalics@gmx.at>
3224
3225 * window.el (window-point-1, set-window-point-1): Remove.
3226 (window-in-direction, record-window-buffer)
3227 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
3228 (window--state-get-1, display-buffer-record-window):
3229 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
3230 window-point and set-window-point respectively.
3231
6d74698e
GM
32322012-08-21 Glenn Morris <rgm@gnu.org>
3233
b7fa2691
GM
3234 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
3235 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
3236 Use it.
3237
52f56d5a
GM
3238 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
3239 (cal-tex-shortday): New function.
3240 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
3241 (cal-tex-cursor-filofax-daily): Use the above.
3242
9f1ee09e
GM
3243 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
3244 New functions.
3245 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3246 (cal-tex-cursor-filofax-week): Use them.
3247
79858159
GM
3248 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
3249 New constants.
3250 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3251 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
3252
d346b2b4
GM
3253 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
3254 (cal-tex-end-document): Don't rely on buffer name.
3255
b2403709
GM
3256 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
3257 Use cal-tex-vspace.
3258 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
3259 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
3260 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
3261 Use cal-tex-arg.
b2403709 3262
1cebb5c0
GM
3263 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
3264 (cal-tex-cursor-week, cal-tex-cursor-week2)
3265 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
3266 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3267 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
3268 (cal-tex-insert-preamble, cal-tex-b-document)
3269 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
3270 Improve cal-tex-cmd usage.
3271
c68cd5d4
GM
3272 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
3273 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
3274 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
3275 (cal-tex-weekly-paper): New function.
3276 (cal-tex-cursor-week, cal-tex-cursor-week2)
3277 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
3278 (cal-tex-cursor-day): Use it.
3279
9dca4801
GM
3280 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
3281 (cal-tex-cursor-filofax-week): Remove leading blank page.
3282
1941e134
GM
3283 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3284 Add autoload cookie. For now at least, don't use color, since
3285 no other cal-tex function does.
3286
6d74698e
GM
3287 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
3288 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3289 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
3290
64cde199
JL
32912012-08-21 Juri Linkov <juri@jurta.org>
3292
3293 * info.el (Info-file-attributes): New variable.
3294 (info-insert-file-contents): Add file attributes to
3295 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
3296 `Info-toc-nodes' when previous modtime of the Info file is less
3297 than new modtime.
3298 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
3299 of info.el. (Bug#12230)
3300
32757648
GM
33012012-08-20 Glenn Morris <rgm@gnu.org>
3302
3303 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
3304 * calendar/holidays.el (calendar-holiday-list):
3305 Report errors with display-warning rather than beep'n'sleep.
3306
a32fbbcf
MA
33072012-08-20 Michael Albinus <michael.albinus@gmx.de>
3308
3309 * net/tramp.el (tramp-accept-process-output): Accept only output
3310 from PROC. Otherwise, process filters and sentinels might be
3311 confused. (Bug#12145)
3312
a05731a0
CY
33132012-08-20 Chong Yidong <cyd@gnu.org>
3314
3315 * descr-text.el (describe-text-properties-1): Use overlays-in to
3316 report on empty overlays (Bug#3322).
3317
36e8d1eb
GM
33182012-08-20 Glenn Morris <rgm@gnu.org>
3319
3d300447
GM
3320 * mail/rmailout.el (rmail-output-read-file-name):
3321 Trap and report errors in rmail-output-file-alist elements.
3322
36e8d1eb
GM
3323 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
3324 since most non-font-lock faces are not also variables).
3325
b96e5814
ER
33262012-08-20 Edward Reingold <reingold@iit.edu>
3327
3328 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3329 New function. (Bug12160)
3330
7cef3569
GM
33312012-08-19 Glenn Morris <rgm@gnu.org>
3332
3333 * mail/rmailout.el (rmail-output-read-file-name):
3334 Fix previous change (when the alist is nil or does not match).
3335
17975d7f
CY
33362012-08-19 Chong Yidong <cyd@gnu.org>
3337
3338 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
3339 (Bug#12228).
3340
2170b1bd
CY
33412012-08-18 Chong Yidong <cyd@gnu.org>
3342
3343 * simple.el (yank-handled-properties): New defcustom.
3344 (yank-excluded-properties): Add font-lock-face and category.
3345 (yank): Doc fix.
3346
9fba804b
SM
3347 * subr.el (remove-yank-excluded-properties):
3348 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
3349 and category is now done this way, instead of being hard-coded.
3350 (insert-for-yank-1): Remove font-lock-face handling.
3351 (yank-handle-font-lock-face-property)
3352 (yank-handle-category-property): New function.
3353
ee218151
GM
33542012-08-17 Glenn Morris <rgm@gnu.org>
3355
3356 * mail/rmailout.el (rmail-output-read-file-name):
3357 Check rmail-output-file-alist against the full message body
3358 in the correct rmail buffer. (Bug#12214)
3359
4a6bc3fd
MA
33602012-08-17 Michael Albinus <michael.albinus@gmx.de>
3361
9fba804b
SM
3362 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3363 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 3364
383dcbf9
CY
33652012-08-17 Chong Yidong <cyd@gnu.org>
3366
3367 * mouse.el (mouse-appearance-menu): If x-select-font returns a
3368 font spec, set the font directly (Bug#3228).
3369
998c4a6a
MR
33702012-08-17 Martin Rudalics <rudalics@gmx.at>
3371
3372 * window.el (delete-window): Fix last fix.
3373
52162052
MR
33742012-08-16 Martin Rudalics <rudalics@gmx.at>
3375
3376 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
3377 (window-child, window-child-count, window-last-child)
3378 (window-normalize-window, window-combined-p)
3379 (window-combinations, window-atom-root, window-min-size)
3380 (window-sizable, window-sizable-p, window-size-fixed-p)
3381 (window-min-delta, window-max-delta, window--resizable)
3382 (window--resizable-p, window-resizable, window-total-size)
3383 (window-full-height-p, window-full-width-p, window-body-size)
3384 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
3385 (minimize-window, window-deletable-p, delete-window)
3386 (delete-other-windows, set-window-buffer-start-and-point)
3387 (next-buffer, previous-buffer, split-window, balance-windows-2)
3388 (set-window-text-height, window-buffer-height)
3389 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
3390 (truncated-partial-width-window-p): Minor code adjustments.
3391 In doc-strings state whether the argument window has to denote a
85c2386b 3392 live, valid or any window.
52162052 3393
1c308380
PS
33942012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
3395
3396 * progmodes/subword.el (subword-forward-function)
3397 (subword-backward-function, subword-forward-regexp)
3398 (subword-backward-regexp): New variables.
3399 (subword-forward, subword-forward-internal, subword-backward-internal):
3400 Use new variables, eg so that different "word" definitions
3401 can be easily used. (Bug#11411)
3402
94c9ece1
SM
34032012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3404
3405 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
3406 for composite selectors.
3407 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
3408 operation just because we can't find a previous revision.
3409
f2045622
CY
34102012-08-15 Chong Yidong <cyd@gnu.org>
3411
3412 * frame.el (set-frame-font): Accept font objects.
3413
582db660
SM
34142012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3415
3416 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
3417
2f29c200
WJ
34182012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
3419
456e62c2
WJ
3420 * man.el (Man-overstrike-face, Man-underline-face)
3421 (Man-reverse-face): Remove variables.
3422 (Man-overstrike, Man-underline, Man-reverse): New faces.
3423 (Man-fontify-manpage): Use them instead of the variables.
3424 (Man-cleanup-manpage): Comment change.
3425 (Man-ansi-color-map): New variable.
3426 (Man-fontify-manpage): Use it.
3427 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
3428
2f29c200
WJ
3429 Implement ANSI SGR parameters 22-27 (bug#12146).
3430 * ansi-color.el (ansi-colors): Doc fix.
3431 (ansi-color-context, ansi-color-context-region): Doc fix.
3432 (ansi-color--find-face): New function.
3433 (ansi-color-apply, ansi-color-apply-on-region): Use it.
3434 Rename the local variable `face' to `codes' since it is now a list of
3435 ansi codes. Doc fix.
3436 (ansi-color-get-face): Remove.
3437 (ansi-color-parse-sequence): New function, derived from
3438 ansi-color-get-face.
3439 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
3440 codes 22-27.
3441
b4f5e9df
SM
34422012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3443
3444 * subr.el (read-passwd): Allow use from a minibuffer.
3445
ba025fbd
EZ
34462012-08-14 Eli Zaretskii <eliz@gnu.org>
3447
3448 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
3449 inside comments and strings as identifiers.
3450
3451 * progmodes/gud.el (gud-tooltip-print-command): Quote the
3452 expression to evaluate. This allows to evaluate expressions with
3453 embedded whitespace.
3454 (gud-tooltip-tips): Add a blank before the newline in the
3455 message-box text, for the benefit of message-box emulation on
3456 MS-Windows.
3457
3458 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
3459 messages from GDB, pop them up in a tooltip to give feedback to
3460 user.
b4f5e9df
SM
3461 (gdb-tooltip-print-1): Quote the expression to evaluate.
3462 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
3463 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
3464 if the TTY name is nil or empty (which happens when communicating
3465 with the inferior via pipes, e.g. on MS-Windows).
3466 (gdb-internals): If GDB sends a "&\n" empty debugging message,
3467 don't send that to the GUD buffer.
3468
c548f821
GM
34692012-08-14 Glenn Morris <rgm@gnu.org>
3470
3471 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3472 Optimize away setq-default with no args, as for setq. (Bug#12195)
3473
55802e4a
CY
34742012-08-14 Chong Yidong <cyd@gnu.org>
3475
4abcdac8
CY
3476 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3477
55802e4a
CY
3478 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3479 (Bug#12085).
3480
3c3cda1a
GM
34812012-08-14 Glenn Morris <rgm@gnu.org>
3482
3483 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3484
e1873bd0
MA
34852012-08-14 Michael Albinus <michael.albinus@gmx.de>
3486
3487 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3488 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3489 Use cached shell name.
3490
925411b4
FEG
34912012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3492
3493 * progmodes/python.el (python-shell-send-string):
3c3cda1a 3494 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 3495
e636fafe
DG
34962012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3497
3498 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3499 (ruby-percent-literal-beg-re): New constant.
3500 (ruby-syntax-general-delimiters-goto-beg): Rename to
3501 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3502 (ruby-syntax-propertize-general-delimiters): Rename to
3503 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3504 popular term. Adjust comments everywhere.
3505 (ruby-syntax-propertize-percent-literal): Only propertize when not
3506 inside a simple string or comment. When the literal is unclosed,
3507 leave the text after it unpropertized.
f063063a
DG
3508 (ruby-syntax-methods-before-regexp): New constant.
3509 (ruby-syntax-propertize-function): Use it to recognize regexps.
3510 Don't look at the text after regexp, just use the whitelist.
e636fafe 3511
e5b19827
AS
35122012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3513
3514 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3515 non-nil always load the compiled file if it exists. (Bug#12197)
3516
a9f6f311
CY
35172012-08-14 Chong Yidong <cyd@gnu.org>
3518
3519 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3520 (hi-lock-set-pattern): When deciding whether to use font lock or
3521 overlays, look at font-lock-mode instead of font-lock-fontified
3522 (Bug#12168).
3523 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3524 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3525
7d806b1e
DU
35262012-08-14 Daiki Ueno <ueno@unixuser.org>
3527
3528 * subr.el (internal--after-with-selected-window): Fix typo
3529 (Bug#12193).
3530
5beed586
FEG
35312012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3532
3533 Use `completion-table-dynamic' for completion functions.
3534 * progmodes/python.el
3535 (python-shell-completion--do-completion-at-point)
e636fafe
DG
3536 (python-shell-completion--get-completions):
3537 Remove functions.
5beed586
FEG
3538 (python-shell-completion-complete-at-point): New function.
3539 (python-completion-complete-at-point): Use it.
3540
92cb3b04
J
35412012-08-13 Jambunathan K <kjambunathan@gmail.com>
3542
3543 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3544 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3545
89660017
SM
35462012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3547
3c98c962
SM
3548 * subr.el (function-get): Refine `autoload' arg so it can also
3549 autoload functions for gv.el (bug#12191).
3550 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3551 autoloads macros.
3552
aa7c6dbe
SM
3553 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3554 Prefer pcase-let over destructuring-bind.
3555 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3556 Also, remove whitespace as we go, rather than after accumulating the
3557 various places.
3558
89660017
SM
3559 * subr.el (internal--before-with-selected-window)
3560 (internal--after-with-selected-window): Fix typo seleted->selected.
3561 (with-selected-window): Adjust callers.
3562 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3563
31cd32c9
BG
35642012-08-13 Bastien Guerry <bzg@gnu.org>
3565
0fcd3d9f 3566 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
3567 enhancement. (Bug#12172)
3568
1b15d8ad
AS
35692012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3570
31e54db0
AS
3571 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3572 type 1-6.
3573 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3574 extended headers.
3575
1b15d8ad
AS
3576 * files.el (hack-local-variables-filter): Remove useless eval.
3577
35cb9c06
MR
35782012-08-13 Martin Rudalics <rudalics@gmx.at>
3579
3580 * subr.el (with-selected-window): Fix last change.
3581
1439443b
SM
35822012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3583
3584 * subr.el (internal--before-with-seleted-window)
3585 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
3586 (with-selected-window): Use them, to replace dependency on
3587 tty-top-frame.
1439443b 3588
0d9e2599
NN
35892012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3590
3591 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3592 binding for `newline'.
3593 (ruby-move-to-block): When moving backward, stop at block opening,
3594 not indentation.
3595 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3596 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3597 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3598 `ruby-toggle-block'.
3599
ba10c48c
SM
36002012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3601
3602 * ibuffer.el (ibuffer-do-toggle-read-only):
3603 * dired.el (dired-toggle-read-only):
3604 * buff-menu.el (Buffer-menu-toggle-read-only):
3605 * bindings.el (mode-line-toggle-read-only):
3606 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3607
9229c658
AS
36082012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3609
3610 * descr-text.el (describe-char): Put the overlays over the
3611 "displayed as" character.
3612
0fd09128
JB
36132012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3614
3615 * calc/calc-units.el (math-default-units-table): Give an
3616 initial value.
3617 (math-put-default-units): Add options to put composite units and
3618 unit systems in the default units table.
3619 (calc-convert-units): Send composite units to
3620 `math-put-default-units' when appropriate.
3621
9ff9402d 36222012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 3623
fbb5e336
GM
3624 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3625
7aacaf15
GM
3626 * tutorial.el (help-with-tutorial):
3627 * emacs-lisp/copyright.el (copyright-update-directory):
3628 * emacs-lisp/autoload.el (autoload-find-generated-file)
3629 (autoload-find-file): Disable local eval: (for insurance).
3630
f40b9f10
GM
3631 * files.el (hack-local-variables-filter): If an eval: form is not
3632 known to be safe, and enable-local-variables is :safe, then ignore
3633 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 3634 This is CVE-2012-3479.
f40b9f10 3635
daa9f1a6
SM
36362012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3637
3638 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3639 (rx-form): Simplify.
3640
9cd80478
DG
36412012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3642
0d9e2599
NN
3643 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3644 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3645 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3646 (ruby-syntax-propertize-function): Adjust for changes in
3647 `ruby-syntax-propertize-heredoc'.
3648
36492012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3650
9cd80478
DG
3651 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3652 binding (use `M-;' instead).
9cd80478 3653 (ruby-singleton-class-p): New function.
0d9e2599 3654 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 3655
d301b413
SM
36562012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3657
3658 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3659
1530c98e
CY
36602012-08-10 Chong Yidong <cyd@gnu.org>
3661
3662 * progmodes/python.el (python-shell-get-process-name): Don't mess
3663 with same-window-buffer-names.
3664
3665 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3666 (eshell-remove-from-window-buffer-names): Make obsolete.
3667 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3668 (eshell): Just use pop-to-buffer-same-window instead.
3669
e1293765
CY
36702012-08-10 Chong Yidong <cyd@gnu.org>
3671
3672 * bindings.el: Bind M-= back to count-words-region.
3673
3674 * simple.el (count-words-region): Accept a prefix arg for acting
3675 on the entire buffer.
3676 (count-words--buffer-message): New helper function.
3677
e1894109
SM
36782012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3679
3680 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3681 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3682 (event-start, event-end): Use posn-at-point to return a more
3683 informative posn.
3684 (posnp): New function.
3685 * mouse.el (popup-menu-normalize-position): Use it.
3686
c69f56a2
MY
36872012-08-10 Masatake YAMATO <yamato@redhat.com>
3688
3689 * mouse.el (popup-menu-normalize-position): New function.
3690 (popup-menu): Use `popup-menu-normalize-position' to normalize
3691 the form for POSITION argument.
3692
3693 * term/x-win.el (x-menu-bar-open):
3694 Use the value returend from (posn-at-point) as position
3695 passed to `popup-menu'.
3696
31673780
JB
36972012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3698
3699 * calc/calccomp.el (math-compose-expr): Add extra argument
3700 indicating that parentheses should be put around products in
3701 denominators. Give multiplication precedence over division during
3702 composition.
3703
dab7711b
CY
37042012-08-09 Chong Yidong <cyd@gnu.org>
3705
dee4ef93
CY
3706 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3707 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3708 (Man-untabify-command, manual-program): Convert to defcustom
3709 (Bug#10429).
3710
73e2bbc5
CY
3711 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3712
3e861c8a
CY
3713 * descr-text.el (describe-char): Don't insert extra newlines
3714 (Bug#10127).
3715
a9f5a649
CY
3716 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3717 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3718
dab7711b
CY
3719 * align.el (align-region): Delete temporary markers (Bug#10047).
3720 Plus some code cleanups.
3721
e0cc4efa
FEG
37222012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3723
3724 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3725 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3726 (python-shell-internal-last-output): Use make-local-variable
3727 instead of make-variable-buffer-local.
3728
489af14f
FEG
37292012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3730
3731 * progmodes/python.el: Enhancements to forward-sexp.
3732 (python-nav-forward-sexp): Rename from
3733 python-nav-forward-sexp-function.
c69f56a2
MY
3734 (python-nav--forward-sexp, python-nav--backward-sexp):
3735 New functions.
489af14f 3736
0fc50303
JB
37372012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3738
3739 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3740 modes and simplification modes.
3741
5d65606a
SM
37422012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3743
3744 * delsel.el (delete-selection-pre-hook): Don't propagate the
3745 file-supersession signals (bug#12161).
3746
4250fdf5
SM
37472012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3748
3749 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3750 (cl-map-extents): Add compatibility aliases (bug#12135).
3751
d9f9b465
MA
37522012-08-08 Michael Albinus <michael.albinus@gmx.de>
3753
3754 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3755 tests by `ignore-error'.
3756 (tramp-find-shell): Open also a new shell, when cache is already
3757 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3758
ce0fcefa
JL
37592012-08-08 Juri Linkov <juri@jurta.org>
3760
3761 * bookmark.el: Add `defaults' property to the bookmark record.
3762 (bookmark-current-buffer): Doc fix.
3763 (bookmark-make-record): Add `defaults' property with default values
3764 to the bookmark record.
3765 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3766 with `bookmark-insert-current-bookmark'.
3767 (bookmark-set): Get `defaults' property from the bookmark record
3768 and use it in `read-from-minibuffer'.
3769 (bookmark-insert-current-bookmark): Remove function.
3770
3771 * info.el (Info-bookmark-make-record): Add `defaults' property
3772 with values of canonical Info node name, the current Info file
3773 name and the current Info node name. (Bug#12107)
3774
53fa8652
JL
37752012-08-08 Juri Linkov <juri@jurta.org>
3776
3777 * files.el (basic-save-buffer): Use `buffer-name' as the default
3778 of `read-file-name' when buffer is not visiting a file (bug#12128).
3779
242c0a95
JL
37802012-08-08 Juri Linkov <juri@jurta.org>
3781
3782 * info.el (Info-isearch-search): Doc fix.
3783 (Info-search): Change search-failed message from "initial node" to
3784 "end of node" (bug#12078).
3785 (Info-isearch-search): Change `isearch-string-state' to
3786 `isearch--state-string'.
3787
32ac3a6b
GM
37882012-08-08 Glenn Morris <rgm@gnu.org>
3789
3790 * language/persian.el: Remove file.
f8c1afd5 3791 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
3792 * loadup.el: Remove language/persian.
3793
2c2d9c9c
OF
37942012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3795
3796 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3797
2d79ec42
FEG
37982012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3799
3800 * progmodes/python.el Fixed defsubst warning.
3801 (python-syntax-context) Rename from python-info-ppss-context.
3802 (python-syntax-context-type): Rename from
3803 python-info-ppss-context-type.
3804 (python-syntax-comment-or-string-p): Rename from
3805 python-info-ppss-comment-or-string-p.
3806
2bd255dd
JB
38072012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3808
3809 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3810
c395097f
AS
38112012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3812
6125983e
AS
3813 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3814 a defcustom that is quoted with backquote.
3815
4250fdf5
SM
3816 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3817 Fix handling of interactive spec when the body uses return.
651eaf36
AS
3818 (math-do-arg-check, math-define-function-body): Use backquote forms.
3819 * calc/calc-ext.el (math-defcache): Likewise.
3820 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3821 * allout.el (allout-new-exposure): Likewise.
3822 * calc/calcalg2.el (math-tracing-integral): Likewise.
3823 * info.el (Info-last-menu-item): Likewise.
3824 * emulation/vip.el (vip-loop): Likewise.
3825 * textmodes/artist.el (artist-funcall): Likewise.
3826 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3827 Construct menu-item directly.
3828
4250fdf5
SM
3829 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3830 Don't declare.
c395097f 3831
5fb50dd3
CY
38322012-08-07 Chong Yidong <cyd@gnu.org>
3833
3834 * simple.el (deactivate-mark): Preserve text properties when
3835 saving the primary selection (Bug#8384).
3836
54eea618
KR
38372012-08-07 Kevin Ryde <user42@zip.com.au>
3838
3839 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3840 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3841 and continue processing (Bug#12110).
3842
638eaeb9
SM
38432012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3844
3845 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3846 syntax-propertize-function (bug#10095).
3847
ea376861
SM
38482012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3849
f91b35be
SM
3850 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3851 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3852 describe-function-1.
3853 (describe-function-1): Use them. Move compiler macro after sig.
3854 (help-fns--compiler-macro): Use function-get. Assume we're already in
3855 standard-output. Adjust layout to new call order.
3856
ea376861
SM
3857 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3858 re-binding a symbol that has a symbol-macro (bug#12119).
3859
d5be7bd0
MB
38602012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3861
3862 * language/persian.el: New file. (Bug#11812)
3863 * loadup.el: Add language/persian.el.
3864
90749b53
CY
38652012-08-06 Chong Yidong <cyd@gnu.org>
3866
3867 * window.el (window--maybe-raise-frame): New function.
3868 (window--display-buffer): Split off from here.
3869 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3870 (display-buffer-pop-up-window, display-buffer-use-some-window):
3871 Obey an inhibit-switch-frame action alist entry.
3872 (display-buffer): Update doc.
3873
3874 * replace.el (occur-after-change-function): Avoid losing focus by
3875 using the inhibit-switch-frame display parameter (Bug#12139).
3876
ba7b0154
FEG
38772012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3878
3879 Make internal shell process buffer names start with space.
3880 * progmodes/python.el (python-shell-make-comint): Add optional
3881 argument INTERNAL.
3882 (run-python-internal): Use it.
3883 (python-shell-internal-get-or-create-process): Check for new
3884 internal buffer names.
3885
5eaeacb5
GM
38862012-08-06 Glenn Morris <rgm@gnu.org>
3887
e296d94b 3888 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
3889 Do less getting and setting of environment variables.
3890
b7ccbdc2
CY
38912012-08-05 Chong Yidong <cyd@gnu.org>
3892
777fe95e
CY
3893 * proced.el (proced): Add substitution string to docstring to
3894 trigger autoloading of the proced library on C-h f (Bug#1768).
3895
4250fdf5
SM
3896 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3897 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
3898
3899 * imenu.el (imenu-generic-expression): Move documentation here
3900 from imenu--generic-function.
3901 (imenu--generic-function): Refer to imenu-generic-expression.
3902
9e3b7800 39032012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
3904
3905 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3906 indentation declaration.
3907 (viper-loop): Add indentation declaration (Bug#7025).
3908
e5d9c0d1
CY
39092012-08-05 Chong Yidong <cyd@gnu.org>
3910
f0422feb
CY
3911 * help-fns.el (describe-variable): Add hyperlink for
3912 directory-local variables files. Improve buffer-local and
3913 permanent-local reporting; suggested by MON KEY (Bug#6644).
3914
3915 * help-mode.el (help-dir-local-var-def): New button type.
3916
e5d9c0d1
CY
3917 * files.el (kill-buffer-hook): Provide a defvar.
3918
a4f2deaa
GM
39192012-08-05 Glenn Morris <rgm@gnu.org>
3920
3921 * eshell/esh-ext.el (eshell/addpath):
3922 Also update eshell-path-env. (Bug#12013)
3923
a9dd5754
CY
39242012-08-05 Chong Yidong <cyd@gnu.org>
3925
a4f2deaa 3926 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 3927
d014c740
CY
3928 * fringe.el (fringe-styles): Add docstring.
3929 (fringe--check-mode): New function.
3930 (set-fringe-mode, set-fringe-style): Use it.
3931 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3932
a9dd5754
CY
3933 * files.el (set-auto-mode): Fix invalid setq call.
3934
7c2dc8bd
SM
39352012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3936
3937 * isearch.el: Misc simplification; use defstruct.
3938 (isearch-mode-map): Dense maps now work like sparse ones.
3939 (isearch--state): New defstruct.
3940 (isearch-string-state, isearch-message-state, isearch-point-state)
3941 (isearch-success-state, isearch-forward-state)
3942 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3943 (isearch-wrapped-state, isearch-barrier-state)
3944 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3945 replaced by defstruct's accessors.
3946 (isearch--set-state): Rename from isearch-top-state and change
3947 calling convention.
3948 (isearch-push-state): Use new isearch--get-state.
3949 (isearch-toggle-word): Disable regexp when enabling word.
3950 (isearch-message-prefix): Remove unused arg _c-q-hack.
3951 (isearch-message-suffix): Remove unused arg _ellipsis.
3952
7fcc0070
AS
39532012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3954
3955 * simple.el (list-processes--refresh): For a server use :host or
3956 :local as the address.
97ad0769 3957 (list-processes): Doc fix.
7fcc0070 3958
a11035b8 39592012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
3960
3961 * lisp/mpc.el: Support password in host argument.
3962 (mpc--proc-connect): Parse and use new password element.
3963 Set mpc-proc variable instead of returning process.
3964 (mpc-proc): Adjust accordingly.
3965
6dad7178
EZ
39662012-08-03 Eli Zaretskii <eliz@gnu.org>
3967
18949c2f
EZ
3968 * whitespace.el (whitespace-display-mappings): Use Unicode
3969 codepoints, instead of emacs-mule codepoints. See
3970 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3971 for the details.
3972
6dad7178
EZ
3973 * files.el (file-truename): Don't skip symlink-chasing part on
3974 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
3975 Windows into the loop that recursively chases symlinks.
3976 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
3977 MS-DOS.
3978
385b0198
CY
39792012-08-03 Chong Yidong <cyd@gnu.org>
3980
6200f3c4
CY
3981 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3982
385b0198
CY
3983 * sort.el (sort-regexp-fields): Doc fix.
3984
b9e74744
TH
39852012-08-03 Tassilo Horn <tsdh@gnu.org>
3986
3987 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3988 labels regex position point at the expected place.
3989
41013cb4
MK
39902012-08-03 MON KEY <monkey@sandpframing.com>
3991
3992 * net/imap.el (imap-interactive-login, imap-authenticate)
3993 (imap-mailbox-lsub, imap-mailbox-list)
3994 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3995 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3996 (imap-parse-response): Doc fix.
3997
0ffee616
JT
39982012-08-03 João Távora <joaotavora@gmail.com>
3999
4000 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
4001 if sexp scanning does not move point (Bug#5734).
4002
cfcc9cc8
TH
40032012-08-02 Tassilo Horn <tsdh@gnu.org>
4004
4005 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
4006 Add listings, minted, and ctable packages.
4007 (reftex-label-alist-builtin): Move listings, minted, and ctable
4008 entries before LaTeX.
a01bbb84 4009 (reftex-label-alist): Docfix.
cfcc9cc8 4010
66ec2442
BG
40112012-08-02 Bastien Guerry <bzg@gnu.org>
4012
4013 * replace.el (occur): Fix docstring (bug#12122).
4014
837b365b
GM
40152012-08-02 Glenn Morris <rgm@gnu.org>
4016
4017 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
4018
e098de97
PE
40192012-08-02 Paul Eggert <eggert@cs.ucla.edu>
4020
4021 Obsolete alias inactivate-current-input-method-function (Bug#10150).
4022 * international/mule-cmds.el: Create
4023 inactivate-current-input-method-function as an obsolete alias for
4024 deactivate-current-input-method-function. See Katsumi Yamaoka in
4025 <http://bugs.gnu.org/10150#46>.
4026
a0f95636
JB
40272012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
4028
4029 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
4030 of nested `if's.
4031
0d26d7c4
GM
40322012-08-01 Glenn Morris <rgm@gnu.org>
4033
4034 * progmodes/autoconf.el (autoconf-definition-regexp):
4035 Add AH_TEMPLATE, adjust submatch numbering.
4036 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
4037 (autoconf-current-defun-function): Update for above change.
4038 (autoconf-current-defun-function): First skip to end of current word.
4039
b686ba06
RS
40402012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
4041
4042 * calendar/cal-html.el (cal-html-insert-agenda-days):
4043 Fix typo. (Bug#12018)
4044
0d49da68
FEG
40452012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4046
4047 Shell processes: enhancements to startup and CEDET compatibility.
4048 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
4049 (python-shell-make-comint): accept-process-output at startup.
4050 (run-python-internal): Set inferior-python-mode-hook to nil.
4051 (python-shell-internal-get-or-create-process): call sit-for.
4052 (python-preoutput-result): Add obsolete alias.
4053 (python-shell-internal-send-string): Use it.
4054 (python-shell-send-setup-code): Remove call to
4055 accept-process-output.
4056
f1a71c6e
AS
40572012-07-31 Andreas Schwab <schwab@linux-m68k.org>
4058
4059 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
4060 (Bug#12108)
4061
d2605269
JB
40622012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
4063
4064 * calc-mode.el (calc-basic-simplification-mode): Rename from
4065 `calc-limited-simplification-mode'.
4066 (calc-alg-simplification-mode): New function.
fc0c31f8 4067 (calc-set-simplify-mode): Adjust message.
f1a71c6e 4068
d2605269
JB
4069 * calc.el (calc-set-mode-line): Adjust mode line display for
4070 basic simplification mode.
4071
4072 * calc-help.el (calc-m-prefix-help): Update help message.
4073
4074 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
4075 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
4076
a3827a43
BG
40772012-07-31 Bastien Guerry <bzg@gnu.org>
4078
4079 * man.el (man): Fix comment. (bug#12101)
4080
502e3f89
MR
40812012-07-31 Martin Rudalics <rudalics@gmx.at>
4082
4083 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4084 Don't return a non-nil value when no suitable buffer was found.
4085
d7714961
FEG
40862012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4087
4088 * progmodes/python.el (run-python-internal): Disable font lock for
4089 internal shells.
4090
1f45e27e
SM
40912012-07-30 Stefan Merten <smerten@oekonux.de>
4092
70efc5c9 4093 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
4094 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4095 (rst-official-version, rst-official-cvs-rev)
4096 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
4097 (rst-mode-map): New key binding.
4098
0aee6912
PE
40992012-07-30 Paul Eggert <eggert@cs.ucla.edu>
4100
4101 Update .PHONY listings in makefiles.
4102 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
4103 autoloads, update-subdirs, updates, bzr-update, update-authors,
4104 compile-onefile, compile-calc, backup-compiled-files,
4105 compile-after-backup, compile-one-process, mh-autoloads,
4106 bootstrap-clean, distclean, maintainer-clean.
4107
9052f9f0
JB
41082012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
4109
1823ac5a
JB
4110 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
4111 (calc-set-mode-line): Don't display "AlgSimp ".
4112
4113 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
4114 (calc-lim-simplify-mode): New function.
4115 (calc-set-simplify-mode): Default to 'alg.
4116 (calc-default-simplify-mode): Make algebraic simplifications
4117 the default.
4118
4119 * calc/calc-ext.el (calc-init-extensions): Remove binding for
4120 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
4121
8d7c7eed 4122 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
4123 indicate new simplification modes.
4124
1823ac5a
JB
4125 * calc/README: Mention new default simplification mode.
4126
9052f9f0
JB
4127 * calc/calc.el (math-normalize-error): New variable.
4128 (math-normalize): Set `math-normalize-error' to t
4129 when there's an error.
4130
4131 * calc/calc-alg.el (math-simplify): Don't simplify when
4132 `math-normalize' returns an error.
4133
20ba0cb4
EZ
41342012-07-29 Eli Zaretskii <eliz@gnu.org>
4135
4136 * international/mule-cmds.el (set-locale-environment): Revert last
4137 change, since display-graphic-p returns nil when this function is
4138 called during startup. Instead...
4139
4140 * term/w32console.el (terminal-init-w32console): ...setup the
4141 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
4142
a5dcc929
JL
41432012-07-29 Juri Linkov <juri@jurta.org>
4144
4145 * simple.el (goto-line): Don't display default line number in the
4146 prompt because it should be displayed by `read-number' (bug#9952).
4147 Add the current line number to the defaults of `goto-line' to
4148 allow its easier modification by users with `M-n' (bug#9201).
4149
4150 * subr.el (read-number): Support multiple default values like in
4151 other minibuffer reading functions. Replace `read' with
4152 `string-to-number' for consistency with `number-to-string'.
4153
72b255c7
PE
41542012-07-29 Paul Eggert <eggert@cs.ucla.edu>
4155
4156 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
4157 * emulation/viper-init.el (viper-deactivate-input-method-action):
4158 Rename from viper-inactivate-input-method-action.
4159 (viper-deactivate-input-method):
4160 Rename from viper-inactivate-input-method.
4161 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
4162 * international/mule-cmds.el (deactivate-input-method):
4163 Rename from inactivate-input-method.
4164 Also run input-method-deactivate-hook.
4165 (deactivate-current-input-method-function):
4166 Rename from inactivate-current-input-method-function.
4167 (input-method-deactivate-hook): New hook.
4168 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
4169 (inactivate-input-method): Mark obsolete.
4170
72b255c7
PE
4171 * international/quail.el (quail-activate):
4172 Also run quail-deactivate-hook.
4173 (quail-deactivate): Rename from quail-inactivate.
4174 * international/robin.el (robin-activate):
4175 Also run robin-deactivate-hook.
4176 (robin-deactivate): Rename from robin-inactivate.
4177
2549c068
CY
41782012-07-29 Chong Yidong <cyd@gnu.org>
4179
4180 * simple.el (indicate-copied-region): New function.
4181 (kill-ring-save): Split off from here.
4182
4183 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
4184 (kill-rectangle): Set deactivate-mark to t on read-only error.
4185
4186 * register.el (copy-to-register, copy-rectangle-to-register):
4187 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
4188 (append-to-register, prepend-to-register): Call indicate-copied-region.
4189
41902012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
4191
4192 * simple.el (async-shell-command-buffer): New defcustom.
4193 (shell-command): Use it. (Bug#4719)
4194
01bd1b0d
EZ
41952012-07-28 Eli Zaretskii <eliz@gnu.org>
4196
4197 * international/mule-cmds.el (set-locale-environment): In a
4198 console session on MS-Windows, set up keyboard and terminal
4199 encoding from the OEM codepage, not the ANSI codepage.
4200 (Bug#12055)
4201
a55739d3
CY
42022012-07-28 Chong Yidong <cyd@gnu.org>
4203
4204 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
4205 gdb-get-location.
4206
0e1a094f 42072012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
4208
4209 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
4210 the alist (bug#12029).
4211
20329d73
EZ
42122012-07-28 Eli Zaretskii <eliz@gnu.org>
4213
4214 * makefile.w32-in (custom-deps, finder-data, updates, compile)
4215 (compile-always, compile-first)
4216 ($(lisp)/calendar/cal-loaddefs.el)
4217 ($(lisp)/calendar/diary-loaddefs.el)
4218 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4219 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
4220 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
4221 instead of on update-subdirs.
4222 (bootstrap-clean): Delete $(lisp)/subdirs.el.
4223
345a2258
CY
42242012-07-28 Chong Yidong <cyd@gnu.org>
4225
1eee6341
CY
4226 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
4227 directory if vc-deduce-backend returns nil (Bug#7350).
4228
345a2258
CY
4229 * simple.el (delete-trailing-lines): New option.
4230 (delete-trailing-whitespace): Obey it (Bug#11879).
4231
049a0936
DE
42322012-07-28 David Engster <deng@randomsample.de>
4233
4234 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
4235 Explanation of new 'symbol-qnames feature in doc-strings.
4236 (xml-maybe-do-ns): Return expanded names as plain symbols if
4237 'symbol-qnames was provided in XML-NS argument (Bug#11916).
4238 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
4239
aa81af71
FEG
42402012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4241
4242 Consistent completion in inferior python with emacs -nw.
4243 * progmodes/python.el (inferior-python-mode): replace "<tab>"
4244 binding in inferior-python-mode-map with "\t".
4245 (python-shell-completion-complete-at-point)
4246 (python-completion-complete-at-point): Remove interactive spec.
4247
e827b1eb
JB
42482012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4249
4250 * calc/calccomp.el (math-compose-expr): Undo previous change.
4251
a90dfb95
FEG
42522012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4253
4250fdf5 4254 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
4255 run-python.
4256 (python-shell-make-comint): Fix pop-to-buffer call.
4257 (run-python): Autoload. New arg SHOW.
4258 (python-shell-get-or-create-process): Do not pop python process
4259 buffer.
4260
32770973 42612012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
4262
4263 * notifications.el (notifications-on-action-signal)
4264 (notifications-on-closed-signal): Use also the bus address for the map.
4265 (notifications-notify, notifications-close-notification)
fc0c31f8 4266 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 4267
86332df2
TH
42682012-07-27 Tassilo Horn <tsdh@gnu.org>
4269
4250fdf5
SM
4270 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4271 Add support for the lstlisting and minted environments, and for the
86332df2
TH
4272 ctable macro.
4273 * textmodes/reftex.el (reftex-compile-variables): Also recognize
4274 labels written in keyvals syntax.
4275
ca1302a4
JB
42762012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4277
4278 * calc/calccomp.el (math-compose-expr): Use parentheses when
4279 there is a product in the denominator of a fraction.
4280
f8b91036
EZ
42812012-07-26 Eli Zaretskii <eliz@gnu.org>
4282
4283 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
4284 ($(lisp)/calendar/diary-loaddefs.el)
4285 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
4286 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
4287 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
4288 rewritten while the autoload files are built at the same time,
4289 which needs to load subdirs.el.
4290
c8e5a42c
MR
42912012-07-26 Martin Rudalics <rudalics@gmx.at>
4292
4293 * mouse.el (popup-menu): Fix doc-string and re-indent code.
4294 (mouse-drag-line): Don't exit tracking when a switch-frame or
4295 switch-window event occurs (Bug#12006).
4296
670d85ea
SM
42972012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4298
4299 * mouse.el (popup-menu): Fix last change.
4300
7abaf5cc
SM
43012012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4302
4303 Autoload from Lisp with more care. Follow aliases when looking for
4304 function properties.
4305 * subr.el (autoloadp): New function.
4306 (symbol-file): Use it.
4307 (function-get): New function.
4308 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
4309 autoload-do-load.
4310 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
4311 (lisp-indent-function):
4312 * emacs-lisp/gv.el (gv-get):
4313 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
4314 * emacs-lisp/byte-opt.el (byte-optimize-form):
4315 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
4316 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
4317 Use function-get.
4318 * emacs-lisp/cl.el: Don't propagate function properties any more.
4319
4320 * speedbar.el (speedbar-add-localized-speedbar-support):
4321 * emacs-lisp/disass.el (disassemble-internal):
4322 * desktop.el (desktop-load-file):
4323 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
4324 (describe-function-1):
4325 * emacs-lisp/find-func.el (find-function-noselect):
4326 * emacs-lisp/elp.el (elp-instrument-function):
4327 * emacs-lisp/advice.el (ad-has-proper-definition):
4328 * apropos.el (apropos-safe-documentation, apropos-macrop):
4329 * emacs-lisp/debug.el (debug-on-entry):
4330 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
4331 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4332 * calc/calc.el (name): Use autoloadp & autoload-do-load.
4333
b1364986
AA
43342012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
4335
4336 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
4337 function, not an obsolete variable (Bug#12046).
4338
67ada220
AS
43392012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4340
4341 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
4342
f08088e3
CS
43432012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
4344
4345 * emacs-lisp/pp.el (pp-display-expression): Select old selected
4346 window only if it is still live (Bug#12034).
4347
8137e7b3
MR
43482012-07-25 Martin Rudalics <rudalics@gmx.at>
4349
4350 * subr.el (redirect-frame-focus): Add advertised calling
4351 convention (Bug#12030).
4352
09ae5da1
PE
43532012-07-25 Paul Eggert <eggert@cs.ucla.edu>
4354
4355 Prefer typical American spelling for "acknowledgment".
4356 * vc/add-log.el (change-log-acknowledgment): Rename from
4357 change-log-acknowledgement, with an alias for the old name.
4358
3cc5a3a8
JB
43592012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
4360
4361 * calc-alg.el (math-simplify-divide): Don't cross multiply
4362 in an equation when the lhs is a variable.
4363
b7af7f62
JD
43642012-07-24 Julien Danjou <julien@danjou.info>
4365
4366 * net/netrc.el (netrc-find-service-number, netrc-store-data):
4367 Remove, unused.
4368
ec1b09b1
EZ
43692012-07-23 Eli Zaretskii <eliz@gnu.org>
4370
4371 * startup.el (command-line): Don't display an empty user name in
4372 the error message about non-existent home directory, when
4373 init-file-user was set to an empty string. See
4374 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
4375 for the details and context.
4376
b525fd8a
VB
43772012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
4378
4379 * ses.el (ses-cell-formula-aset): New macro.
4380 (ses-cell-references-aset): New macro.
4381 (ses-cell-p): New function.
4382 (ses-rename-cell): Do no longer rely on complex operations like
4383 ses-cell-set-formula or ses-set-cell to change the cell and handle
4384 the undo at the same time, but rather use lower level new macros
4385 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 4386 the undo directly. Refresh the mode line.
b525fd8a 4387
2c73e345
LL
43882012-07-21 Leo Liu <sdl.web@gmail.com>
4389
670d85ea
SM
4390 * progmodes/cc-cmds.el (c-defun-name):
4391 Use match-string-no-properties instead for consistency.
2c73e345 4392
542dfbde
LL
43932012-07-20 Leo Liu <sdl.web@gmail.com>
4394
3646bcd6
LL
4395 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
4396 (Bug#7879)
4397
542dfbde
LL
4398 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
4399
25721031
CY
44002012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
4401
4402 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
4403 * progmodes/bug-reference.el, misearch.el: Provide themselves
4404 (bug#11915).
4405
4406 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
4407 of narrowed buffer (bug#11966).
4408
316e68a7
VB
44092012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
4410
4411 * ses.el (ses-rename-cell): Set new name also in reference list of
4412 cells of which the renamed cell depends.
4413
bbf0e7d9
MY
44142012-07-20 Masatake YAMATO <yamato@redhat.com>
4415
4416 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
4417 to check whether menu-bar is shown or not. If not shown,
4418 show the menu-bar as a popup menu instead of using tmm.
4419 * mouse.el (popup-menu): Accept `point' as `position' argument.
4420
c28662a8
DG
44212012-07-20 Dmitry Gutov <dgutov@yandex.ru>
4422
4423 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
4424 up inside string symbol literal (bug#11923).
4425
87ab808f
EZ
44262012-07-20 Eli Zaretskii <eliz@gnu.org>
4427
4428 * startup.el (fancy-startup-text): Read the whole tutorial, not
4429 just its first 256 bytes. Prevents gibberish in display of the
4430 tutorial title.
4431
89dea803
DA
44322012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
4433
4434 Drop idle buffer compaction due to an absence of the
4435 proved efficiency.
4436 * compact.el: Remove.
4437
8a4e6db8
SS
44382012-07-19 Sam Steingold <sds@gnu.org>
4439
4440 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
4441 vc-bzr-pull & vc-bzr-merge-branch.
4442 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
4443 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
4444 for consistency with compilation-error-regexp-alist.
4445 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
4446 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
4447 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
4448 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
4449
5db81e33
SM
44502012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4451
4452 * emacs-lisp/chart.el: Use lexical-binding.
4453 (chart-emacs-storage): Don't hardcode the list of entries.
4454
5b835e1d
DA
44552012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4456
4457 Next round of tweaks caused by Fgarbage_collect changes.
4458 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
4459
9cd47b72
DA
44602012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4461
4462 Compact buffers when idle.
4463 * compact.el: New file.
4464
1d6fc0df
SM
44652012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4466
4467 * subr.el (eventp): Presume that if it looks vaguely like an event,
4468 it's an event (bug#10190).
4469
1d29cc7d
FEG
44702012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
4471
4472 Enhancements to ppss related code (thanks Stefan).
4473 * progmodes/python.el (python-indent-context)
4474 (python-indent-calculate-indentation, python-indent-dedent-line)
4475 (python-indent-electric-colon, python-nav-forward-block)
4476 (python-mode-abbrev-table)
1d6fc0df 4477 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
4478 for ppss context.
4479 (python-info-continuation-line-p): Cleanup.
4480 (python-info-ppss-context): Do not catch 'quote.
4481 (python-info-ppss-context-type)
4482 (python-info-ppss-comment-or-string-p): Simplify.
4483
d583cbe6
FEG
44842012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4485
4486 * progmodes/python.el: Enhancements to eldoc support.
4487 (python-info-current-symbol): New function.
4488 (python-eldoc-at-point): Use python-info-current-symbol.
4489 (python-info-current-defun): Fix cornercase on first defun scan.
4490 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4491 and signal error when no inferior python process is available.
4492
eceb6feb
DG
44932012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4494
4495 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4496 assume it's always t.
4497 (vc-git-registered): Remove caching, the function is only called
4498 once.
4499 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4500
4c8ff0fe
CY
45012012-07-18 Chong Yidong <cyd@gnu.org>
4502
19fb7186
CY
4503 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4504
9587c688
CY
4505 * simple.el (count-words): Report on narrowing (Bug#9959).
4506
0fe776a1
CY
4507 * bindings.el: Bind M-= to count-words.
4508
4c8ff0fe
CY
4509 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4510
7f5331cc
MY
45112012-07-18 Masatake YAMATO <yamato@redhat.com>
4512
4513 * progmodes/sh-script.el (sh-imenu-generic-expression):
4514 Capture a function with `function' keyword and without parentheses
4515 like "function FOO" (bug#11856).
4516
2dc2a609
TH
45172012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4518
4519 * window.el (split-window-sensibly): Make WINDOW argument
4520 optional.
4521
439f7677
CY
45222012-07-18 Chong Yidong <cyd@gnu.org>
4523
9aeb25a6
CY
4524 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4525
439f7677
CY
4526 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4527 and make C-x 8 RET exit isearch (Bug#11439).
4528
4529 * international/iso-transl.el: Move isearch-mode-map key
4530 definitions to isearch.el.
4531
12999ea8
SM
45322012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4533
4534 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4535 (eieio-defclass): Use gv-define-setter when possible.
4536
3ab6e069
DA
45372012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4538
4539 Reflect recent changes in Fgarbage_collect.
4540 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4541 reflect new format of data returned by Fgarbage_collect.
4542
0a60bc10
FEG
45432012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4544
4545 New utility functions + python-info-ppss-context fix (Bug#11910).
4546 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4547 (python-info-ppss-comment-or-string-p): New functions.
4548 (python-info-ppss-context): Small fix for string check.
4549
6dafa0d5
JL
45502012-07-17 Juri Linkov <juri@jurta.org>
4551
4552 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4553 (dired-do-async-shell-command): Don't add `*' at the end of the
4554 command (Bug#11815).
4555 (dired-do-shell-command): Doc fix.
4556 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4557 Join the individual commands using either "&" or ";" as the
4558 separator depending on the values of these trailing characters.
4559 At the end re-add the trailing "&". (Bug#10598)
4560
4561 * simple.el (async-shell-command): Sync the interactive spec with
4562 `shell-command'. Doc fix.
4563 (shell-command): Doc fix.
4564
b19dd9d1
JL
45652012-07-17 Juri Linkov <juri@jurta.org>
4566
4567 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4568
bcdc27d7 45692012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 4570
bcdc27d7 4571 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
4572 * progmodes/python.el (python-nav-beginning-of-statement):
4573 Rename from python-nav-statement-start.
bcdc27d7
FEG
4574 (python-nav-end-of-statement): Rename from
4575 python-nav-statement-end.
4576 (python-nav-beginning-of-block): Rename from
4577 python-nav-block-start.
4578 (python-nav-end-of-block): Rename from python-nav-block-end.
4579
191da00e
FEG
45802012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4581
7f5331cc
MY
4582 * progmodes/python.el (python-shell-send-string-no-output):
4583 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
4584 future interactions (Bug#11868).
4585
4dc7c8d5 45862012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 4587
88ecaf8f
SM
4588 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4589
ef501ef0
SM
4590 * emacs-lisp/elint.el (elint-find-args-in-code):
4591 Use help-function-arglist, so as to handle lexical byte-code.
4592
aa7aaf8f
SM
4593 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4594 change (bug#11826).
4595
45fd731c
SM
45962012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4597
2143fa32
SM
4598 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4599 Avoid spuriously marking the buffer as modified because of c-is-sws.
4600
efc26dbe
SM
4601 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4602 as not-a-comment (bug#11946).
4603
f5695c9a
SM
4604 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4605 for uninterned vars.
4606
4607 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4608 Use read-event since we don't really want to read chars but bytes.
4609
45fd731c
SM
4610 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4611 $$..$$ but also $..$ using regexps (bug#11953).
4612 Use tex-verbatim for \url and \path.
4613 (tex-font-lock-keywords): Define as defconst like the others.
4614 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4615
ddfc8813
RK
46162012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4617
4618 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4619 alias for insert-char.
4620
758e556a
FEG
46212012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4622
4623 * progmodes/python.el: Simplified imenu implementation.
4624 (python-nav-jump-to-defun): Remove command.
4625 (python-mode-map): Use `imenu' instead.
4626 (python-nav-list-defun-positions-cache)
4627 (python-imenu-include-defun-type, python-imenu-make-tree)
4628 (python-imenu-subtree-root-label, python-imenu-index-alist):
4629 Remove vars.
4630 (python-nav-list-defun-positions, python-nav-read-defun)
4631 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
4632 (python-imenu-make-tree, python-imenu-create-index):
4633 Remove functions.
758e556a
FEG
4634 (python-mode): Update to interact with imenu by setting
4635 `imenu-extract-index-name-function' only.
4636
032d23ab
FEG
46372012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4638
4639 * progmodes/python.el: Enhancements to navigation commands.
4640 (python-nav-backward-sentence)
4641 (python-nav-forward-sentence): Remove.
4642 (python-nav-backward-statement, python-nav-forward-statement)
4643 (python-nav-statement-start, python-nav-statement-end)
4644 (python-nav-backward-block, python-nav-forward-block)
4645 (python-nav-block-start, python-nav-block-end)
4646 (python-nav-forward-sexp-function)
4647 (python-info-current-line-comment-p)
4648 (python-info-current-line-empty-p): New functions.
4649 (python-indent-context): Use `python-nav-statement-start'.
4650
01795a1b
MA
46512012-07-16 Michael Albinus <michael.albinus@gmx.de>
4652
9328d9aa
MA
4653 * eshell/em-ls.el (eshell/ls): Use `apply'.
4654
4655 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4656 multi-hops, instead of Tramp internals.
4657
01795a1b
MA
4658 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4659
4660 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4661 when F1 and F2 are located on different hosts.
4662
63408057
CY
46632012-07-14 Chong Yidong <cyd@gnu.org>
4664
4665 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4666 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4667 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4668 (xterm-mouse--read-event-sequence-1000)
4669 (xterm-mouse--read-event-sequence-1006): New functions. For old
4670 mouse protocol, handle M-mouse-X events correctly.
4671 (xterm-mouse-event): New arg specifying mouse protocol.
4672 (turn-on-xterm-mouse-tracking-on-terminal)
4673 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
4674 sequence to toggle extended coordinates on newer XTerms.
4675 This appears to be harmless on terminals which do not support this.
63408057 4676
cd276f6e
LL
46772012-07-14 Leo Liu <sdl.web@gmail.com>
4678
28ca98ac
LL
4679 Add fringe bitmap indicators for flymake. (Bug#11253)
4680 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4681 (flymake-make-overlay): New arg BITMAP.
4682 (flymake-error-bitmap, flymake-warning-bitmap)
4683 (flymake-fringe-indicator-position): New user variables.
4684
cd276f6e
LL
4685 * fringe.el: New bitmap exclamation-mark.
4686
04408072
JD
46872012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4688
4689 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4690 also (Bug#7879).
4691
b5cf7fc4
CY
46922012-07-14 Chong Yidong <cyd@gnu.org>
4693
4694 * electric.el (electric-pair-post-self-insert-function): Fix pair
4695 insertion in empty-region case (Bug#11520).
4696
be755c79
RT
46972012-07-14 Chong Yidong <cyd@gnu.org>
4698
45fd731c
SM
4699 * bindings.el: Consolidate ctl-x-r-map bindings.
4700 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
4701
4702 * rect.el, register.el: Move bindings to bindings.el.
4703
47042012-07-14 Reuben Thomas <rrt@sc3d.org>
4705
4706 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4707
7f5b3198
AS
47082012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4709
4710 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4711
97662200
JB
47122012-07-13 Juanma Barranquero <lekktu@gmail.com>
4713
80185fed
JB
4714 * bindings.el (top): Use `mapc' instead of `mapcar'.
4715
97662200
JB
4716 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4717
2bb1ae55
MA
47182012-07-13 Michael Albinus <michael.albinus@gmx.de>
4719
4720 * progmodes/sql.el (sql-comint): Suppress the check for program on
4721 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4722 (Bug#11908)
4723
dea31bd3
CY
47242012-07-13 Chong Yidong <cyd@gnu.org>
4725
4726 * bindings.el: Assign a non-nil permanent-local property to
4727 per-buffer variables which lack a default value (Bug#11930).
4728
4729 * help-fns.el (describe-variable): In the "automatically becomes
4730 local" notice, take note of permanent-local variables.
4731
b68b3337
CY
47322012-07-13 Chong Yidong <cyd@gnu.org>
4733
4734 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4735 to allow printing the message when called from Lisp.
4736
4737 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4738 Remove toggle-read-only.
4739
4740 * bs.el (bs-toggle-readonly):
45fd731c
SM
4741 * buff-menu.el (Buffer-menu-toggle-read-only):
4742 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
4743
4744 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4745 Remove with-no-warnings around toggle-read-only.
4746 (ffap-read-only, ffap-read-only-other-window)
4747 (ffap-read-only-other-frame): Callers changed.
4748
4749 * help-mode.el: Don't require view package.
4750 (help-mode-finish): Set buffer-read-only instead of calling
4751 toggle-read-only.
4752
4753 * bindings.el (mode-line-toggle-read-only):
4754 * dired.el (dired-toggle-read-only):
4755 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4756 with non-nil second arg.
4757
4758 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4759 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4760 directly.
4761
56bc1586
EZ
47622012-07-12 Eli Zaretskii <eliz@gnu.org>
4763
4764 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4765 not incf.
4766
a464a6c7
SM
47672012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4768
4769 More CL cleanups and reduction of use of cl.el.
4770 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4771 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4772 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4773 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4774 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4775 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4776 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4777 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4778 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4779 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4780 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4781 * eshell/em-cmpl.el, eshell/em-banner.el:
4782 * calendar/parse-time.el: Use cl-lib.
4783 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4784 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4785 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4786 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4787 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4788 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4789 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4790 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4791 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4792 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4793 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4794 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4795 `lambda' rather than with `quote'.
4796 (eshell-do-opt): Adjust accordingly.
4797 (eshell-process-option): Simplify.
4798 * eshell/esh-var.el:
4799 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4800 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4801 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4802 to `pcase--dontcare'.
4803 * emacs-lisp/cl.el (labels): Mark obsolete.
4804 (cl--letf, letf): Move to cl-lib.
4805 (cl--letf*, letf*): Remove.
4806 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4807 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4808 (cl-progv): Rewrite.
4809 (cl--letf, cl-letf): Move from cl.el.
4810 (cl-letf*): New macro.
4811 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4812
7ad4afe1
MA
48132012-07-11 Michael Albinus <michael.albinus@gmx.de>
4814
4815 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4816
9af57756
CY
48172012-07-11 Chong Yidong <cyd@gnu.org>
4818
4819 * vc/log-edit.el (log-edit-vc-backend): New variable.
4820 (log-edit): Doc fix.
4821
4822 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4823 argument of log-edit to set up all local variables.
4824 (vc-start-logentry): New optional arg specifying VC backend.
4825
4826 * vc/vc.el (vc-checkin): Use it.
4827 (vc-deduce-fileset): Handle Log Edit buffers.
4828 (vc-diff): Make first argument optional too.
4829
4830 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4831
8477cc7a
MA
48322012-07-10 Michael Albinus <michael.albinus@gmx.de>
4833
4834 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4835 command, just in case. The function is not needed anymore.
4836 (eshell-external-command): Do not call `eshell-remote-command'.
4837
19faa8e8
SM
48382012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4839
f58e0fd5
SM
4840 Reduce use of (require 'cl).
4841 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4842 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4843 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4844 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4845 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4846 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4847 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4848 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4849 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4850 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4851 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4852 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4853 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4854 (byte-compile-unfold-bcf, byte-compile-check-variable):
4855 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4856 (byte-compile-nilconstp):
4857 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4858 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4859
2519d43a
SM
4860 * emacs-lisp/gv.el (cond): Make it a valid place.
4861 (if): Simplify slightly.
4862
19faa8e8
SM
4863 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4864 (pcase--self-quoting-p): New function.
4865 (pcase--u1): Use it.
4866
c4907a5e
GM
48672012-07-10 Glenn Morris <rgm@gnu.org>
4868
4869 * emacs-lisp/authors.el (authors-fixed-entries):
4870 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4871
c4444d16
PE
48722012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4873
4874 Rename configure.in to configure.ac (Bug#11603).
4875 * emacs-lisp/authors.el (authors-canonical-file-name):
4876 * progmodes/autoconf.el (autoconf-mode):
4877 Prefer configure.ac to configure.in.
4878
d75be97d
CY
48792012-07-08 Chong Yidong <cyd@gnu.org>
4880
01ac65bd
CY
4881 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4882 Implement the mouse-1-click-follows-link handling properly.
4883
4884 * info.el (Info-link-keymap): Use follow-link mechanism for
4885 header-line links (Bug#374).
4886
d75be97d
CY
4887 * simple.el (deactivate-mark): Do not set the primary selection
4888 if another program has acquired it (Bug#11772).
4889
87a92845 48902012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
4891
4892 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4893 (woman-decode-region): Replace escaped-escapes without destroying
4894 bold or underline (Bug#11552).
87a92845 4895 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 4896
621b9d6c
CY
48972012-07-07 Chong Yidong <cyd@gnu.org>
4898
4899 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
4900 (interprogram-cut-function, interprogram-paste-function):
4901 Mention that we typically mean the clipboard.
621b9d6c 4902
133a11fc
GM
49032012-07-06 Glenn Morris <rgm@gnu.org>
4904
0d27a45e
GM
4905 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4906
133a11fc
GM
4907 * files.el (toggle-read-only): Restrict message to interactive use.
4908
07b151f1
MA
49092012-07-06 Michael Albinus <michael.albinus@gmx.de>
4910
4911 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4912
4913 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4914
211b896b
GM
49152012-07-06 Glenn Morris <rgm@gnu.org>
4916
50394322
GM
4917 * Makefile.in (compile-one-process): Rename from "recompile".
4918
211b896b
GM
4919 * Makefile.in (bzr-update): "compile" is the same as "recompile
4920 autoloads", but parallelizable, so use that instead.
4921
4737eec9
DG
49222012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4923
4924 * window.el (quit-window): Always restore window height when
8137e7b3 4925 it's saved in quit-restore parameter (Bug#11810).
4737eec9 4926
226c3633 49272012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
4928
4929 * simple.el (kill-whole-line): Doc tweak.
4930
226c3633 49312012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
4932
4933 * files.el (file-relative-name): Compare file names
4934 case-insensitively if on MS-Windows or MS-DOS, or if
4935 read-file-name-completion-ignore-case is non-nil. Don't use
4936 case-fold-search for this purpose. (Bug#11827)
4937
4dc7c8d5
SM
49382012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4939
4940 * calendar/cal-dst.el (calendar-current-time-zone):
4941 Return calendar-current-time-zone-cache if non-nil.
4942
49432012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 49442012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4945
19faa8e8
SM
4946 * calendar/cal-dst.el (calendar-current-time-zone):
4947 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4948
60198fc9
GM
49492012-07-06 Glenn Morris <rgm@gnu.org>
4950
4951 * Makefile.in (cvs-update): Remove old alias.
4952
957b3189
MA
49532012-07-05 Michael Albinus <michael.albinus@gmx.de>
4954
4955 Sync with Tramp 2.2.6-pre.
4956
4957 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4958 compatible declaration.
4959
19faa8e8
SM
4960 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4961 Protect `list-load-path-shadows' call.
957b3189
MA
4962
4963 * net/tramp-compat.el (top): Require packages, which aren't
4964 autoloaded anymore for XEmacs. Protect call of
4965 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4966 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4967 it hurts at least for SXEmacs.
4968 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4969 standard-value for `temporary-file-directory'.
4970
4971 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4972 Redirect stderr to /dev/null.
4973 (tramp-sh-handle-write-region): uid and gid can be floats.
4974 Reported by Russell Sim <russell.sim@gmail.com>.
4975 (tramp-sh-handle-vc-registered): Hide errors.
4976 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4977 and `start-file-process'.
4978 (tramp-maybe-open-connection): Check also whether `non-essential'
4979 is bound.
4980
566df3fc
CY
49812012-07-04 Chong Yidong <cyd@gnu.org>
4982
4983 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4984 (xml-parse-tag): Likewise, and avoid changing entity tables.
4985 (xml-syntax-table): Define from scratch, making sure not to give
4986 x2000 and other Unicode spaces whitespace syntax, since those are
4987 not spaces in XML.
4988 (xml-parse-fragment): Delete unused function.
4989 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4990 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4991 (xml-entity-ref, xml-pe-reference-re)
4992 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4993 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4994 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4995 (xml-entity-value-re): Use syntax references in regexps where
4996 possible; no need to define inside a let-binding.
4997 (xml-parse-dtd): Use xml-pe-reference-re.
4998 (xml-entity-or-char-ref-re): New defconst.
4999 (xml-parse-string, xml-substitute-special): Use it.
5000
30eabd7a
SM
50012012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5002
0781098a
SM
5003 * files.el (locate-dominating-file): Allow `name' to be a predicate.
5004 (find-file--read-only): New function.
5005 (find-file-read-only, find-file-read-only-other-window)
5006 (find-file-read-only-other-frame): Use it.
5007 (insert-file-contents-literally): Don't `fset'.
5008 (get-free-disk-space): Use locate-dominating-file.
5009
b5771c0d
SM
5010 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
5011 function is already compiled.
5012
30eabd7a
SM
5013 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
5014
b4886f6e
MA
50152012-07-03 Michael Albinus <michael.albinus@gmx.de>
5016
5017 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
5018 files on the same host.
5019
b9d82339
AS
50202012-07-03 Andreas Schwab <schwab@linux-m68k.org>
5021
5022 * help-fns.el (describe-function-1): Only call
5023 help-fns--autoloaded-p when we have a file name. (Bug#11848)
5024
a76e6535
CY
50252012-07-03 Chong Yidong <cyd@gnu.org>
5026
5027 * xml.el: Protect parser against XML bombs.
5028 (xml-entity-expansion-limit): New variable.
5029 (xml-parse-string, xml-substitute-special): Use it.
5030 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
5031
b544fef2
GM
50322012-07-03 Glenn Morris <rgm@gnu.org>
5033
5034 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5035 Allow linking to specific messages in debbugs reports (eg 123#5).
5036
a7aef6f5
CY
50372012-07-02 Chong Yidong <cyd@gnu.org>
5038
5039 * xml.el: Fix entity and character reference expansion, allowing
5040 them to expand into markup as per XML spec.
5041 (xml-default-ns): New variable.
5042 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
5043 (xml-parse-region): Make first two arguments optional.
5044 Discard text properties.
5045 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
5046 All callers changed.
a7aef6f5
CY
5047 (xml-parse-tag): Call xml-parse-tag-1. For backward
5048 compatibility, this function should not modify buffer contents.
5049 (xml-parse-tag-1): Fix opening-tag regexp.
5050 (xml-parse-string): Rewrite, handling entity and character
5051 references properly.
5052 (xml--entity-replacement-text): Signal an error if a parameter
5053 entity is undefined.
5054
3df31c9f
SM
50552012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5056
2b5208f1
SM
5057 * comint.el (comint-output-filter): Filter out repeated prompts.
5058
3df31c9f
SM
5059 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
5060 and file-name-absolute-p.
5061 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
5062 internal calls.
5063
e3ac1281
PE
50642012-07-02 Paul Eggert <eggert@cs.ucla.edu>
5065
5066 Spelling fixes.
5067 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
5068 Rename from byte-compile--refiy-function. All uses changed.
5069
fbf2e7ad
CY
50702012-07-01 Chong Yidong <cyd@gnu.org>
5071
5072 * xml.el (xml--parse-buffer): New function. Move most of
5073 xml-parse-region here.
5074 (xml-parse-region): Copy region into a temporary buffer, since
5075 parameter entity substitution requires changing buffer contents.
5076 Use xml--parse-buffer.
5077 (xml-parse-file): Use xml--parse-buffer.
5078 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 5079 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 5080
9bf0aa15
GM
50812012-06-30 Glenn Morris <rgm@gnu.org>
5082
bbce2853
GM
5083 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
5084
9bf0aa15
GM
5085 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
5086 Remove outdated and unnecessary dbus declarations.
5087
0d23c240
EZ
50882012-06-30 Eli Zaretskii <eliz@gnu.org>
5089
5090 * emacs-lisp/timer.el (timer-until): Subtract results of
5091 float-time, instead of taking float-time of the result of
5092 time-subtract, since float-time signals an error for negative time
5093 arguments.
5094
b3218de1
CY
50952012-06-30 Chong Yidong <cyd@gnu.org>
5096
5097 * xml.el (xml-*-re): Convert defvars into defconsts, and
5098 eval-and-compile them so eval-and-compile works on derivatives.
5099 (xml--entity-replacement-text): Use eval-and-comple.
5100
a40c87a0
MA
51012012-06-30 Michael Albinus <michael.albinus@gmx.de>
5102
5103 * vc/vc-git.el (vc-git-registered): Use cache property
5104 `git-registered'.
5105 (vc-git-mode-line-string): Call `vc-working-revision' instead of
5106 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 5107 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 5108
ac87de97
DG
51092012-06-30 Dmitry Gutov <dgutov@yandex.ru>
5110
5111 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 5112 removed (likely outside Emacs). (Bug#11757)
ac87de97 5113
ac10fe06
SM
51142012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5115
3df31c9f 5116 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 5117
7f3fbd5d
CY
51182012-06-30 Chong Yidong <cyd@gnu.org>
5119
5120 * xml.el: Implement XML parameter entities.
5121 (xml-parameter-entity-alist): New variable.
5122 (xml-parse-region, xml-parse-fragment): Preserve previous values
5123 of xml-entity-alist and xml-parameter-entity-alist, so that
5124 repeated calls on different documents do not change them.
5125 (xml-parse-tag): Fix doctype regexp.
5126 (xml--entity-replacement-text): New function.
5127 (xml-parse-dtd): Use it. Don't handle system entities; doing that
5128 properly requires url retrieval which is unimplemented.
5129 (xml-escape-string): Doc fix.
5130
3cfbebba
SM
51312012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5132
5133 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
5134
2af3565e
DA
51352012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
5136
5137 * fringe.el (fringe-mode): Doc fix.
5138
929df0e7
MA
51392012-06-29 Michael Albinus <michael.albinus@gmx.de>
5140
5141 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
5142 is non-nil.
5143 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
5144 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
5145
c8d3a25c 51462012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 5147
c8d3a25c
GM
5148 * calendar/cal-dst.el (calendar-current-time-zone):
5149 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 5150
c8d3a25c 51512012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
5152
5153 * progmodes/which-func.el (which-func-format):
5154 Add mouse-face. (Bug#11698)
5155
c8d3a25c
GM
51562012-06-29 Leo Liu <sdl.web@gmail.com>
5157
5158 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
5159
51602012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5161
5162 * minibuffer.el (minibuffer-confirm-exit-commands):
5163 Add completion-at-point (bug#11725).
5164
51652012-06-29 Glenn Morris <rgm@gnu.org>
5166
5167 * progmodes/f90.el (f90-font-lock-keywords-2):
5168 Add some preprocessor elements. (Bug#10499)
5169
51702012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5171
5172 * progmodes/cperl-mode.el (cperl-update-syntaxification):
5173 Use syntax-propertize (bug#11739).
5174
2badeec4
JB
51752012-06-28 Juanma Barranquero <lekktu@gmail.com>
5176
5177 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
5178
ae4969c2
JD
51792012-06-28 Julien Danjou <julien@danjou.info>
5180
5181 * term.el (term-handle-colors-array): Use a set of new faces to
5182 color the terminal. Also uses :inverse-video property.
5183 (term-default-fg-color): Set to nil by default, deprecate in favor
5184 of `term-face'.
5185 (term-default-bg-color): Set to nil by default, deprecate in favor
5186 of `term-face'.
5187 (term-current-face): Use `term-face' by default.
5188 (term-bold-attribute): Variable deleted.
5189
1c9bd870
GM
51902012-06-28 Glenn Morris <rgm@gnu.org>
5191
5192 * simple.el (completion-list-mode-finish):
5193 Don't use toggle-read-only. (Since completion-list-mode has
5194 a special mode-class, it wasn't doing anything extra anyway.)
5195
c207708c
SM
51962012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
5197
5198 Make inlining of other-mode interpreted functions work (bug#11799).
5199 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
5200 (byte-compile): Use it to fix compilation of lexical-binding closures.
5201 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
5202 function, if needed.
5203
3fd56834
SM
52042012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5205
04901786
SM
5206 * help-mode.el (help-make-xrefs): Don't just withstand
5207 cyclic-variable-indirection but any error in documentation-property.
5208
1ec4b7b2
SM
5209 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
5210 memory use.
5211 * bindings.el (bindings--define-key): New function.
5212 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
5213 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
5214 * bindings.el: Use it to purecopy define-key bindings.
5215
e309e2a5
SM
5216 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
5217
d5c6faf9
SM
5218 * emacs-lisp/cl.el (flet): Mark obsolete.
5219 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
5220 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
5221 * progmodes/js.el (js-c-fill-paragraph):
5222 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
5223 (ebrowse-switch-member-buffer-to-derived-class):
5224 * play/5x5.el (5x5-solver): Use cl-flet.
5225
6e9590e2
SM
5226 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
5227 (cl--symbol-function): New macro.
5228 (cl--letf, cl--letf*): Use it.
5229
3fd56834
SM
5230 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
5231 Strip "toggle-" if any.
5232
35ff222c
GM
52332012-06-27 Glenn Morris <rgm@gnu.org>
5234
1ba6038a
GM
5235 * info.el (Info-default-directory-list): Move here from paths.el.
5236 * paths.el: Remove file, which is now empty.
5237 * loadup.el: No longer load "paths".
5238
0ea0e51b
GM
5239 * custom.el (custom-initialize-delay): Doc fix.
5240
35ff222c
GM
5241 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5242 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5243 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5244 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5245 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5246 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
5247 * eshell/eshell.el (eshell-defgroup): Remove alias.
5248
c89926a5
CY
52492012-06-27 Chong Yidong <cyd@gnu.org>
5250
5251 * help.el (help-enable-auto-load): New variable.
5252
5253 * help-fns.el (help-fns--autoloaded-p): New function.
5254 (describe-function-1): Refer to a function as "autoloaded" if it
5255 was autoloaded at any time in the past. Perform autoloading if
5256 help-enable-auto-load is non-nil.
5257
cc06e7e7
EZ
52582012-06-26 Eli Zaretskii <eliz@gnu.org>
5259
5260 * makefile.w32-in (compile, compile-always): Depend on
5261 update-subdirs, not on subdirs.el. Otherwise, several different
5262 sub-targets of 'bootstrap' running in parallel could
5263 simultaneously write to subdirs.el, producing a garbled file.
5264
d2c32364
SS
52652012-06-26 Sam Steingold <sds@gnu.org>
5266
5267 * files.el (file-name-base): New convenience function.
0d14cc21
GM
5268 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
5269 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
5270 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
5271 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
5272 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
5273 * textmodes/tex-mode.el: Use it.
5274 Did not touch cedet and org because they are maintained elsewhere.
5275
5cf983b2
MR
52762012-06-26 Martin Rudalics <rudalics@gmx.at>
5277
5278 * calendar/calendar.el (calendar-exit): Don't try to delete or
5279 iconify last frame. See:
5280 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
5281
8c4f2952
JD
52822012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
5283
5284 * server.el (server-process-filter): Remember dir in the
5285 process's `server-client-directory' properties.
5286
772b2e2c
CY
52872012-06-24 Chong Yidong <cyd@gnu.org>
5288
5289 * xml.el (xml-parse-tag): Correctly handle comment embedded in
5290 non-tag text.
5291
711b11e1
JB
52922012-06-23 Juanma Barranquero <lekktu@gmail.com>
5293
5294 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
5295
dc5d230c
SM
52962012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5297
5298 * help-fns.el (describe-variable): Don't croak when doc is not found.
5299 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
5300 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
5301 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
5302 * emacs-lisp/smie.el (smie-next-sexp): CSE.
5303 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
5304 ((lambda ..) ..).
5305 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
5306
136e1c1d
CY
53072012-06-23 Chong Yidong <cyd@gnu.org>
5308
e8c1cabf
CY
5309 * info.el (Info-mouse-follow-link): Accept symbol values of
5310 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
5311 (Info-fontify-node): Use Info-link-keymap for all navigation
5312 buttons, with link-args property to perform the desired action.
5313 (Info-link-keymap): Doc fix.
5314 (Info-next-link-keymap, Info-prev-link-keymap)
5315 (Info-up-link-keymap): Delete now-unused keymaps.
5316
0e9e6c6a
CY
53172012-06-23 Chong Yidong <cyd@gnu.org>
5318
05e89fea
CY
5319 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
5320
0e9e6c6a
CY
5321 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
5322 system abbrevs.
5323
5324 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
5325
e33c6771
SM
53262012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5327
b68581e2
SM
5328 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
5329 (bug#11719).
5330
e33c6771
SM
5331 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
5332 the requote function doesn't work properly (bug#11714).
5333
7117e105
GM
53342012-06-23 Glenn Morris <rgm@gnu.org>
5335
5336 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
5337
36cec983
SM
53382012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5339
5340 Further GV/CL cleanups.
5341 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
5342 gv-expander.
5343 (gv--defun-declaration): New function.
5344 (defun-declarations-alist): Use it.
5345 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
5346 (gv-place): Autoload.
5347 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
5348 original definition of dotimes and dolist.
5349 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
5350 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
5351 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
5352 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5353 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
5354 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
5355 to the function's definition.
5356 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
5357 * window.el:
5358 * files.el:
5359 * faces.el:
5360 * env.el: Don't use CL.
5361
d35af63c
PE
53622012-06-22 Paul Eggert <eggert@cs.ucla.edu>
5363
5364 Support higher-resolution time stamps (Bug#9000).
5365
5366 * calendar/time-date.el (with-decoded-time-value): New arg
5367 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
5368 (encode-time-value): New optional arg PICO. New type 3.
5369 (time-to-seconds) [!float-time]: Support the new picoseconds
5370 component if it's used.
5371 (seconds-to-time, time-subtract, time-add):
5372 Support ps-resolution time stamps as well.
5373
5374 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
5375 (timerp): Timer vectors now have length 9, not 8.
5376 (timer--time): Support new-style (4-part) time stamps.
5377 (timer-next-integral-multiple-of-time): Time stamps now have
5378 picosecond resolution, so take a bit more care about rounding.
5379 (timer-relative-time, timer-inc-time): New optional arg psecs.
5380 (timer-set-time-with-usecs): Set psecs to 0.
5381 (timer--activate): Check psecs component, too.
5382
5383 * proced.el (proced-time-lessp): Support ps-resolution stamps.
5384
ac77b21a
SM
53852012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5386
f143bfe3
SM
5387 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
5388 Move the non-essential binding to the post/pre-command-hook where it is
5389 more obviously correct.
5390
ac77b21a
SM
5391 * subr.el (read-passwd): Don't use a history at all.
5392 * savehist.el (savehist-save): Remove password saved accidentally
5393 because of the above bug.
5394
76386c5a
BG
53952012-06-22 Bastien Guerry <bzg@gnu.org>
5396
5397 * files.el (toggle-read-only): Display a message telling whether
5398 the buffer is read-only or not (bug#11726).
5399
2ee3d7f0
SM
54002012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5401
5402 * emacs-lisp/gv.el: New file.
5403 * subr.el (push, pop): Extend to generalized variables.
5404 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
5405 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
5406 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
5407 gv-define-simple-setter, and gv-define-expander.
5408 Remove setf-methods defined in gv. Rename cl-setf -> setf.
5409 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
5410 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
5411 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
5412 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
5413 gv-letplace.
5414 (cl-defstruct): Don't define setf-method any more.
5415 * emacs-lisp/cl.el (flet): Don't autoload.
5416 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
5417 (define-setf-expander, defsetf, define-modify-macro)
5418 (cl-struct-setf-expander): Move from cl-lib.el.
5419 * emacs-lisp/syntax.el:
5420 * emacs-lisp/ewoc.el:
5421 * emacs-lisp/smie.el:
5422 * emacs-lisp/cconv.el:
5423 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
5424 (timer--time): Use gv-define-simple-setter.
5425 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
5426 to avoid coding-system problems in subr.el. Adjust all users.
5427 (macroexp--maxsize, macroexp-small-p): New functions.
5428 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
5429 * scroll-bar.el (scroll-bar-mode):
5430 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5431 (normal-erase-is-backspace-mode): Don't use the `eq' place.
5432 * winner.el (winner-configuration, winner-make-point-alist)
5433 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
5434 * files.el (locate-file-completion-table): Avoid list*.
5435
c5695d1d
CY
54362012-06-22 Chong Yidong <cyd@gnu.org>
5437
5438 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
5439 (dired-create-files): Doc fix (Bug#11329).
5440 (dired-do-copy): Doc fix (Bug#11334).
5441 (dired-mark-read-string): Doc fix (Bug#11553).
5442
2ee3d7f0
SM
5443 * dired.el (dired-recursive-copies, dired-recursive-deletes):
5444 Doc fix (Bug#11326).
c5695d1d
CY
5445 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
5446 (dired-dwim-target): Doc fix.
5447
5448 * wdired.el (wdired-mode): Doc fix.
5449
89b5595a
GM
54502012-06-22 Glenn Morris <rgm@gnu.org>
5451
575db3f1
GM
5452 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5453 (pcmpl-rpm-cache-stamp-file): New constant.
5454 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5455 (pcmpl-rpm-packages): Optionally cache list of packages.
5456
a4c8dd51
GM
5457 * pcmpl-rpm.el (pcmpl-rpm): New group.
5458 (pcmpl-rpm-query-options): New option.
5459 (pcmpl-rpm-packages): No need to inline it.
5460 Use pcmpl-rpm-query-options.
5461
89b5595a
GM
5462 * calendar/calendar.el (calendar-in-read-only-buffer):
5463 Avoid some needless mode changes.
5464
e76f0800
CY
54652012-06-21 Chong Yidong <cyd@gnu.org>
5466
5467 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
5468 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 5469 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 5470
297a8f1d
CY
54712012-06-20 Chong Yidong <cyd@gnu.org>
5472
5473 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5474
d34c18b1
DR
54752012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5476
5477 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5478 (bug#11201).
5479
32f7f28e
CY
54802012-06-20 Chong Yidong <cyd@gnu.org>
5481
5482 * term.el (term-window-width): Handle the case of a missing right
5483 fringe (Bug#8837).
5484 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
5485 (term-mode): Use define-derived-mode. Minor cleanups.
5486 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
5487 (term-move-columns, term-insert-char, term-emulate-terminal)
5488 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 5489
493c6688
MA
54902012-06-20 Michael Albinus <michael.albinus@gmx.de>
5491
d34c18b1
DR
5492 * net/ange-ftp.el (ange-ftp-get-passwd):
5493 Bind `enable-recursive-minibuffers'.
493c6688
MA
5494 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5495
3f06ecf4
DR
54962012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5497
5498 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5499
68f12411
GM
55002012-06-19 Glenn Morris <rgm@gnu.org>
5501
5502 * progmodes/python.el (python-mode): Derive from prog-mode.
5503
b3820318
KG
55042012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5505
5506 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5507 (edt-user-menu-bar-update-buffers): New functions.
5508 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5509
c6bf3022
CY
55102012-06-19 Chong Yidong <cyd@gnu.org>
5511
5512 * subr.el (with-selected-window): Preserve the selected window's
5513 terminal's top-frame (Bug#4702).
5514
5515 * window.el (save-selected-window): Likewise.
5516
25f09295
SM
55172012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5518
5519 * progmodes/python.el (python-rx-constituents): Move backquote.
5520 (python-skeleton-define, python-define-auxiliary-skeleton):
5521 Use `declare'.
5522
6b11952a
MA
55232012-06-18 Michael Albinus <michael.albinus@gmx.de>
5524
5525 * minibuffer.el (read-file-name-default): Revert the patch from
5526 2012-06-17.
5527
ee4b1330
SM
55282012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5529
5530 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5531 (pcase--u1, pcase--q1): Don't use apply-partially.
5532
35647f79
GM
55332012-06-18 Glenn Morris <rgm@gnu.org>
5534
5535 * progmodes/python.el (python-proc, python-buffer)
5536 (python-send-receive, python-send-string): Fix obsolete versions.
5537
24b0cff0
MR
55382012-06-18 Martin Rudalics <rudalics@gmx.at>
5539
5540 * window.el (special-display-p): Completely remove stringp
5541 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5542
29855149
MA
55432012-06-17 Michael Albinus <michael.albinus@gmx.de>
5544
5545 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5546
5547 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5548
5549 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5550 * net/tramp-sh.el (tramp-maybe-open-connection):
5551 Throw if `non-essential' is non-nil.
5552
07463363
MR
55532012-06-17 Martin Rudalics <rudalics@gmx.at>
5554
5555 * window.el (special-display-p): Signal an error if BUFFER-NAME
5556 is not a string (Bug#11713).
5557
48d1354e
PE
55582012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5559
5560 * progmodes/python.el (python-info-beginning-of-backslash):
5561 Rename from python-info-beginning-of-backlash, as a spelling fix.
5562
eb4a8a9a
CY
55632012-06-17 Chong Yidong <cyd@gnu.org>
5564
5565 * term.el (term-emulate-terminal): If term-check-size is called,
5566 move point to the process mark without resetting point (Bug#4635).
5567
ddfbf826 55682012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
5569
5570 * international/mule-cmds.el (mule-menu-keymap)
5571 (set-language-environment, set-locale-environment): Doc tweaks.
5572
9b0e3eba
AA
55732012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5574
5575 * cus-face.el (custom-face-attributes): Add wave-style underline
5576 attribute.
5577 * faces.el (set-face-attribute): Update docstring to describe
5578 wave-style underline attribute.
5579
771e3eae
CY
55802012-06-16 Chong Yidong <cyd@gnu.org>
5581
5582 * term/xterm.el (terminal-init-xterm): Discard input before
5583 querying background mode (Bug#10959).
5584
7ae2ea10
SM
55852012-06-16 Stefan Merten <smerten@oekonux.de>
5586
5587 * textmodes/rst.el: Added and corrected some comments.
5588 (rst-re-alist-def): Improve symbol syntax.
5589 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
5590 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5591 (rst-official-version, rst-official-cvs-rev): Update version
5592 information.
7ae2ea10 5593
b6974efa
JB
55942012-06-15 Juanma Barranquero <lekktu@gmail.com>
5595
5596 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5597 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5598
8826d473
GM
55992012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5600
5601 * progmodes/python.el: New python.el merge.
5602 (python-guess-indent): Obsolete var.
5603 (python-indent-guess-indent-offset): New defcustom.
5604 (python-indent): Obsolete var.
5605 (python-indent-offset): New defcustom.
5606 (python-python-command, python-jython-command): Delete var.
5607 (python-shell-interpreter): New defcustom.
5608 (python-pdbtrack-do-tracking-p): Delete var.
5609 (python-pdbtrack-activate): New defcustom.
5610 (python-use-skeletons): Obsolete var.
5611 (python-skeleton-autoinsert): New defcustom.
5612 (inferior-python-filter-regexp, python-continuation-offset)
5613 (python-honour-comment-indentation, python-indent-string-contents)
5614 (python-jython-packages, python-mode-hook)
5615 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5616 (python-shell-prompt-alist)
5617 (python-source-modes): Delete defcustoms.
5618 (python-check-buffer-name, python-eldoc-setup-code)
5619 (python-eldoc-string-code, python-ffap-setup-code)
5620 (python-ffap-string-code, python-fill-comment-function)
5621 (python-fill-decorator-function, python-fill-paren-function)
5622 (python-fill-string-function, python-imenu-include-defun-type)
5623 (python-imenu-make-tree, python-imenu-subtree-root-label)
5624 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5625 (python-shell-compilation-regexp-alist)
5626 (python-shell-completion-module-string-code)
5627 (python-shell-completion-pdb-string-code)
5628 (python-shell-completion-setup-code)
5629 (python-shell-completion-string-code)
5630 (python-shell-enable-font-lock, python-shell-exec-path)
5631 (python-shell-extra-pythonpaths)
5632 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5633 (python-shell-process-environment)
5634 (python-shell-prompt-block-regexp)
5635 (python-shell-prompt-output-regexp)
5636 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5637 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5638 (python-shell-virtualenv-path): New defcustoms.
5639 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5640 (inferior-python-mode-syntax-table, python--prompt-regexp)
5641 (python-buffer, python-command python-python-command)
5642 (python-default-template, python-imports, python-indent-index)
5643 (python-indent-list, python-indent-list-length)
5644 (python-mode-running, python-pdbtrack-is-tracking-p)
5645 (python-preoutput-continuation, python-preoutput-leftover)
5646 (python-preoutput-result, python-preoutput-skip-next-prompt)
5647 (python-prev-dir/file, python-recursing)
5648 (python-saved-check-command, python-version-checked)
5649 (python-which-func-length-limit)
5650 (view-return-to-alist): Delete vars.
5651 (python-check-custom-command, python-dotty-syntax-table)
5652 (python-imenu-index-alist, python-indent-current-level)
5653 (python-indent-dedenters, python-indent-levels)
5654 (python-nav-beginning-of-defun-regexp)
5655 (python-nav-list-defun-positions-cache)
5656 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5657 (python-shell-internal-buffer)
5658 (python-skeleton-available): New vars.
5659 (def-python-skeleton): Delete macro.
5660 (python-skeleton-define): New macro.
5661 (python-define-auxiliary-skeleton, python-rx): New macros.
5662 (python-insert-class): Delete command.
5663 (python-skeleton-class): New command.
5664 (python-insert-def): Delete command.
5665 (python-skeleton-def): New command.
5666 (python-insert-for): Delete command.
5667 (python-skeleton-for): New command.
5668 (python-insert-if): Delete command.
5669 (python-skeleton-if): New command.
5670 (python-insert-try/except, python-insert-try/finally): Delete commands.
5671 (python-skeleton-try): New command.
5672 (python-insert-while): Delete command.
5673 (python-skeleton-while): New command.
5674 (python-backspace): Delete command.
5675 (python-indent-dedent-line-backspace): New command.
5676 (python-electric-colon): Delete command.
5677 (python-indent-electric-colon): New command.
5678 (python-guess-indent): Delete command.
5679 (python-indent-guess-indent-offset): New command.
5680 (python-shift-left): Delete command.
5681 (python-indent-shift-left): New command.
5682 (python-shift-right): Delete command.
5683 (python-indent-shift-right): New command.
5684 (python-find-function): Delete command.
5685 (python-nav-jump-to-defun): New command.
5686 (python-next-statement): Delete command.
5687 (python-nav-forward-sentence): New command.
5688 (python-previous-statement): Delete command.
5689 (python-nav-backward-sentence): New command.
5690 (python-fill-paragraph): Delete command.
5691 (python-fill-paragraph-function): New command.
5692 (python-send-buffer): Delete command.
5693 (python-shell-send-buffer): New command.
5694 (python-send-defun): Delete command.
5695 (python-shell-send-defun): New command.
5696 (python-send-region, python-send-region-and-go): Delete commands.
5697 (python-shell-send-region)
5698 (python-shell-switch-to-shell): New commands.
5699 (python-send-string): Delete command.
5700 (python-shell-send-string): New command.
5701 (python-switch-to-python): Delete command.
5702 (python-shell-switch-to-shell): New command.
5703 (python-describe-symbol): Delete command.
5704 (python-eldoc-at-point): New command.
5705 (python--set-prompt-regexp, python-args-to-list)
5706 (python-after-info-look, python-check-version)
5707 (python-check-comint-prompt, python-find-imports)
5708 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5709 (python-unload-function, python-expand-template)
5710 (python-maybe-jython, python-preoutput-filter)
5711 (python-pdbtrack-get-source-buffer)
5712 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5713 (python-pdbtrack-toggle-stack-tracking)
5714 (python-pdbtrack-track-stack-file, python-initial-text)
5715 (python-first-word, python-comment-line-p, python-send-command)
5716 (python-setup-brm, python-sentinel, python-set-proc)
5717 (python-skip-out, python-input-filter, python-outdent-p)
5718 (python-outline-level, python-backslash-continuation-line-p)
5719 (python-end-of-block, python-end-of-statement, python-mark-block)
5720 (python-beginning-of-block, python-beginning-of-statement)
5721 (python-blank-line-p, python-beginning-of-string)
5722 (python-open-block-statement-p): Delete functions.
5723 (python-indent-line, python-indent-line-1): Delete functions.
5724 (python-indent-line): New function.
5725 (python-indentation-levels): Delete function.
5726 (python-indent-calculate-levels): New function.
5727 (python-proc): Delete function.
5728 (python-shell-get-process): New function.
5729 (python-send-receive): Delete function.
5730 (python-shell-send-string-no-output): New function.
5731 (python-module-path): Delete function.
5732 (python-ffap-module-path): New function.
5733 (python-completion-at-point)
5734 (python-symbol-completions): Delete functions.
5735 (python-completion-complete-at-point): New function.
5736 (python-load-file): Delete function.
5737 (python-shell-send-file): New function.
5738 (python-calculate-indentation): Delete function.
5739 (python-indent-calculate-indentation): New function.
5740 (python-skip-comments/blanks): Delete function.
5741 (python-util-forward-comment): New function.
5742 (python-continuation-line-p): Delete function.
5743 (python-info-continuation-line-p): New function.
5744 (python-which-func, python-current-defun): Delete function.
5745 (python-info-current-defun): New function.
5746 (python-beginning-of-defun): Delete function.
5747 (python-nav-beginning-of-defun): New function.
5748 (python-close-block-statement-p)
5749 (python-block-end-p): Delete function.
5750 (python-info-closing-block): New function.
5751 (python-comint-output-filter-function)
5752 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5753 (python-fill-comment, python-fill-decorator, python-fill-paren)
5754 (python-fill-string, python-imenu-make-element-tree)
5755 (python-imenu-make-tree, python-imenu-tree-assoc)
5756 (python-indent-context, python-indent-dedent-line)
5757 (python-indent-line-function)
5758 (python-indent-post-self-insert-function)
5759 (python-indent-toggle-levels)
5760 (python-info-assignment-continuation-line-p)
5761 (python-info-beginning-of-backlash)
5762 (python-info-block-continuation-line-p)
5763 (python-info-closing-block-message)
5764 (python-info-line-ends-backslash-p)
5765 (python-info-looking-at-beginning-of-defun)
5766 (python-info-ppss-context, python-info-ppss-context-type)
5767 (python-nav-list-defun-positions, python-nav-read-defun)
5768 (python-nav-sentence-end, python-nav-sentence-start)
5769 (python-pdbtrack-comint-output-filter-function)
5770 (python-pdbtrack-set-tracked-buffer)
5771 (python-shell-calculate-exec-path)
5772 (python-shell-calculate-process-environment)
5773 (python-shell-completion--do-completion-at-point)
5774 (python-shell-completion--get-completions)
5775 (python-shell-completion-complete-at-point)
5776 (python-shell-completion-complete-or-indent)
5777 (python-shell-get-or-create-process)
5778 (python-shell-get-process-name)
5779 (python-shell-internal-get-or-create-process)
5780 (python-shell-internal-get-process-name)
5781 (python-shell-internal-send-string, python-shell-make-comint)
5782 (python-shell-parse-command, python-shell-send-setup-code)
5783 (python-skeleton-add-menu-items)
5784 (python-util-clone-local-variables, python-util-position)
5785 (run-python-internal, python-indentation-levels)
5786 (python-nav-beginning-of-defun)
5787 (python-completion-complete-at-point): New functions.
5788 (run-python): Change arguments. New API requirements.
5789
4302f5ba
SM
57902012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5791
f38ea36d
SM
5792 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5793 (bug#11649).
5794
5795 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5796 (macroexp--expand-all): Use it.
5797
4302f5ba
SM
5798 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5799 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5800 Use `cl-function' instead.
5801
33377562
JB
58022012-06-14 Juanma Barranquero <lekktu@gmail.com>
5803
5804 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5805 Suggested by Stefan Monnier while discussing bug#11657.
5806
54c5ba1a
SS
58072012-06-14 Sam Steingold <sds@gnu.org>
5808
5809 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5810
f9f1b1fe
AS
58112012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5812
5813 * play/doctor.el (doctor-doc): Remove parameter and use
5814 doctor-sent instead of sent.
5815 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5816
a81068ba
SM
58172012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5818
5a315f9c
SM
5819 * files.el: Require cl-lib.
5820 (file-name-non-special): Replace case -> cl-case.
5821
5822 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5823
a81068ba
SM
5824 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5825 mapping from #' to function*.
5826
8cca9703
CY
58272012-06-13 Chong Yidong <cyd@gnu.org>
5828
5829 * mouse.el (mouse-drag-track): Do not set the mark if the user
5830 releases the mouse without selecting anything (Bug#11588).
5831
a12ac9d7
SM
58322012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5833
ccf1dc18
SM
5834 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5835 as well (bug#11646).
5836
ef62b23d
SM
5837 * loadup.el: Count byte-code functions as well.
5838
c4c8444a
SM
5839 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5840 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5841
a12ac9d7
SM
5842 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5843 (bug#11649). Add cl-defun and cl-defmacro.
5844
87e6e64f
DA
58452012-06-13 Drew Adams <drew.adams@oracle.com>
5846
5847 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5848 Fix last change.
5849
682cefaf
MA
58502012-06-13 Michael Albinus <michael.albinus@gmx.de>
5851
5852 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5853 Otherwise, it blocks in batch mode.
5854
773e1f08
JB
58552012-06-13 Juanma Barranquero <lekktu@gmail.com>
5856
5857 * help-mode.el (bookmark-make-record-default): Declare.
5858
60057926
CY
58592012-06-13 Chong Yidong <cyd@gnu.org>
5860
5861 * emacs-lisp/package.el (list-packages): Compute a list of
5862 packages that are newly-available since the last list-packages
5863 invocation.
5864 (package-menu--new-package-list): New var.
5865 (package-menu--generate, package-menu--print-info)
5866 (package-menu--status-predicate, package-menu-mark-install):
5867 Handle new status label "new".
5868
ad4d226c
SM
58692012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5870
5871 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5872 conversion to backquotes.
5873
f1a4e679
CY
58742012-06-12 Chong Yidong <cyd@gnu.org>
5875
5876 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5877 Rename from gud-inhibit-global-bindings.
5878
5879 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5880
5881 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5882 hook from nxml-glyph-set-hook.
5883
5884 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5885 declaration.
5886
5887 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5888
5889 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5890 Convert to defcustom.
5891
0c9e42b5
DA
58922012-06-12 Drew Adams <drew.adams@oracle.com>
5893
5894 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5895 New functions.
5896 (help-mode): Use them.
5897
09e06855
GM
58982012-06-11 Glenn Morris <rgm@gnu.org>
5899
5900 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5901 Use preprocessor face for directives.
5902 (fortran-directive-re): Doc fix.
5903
71adb94b
SM
59042012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5905
2eb87922
SM
5906 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5907 conversion to backquotes (bug#11652).
5908
71adb94b
SM
5909 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5910 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5911 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5912 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5913 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5914 (cl-ninth, cl-tenth): Mark them as inlinable.
5915 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5916 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5917 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5918 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5919 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5920 (cl-list*, cl-adjoin): Don't put an autoload manually.
5921 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5922 (cl--compiler-macro-list*): Add autoload cookie.
5923 (cl--compiler-macro-cXXr): New function.
2eb87922 5924
71adb94b
SM
5925 * help-fns.el (help-fns--compiler-macro): New function extracted from
5926 describe-function-1; follow aliases and use `compiler-macro' property.
5927 (describe-function-1): Use it.
5928
a6674402
CY
59292012-06-11 Chong Yidong <cyd@gnu.org>
5930
5931 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5932 is uninstalled, if imagemagick is installed.
5933
bb3faf5b
SM
59342012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5935
5936 * emacs-lisp/cl-lib.el: Use lexical-binding.
5937 (cl-map-extents, cl-maclisp-member): Remove.
5938 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5939 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5940 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5941 * emacs-lisp/cl-extra.el: Use lexical-binding.
5942 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5943 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5944 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5945 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5946 * emacs-lisp/cl-seq.el: Use lexical-binding.
5947 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5948 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5949 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5950 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5951 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5952 CL's internals.
5953
2fe4b125
MA
59542012-06-11 Michael Albinus <michael.albinus@gmx.de>
5955
5956 Sync with Tramp 2.2.6-pre.
5957
5958 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5959 `print-length' and `print-level' to nil, in order to avoid
5960 truncation. Reported by Christopher Schmidt
5961 <christopher@ristopher.com>.
5962
5963 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5964
5965 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5966 New defmacro.
5967 (tramp-compat-copy-directory): Add optional argument
5968 COPY-CONTENTS. It is not handled yet.
5969
5970 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5971 (tramp-ftp-file-name-p): Simplify.
5972
5973 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5974 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5975 connection vector.
5976
5977 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5978 (tramp-methods): Do not use `tramp-password-end-of-line'.
5979 (tramp-completion-function-alist-putty): Handle UNIX case.
5980 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5981 (tramp-do-file-attributes-with-stat)
5982 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5983 gid as real numbers. They could run out of integer range on cygwin.
5984 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5985 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
5986 (tramp-open-connection-setup-interactive-shell):
5987 Use `tramp-cleanup'. Move check for busyboxes ...
5988 (tramp-find-shell): ... here. Simplify implementation.
5989 Set "remote-shell" property also for alternative shells.
5990 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5991 If failing, a regular file would be written otherwise.
5992 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
5993 (tramp-find-inline-encoding): Cache the coding commands in the
5994 process cache. Apply test command on the remote side, if defined.
5995 (tramp-find-inline-compress): Cache the compress commands in the
5996 process cache.
5997 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5998 when requested. Handle hops.
5999 (tramp-current-connection): New defvar.
87e6e64f
DA
6000 (tramp-maybe-open-connection): Use `tramp-cleanup'.
6001 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 6002 Handle user interrupt. (Bug#10187)
87e6e64f
DA
6003 (tramp-get-inline-compress, tramp-get-inline-coding):
6004 Read connection properties from the process cache.
2fe4b125
MA
6005
6006 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
6007 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
6008 New defconsts.
2fe4b125
MA
6009 (tramp-smb-prompt): Extend for powershell prompt.
6010 (tramp-smb-file-name-handler-alist): Add handlers for
6011 `process-file', `shell-command' and `start-file-process'.
6012 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
6013 (tramp-smb-winexe-shell-command-switch): New defcustoms.
6014 (tramp-smb-file-name-p): Simplify.
6015 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
6016 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
6017 (tramp-smb-shell-quote-argument): New defuns.
6018 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
6019 Implement using "tar". By this, time-stamps are preserved.
6020 (tramp-smb-handle-copy-file): Handle also the case of directories.
6021 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
6022 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
6023 Use `tramp-get-connection-buffer').
2fe4b125
MA
6024 (tramp-smb-handle-rename-file): Use "rename", when source and
6025 target are on the same share.
87e6e64f
DA
6026 (tramp-smb-maybe-open-connection): Handle wrong passwords.
6027 Use `tramp-smb-server-version'.
2fe4b125
MA
6028 (tramp-smb-wait-for-output): Remove prompt.
6029
6030 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
6031 (tramp-methods, tramp-rsh-end-of-line):
6032 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
6033 (tramp-save-ad-hoc-proxies): New defcustom.
6034 (tramp-completion-function-alist): Adapt docstring.
6035 (tramp-default-password-end-of-line): Remove defcustom.
6036 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
6037 (tramp-user-regexp, tramp-file-name-regexp-unified)
6038 (tramp-file-name-regexp-url): Extend regexp by hop separator.
6039 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
6040 (tramp-remote-file-name-spec-regexp): New defconst.
6041 (tramp-file-name-structure): Extend structure for hops.
6042 (tramp-get-method-parameter): Move up.
6043 (tramp-file-name-p, tramp-dissect-file-name)
6044 (with-parsed-tramp-file-name): Handle hops.
6045 (tramp-file-name-hop): New defun.
6046 (tramp-make-tramp-file-name): New optional arg HOP.
6047 (tramp-message-show-progress-reporter-message): New defvar.
6048 (tramp-with-progress-reporter): Use it. We cannot use
6049 `tramp-message-show-message' here, because this suppresses also
6050 error buffers.
6051 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
6052 `tramp-message-show-message' is nil.
6053 Use `tramp-get-connection-buffer'.
2fe4b125
MA
6054 (tramp-cleanup): New defun.
6055 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
6056 (tramp-file-name-handler): If `debug-on-error' is set, propagate
6057 an error unchanged.
6058 (tramp-completion-handle-file-name-all-completions): Handle hops.
6059 Fix an error when called from ido.
6060 (tramp-completion-dissect-file-name): Use better local variable
6061 name. Add hop to the vector.
6062 (tramp-handle-insert-file-contents): Use progress-reporter for the
6063 whole scenario.
6064 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
6065 to `t'.
6066 (tramp-check-for-regexp): Simplify search.
6067 (tramp-enter-password): Remove it. Move implementation ...
6068 (tramp-action-password): ... here.
6069 (tramp-mode-string-to-int, tramp-local-host-p)
6070 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
6071 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
6072 Set tramp-autoload cookie.
2fe4b125
MA
6073
6074 * net/trampver.el: Update release number.
6075
60762012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6077 Michael Albinus <michael.albinus@gmx.de>
6078
6079 * net/tramp.el (tramp-set-completion-function): Fix docstring.
6080 (tramp-parse-group, tramp-parse-file)
6081 (tramp-parse-shostkeys-sknownhosts): New defuns.
6082 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
6083 (tramp-parse-shosts-group, tramp-parse-sconfig)
6084 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
6085 (tramp-parse-sknownhosts, tramp-parse-hosts)
6086 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
6087 Use them.
6088 (tramp-parse-passwd-group, tramp-parse-netrc-group)
6089 (tramp-parse-putty-group): Don't narrow.
6090 (tramp-parse-putty): Make a loop.
6091 (tramp-file-name-handler): Catch the `suppress' signal.
6092
72834e10
CY
60932012-06-11 Chong Yidong <cyd@gnu.org>
6094
6095 * image.el (imagemagick-register-types): Put the ImageMagick entry
6096 at the end of image-type-file-name-regexps.
6097
a4712e11
JB
60982012-06-11 Johan Bockgård <bojohan@gnu.org>
6099
6100 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
6101 (pcase, pcase-let*, pcase-dolist): Use them.
6102
82ad98e3
SM
61032012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6104
6105 * emacs-lisp/pcase.el (pcase--let*): New function.
6106 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
6107 (pcase--expand): Use macroexp-let².
6108
f80efb86
SM
61092012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
6110
6111 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
6112 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
6113 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
6114 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
6115 * emacs-lisp/derived.el: Use pcase instead of `cl'.
6116 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
6117
31ca4639 61182012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 6119
31ca4639
CY
6120 * mail/rmail.el (rmail-yank-current-message): Leave point at
6121 correct position. (Bug#11660)
94f0aa34 6122
31ca4639 61232012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 6124
31ca4639 6125 * allout-widgets.el: Fix code header.
9e1b8ec4 6126
31ca4639 61272012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 6128
f80efb86
SM
6129 * cus-edit.el (customize-changed-options-previous-release):
6130 Bump to 24.1.
31ca4639 6131
642b6d30
AS
61322012-06-09 Andreas Schwab <schwab@linux-m68k.org>
6133
6134 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
6135
4f5d2ba1
CY
61362012-06-09 Chong Yidong <cyd@gnu.org>
6137
6138 * ebuff-menu.el (electric-buffer-list): Preserve header line.
6139
e75852fd
MR
61402012-06-09 Martin Rudalics <rudalics@gmx.at>
6141
6142 * window.el (special-display-popup-frame): Don't use
6143 window--display-buffer (Bug#11651).
6144
1e48e282
EZ
61452012-06-09 Eli Zaretskii <eliz@gnu.org>
6146
8a26b487
EZ
6147 Fix parallel builds: make sure loaddefs.el is not being written
6148 while Lisp files are compiled.
6149 (compile): Don't depend on 'mh-autoloads'.
6150 (compile-CMD, compile-SH): Depend on 'autoloads'.
6151 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
6152
1e48e282
EZ
6153 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
6154
6175e34b
CY
61552012-06-09 Chong Yidong <cyd@gnu.org>
6156
6157 * face-remap.el (face-remap-add-relative, face-remap-set-base)
6158 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
6159 Doc fixes (Bug#11225).
6160
d9857e53
SM
61612012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6162
6163 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
6164 a function if there's a clear indication that it has a compiler-macro.
6165 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
6166 (macro-declarations-alist): Add arglist to declaration functions.
6167 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
6168 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
6169 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
6170 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
6171 Also add autoload to find the compiler macro.
6172 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
6173 (cl--compiler-macro-member, cl--compiler-macro-assoc)
6174 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
6175 (cl--compiler-macro-get): New functions, replacing calls to
6176 cl-define-compiler-macro.
6177 (cl-typep) [compiler-macro]: Use macroexp-let².
6178
f81298f8 61792012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
6180
6181 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
6182 string properly, fixes Bug#11473.
6183
4b56d0fe
CY
61842012-06-08 Chong Yidong <cyd@gnu.org>
6185
6186 * faces.el (set-face-attribute): Doc fix.
6187 (modify-face): Don't use :bold and :italic.
6188 (error, warning, success): Tweak definitions.
6189
6190 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
6191 (custom-modified, custom-set, custom-changed, custom-themed)
6192 (custom-saved, custom-button, custom-button-mouse)
6193 (custom-button-pressed, custom-state, custom-comment-tag)
6194 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
6195 (custom-group-subtitle): Use new-style face specs.
6196 (custom-invalid-face, custom-rogue-face, custom-modified-face)
6197 (custom-set-face, custom-changed-face, custom-saved-face)
6198 (custom-button-face, custom-button-pressed-face)
6199 (custom-documentation-face, custom-state-face)
6200 (custom-comment-face, custom-comment-tag-face)
6201 (custom-variable-tag-face, custom-variable-button-face)
6202 (custom-face-tag-face, custom-group-tag-face-1)
6203 (custom-group-tag-face): Remove obsolete face alias.
6204
6205 * epa.el (epa-validity-high, epa-validity-medium)
6206 (epa-validity-low, epa-mark, epa-field-name, epa-string)
6207 (epa-field-name, epa-field-body):
6208 * font-lock.el (font-lock-comment-face, font-lock-string-face)
6209 (font-lock-keyword-face, font-lock-builtin-face)
6210 (font-lock-function-name-face, font-lock-variable-name-face)
6211 (font-lock-type-face, font-lock-constant-face):
6212 * ido.el (ido-first-match, ido-only-match, ido-subdir)
6213 (ido-virtual, ido-indicator, ido-incomplete-regexp):
6214 * speedbar.el (speedbar-button-face, speedbar-file-face)
6215 (speedbar-directory-face, speedbar-tag-face)
6216 (speedbar-selected-face, speedbar-highlight-face)
6217 (speedbar-separator-face):
6218 * whitespace.el (whitespace-newline, whitespace-space)
6219 (whitespace-hspace, whitespace-tab, whitespace-trailing)
6220 (whitespace-line, whitespace-space-before-tab)
6221 (whitespace-space-after-tab, whitespace-indentation)
6222 (whitespace-empty):
6223 * emulation/cua-base.el (cua-global-mark):
6224 * eshell/em-prompt.el (eshell-prompt):
6225 * net/newst-plainview.el (newsticker-new-item-face)
6226 (newsticker-old-item-face, newsticker-immortal-item-face)
6227 (newsticker-obsolete-item-face, newsticker-date-face)
6228 (newsticker-statistics-face, newsticker-default-face):
6229 * net/newst-reader.el (newsticker-feed-face)
6230 (newsticker-extra-face, newsticker-enclosure-face):
6231 * net/newst-treeview.el (newsticker-treeview-face)
6232 (newsticker-treeview-new-face, newsticker-treeview-old-face)
6233 (newsticker-treeview-immortal-face)
6234 (newsticker-treeview-obsolete-face)
6235 (newsticker-treeview-selection-face):
6236 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
6237 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
6238 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
6239 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
6240 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
6241 (nxml-outline-active-indicator, nxml-outline-ellipsis):
6242 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
6243 (mpuz-text):
6244 * progmodes/vera-mode.el (vera-font-lock-number)
6245 (vera-font-lock-function, vera-font-lock-interface):
6246 * textmodes/table.el (table-cell): Use new-style face specs, and
6247 don't use the old :bold and :italic attributes.
6248
6249 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
6250 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
6251 (ebrowse-member-class, ebrowse-progress): Likewise.
6252 (ebrowse-tree-mark-face, ebrowse-root-class-face)
6253 (ebrowse-file-name-face, ebrowse-default-face)
6254 (ebrowse-member-attribute-face, ebrowse-member-class-face)
6255 (ebrowse-progress-face): Remove obsolete faces.
6256
6257 * progmodes/flymake.el (flymake-errline, flymake-warnline):
6258 Inherit from error and warning faces respectively.
6259
6260 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
6261 Likewise.
f80efb86
SM
6262 (flyspell-incorrect-face, flyspell-duplicate-face):
6263 Remove obsolete aliases.
4b56d0fe 6264
03310646
MA
62652012-06-08 Michael Albinus <michael.albinus@gmx.de>
6266
6267 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6268 Avoid infloop.
6269
513749ee
SM
62702012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6271
6272 * startup.el (argv, argi): Make lexically scoped.
6273 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
6274 * emacs-lisp/cl-macs.el: Use lexical-binding.
6275 Rename cl-bind-* to cl--bind-*.
6276 * files.el: Don't require `cl' since it doesn't use it.
6277 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
6278
595ef4ad
JB
62792012-06-08 Juanma Barranquero <lekktu@gmail.com>
6280
6281 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
6282 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
6283 instead of calling external sort utility.
6284 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
6285
e9f66fcb
EZ
62862012-06-08 Eli Zaretskii <eliz@gnu.org>
6287
6288 * descr-text.el (describe-char): Mention how to insert the
6289 character, if the current input method doesn't support it.
6290 See the discussion in this thread for the details:
6291 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
6292
3d10db47
SS
62932012-06-08 Sam Steingold <sds@gnu.org>
6294
6295 * bindings.el (global-map): Bind XF86Forward to next-buffer and
6296 XF86Back to previous-buffer.
6297 (minibuffer-local-map): Bind them to next-history-element and
6298 previous-history-element respectively.
6299 * help-mode.el (help-mode-map): Bind them to help-go-forward and
6300 help-go-back respectively.
6301 * info.el (Info-mode-map): Bind them to Info-history-forward and
6302 Info-history-back respectively.
6303 These are the keys next to Up on the ThinkPad keyboard.
6304
de7e2b36
SM
63052012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6306
6307 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
6308 * emacs-lisp/cl-macs.el: Provide itself.
6309 (cl--labels-convert-cache): New var.
6310 (cl--labels-convert): New function.
6311 (cl-flet, cl-labels): New implementation with new semantics, relying on
6312 lexical-binding.
6313 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
6314 (cl-closure-vars, cl--function-convert-cache)
6315 (cl--function-convert): Move from cl-macs.el.
6316 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
6317 rename by removing the "cl-" prefix.
6318 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
6319
6fa6c4ae
SM
63202012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6321
6322 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
6323 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
6324 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
6325 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
6326 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
6327 (cl-hash-table-count): Add old compatibility aliases.
6328
6329 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
6330 Use macroexpand-all-environment instead.
6331 (cl--old-macroexpand): New var.
6332 (cl--sm-macroexpand): New function.
6333 (cl-symbol-macrolet): Use it during macro expansion.
6334 (cl--function-convert-cache): New var.
6335 (cl--function-convert): New function, extracted from
6336 cl-macroexpand-all.
6337 (cl-lexical-let): Use it.
6338
6339 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
6340 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
6341 (cl-member): Remove old alias.
6342
6343 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
6344 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
6345 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
6346 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
6347 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
6348 (cl-macroexpand-cmacs): Remove var.
6349 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
6350 Use macroexpand-all instead.
6351
4dd1c416
SM
63522012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6353
6354 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
6355 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
6356 (macroexp-copyable-p): New functions and macros.
6357 * emacs-lisp/edebug.el (edebug-unwrap):
6358 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
6359 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
6360 (pcase--let*): Remove.
6361 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
6362 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
6363 macroexp-const-p instead.
6364 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
6365
6366 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
6367 instead of "cl-" for internal definitions. Use macroexp-const-p.
6368 (cl-old-bc-file-form): Remove var.
6369 (cl-const-exprs-p): Remove fun.
6370 (cl-labels, cl-macrolet): Use backquote.
6371 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
6372 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
6373 (cl-define-setf-expander): Rename from cl-define-setf-method.
6374 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
6375
6376 * international/mule-cmds.el: Don't require CL.
6377 (view-hello-file): Don't use `letf'.
6378
ed8bd4d7
SM
63792012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6380
7287f2f3
SM
6381 * tmm.el (tmm-prompt): Use string-prefix-p.
6382 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
6383 (tmm-add-prompt): Use minibuffer-completion-help.
6384 (tmm-delete-map): Remove.
6385
ed8bd4d7
SM
6386 * subr.el (kbd): Make it its own function.
6387
7b4cdbf4
SM
63882012-06-07 Stefan Merten <smerten@oekonux.de>
6389
6390 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
6391 Silence compiler warnings. Fix versions.
ed8bd4d7 6392 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 6393 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 6394 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
6395 (rst-package-emacs-version-alist): Correct Emacs version to
6396 represent major merge with upstream.
ed8bd4d7 6397 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 6398
2b48d721
GM
63992012-06-06 Glenn Morris <rgm@gnu.org>
6400
6401 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
6402 Only print environment variables if set.
6403
fa779ab0
SM
64042012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6405
6406 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
6407 (macroexp--cons): Rename from maybe-cons.
6408 (macroexp--accumulate): Rename from macroexp-accumulate.
6409 (macroexp--all-forms): Rename from macroexpand-all-forms.
6410 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
6411 (macroexp--expand-all): Rename from macroexpand-all-1.
6412
628299e0
SS
64132012-06-06 Sam Steingold <sds@gnu.org>
6414
6415 * calendar/calendar.el (calendar-in-read-only-buffer):
6416 Call `special-mode' to enable the standard read-only keybindings.
6417
b7bb5838
SM
64182012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6419
6420 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
6421 with "loading" messages (bug#11635).
6422
dfb308ba
MA
64232012-06-06 Michael Albinus <michael.albinus@gmx.de>
6424
6425 * files.el (enable-remote-dir-locals): New option.
6426 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
6427
0372ee92
MA
6428 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6429 Ensure, that the temp directory is local.
6430
6431 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
6432 `temporary-file-directory'.
6433
eed0bb91
MA
6434 * progmodes/python.el (python-send-region): Ensure, that the
6435 temporary file is created also in the remote case.
6436
7a58f64d
GM
64372012-06-06 Glenn Morris <rgm@gnu.org>
6438
f7dd4e98
GM
6439 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
6440 (vc-rcs-update-changelog): Use it.
6441
090bd7cb 6442 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 6443
7a58f64d
GM
6444 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
6445 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
6446 (vc-sccs-diff): Replace use of the external vcdiff script.
6447
daed4003
GM
64482012-06-05 Glenn Morris <rgm@gnu.org>
6449
6450 * ledit.el: Move to obsolete/.
6451
48c455c7
SS
64522012-06-05 Sam Steingold <sds@gnu.org>
6453
ed9265fc 6454 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
6455 patch (Bug#11140).
6456
57a7d507
SM
64572012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6458
090bd7cb 6459 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 6460
53aacf21
SM
6461 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
6462 compiler-macro expansion.
6463
57a7d507
SM
6464 Add native compiler-macro support.
6465 * emacs-lisp/macroexp.el (macroexpand-all-1):
6466 Support compiler-macros directly. Properly follow aliases and apply
6467 the compiler macros more thoroughly.
6468 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
6469 macroexpand now properly follows aliases.
6470 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6471 (cl-compiler-macroexpand): Use new prop.
6472 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6473
6474 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6475
51a5f9d8
MR
64762012-06-05 Martin Rudalics <rudalics@gmx.at>
6477
6478 * window.el (get-lru-window, get-mru-window, get-largest-window):
6479 New argument NOT-SELECTED to avoid picking the selected window.
6480 (window--display-buffer-1, window--display-buffer-2): Replace by
6481 new function window--display-buffer
6482 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
6483 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6484 Use window--display-buffer.
51a5f9d8
MR
6485 (display-buffer-use-some-window): Remove temporary dedication
6486 hack by calling get-lru-window and get-largest-window with
6487 NOT-SELECTED argument non-nil. Call window--display-buffer.
6488
08f9f738
GM
64892012-06-05 Glenn Morris <rgm@gnu.org>
6490
6491 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6492 Replace external vcdiff script.
6493
e364a2b7
SM
64942012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6495
6496 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6497
041df390
CY
64982012-06-04 Chong Yidong <cyd@gnu.org>
6499
e364a2b7
SM
6500 * image.el (imagemagick-types-inhibit): Revert last change.
6501 Add INFO and M.
47b36b94 6502 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 6503
7c1898a7
SM
65042012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6505
6506 * emacs-lisp/cl-lib.el: Rename from cl.el.
6507 * emacs-lisp/cl.el: New compatibility file.
6508 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6509 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6510 to obey the "cl-" prefix.
6511 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6512
0c3461de
GM
65132012-06-03 Glenn Morris <rgm@gnu.org>
6514
1e266c88
GM
6515 * emacs-lisp/authors.el (authors-aliases): Addition.
6516
0c3461de
GM
6517 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6518 Fix :version.
6519
d8a52e15
SM
65202012-06-03 Stefan Merten <smerten@oekonux.de>
6521
6522 * textmodes/rst.el: Add comments.
6523 (rst-transition, rst-adornment): New faces.
6524 (rst-adornment-faces-alist): Make default safe to reevaluate.
6525 Fixes
6526 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6527 Improve customization tags.
6528 (rst-define-level-faces): Clarify meaning.
6529
5205d6f6
CY
65302012-06-03 Chong Yidong <cyd@gnu.org>
6531
6532 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
6533 (compilation-mode-line-run, compilation-mode-line-exit):
6534 New faces.
5205d6f6
CY
6535 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6536
757ee657
JD
65372012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6538
7c1898a7
SM
6539 * progmodes/which-func.el (which-func-update-ediff-windows):
6540 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 6541
5f2c76c6
CY
65422012-06-03 Chong Yidong <cyd@gnu.org>
6543
6544 * bindings.el: Remove explicit help text from format-mode-line.
6545 It is now supplied by mode-line-default-help-echo.
6546 (mode-line-front-space, mode-line-end-spaces)
6547 (mode-line-misc-info): New variables.
6548 (mode-line-modes, mode-line-position): Move the default value to
6549 the variable definition.
6550 (mode-line-default-help-echo): New defcustom.
383f7350
CY
6551 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6552 (mode-line-modified-help-echo): New functions.
6553 (mode-line-mule-info, mode-line-modified): Use them.
6554 (mode-line-eol-desc, propertized-buffer-identification):
6555 Consistency fixes for help text.
cbe46e5f
CY
6556 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6557 set-buffer-file-coding-system (Bug#289).
6558 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 6559
f2d6a3df
SM
65602012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6561
6562 * simple.el (execute-extended-command): Set real-this-command
6563 (bug#11506).
6564
37269466
CY
65652012-06-02 Chong Yidong <cyd@gnu.org>
6566
6567 Remove incorrect uses of "modeline" in comments, docstrings, and
6568 function/variable names (Bug#10329).
6569
6570 * cus-edit.el (mode-line):
6571 * dframe.el (dframe-mouse-hscroll):
6572 * emacs-lisp/re-builder.el:
6573 * emacs-lisp/easy-mmode.el (define-minor-mode):
6574 * frame.el (set-frame-name):
6575 * help.el (lookup-minor-mode-from-indicator):
6576 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6577 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6578 (c-toggle-hungry-state):
6579 * progmodes/antlr-mode.el (antlr-language-alist):
6580 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6581 * progmodes/vhdl-mode.el (vhdl-mode):
6582 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6583 * term/ns-win.el (ns-face-at-pos):
6584 * term/sup-mouse.el (sup-mouse-report):
6585 * textmodes/flyspell.el (flyspell-mode-line-string):
6586 * textmodes/ispell.el (ispell-highlight-face):
6587 * textmodes/reftex-global.el:
6588 * vc/vc-arch.el (vc-arch-mode-line-string):
6589 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6590 * vc/vc-git.el (vc-git-mode-line-string):
6591 * vc/vc-hooks.el (vc-display-status)
6592 (vc-default-mode-line-string):
6593 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6594
6595 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6596
6597 * dired.el (dired-sort-set-mode-line): Rename from
6598 dired-sort-set-modeline. All callers changed.
6599
6600 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6601 eshell-status-in-modeline.
6602
6603 * foldout.el (foldout-mode-line-string): Rename from
6604 foldout-modeline-string. All callers changed.
6605 (foldout-update-mode-line): Rename from foldout-update-modeline.
6606
6607 * subr.el (redraw-modeline): Make into obsolete alias.
6608
6609 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6610 timeclock-modeline-display. Make old name an alias.
6611 (timeclock-update-mode-line): Likewise. All callers changed.
6612 (timeclock-mode-line-display): No need to check before using
6613 add-hook.
6614 (timeclock-relative, timeclock-day-over-hook)
6615 (timeclock-use-elapsed, timeclock-mode-string)
6616 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6617
6618 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6619 crisp-mode-modeline-string.
6620
6621 * play/solitaire.el (solitaire-build-mode-line): Rename from
6622 solitaire-build-modeline. All callers changed.
6623
6624 * play/zone.el (zone-hiding-mode-line): Rename from
6625 zone-hiding-modeline. All callers changed.
6626 (zone): Remove unusued `modeline-hidden-level' property.
6627
6628 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6629 xscheme-modeline-initialize. All callers changed.
6630
6631 * strokes.el (strokes-lighter): Rename from
6632 strokes-modeline-string.
6633
6634 * textmodes/sgml-mode.el (html-face-tag-alist)
6635 (html-tag-face-alist): Use mode-line face instead of obsolete
6636 alias modeline.
6637
42152ee4
SM
66382012-06-02 Stefan Merten <smerten@oekonux.de>
6639
6640 * textmodes/rst.el: Always require `cl'.
4cf9b38d 6641 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 6642
95f520b5
CY
66432012-06-02 Chong Yidong <cyd@gnu.org>
6644
6645 * image.el (imagemagick-enabled-types): Rename from
6646 imagemagick-types-enable. Add many more types.
6647 (imagemagick-types-inhibit): Change default to nil.
6648 (imagemagick-filter-types): Caller changed.
6649
4a5f187a
SM
66502012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6651
03fef3e6
SM
6652 * emacs-lisp/cl-macs.el: Use backquotes.
6653 (cl-transform-function-property): Use eval-and-compile rather than
6654 abusing `require'.
6655 (defstruct): Use declare-function instead of with-no-warnings.
6656
4a5f187a
SM
6657 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6658 (byte-compile-output-docform): Re-add the print-circle bindings.
6659 (byte-compile-fix-header): Use #$ just because it's shorter.
6660 (byte-compile-output-file-form): Remove defun/defmacro.
6661
bd56924f
MR
66622012-06-01 Martin Rudalics <rudalics@gmx.at>
6663
6664 * simple.el (choose-completion): Remove now obsolete binding for
6665 owindow.
6666
046e38ce
MA
66672012-06-01 Michael Albinus <michael.albinus@gmx.de>
6668
6669 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6670 in order to avoid "Stack overflow in regexp matcher".
6671
32d72c2f
GM
66722012-05-31 Glenn Morris <rgm@gnu.org>
6673
6674 * image.el: For clarity, call imagemagick-register-types at
6675 top-level, rather than relying on a custom :initialize.
6676 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
6677 (imagemagick-filter-types): New function. (Bug#7406)
6678 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
6679 If disabling support, remove elements altogether rather
6680 than using an impossible regexp.
6681 (imagemagick-types-inhibit): Give it the default init function.
6682
dd41169b
SM
66832012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6684
4a5f187a
SM
6685 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6686 Handle arbitrary file name lengths (Bug#11585).
dd41169b 6687
efc00ab1 66882012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
6689
6690 * desktop.el (desktop-read): Clear previous and next buffers for
6691 all windows and bury *Messages* buffer (bug#11556).
6692
500fcedc
SM
66932012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6694
6695 Add `declare' for `defun'. Align `defmacro's with it.
6696 * emacs-lisp/easy-mmode.el (define-minor-mode)
6697 (define-globalized-minor-mode): Don't autoload the var definitions.
6698 * emacs-lisp/byte-run.el: Use lexical-binding.
6699 (defun-declarations-alist, macro-declarations-alist): New vars.
6700 (defmacro, defun): Use them.
6701 (make-obsolete, define-obsolete-function-alias)
6702 (make-obsolete-variable, define-obsolete-variable-alias):
6703 Use `declare'.
6704 (macro-declaration-function): Mark obsolete.
6705 * emacs-lisp/autoload.el: Use lexical-binding.
6706 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6707
6e8a1786
AM
67082012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6709
6710 * textmodes/ispell.el (ispell-with-no-warnings):
6711 Define as a macro.
500fcedc
SM
6712 (ispell-kill-ispell, ispell-change-dictionary):
6713 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
6714 `interactive-p'.
6715
61b108cc
SM
67162012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6717
6718 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6719 (macro-declaration-function): Move var from C code.
6720 (macro-declaration-function): Define function with defalias.
6721 * emacs-lisp/macroexp.el (macroexpand-all-1):
6722 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6723 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6724 defun/defmacro any more.
6725 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6726 Provide fallback for unknown arglist.
6727 (byte-compile-arglist-warn): Change calling convention.
6728 (byte-compile-output-file-form): Move print-vars binding.
6729 (byte-compile-output-docform): Simplify accordingly.
6730 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6731 (byte-compile-defmacro-declaration): Remove.
6732 (byte-compile-file-form-defmumble): Generalize to defalias.
6733 (byte-compile-output-as-comment): Return byte-positions.
6734 Simplify callers accordingly.
6735 (byte-compile-lambda): Use `assert'.
6736 (byte-compile-defun, byte-compile-defmacro): Remove.
6737 (byte-compile-file-form-defalias):
6738 Use byte-compile-file-form-defmumble.
6739 (byte-compile-defalias-warn): Remove.
6740
6d3f7c2f
SM
67412012-05-29 Stefan Merten <smerten@oekonux.de>
6742
6743 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 6744 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
6745
6746 (rst-mode-abbrev-table): Merge definition.
6747 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6748 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6749
6dbaa1c7
UJ
67502012-05-29 Ulf Jasper <ulf.jasper@web.de>
6751
6752 * calendar/icalendar.el
6753 (icalendar-export-region): Export UID properly.
6754
d209e2fb 67552012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
6756 * calendar/icalendar.el (icalendar-import-format):
6757 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
6758 (icalendar-import-format-uid): New.
6759 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6760 Export UID.
6761
6876a58d
SM
67622012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6763
6764 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6765 different alternative patterns.
6766 (pcase-codegen): Be more careful to preserve identity.
6767 (pcase--u1): Don't forget to mark vars as used.
6768
6769 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6770 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6771 (byte-compile-from-buffer): ...rather than here.
6772
6773 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6774 functions from byte-compile-function-environment.
6775
46b7967e
TN
67762012-05-29 Troels Nielsen <bn.troels@gmail.com>
6777
6778 * window.el (window-deletable-p): Avoid deleting the root window
6779 of a frame with an active minibuffer.
6780
69d565e2
MR
67812012-05-29 Martin Rudalics <rudalics@gmx.at>
6782
6783 * simple.el (choose-completion): Use quit-window (Bug#11567).
6784
a149fa51
CY
67852012-05-29 Chong Yidong <cyd@gnu.org>
6786
6787 * whitespace.el (whitespace-cleanup): Fix usage of
6788 whitespace-empty-at-bob-regexp (Bug#11492).
6789
2b311310
AH
67902012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6791
6792 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6793 revert (Bug#11488).
6794
b9cb2387
JL
67952012-05-29 Juri Linkov <juri@jurta.org>
6796
6797 * isearch.el (isearch-mode-map): Bind `M-s _' to
6798 `isearch-toggle-symbol'. Bind `M-s c' to
6799 `isearch-toggle-case-fold'.
6800 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6801 (isearch-forward): Add `M-s _' to the docstring.
6802 (isearch-forward-symbol, isearch-toggle-case-fold)
6803 (isearch-symbol-regexp): New functions. (Bug#11381)
6804
d5e61c1c
JL
68052012-05-29 Juri Linkov <juri@jurta.org>
6806
6807 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6808 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6809 a function, call it to get the regexp.
6810 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6811 property `isearch-message-prefix' instead of the string "word ".
6812 (isearch-search-fun-default): For the case of `isearch-word',
6813 return a lambda that calls re-search-forward/re-search-backward
6814 with a regexp returned by `word-search-regexp' or by the function
6815 in `isearch-word'.
6816
8cbd80f7
JL
68172012-05-29 Juri Linkov <juri@jurta.org>
6818
6819 * isearch.el (isearch-search-fun-default): New function.
6820 (isearch-search-fun): Move default part to the new function
6821 `isearch-search-fun-default'.
6822 (isearch-search-fun-function): Set the default value to
6823 `isearch-search-fun-default'. (Bug#11381)
6824
6825 * comint.el (comint-history-isearch-end):
6826 Use `isearch-search-fun-default'.
6827 (comint-history-isearch-search): Use `isearch-search-fun-default'
6828 and remove spacial case for `isearch-word'.
6829 (comint-history-isearch-wrap): Remove spacial case for
6830 `isearch-word'.
6831
6832 * hexl.el (hexl-isearch-search-function):
6833 Use `isearch-search-fun-default'.
6834
6835 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6836 Use `word-search-regexp' for `isearch-word'.
6837
6838 * misearch.el (multi-isearch-search-fun):
6839 Use `isearch-search-fun-default'.
6840
6841 * simple.el (minibuffer-history-isearch-search):
6842 Use `isearch-search-fun-default' and remove spacial case for
6843 `isearch-word'.
6844 (minibuffer-history-isearch-wrap): Remove spacial case for
6845 `isearch-word'.
6846
6847 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6848 Remove spacial case for `isearch-word'.
6849 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6850
85c8c5b6
AM
68512012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6852
6853 Decrease XEmacs incompatibilities.
6854 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6855 Use `string-match'.
6856 (flyspell-delete-region-overlays): Use alternative definition for
6857 XEmacs.
6858 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6859 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6860 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6861 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6862 `define-obsolete-face-alias' under XEmacs, but old method.
6863
6864 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6865 `with-no-warnings' definition or Emacs alias.
6866 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6867 (ispell-word): Do not use `region-p' if XEmacs.
6868
8cab9efc
AM
68692012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6870
6871 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6872 Check for `ispell-dictionary-base-alist' instead of full
6873 `ispell-dictionary-alist'.
6874 (ispell-init-process): Show spellchecker when starting new Ispell
6875 process.
6876
fda91268
RZ
68772012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6878
6879 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6880 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6881
694ea8e3
JB
68822012-05-27 Juanma Barranquero <lekktu@gmail.com>
6883
6884 * version.el (motif-version-string, gtk-version-string)
6885 (ns-version-string): Declare.
6886
e4d4f539
JL
68872012-05-27 Juri Linkov <juri@jurta.org>
6888
6889 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6890 after the `eval-defun-1' specialcaseing
6891 like in `edebug-eval-defun' (bug#10181).
6892
6893 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6894 like in `eval-defun-1'.
6895
33017faf 68962012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 6897
fda91268
RZ
6898 * mail/sendmail.el (mail-yank-region):
6899 Recognize rmail-yank-current-message in addition to insert-buffer.
6900 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
6901 a *mail* buffer created through rmail-start-mail with sendmail as
6902 mail-user-agent.
6903
33017faf
GM
69042012-05-27 Chong Yidong <cyd@gnu.org>
6905
6906 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6907 Default to 256 (Bug#11267).
6908
6909 * help.el (describe-mode): Doc fix.
6910
04188bb9
GM
69112012-05-26 Glenn Morris <rgm@gnu.org>
6912
38264cc9
GM
6913 * w32-fns.el (w32-init-info): Remove.
6914 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6915
eb7afdad
GM
6916 * info.el (info-initialize): For self-contained NS builds, put the
6917 included info/ directory at the front. (Bug#2791)
6918
04188bb9
GM
6919 * paths.el (Info-default-directory-list): Make it a defcustom,
6920 mainly so that we can use custom-initialize-delay.
6921
a179e3f7
SM
69222012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6923
43416392
SM
6924 * subr.el (buffer-has-markers-at): Mark obsolete.
6925
a179e3f7 6926 * subr.el (lambda): Use declare.
43416392 6927
a179e3f7
SM
6928 * emacs-lisp/lisp-mode.el (lambda):
6929 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6930
34a008d9
AH
69312012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6932
6933 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6934
0a3b289f
GM
69352012-05-26 Glenn Morris <rgm@gnu.org>
6936
6937 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6938
758c81e8
GM
69392012-05-25 Glenn Morris <rgm@gnu.org>
6940
f9f334f0
GM
6941 * paths.el: Remove no-byte-compile.
6942 * loadup.el: No need to load paths.el uncompiled.
6943
87eb79c2
GM
6944 * image.el (imagemagick-types-inhibit): Doc fix.
6945
758c81e8
GM
6946 * version.el: Remove no-byte-compile and associated formatting.
6947 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6948 is ancient code from when there was an "inc-vers.el".
6949
e7e85dc0
SM
69502012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6951
6952 * progmodes/gdb-mi.el: Minor style changes.
6953 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6954 Turn into minor modes.
6955 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6956 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6957 (gdb-shell): Remove unneeded let-binding.
6958 (gdb-get-many-fields): Eliminate O(n²) behavior.
6959
f31237a4
EZ
69602012-05-25 Eli Zaretskii <eliz@gnu.org>
6961
6962 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6963 platforms that don't link in fontset.c.
6964
bc1b21bb
JL
69652012-05-25 Juri Linkov <juri@jurta.org>
6966
6967 Use the same diff color scheme as in modern VCSes (bug#10181).
6968
6969 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6970 to avoid confusion with `diff-added' that now uses green colors.
6971 (diff-removed): Use shades of red.
6972 (diff-added): Use shades of green.
6973 (diff-changed): Leave just the yellow color.
6974 (diff-use-changed-face): New variable.
6975 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6976 how to highlight context diff changes.
6977 (diff-refine-change): Use shades of yellow.
6978 (diff-refine-removed): New face that uses shades of red.
6979 (diff-refine-added): New face that uses shades of green.
6980 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6981 `diff-refine-removed' in the call to `smerge-refine-subst'
6982 depending on the value of `diff-use-changed-face'.
6983
6984 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6985 (smerge-other): Use shades of green.
6986 (smerge-base): Use shades of yellow.
6987 (smerge-refined-change): Empty face.
6988 (smerge-refined-removed): New face that uses shades of red.
6989 (smerge-refined-added): New face that uses shades of green.
6990 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6991 args `props-r' and `props-a', and use them. Doc fix.
6992 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6993 on its value use different faces `smerge-refined-change',
6994 `smerge-refined-removed', `smerge-refined-added' in the call to
6995 `smerge-refine-subst'.
6996
6997 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6998 Add face condition `min-colors 88' with shades of red.
6999 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
7000 `min-colors 88' with shades of green.
7001 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
7002 `min-colors 88' with shades of yellow.
7003
6df9112c
GM
70042012-05-24 Glenn Morris <rgm@gnu.org>
7005
ead5edc0
GM
7006 * paths.el (prune-directory-list, remote-shell-program): Move to...
7007 * files.el (prune-directory-list, remote-shell-program): ...here.
7008 For the latter, delay initialization, prefer ssh, just search PATH.
7009
f18b81e6
GM
7010 * paths.el (term-file-prefix): Move to faces.el (the only user).
7011 * faces.el (term-file-prefix): Move here, make it a defcustom.
7012
ee2f89a6
GM
7013 * paths.el (news-directory, news-path, news-inews-program):
7014 Move to gnus/nnspool.el.
61a583ca 7015
f8815e4c
GM
7016 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
7017
c8f3b42c
GM
7018 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
7019 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
7020 Make the latter a defcustom, with a delayed initialization.
7021
6df9112c
GM
7022 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
7023 These were deleted from Gnus itself late 2010.
7024
5dadff36
JB
70252012-05-22 Juanma Barranquero <lekktu@gmail.com>
7026
9e1701c6
JB
7027 * progmodes/which-func.el (which-func-ff-hook):
7028 Check against user-error, not error.
7029
bd7239f5 7030 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
7031 cl-specs.el, which no longer exists.
7032
3290526d
GM
70332012-05-22 Glenn Morris <rgm@gnu.org>
7034
7035 * info.el (info-emacs-bug): New command.
7036 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
7037 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
7038
ff0c3cfb
GM
70392012-05-21 Glenn Morris <rgm@gnu.org>
7040
7041 * makefile.w32-in (update-subdirs-SH):
7042 * Makefile.in (update-subdirs): Update for moved update-subdirs.
7043
5814f126
SM
70442012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7045
a52c0aa0
SM
7046 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
7047
5814f126
SM
7048 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7049 Simplify Maven regexp, and make sure the file can't start with a space
7050 (bug#11517).
7051
b847032c
GM
70522012-05-21 Glenn Morris <rgm@gnu.org>
7053
7054 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7055 Scrap superfluous subshells.
7056
3858bfe7
SM
70572012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7058
7059 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
7060 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
7061
d14b0029
JB
70622012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
7063
7064 * calc/calc.el (calc-ensure-consistent-units): New variable.
7065
a52c0aa0
SM
7066 * calc/calc-units.el (math-consistent-units-p)
7067 (math-check-unit-consistency): New functions.
7068 (calc-quick-units, calc-convert-units):
7069 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
7070 is non-nil.
d14b0029
JB
7071 (calc-extract-units): Fix typo.
7072
60c4db3a
SM
70732012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7074
77f3b62e
SM
7075 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
7076
60c4db3a
SM
7077 * textmodes/flyspell.el: Commenting style, plus code simplifications.
7078 (flyspell-default-deplacement-commands): Don't spell check after
7079 repeated window/frame switches (e.g. triggered by mouse-movement).
7080 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
7081 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
7082 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
7083 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
7084 Remove unused vars.
7085 (flyspell-get-casechars, flyspell-get-not-casechars):
7086 Simplify; Don't bother removing a ] just to add it back.
7087 * textmodes/ispell.el (ispell-program-name): Use executable-find.
7088
d209e2fb 70892012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
7090
7091 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
7092 New functions.
bd7239f5 7093 (math-function-table): Add support for more C functions.
b1a10716 7094
3f1b25b5
AM
70952012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7096
090bd7cb
JB
7097 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7098 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7099 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 7100
b581bb5c
SM
71012012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7102
7103 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
7104 their respective macro declarations.
7105 * skeleton.el (define-skeleton):
7106 * progmodes/compile.el (define-compilation-mode):
7107 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
7108 (define-ibuffer-filter):
7109 * emacs-lisp/generic.el (define-generic-mode):
7110 * emacs-lisp/easy-mmode.el (define-minor-mode)
7111 (define-globalized-minor-mode):
7112 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
7113 * emacs-lisp/byte-run.el (defsubst):
7114 * custom.el (deftheme): Add doc-string metadata.
7115
70b8ef8f
SM
71162012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7117
7118 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
7119
b1198e17
SM
71202012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7121
9abdc45d
SM
7122 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
7123
b1198e17
SM
7124 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
7125 * emacs-lisp/cl-macs.el: Idem.
7126 * emacs-lisp/cl-specs.el: Remove.
7127
4735906a
SM
71282012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7129
7130 Minor renaming of internal CL functions and variables.
7131 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
7132 (cl--position): Rename from cl-position.
7133 (cl--delete-duplicates): Rename from cl-delete-duplicates.
7134 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
7135 (cl--random-state): Rename from *random-state*.
7136
ac348012
SM
71372012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7138
7139 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
7140 parens around the arg list (bug#11499).
7141
a0a79cde
JL
71422012-05-17 Juri Linkov <juri@jurta.org>
7143
7144 * isearch.el (word-search-regexp, word-search-backward)
7145 (word-search-forward, word-search-backward-lax)
7146 (word-search-forward-lax): Move functions from search.c
7147 (bug#10145, bug#11381).
7148
65034a51
AM
71492012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7150
090bd7cb
JB
7151 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7152 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7153 Delay for otherchars as for normal word components.
65034a51 7154
1a72a195
SM
71552012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7156
7157 * minibuffer.el (completion--sifn-requote): Fix last change.
7158 (minibuffer-local-must-match-filename-map):
7159 Move define-obsolete-variable-alias before its var.
7160
fdb058c2
SM
71612012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7162
c41045e6
SM
7163 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
7164
036dfb8b
SM
7165 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
7166 behavior.
7167 (completion--string-equal-p): New function.
7168 (completion--twq-all): Use it to get better assertion failure data.
7169
2473256d
SM
7170 Only handle ".." and '..' quoting in shell-mode (bug#11466).
7171 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
7172 (shell--requote-argument): New functions.
7173 (shell-completion-vars): Use them.
7174 (shell--parse-pcomplete-arguments): Rename from
7175 shell-parse-pcomplete-arguments.
7176 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
7177 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
7178 Obey comint-file-name-quote-list.
7179
fdb058c2
SM
7180 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
7181 (smie-indent-keyword): Use it.
7182
51fa99f1
SM
71832012-05-14 Stefan Merten <smerten@oekonux.de>
7184
7185 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
7186
e18afed7 71872012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
7188
7189 * net/rlogin.el (rlogin-mode-map): Fix last change.
7190
e18afed7 71912012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
7192
7193 * mail/smtpmail.el (smtpmail-send-command): Send the command and
7194 the following \r\n using a single `process-send-string', since the
7195 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 7196 with two `process-send-string's (Bug#11444).
8633b1f4 7197
e18afed7 71982012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 7199
fdb058c2
SM
7200 * shell.el (shell-parse-pcomplete-arguments):
7201 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 7202
2d21d7f6
WJ
72032012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7204
e18afed7 7205 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
7206 (image-transform-scale, image-transform-right-angle-fudge): New vars.
7207 (image-transform-width, image-transform-fit-width): New functions.
7208 (image-transform-properties): Use them.
7209 (image-transform-check-size): New function.
7210 (image-toggle-display-image): Use it (for testing).
7211 (image-transform-set-rotation): Reduce angle mod 360.
7212 Delete obsolete comment.
7213
7102e6d0
WJ
72142012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7215
7216 * image-mode.el: Fix scaling (bug#11399).
7217 (image-transform-resize): Doc fix.
7218 (image-transform-properties): Default scale is 1 and height should
7219 be an integer.
7220
06bc5e6e
SM
72212012-05-13 Johan Bockgård <bojohan@gnu.org>
7222
7223 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
7224 than hard-coding `car', to fix misbehavior when moving forward.
7225
0ae03b6a
CY
72262012-05-13 Chong Yidong <cyd@gnu.org>
7227
7228 * emacs-lisp/tabulated-list.el (tabulated-list-format)
7229 (tabulated-list-entries, tabulated-list-padding)
7230 (tabulated-list-sort-key): Make permanent-local.
7231
7232 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
7233 (electric-buffer-list): Put electric buffer menu
7234 command descriptions in this docstring, instead of the docstring
7235 of electric-buffer-menu-mode. Code cleanups.
7236 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
7237 Electric-buffer-menu-mode.
7238 (electric-buffer-update-highlight): Minor code cleanup.
7239
205a7391
MA
72402012-05-13 Michael Albinus <michael.albinus@gmx.de>
7241
7242 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
7243 (Bug#11447)
7244
e5bd0a28
SM
72452012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7246
7247 Move define-obsolete-variable-alias before the var's definition.
7248 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
7249 * tooltip.el (tooltip-hook):
7250 * textmodes/reftex-toc.el (reftex-toc-map):
7251 * textmodes/reftex-sel.el (reftex-select-label-map)
7252 (reftex-select-bib-map):
7253 * textmodes/reftex-index.el (reftex-index-map)
7254 (reftex-index-phrases-map):
7255 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
7256 * progmodes/meta-mode.el (meta-mode-map):
7257 * novice.el (disabled-command-hook):
7258 * loadhist.el (unload-hook-features-list):
7259 * frame.el (blink-cursor):
7260 * files.el (find-file-not-found-hooks, write-file-hooks)
7261 (write-contents-hooks):
7262 * emulation/tpu-edt.el (GOLD-map):
7263 * emacs-lock.el (emacs-lock-from-exiting):
7264 * emacs-lisp/generic.el (generic-font-lock-defaults):
7265 * emacs-lisp/chart.el (chart-map):
7266 * dos-fns.el (register-name-alist):
7267 * dired-x.el (dired-omit-files-p):
7268 * desktop.el (desktop-enable):
7269 * cus-edit.el (custom-mode-hook):
7270 * buff-menu.el (buffer-menu-mode-hook):
7271 * bookmark.el (bookmark-read-annotation-text-func)
7272 (bookmark-exit-hooks):
7273 * allout.el (allout-mode-deactivate-hook)
7274 (allout-exposure-change-hook, allout-structure-added-hook)
7275 (allout-structure-deleted-hook, allout-structure-shifted-hook):
7276 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
7277 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
7278 comes before the corresponding variable's definition.
7279
ac59c2f6
CY
72802012-05-12 Chong Yidong <cyd@gnu.org>
7281
7282 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
7283 (Buffer-menu-mouse-select): Restore function (Bug#11459).
7284 (Buffer-menu-mode-map): Bind it.
7285 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 7286
dee6c9a3
SM
72872012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7288
2171cea5
SM
7289 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
7290 (prolog-upper-case-string, prolog-lower-case-string)
7291 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
7292 (prolog-use-smie, prolog-smie-grammar): New vars.
7293 (prolog-smie-forward-token, prolog-smie-backward-token)
7294 (prolog-smie-rules): New funs.
7295 (prolog-comment-indent): Remove.
7296 (prolog-mode-variables): Use default comment indentation instead.
7297 Setup SMIE.
7298 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
7299 (prolog-mode): Don't call them any more.
7300 (prolog-electric-colon, prolog-electric-dash)
7301 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
7302
aa0382bd
SM
7303 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
7304
dbacb4bd
SM
7305 * minibuffer.el (completion--twq-all): Again, allow case differences.
7306
13bdd94c
SM
7307 * term.el: Move keymap initialization code to be more idiomatic.
7308 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
7309 (term-terminal-menu): Move initialization into declaration.
7310 (term-escape-char): Let the user set it in her .emacs.
7311
ff46c759
SM
7312 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
7313 Provide SMIE-based indentation (not enabled by default yet).
7314 (sh-mode-map): Don't bind electric keys.
7315 Use electric-pair-mode instead of skeleton-pair.
7316 (sh-assignment-regexp): Fit within 80 columns.
7317 (sh-indent-supported): Specify actual shell name instead of boolean.
7318 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
7319 (sh-maybe-here-document): Use it. Make obsolete.
7320 (sh-electric-here-document-mode) New minor mode.
7321 (sh-mode): Use it. Don't set sh-indent-supported-here here.
7322 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
7323 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
7324 (sh-smie-rc-grammar, sh-use-smie): New vars.
7325 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
7326 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
7327 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
7328 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
7329 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
7330 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
7331 (sh-set-shell): Use smie-setup if requested.
7332
dee6c9a3
SM
7333 * term.el (term-set-escape-char): Properly set term-escape-char.
7334 See http://stackoverflow.com/questions/10524656.
7335
9f9aa044
CY
73362012-05-10 Chong Yidong <cyd@gnu.org>
7337
7338 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
7339 Use url-generic-parse-url, and handle host names and Windows
7340 filenames properly.
7341 (ffap-url-unwrap-remote): Use url-generic-parse-url.
7342 (ffap-url-unwrap-remote): Accept list values, specifying a list of
7343 URL schemes to work on.
7344 (ffap--toggle-read-only): New function.
7345 (ffap-read-only, ffap-read-only-other-window)
7346 (ffap-read-only-other-frame): Use it.
7347 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
7348 necessary for ffap-url-unwrap-remote.
7349
836d29b3
DA
73502012-05-10 Dave Abrahams <dave@boostpro.com>
7351
7352 * cus-start.el (create-lockfiles): Add it.
7353
00fd78ed
CY
73542012-05-09 Chong Yidong <cyd@gnu.org>
7355
7356 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
7357 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
7358
666b903b 73592012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
7360
7361 * shell.el (shell-completion-vars): Fix last change (bug#11348).
7362
666b903b 73632012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
7364
7365 * ansi-color.el (ansi-color-process-output): Check for validity of
7366 comint-last-output-start before using it. This avoids a bad
7367 interaction with gdb-mi's input/output buffer.
7368
666b903b 73692012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
7370
7371 * files.el (dir-locals-read-from-file):
7372 Mention dir-locals in any error message.
7373
666b903b 73742012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
7375
7376 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
7377 package (Bug#11410).
7378
f677562b
CY
7379 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
7380 variables into description.
7381
666b903b 73822012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
7383
7384 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
7385 shell-delimiter-argument-list (bug#11348).
7386 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
7387
b499d8d0
JB
73882012-05-09 Juanma Barranquero <lekktu@gmail.com>
7389
8f6b6da8
JB
7390 * textmodes/rst.el: Silence byte-compiler warnings.
7391 (rst-re-alist, rst-reset-section-caches): Move around.
7392 (rst-re): Use `characterp', not `char-valid-p'.
7393 (font-lock-beg, font-lock-end): Declare.
7394
4824146a
JB
7395 * progmodes/idlw-shell.el (specs): Remove reference to deleted
7396 variable `idlwave-shell-activate-alt-keybindings' and simplify.
7397
b499d8d0
JB
7398 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
7399
ad89bb83
GM
74002012-05-08 Glenn Morris <rgm@gnu.org>
7401
7402 * files.el (auto-mode-alist): Treat ".make" like ".mk".
7403
8bba5a75
SM
74042012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7405
49ed9c8e
SM
7406 * vc/log-edit.el: Add GNU coding standards highlighting.
7407 (log-edit-font-lock-gnu-style)
7408 (log-edit-font-lock-gnu-keywords): New vars.
7409 (log-edit-font-lock-keywords): New fun.
7410 (log-edit-mode): Don't fold case in font-lock.
7411 (log-edit-font-lock-keywords): Do not assume case-folding.
7412
07d00b56
SM
7413 * imenu.el: Misc cleanup. Make docstrings out of comments.
7414 Use lexical-binding.
7415 (imenu--index-alist, imenu--last-menubar-index-alist)
7416 (imenu-menubar-modified-tick): Use defvar-local.
7417 (imenu--split-menu): Remove unused var.
7418 (imenu--cleanup-seen): Declare as global.
7419 (imenu--cleanup): Use dolist.
7420
8bba5a75
SM
7421 * subr.el (defvar-local): Add debug spec and doc-string position.
7422
5075bdb5
GM
74232012-05-08 Glenn Morris <rgm@gnu.org>
7424
090bd7cb 7425 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
7426 * language/english.el, language/georgian.el, language/greek.el:
7427 * language/japanese.el, language/khmer.el, language/korean.el:
7428 * language/lao.el, language/misc-lang.el, language/romanian.el:
7429 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
7430 * language/thai.el, language/utf-8-lang.el:
7431 Remove no-byte-compile setting.
7432
5075bdb5
GM
7433 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
7434
06f679a7
AH
74352012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7436
7437 * progmodes/make-mode.el (makefile-browse):
7438 Remove unnecessary interactive. (Bug#11324)
7439
03794570
GM
74402012-05-07 Glenn Morris <rgm@gnu.org>
7441
af8630f4
GM
7442 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
7443
03794570
GM
7444 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
7445
f0809a9d
SM
74462012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7447
28be5ce7
SM
7448 * loadup.el: Preload newcomment.el.
7449 * newcomment.el: Move autoload-only code to toplevel.
7450
f0809a9d
SM
7451 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7452 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7453 Handle new :right-align column property.
7454 (tabulated-list-print-col): Idem, plus use `display' text-property to
7455 try and preserve alignment for variable pitch fonts.
7456
1241b724
CY
74572012-05-07 Chong Yidong <cyd@gnu.org>
7458
7459 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
7460 (tabulated-list-use-header-line): New var.
7461 (tabulated-list-init-header): Use it.
7462 (tabulated-list-print-fake-header): New function.
7463 (tabulated-list-print): Use it.
7464 (tabulated-list-sort-button-map): Add non-header-line commands.
7465 (tabulated-list-init-header): Add column name property to basic
7466 labels as well.
7467 (tabulated-list-col-sort): Handle non-header-line button case.
7468 (tabulated-list--sort-by-column-name): Fix a corner case.
7469
f0809a9d
SM
7470 * buff-menu.el (list-buffers--refresh):
7471 Handle Buffer-menu-use-header-line.
1241b724 7472
e5f9458f
CY
74732012-05-06 Chong Yidong <cyd@gnu.org>
7474
7475 * buff-menu.el: Convert to Tabulated List mode.
7476 (Buffer-menu-buffer+size-width): Make obsolete.
7477 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7478 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7479 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7480 documentation into docstring of buffer-menu.
7481 (Buffer-menu-toggle-files-only): Add an informative message.
7482 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7483 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7484 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7485 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7486 (Buffer-menu-execute, Buffer-menu-select)
7487 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7488 (Buffer-menu-bury): Use Tabulated List machinery.
7489 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7490 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 7491 Delete.
e5f9458f
CY
7492 (list-buffers--refresh): New function.
7493 (list-buffers-noselect): Use it.
7494 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7495 (Buffer-menu--pretty-file-name): New helper functions.
7496
7497 * loadup.el: Preload tabulated-list.
7498
7499 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7500 tabulated-list-sort-column.
7501 (tabulated-list-init-header): Add the initial aligning space even
7502 if tabulated-list-padding is zero.
7503
e129292c
CS
75042012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7505
7506 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7507 whose cdr is not a cons cell correctly (bug#11038).
7508
6632d361
CY
75092012-05-06 Chong Yidong <cyd@gnu.org>
7510
e129292c
CS
7511 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7512 Accept additional plist in column descriptors.
6632d361
CY
7513 (tabulated-list-init-header): Obey it.
7514 (tabulated-list-get-entry): New function.
7515 (tabulated-list-put-tag): Use it. Use string-width instead of
7516 length.
7517 (tabulated-list--column-number): New function.
7518 (tabulated-list-print): Use it.
e129292c
CS
7519 (tabulated-list-print-col): New function.
7520 Set `tabulated-list-column-name' property on each column's text.
6632d361 7521 (tabulated-list-print-entry): Use it.
e129292c
CS
7522 (tabulated-list-delete-entry, tabulated-list-set-col):
7523 New functions.
6632d361
CY
7524 (tabulated-list-sort-column): New command (Bug#11337).
7525
3cc99f68
CY
7526 * buff-menu.el (list-buffers): Move C-x C-b binding from
7527 buff-menu.el to bindings.el.
7528
7529 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7530 :advertised-binding feature.
7531
52b61776
TN
75322012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7533
7534 * progmodes/compile.el (compilation-internal-error-properties):
7535 Calculate start position correctly when end-col is set but
7536 end-line is not (Bug#11382).
7537
ebfe2597
WJ
75382012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7539
7540 * man.el (Man-unindent): Use text-property-default-nonsticky to
7541 prevent untabify from inheriting face properties (Bug#11408).
7542
6d3f7c2f
SM
75432012-05-05 Stefan Merten <smerten@oekonux.de>
7544
7545 * textmodes/rst.el: Major merge with upstream development up to
7546 Docutils SVN r7399 / rst.el V1.2.1.
7547
7548 Clarify maintainership and authors.
7549
7550 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7551 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7552 (rst-official-version, rst-official-cvs-rev, rst-version)
7553 (rst-package-emacs-version-alist): New functions and variables
7554 for version information.
7555
7556 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7557 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7558 (rst-mode-syntax-table, rst-mode): New and corrected functions
7559 and variables representing reStructuredText features.
7560
7561 (rst-re): New function for reStructuredText regexes. Use in
7562 many places.
7563
7564 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7565 (rst-mode-map): Rebind keys.
7566
7567 (rst-mode-lazy, rst-font-lock-keywords)
7568 (rst-font-lock-extend-region)
7569 (rst-font-lock-extend-region-internal)
7570 (rst-font-lock-extend-region-extend)
7571 (rst-font-lock-find-unindented-line-limit)
7572 (rst-font-lock-find-unindented-line-match)
7573 (rst-adornment-level, rst-font-lock-adornment-level)
7574 (rst-font-lock-adornment-match)
7575 (rst-font-lock-handle-adornment-pre-match-form)
7576 (rst-font-lock-handle-adornment-matcher): Major revision of
7577 font-locking. Integrate with other code. Use `jit-lock-mode'.
7578
7579 (rst-preferred-adornments, rst-adjust-hook)
7580 (rst-new-adornment-down, rst-preferred-bullets)
7581 (rst-preferred-bullets, rst-indent, rst-indent-width)
7582 (rst-indent-field, rst-indent-literal-normal)
7583 (rst-indent-literal-minimized, rst-indent-comment): Change,
7584 extend and improve customization.
7585
7586 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7587 (rst-normalize-cursor-position, rst-get-decoration)
7588 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7589 (rst-rstrip, rst-toc-insert-find-delete-contents)
7590 (rst-shift-fill-region, rst-compute-bullet-tabs)
7591 (rst-debug-print-tabs, rst-debug-mark-found)
7592 (rst-shift-region-guts, rst-shift-region-right)
7593 (rst-shift-region-left, rst-use-char-classes)
7594 (rst-font-lock-keywords-function)
7595 (rst-font-lock-indentation-point)
7596 (rst-font-lock-find-unindented-line-begin)
7597 (rst-font-lock-find-unindented-line-end)
7598 (rst-font-lock-find-unindented-line)
7599 (rst-font-lock-adornment-point, rst-font-lock-level)
7600 (rst-adornment-level-alist): Remove functions and variables.
7601
7602 (rst-compare-adornments, rst-get-adornment-match)
7603 (rst-suggest-new-adornment, rst-get-adornments-around)
7604 (rst-adornment-complete-p, rst-get-next-adornment)
7605 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7606 (rst-straighten-adornments): Standardize function names to
7607 use "adornment" instead of "decoration". Correct callers.
7608 Similar standardizing in many places.
7609
7610 (rst-update-section, rst-adjust, rst-promote-region)
7611 (rst-enumerate-region, rst-bullet-list-region)
7612 (rst-repeat-last-character): Correct use of `interactive'.
7613
7614 (rst-classify-adornment, rst-find-all-adornments)
7615 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7616 (rst-find-leftmost-column, rst-repeat-last-character):
7617 Refactor functions.
7618
7619 (rst-find-title-line, rst-reset-section-caches)
7620 (rst-get-adornments-around, rst-adjust-adornment-work)
7621 (rst-arabic-to-roman, rst-roman-to-arabic)
7622 (rst-insert-list-pos, rst-insert-list-new-item)
7623 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7624 New functions.
7625
7626 (rst-all-sections, rst-section-hierarchy)
7627 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7628 New variables.
7629
7630 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7631 configuration instead of only buffer. Change where necessary.
7632
7633 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7634 (rst-shift-region, rst-adaptive-fill): New functions for
7635 indentation and filling.
7636
7637 (rst-comment-line-break, rst-comment-indent)
7638 (rst-comment-insert-comment, rst-comment-region)
7639 (rst-uncomment-region): New functions for handling comments.
7640
7641 (rst-compile): Quote shell arguments.
7642
7643 (rst-compile-pdf-preview, rst-compile-slides-preview):
7644 Delete temporary files after use.
7645
a43f98b3
GM
76462012-05-05 Glenn Morris <rgm@gnu.org>
7647
48176e8b
GM
7648 * calendar/cal-html.el: Optionally include holidays in the output.
7649 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7650 (cal-html-holidays): New option.
7651 (cal-html-css-default): Add holiday entry.
7652 (holiday-in-range): Autoload it.
7653 (cal-html-htmlify-entry): Add optional class argument.
7654 (cal-html-htmlify-list): Add optional holidays argument.
7655 (cal-html-insert-agenda-days): Include holidays in the output.
7656 (cal-html-one-month): Maybe include holidays.
7657
a43f98b3
GM
7658 * calendar/holidays.el (holiday-in-range):
7659 Move here from cal-tex-list-holidays.
7660 * calendar/cal-tex.el (cal-tex-list-holidays):
7661 Make it an obsolete alias for holiday-in-range. Update all callers.
7662
fef9d149 76632012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
7664
7665 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7666 Nextstep.
7667
248da2f4
RW
76682012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7669
7670 * files.el (file-auto-mode-skip): New var.
7671 (set-auto-mode-1): Use it.
7672
f95e9344
SM
76732012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7674
df96ab1e
SM
7675 * repeat.el: Use lexical-binding.
7676 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7677 (repeat-undo-count): Remove.
7678 (repeat):
7679 * progmodes/octave-mod.el (octave-abbrev-start):
7680 * progmodes/f90.el (f90-abbrev-start):
7681 * face-remap.el (text-scale-adjust):
7682 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7683
5342bb06
SM
7684 * emacs-lisp/pcase.el (pcase--let*): New function.
7685 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7686 a bit more.
7687 (pcase--split-pred): Be more clever about ruling out overlap between
7688 a predicate and some constant pattern.
7689 (pcase--q1): Use `null' instead of (eq foo nil).
7690
f95e9344
SM
7691 * subr.el (setq-local, defvar-local): New macros.
7692 (kbd): Redefine as an alias.
7693 (with-selected-window): Leave unrelated frames alone.
7694 (set-temporary-overlay-map): New function.
7695
71873e2b
SM
76962012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7697
7698 * subr.el (user-error): New function.
7699 * window.el (switch-to-buffer):
7700 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7701 (smerge-match-conflict):
7702 * simple.el (previous-matching-history-element)
7703 (next-matching-history-element, goto-history-element, undo-more)
7704 (undo-start):
7705 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7706 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7707 (next-file, tags-loop-scan, list-tags, complete-tag):
7708 * progmodes/compile.el (compilation-loop):
7709 * mouse.el (mouse-minibuffer-check):
7710 * man.el (Man-bgproc-sentinel, Man-goto-page):
7711 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7712 (Info-history-forward, Info-follow-reference, Info-menu)
7713 (Info-extract-menu-item, Info-extract-menu-counting)
7714 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7715 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7716 (Info-next-reference, Info-prev-reference, Info-index)
7717 (Info-index-next, Info-follow-nearest-node)
7718 (Info-copy-current-node-name):
7719 * imenu.el (imenu--make-index-alist)
7720 (imenu-default-create-index-function, imenu-add-to-menubar):
7721 * files.el (basic-save-buffer, recover-file):
7722 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7723 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7724 (checkdoc-message-text, checkdoc-defun):
7725 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7726 * cus-edit.el (customize-changed-options, customize-rogue)
7727 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7728 (custom-variable-mark-to-reset-standard)
7729 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7730 (custom-file):
7731 * completion.el (check-completion-length):
7732 * comint.el (comint-search-arg)
7733 (comint-previous-matching-input-string-position)
7734 (comint-previous-matching-input)
7735 (comint-replace-by-expanded-history-before-point, comint-send-input)
7736 (comint-copy-old-input, comint-backward-matching-input)
7737 (comint-goto-process-mark, comint-set-process-mark):
7738 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7739 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7740
8a61ee22
SM
77412012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7742
66408d1e
SM
7743 * dabbrev.el (dabbrev--ignore-case-p): New function.
7744 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7745 Use it.
7746
8a61ee22
SM
7747 * files.el (automount-dir-prefix): Mark as obsolete.
7748
3c74813a
GM
77492012-05-04 Glenn Morris <rgm@gnu.org>
7750
7751 * patcomp.el, play/bruce.el: Move to obsolete/.
7752
0bfcf5c5
PE
77532012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7754
7755 Fix minor Y10k bugs.
7756 * arc-mode.el (archive-unixdate):
7757 * autoinsert.el (auto-insert-alist):
7758 * calc/calc-forms.el (math-this-year):
7759 * emacs-lisp/copyright.el (copyright-current-year)
7760 (copyright-update-year, copyright):
7761 * tar-mode.el (tar-clip-time-string):
7762 * time.el (display-time-update):
7763 Don't assume years have 4 digits.
7764
78f3273a
CY
77652012-05-04 Chong Yidong <cyd@gnu.org>
7766
7767 * dos-w32.el (file-name-buffer-file-type-alist)
7768 (direct-print-region-use-command-dot-com):
7769 * ffap.el (ffap-menu-regexp):
7770 * find-file.el (ff-special-constructs):
7771 * follow.el (follow-debug):
7772 * forms.el (forms--debug):
7773 * iswitchb.el (iswitchb-all-frames):
7774 * ido.el (ido-all-frames):
7775 * emacs-lisp/timer.el (timer-max-repeats):
7776 * mail/feedmail.el (feedmail-mail-send-hook)
7777 (feedmail-mail-send-hook-queued):
7778 * mail/footnote.el (footnote-signature-separator):
7779 * mail/mailabbrev.el (mail-alias-separator-string)
7780 (mail-abbrev-mode-regexp):
7781 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7782 * progmodes/idlwave.el (idlwave-libinfo-file)
7783 (idlwave-default-completion-case-is-down)
7784 (idlwave-library-routines): Convert defvars to defcustoms.
7785
7786 * mail/rmail.el (rmail-decode-mime-charset):
7787 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7788 (idlwave-shell-fix-inserted-breaks)
7789 (idlwave-shell-activate-alt-keybindings)
7790 (idlwave-shell-use-breakpoint-glyph):
7791 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7792
f7ae6719
SM
77932012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7794
7795 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7796
47086495
WS
77972012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7798
7799 * progmodes/verilog-mode.el (font-lock-keywords):
7800 Fix mis-highligting auto. Reported by Craig Barner.
7801 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 7802 defines from global name space. Reported by Dan Dever.
47086495
WS
7803 (verilog-auto-reset, verilog-auto-reset-widths)
7804 (verilog-auto-tieoff): Support using unbased numbers for
7805 AUTORESET and AUTOTIEOFF.
7806 (verilog-submit-bug-report): Update variable list.
7807 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 7808 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
7809 (verilog-auto-template-lint): Fix hash error when linting modules
7810 with no used templates.
7811 (verilog-warn, verilog-warn-error)
7812 (verilog-warn-fatal): When non-interactive report multiple
7813 warnings before exiting. Suggested by Brad Dobbie.
7814 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7815 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7816 to report unused template errors. Reported by Brad Dobbie.
7817 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 7818 nets, bug438. Reported by Vns Blore.
47086495
WS
7819 (verilog-auto-inout-module, verilog-auto-reg)
7820 (verilog-read-decls, verilog-read-sub-decls-sig)
7821 (verilog-signals-edit-wire-reg, verilog-signals-with):
7822 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 7823 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
7824 "reg" for backwards compatibility presuming Verilog 2001.
7825 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7826 (verilog-preprocess): Fix replication of preprocess output.
7827 Reported by Brad Dobbie.
7828 (verilog-auto-inst-interfaced-ports):
7829 Create verilog-auto-inst-interfaced-ports, bug429.
7830 Reported by Julian Gorfajn.
7831 (verilog-after-save-font-hook)
7832 (verilog-before-save-font-hook): New variable.
7833 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7834 (verilog-save-font-mods): Wrap disabling fontification, reported
7835 by David Rogoff.
7836 (verilog-do-indent, verilog-pretty-declarations-auto)
7837 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7838 Reported by Pierre-David Pfister.
7839 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7840 of class declarations, bug292. Reported by Kevin Heilman.
7841 (verilog-read-decls): Fix 'parameter type' not appearing in
7842 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7843 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 7844 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
7845 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7846 Reported by David Kravitz.
7847
78482012-05-03 Michael McNamara <mac@mail.brushroad.com>
7849
7850 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7851 assignment with tests in ifs and for loops.
7852 (verilog-extended-complete-re, verilog-complete-reg): Change so
7853 that DPI inport functions don't look like fuction declarations.
7854 (verilog-pretty-expr): Don't line up assignment
7855 operations to the test and increment in if and for loops
7856 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 7857 that DPI inport functions don't look like fuction declarations.
47086495 7858
2e51d4b5
KH
78592012-05-03 Kenichi Handa <handa@m17n.org>
7860
7861 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 7862 decoding, and show a warning message without signaling an error
2e51d4b5
KH
7863 (Bug#11282).
7864
2bd785a2
SM
78652012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7866
7867 * emacs-lisp/bytecomp.el
7868 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7869 since cconv.el might have introduced :fun-body, internal-make-closure,
7870 and friends for bytecomp to handle (bug#11391).
7871 * custom.el (defcustom): Avoid ((λ ..) ..).
7872
99d27583
SM
78732012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7874
7875 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7876
55a71479
JB
78772012-05-02 Juanma Barranquero <lekktu@gmail.com>
7878
7879 * notifications.el (dbus-debug):
7880 * term/linux.el (gpm-mouse-enable):
7881 * term/screen.el (xterm-register-default-colors): Declare.
7882
7b97c764
CY
78832012-05-02 Chong Yidong <cyd@gnu.org>
7884
2bc356d7
CY
7885 * cus-start.el (gc-cons-percentage, exec-suffixes)
7886 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7887 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7888 (make-cursor-line-fully-visible, void-text-area-pointer)
7889 (font-list-limit): Add customization data.
7890
7b97c764
CY
7891 * allout.el (allout-exposure-change-functions)
7892 (allout-structure-added-functions)
7893 (allout-structure-deleted-functions)
7894 (allout-structure-shifted-functions): Rename abnormal hooks from
7895 *-hook, and convert to defcustoms.
5d3385a0
JB
7896 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7897 Convert to defcustoms.
7b97c764
CY
7898 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7899
7900 * allout-widgets.el: Hook callers changed.
7901
90207a15 79022012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
7903
7904 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7905 the yanked message in preference to the default value of
7906 buffer-file-coding-system.
7907
90207a15 79082012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 7909
5d3385a0
JB
7910 * window.el (display-buffer--action-function-custom-type):
7911 Fix entry.
d9558cad 7912
90207a15 79132012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
7914
7915 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7916
d80ac57b
GM
79172012-05-01 Glenn Morris <rgm@gnu.org>
7918
976f7668
GM
7919 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7920
beb83b5a
GM
7921 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7922
d80ac57b
GM
7923 * cus-edit.el (custom-variable-documentation): Simplify with format.
7924
b593d6a9 79252012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 7926 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
7927
7928 * simple.el (suggest-key-bindings, execute-extended-command):
7929 Move from keyboard.c.
7930
782fbf2a
CY
79312012-05-01 Chong Yidong <cyd@gnu.org>
7932
7933 * follow.el: Eliminate advice.
7934 (set-process-filter, process-filter, sit-for): Advice deleted.
7935 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
7936 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7937 Vars deleted.
782fbf2a
CY
7938 (follow-auto): Use a :set function.
7939 (follow-mode): Rewritten. Don't advise process filters.
7940 (follow-switch-to-current-buffer-all, follow-scroll-up)
7941 (follow-scroll-down): Assume follow-mode is bound.
7942 (follow-comint-scroll-to-bottom)
7943 (follow-align-compilation-windows): New functions.
7944 (follow--window-sorter): New function.
7945 (follow-all-followers): Use it to explicitly sort windows by their
7946 positions; don't make assumptions about next-window order.
7947 (follow-windows-start-end, follow-delete-other-windows-and-split)
7948 (follow-calc-win-start): Doc fix.
7949 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7950 vertical-motion unnecessarily.
7951 (follow-adjust-window): New function.
7952 (follow-post-command-hook): Use it.
7953 (follow-call-set-process-filter, follow-call-process-filter)
7954 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7955 (follow-stop-intercept-process-output, follow-generic-filter):
7956 Functions deleted.
7957 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
7958 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7959 New functions, replacing advice on scroll-bar-* commands.
87233a14 7960 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
7961
7962 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
7963 (comint-postoutput-scroll-to-bottom): Use it.
7964 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 7965
290af740
GM
79662012-05-01 Glenn Morris <rgm@gnu.org>
7967
7968 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7969 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7970 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7971 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7972 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7973 Remove no-byte-compile setting.
7974
6eac8dc9
SM
79752012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7976
7977 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7978 all-completions code to not return a number in the last cdr.
7979
9cc7819c
LL
79802012-04-30 Leo Liu <sdl.web@gmail.com>
7981
7982 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7983 read-only error.
7984
c93b886f
CY
79852012-04-29 Chong Yidong <cyd@gnu.org>
7986
7987 * follow.el (follow-calc-win-end): Rewrite to handle partial
7988 screen lines correctly (Bug#8390).
7989 (follow-avoid-tail-recenter): Minor cleanup.
7990
8b6c19f4
SM
79912012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7992
7993 Avoid the obsolete `assoc' package.
7994 * speedbar.el (speedbar-refresh): Avoid adelete.
7995 (speedbar-file-lists): Simplify and avoid aput.
7996 * man.el (Man--sections, Man--refpages): New vars, replacing
7997 Man-sections-alist and Man-refpages-alist.
7998 (Man-build-section-alist, Man-build-references-alist):
7999 Use them; avoid aput.
8000 (Man--last-section, Man--last-refpage): New vars.
8001 (Man-follow-manual-reference): Use them.
8002 Use the `default' arg of completing-read.
8003 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
8004
c5bb7569
CY
80052012-04-27 Chong Yidong <cyd@gnu.org>
8006
d1d2e2e8
CY
8007 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
8008
15cd8efd
CY
8009 * startup.el (x-apply-session-resources): New function.
8010
8011 * term/ns-win.el (ns-initialize-window-system):
8012 * term/w32-win.el (w32-initialize-window-system):
8013 * term/x-win.el (x-initialize-window-system): Use it to properly
8014 set menu-bar-mode and other vars from X resources, even if the
8015 initial frame is not a window-system frame (Bug#2299).
8016
c5bb7569
CY
8017 * subr.el (read-key): Avoid running filter function when setting
8018 up temporary tool bar entries (Bug#9922).
8019
a8e7d6d7 80202012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
8021
8022 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
8023 (Bug#11344)
8024
a8e7d6d7 80252012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
8026
8027 * select.el (xselect--encode-string): New function, split from
8028 xselect-convert-to-string.
8029 (xselect-convert-to-string): Use it.
8030 (xselect-convert-to-filename, xselect-convert-to-os)
8031 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
8032 returned strings are properly encoded (Bug#11315).
8033
a8e7d6d7 80342012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
8035
8036 * simple.el (delete-active-region): Move to killing custom group.
8037
a8e7d6d7 80382012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
8039
8040 * progmodes/which-func.el (which-func-current): Quote %
8041 characters for mode-line processing.
8042
578c1d4b 80432012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
8044
8045 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
8046 reaching eob (Bug#11286).
8047
a8e7d6d7 80482012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
8049
8050 * progmodes/gdb-mi.el (gdb-control-level): New variable.
8051 (gdb): Make it buffer-local and init to zero.
8052 (gdb-control-commands-regexp): New variable.
8053 (gdb-send): Don't wrap in "-interpreter-exec console" if
8054 gdb-control-level is positive. Increment gdb-control-level
8055 whenever the command matches gdb-control-commands-regexp, and
8056 decrement it each time the command is "end". (Bug#11279)
8057
a8e7d6d7 80582012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
8059
8060 * window.el (adjust-window-trailing-edge, enlarge-window)
8061 (shrink-window, window-resize):
8062 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
8063 windows (Bug#11276).
8064
b3608390
CY
80652012-04-27 Chong Yidong <cyd@gnu.org>
8066
8067 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 8068 fix "missing prefix" warning. All callers changed.
b3608390 8069
797e6e88
SM
80702012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8071
8072 * emacs-lisp/assoc.el: Move to obsolete/.
8073
e95a67dc
SM
80742012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8075
657c21e4 8076 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
8077
8078 * term/ns-win.el (ns-define-service):
8079 * progmodes/pascal.el (pascal-goto-defun):
8080 * progmodes/js.el (js--read-tab):
8081 * progmodes/etags.el (tags-lazy-completion-table):
8082 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
8083 * emacs-lisp/ewoc.el (ewoc--wrap):
8084 * emacs-lisp/assoc.el (aput, adelete, amake):
8085 * doc-view.el (doc-view-convert-current-doc):
8086 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
8087
cb3e7ae0
CY
80882012-04-26 Chong Yidong <cyd@gnu.org>
8089
dce04f7f
CY
8090 * image.el (image-type-from-buffer): Only return supported image
8091 type (Bug#9045).
8092
cb3e7ae0
CY
8093 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
8094 value, for symmetry with diff-end-of-hunk.
8095 (diff-split-hunk, diff-find-source-location)
8096 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
8097 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
8098 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
8099 compute the relevant hunk or file properly (Bug#6005).
8100 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
8101
0d42eb3e
SM
81022012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8103
8104 * vc/vc-mtn.el:
8105 * vc/vc-hg.el:
8106 * vc/vc-git.el:
8107 * vc/vc-dir.el:
8108 * vc/vc-cvs.el:
8109 * vc/vc-bzr.el:
8110 * vc/vc-arch.el:
8111 * vc/vc.el: Replace lexical-let by lexical-binding.
8112 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
8113 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
8114 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
8115
f08ae1c9
CY
81162012-04-26 Chong Yidong <cyd@gnu.org>
8117
8b71081d
CY
8118 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
8119 (diff-mode-shared-map): Bind it to / and [remap undo].
8120
f08ae1c9
CY
8121 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
8122 (ediff-window-setup-function): Use it as the default, to set up
8123 windows based on whether the current frame is graphical (Bug#2138).
8124 (ediff-choose-window-setup-function-automatically): Make obsolete.
8125
8126 * vc/ediff-init.el: Always define ediff-pixel-width/height.
8127
ef24141c
SM
81282012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8129
cc356a5d
SM
8130 * ffap.el: Remove old code for obsolete package.
8131 (ffap-complete-as-file-p): Remove.
8132
b4ff4f1f
SM
8133 Use completion-table-with-quoting for comint and pcomplete.
8134 * comint.el (comint--unquote&requote-argument)
8135 (comint--unquote-argument, comint--requote-argument): New functions.
8136 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
8137 (comint-quote-filename): Use regexp-opt-charset.
8138 (comint--common-suffix, comint--common-quoted-suffix)
8139 (comint--table-subvert): Remove.
8140 (comint-unquote-function, comint-requote-function): New vars.
8141 (comint--complete-file-name-data): Use them with
8142 completion-table-with-quoting.
8143 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
8144 * pcomplete.el (pcomplete-arg-quote-list)
8145 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
8146 (pcomplete-unquote-argument-function): Default to non-nil.
8147 (pcomplete-unquote-argument): Simplify.
8148 (pcomplete--common-quoted-suffix): Remove.
8149 (pcomplete-requote-argument-function): New var.
8150 (pcomplete--common-suffix): New function.
8151 (pcomplete-completions-at-point): Use completion-table-with-quoting
8152 and completion-table-subvert.
8153
79c4eeb4
SM
8154 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
8155 (minibuffer--double-dollars): Preserve properties.
8156 (completion--sifn-requote): New function.
8157 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
8158
ef24141c
SM
8159 * minibuffer.el: Add support for completion of quoted/escaped data.
8160 (completion-table-with-quoting, completion-table-subvert): New funs.
8161 (completion--twq-try, completion--twq-all): New functions.
8162 (completion--nth-completion): New function.
8163 (completion-try-completion, completion-all-completions): Use it.
8164
784e7d6e
LL
81652012-04-25 Leo Liu <sdl.web@gmail.com>
8166
dd2ac746
SM
8167 * progmodes/python.el (python-pdbtrack-get-source-buffer):
8168 Use compilation-message if available to find real filename.
784e7d6e 8169
07875ee7
CY
81702012-04-25 Chong Yidong <cyd@gnu.org>
8171
8172 * vc/diff-mode.el (diff-setup-whitespace): New function.
8173 (diff-mode): Use it.
8174
8175 * vc/diff.el (diff-sentinel):
8176 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
8177 Whitespace mode variables based on diff style (Bug#8612).
8178
5055880d
LL
81792012-04-25 Leo Liu <sdl.web@gmail.com>
8180
daf75653
LL
8181 * progmodes/python.el (python-send-region): Add suffix .py to the
8182 temp file.
8183
5055880d
LL
8184 * files.el (auto-mode-alist): Use javascript-mode instead.
8185
db9b177b
AH
81862012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
8187
ef24141c 8188 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 8189
090bd7cb 8190 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 8191 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 8192 references, see Bug#9.
ef24141c 8193 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 8194 when receiving a fault reply.
ef24141c 8195 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 8196
090bd7cb 8197 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 8198 (soap-inspect-simple-type): New function.
db9b177b 8199
090bd7cb 8200 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 8201 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
8202 (soap-decode-basic-type, soap-encode-basic-type):
8203 support unsignedInt and double basic types.
db9b177b 8204 (soap-resolve-references-for-simple-type)
ef24141c
SM
8205 (soap-parse-simple-type, soap-encode-simple-type): New function.
8206 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 8207
090bd7cb 8208 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
8209 (soap-default-soapenc-types): Add integer, byte and anyURI types.
8210 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
8211 the local name of "soapenc:Array".
8212 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
8213 decoding integer, byte and anyURI xsd types.
8214
1fc6097b
CY
82152012-04-25 Chong Yidong <cyd@gnu.org>
8216
8217 * cus-edit.el (custom-buffer-create-internal): Update header text.
8218
afc6df87
EZ
82192012-04-25 Eli Zaretskii <eliz@gnu.org>
8220
8221 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
8222 settings on 'system-type', not on 'window-system'. On MS-Windows,
8223 set interactive-mode on in GDB.
8224
dfbd787f
SM
82252012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8226
8227 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
8228 (ruby-syntax-propertize-regexp): Remove.
8229 (ruby-syntax-propertize-function): Split regexp into chunks.
8230 Match following code directly.
8231
85222d44
DG
82322012-04-24 Dmitry Gutov <dgutov@yandex.ru>
8233
51a8ea2a
DG
8234 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
8235 (ruby-syntax-propertize-regexp): New function.
8236 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
8237 by a special keyword.
8238
85222d44
DG
8239 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
8240 (ruby-syntax-general-delimiters-goto-beg)
8241 (ruby-syntax-propertize-general-delimiters): New functions.
8242 (ruby-syntax-propertize-function): Use them to handle GDL.
8243 (ruby-font-lock-keywords): Move old handling of GDL...
8244 (ruby-font-lock-syntactic-keywords): .. to here.
8245 (ruby-calculate-indent): Adjust indentation for GDL.
8246
b613912b
MA
82472012-04-24 Michael Albinus <michael.albinus@gmx.de>
8248
b5380639
MA
8249 * notifications.el (top): Remove unneeded declarations.
8250 (notifications-specification-version): Change to "1.2".
e43042fe 8251 (notifications-interface, notifications-notify-method)
b613912b
MA
8252 (notifications-close-notification-method): Fix docstring.
8253 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
8254 (notifications-notify): Add :action-items, :resident and
8255 :transient hints. Change "image_data" to "image-data" and
8256 "image_path" to "image-path".
b613912b
MA
8257 (notifications-get-capabilities): New defun.
8258
257440aa
LL
82592012-04-24 Leo Liu <sdl.web@gmail.com>
8260
8261 * progmodes/python.el: Move hideshow setup to the end.
8262
b1bac16e
MR
82632012-04-24 Martin Rudalics <rudalics@gmx.at>
8264
8265 * window.el (handle-select-window): Clear echo area since this is
8266 no more done by read_char (Bug#11304).
8267
d81bd059
SM
82682012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8269
8270 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
8271 and `/ M' to filter-derived-mode.
8272 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
8273 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
8274 (ibuffer-mark-by-mode): Use default rather than initial-input.
8275 (ibuffer-filter-by-derived-mode): Autoload and require-match.
8276
c4cf6d91
IA
82772012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
8278
8279 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
8280 (ibuffer-filter-by-derived-mode): New filter.
8281 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
8282
7511ded8
CY
82832012-04-23 Andreas Politz <politza@fh-trier.de>
8284
8285 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
8286
775c916b
CY
82872012-04-23 Chong Yidong <cyd@gnu.org>
8288
8289 * cus-edit.el (customize-apropos, customize-apropos-options):
8290 Disable matching of non-option variables (Bug#11176).
8291 (customize-option, customize-option-other-window)
8292 (customize-changed-options): Doc fix.
8293 (customize-apropos-options, customize-apropos-faces)
8294 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
8295
8296 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 8297 Fix word list splitting (Bug#11132).
46c71e23
CY
8298 (apropos-symbol, apropos-keybinding, apropos-label)
8299 (apropos-property, apropos-function-button)
8300 (apropos-variable-button, apropos-misc-button): New faces.
8301 (apropos-symbol-face, apropos-keybinding-face)
8302 (apropos-label-face, apropos-property-face, apropos-match-face):
8303 Variables removed (Bug#8396).
8304 (apropos-library-button, apropos-format-plist, apropos-print)
8305 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 8306
2df41f9c
MA
83072012-04-23 Michael Albinus <michael.albinus@gmx.de>
8308
8309 * net/xesam.el (xesam-mode-map): Use let-bound map in
8310 initialization. (Bug#11292)
8311
da00640a
AM
83122012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8313
8314 Preserve ispell session localwords when switching back to
8315 original buffer.
8316
090bd7cb
JB
8317 * textmodes/ispell.el (ispell-buffer-session-localwords):
8318 New buffer-local variable to hold buffer session localwords.
ed9265fc 8319 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
8320 localwords.
8321 (ispell-command-loop, ispell-change-dictionary)
8322 (ispell-buffer-local-words): Preserve session localwords when
8323 needed.
8324
090bd7cb
JB
8325 * textmodes/flyspell.el (flyspell-process-localwords)
8326 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 8327
f621ccf5
AM
83282012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8329
090bd7cb
JB
8330 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
8331 using obsolete `translation-table-for-input'.
ef24141c
SM
8332 (ispell-word, ispell-process-line, ispell-complete-word):
8333 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 8334
c2d1019e
CY
83352012-04-22 Chong Yidong <cyd@gnu.org>
8336
8337 * cus-edit.el (custom-variable-menu)
8338 (custom-variable-reset-saved, custom-face-menu)
8339 (custom-face-reset-saved): If there is no saved value, make the
8340 "reset-saved" operation bring back the default (Bug#9509).
8341 (custom-face-state): Properly detect themed faces.
8342
eeddc531
CY
8343 * faces.el (face-spec-set): Stop supporting deprecated form of
8344 third arg.
8345
dcbf5805
MA
83462012-04-22 Michael Albinus <michael.albinus@gmx.de>
8347
8348 Move functions from C to Lisp. Make non-blocking method calls
8349 the default. Implement further D-Bus standard interfaces.
8350
ef24141c
SM
8351 * net/dbus.el (dbus-message-internal): Declare function.
8352 Remove unneeded function declarations.
dcbf5805
MA
8353 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
8354 (dbus-message-type-method-return, dbus-message-type-error)
8355 (dbus-message-type-signal): Declare variables. Remove local
8356 definitions.
8357 (dbus-interface-dbus, dbus-interface-peer)
8358 (dbus-interface-introspectable, dbus-interface-properties)
8359 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
8360 Adapt docstring.
8361 (dbus-interface-objectmanager): New defconst.
8362 (dbus-call-method, dbus-call-method-asynchronously)
8363 (dbus-send-signal, dbus-method-return-internal)
8364 (dbus-method-error-internal, dbus-register-service)
8365 (dbus-register-signal, dbus-register-method): New defuns, moved
8366 from dbusbind.c
8367 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
8368 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
8369 New defuns.
dcbf5805
MA
8370 (dbus-call-method-non-blocking): Make it an obsolete function.
8371 (dbus-unregister-object, dbus-unregister-service)
8372 (dbus-handle-event, dbus-register-property)
8373 (dbus-property-handler): Obey the new structure of
8374 `bus-registered-objects'.
8375 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
8376 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
8377 Use `dbus-call-method'.
8378
cf20dee0
CY
83792012-04-22 Chong Yidong <cyd@gnu.org>
8380
8381 * cus-edit.el (custom-commands, custom-reset-menu)
8382 (Custom-reset-standard): Tweak labels.
8383 (custom-reset-button-menu): Change default to t.
8384 (custom-buffer-create-internal): For the custom-reset-button-menu
8385 case, put the revert button first.
8386 (custom-group-subtitle): New face.
8387 (custom-group-value-create): Align docstring to a specific column.
8388
8389 * wid-edit.el (widget-documentation-link-add): Don't handle
8390 indentation in this function.
8391 (widget-documentation-string-indent-to): New function.
8392 (widget-documentation-string-value-create): Use it.
8393
8394 * autorevert.el (auto-revert):
8395 * epg-config.el (epg):
8396 * ibuffer.el (ibuffer):
8397 * mpc.el (mpc):
8398 * ses.el (ses):
8399 * eshell/eshell.el (eshell):
8400 * net/ange-ftp.el (ange-ftp):
8401 * progmodes/ebnf2ps.el (postscript):
8402 * progmodes/flymake.el (flymake):
8403 * progmodes/prolog.el (prolog):
8404 * progmodes/verilog-mode.el (verilog-mode):
8405 * progmodes/which-func.el (which-func):
8406 * term/xterm.el (xterm):
8407 * textmodes/picture.el (picture):
8408 * textmodes/tildify.el (tildify):
8409 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
8410 customization buffers.
8411
583e23bd
AM
84122012-04-22 Alan Mackenzie <acm@muc.de>
8413
8414 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8415 Adding a ) can hide the resulting (..) from searches. Fix it.
8416 Bound the backward search to the position of the existing (.
8417
7dd51bf1
JB
84182012-04-21 Juanma Barranquero <lekktu@gmail.com>
8419
8420 * progmodes/verilog-mode.el (verilog-mode): Check whether
8421 which-func-modes is t before adding verilog-mode.
8422 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8423
d64a438f
LL
84242012-04-21 Leo Liu <sdl.web@gmail.com>
8425
7dd51bf1 8426 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 8427
081e8d65
MV
84282012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
8429
8430 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
8431 filling of the last column of a table (Bug#5635).
8432 (woman-find-next-control-line): New arg, specifying an additional
8433 regexp component for the control line.
8434 (woman2-roff-buffer): Use it.
8435 (woman-break-table): New function.
8436 (woman2-TS): Use it.
8437
84382012-04-21 Chong Yidong <cyd@gnu.org>
8439
8440 * woman.el (woman-set-buffer-display-table, woman-decode-region)
8441 (woman-horizontal-escapes, woman-negative-vertical-space)
8442 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
8443 (WoMan-warn-ignored): Use ?\s instead of ?\ .
8444
ed571ccb
SM
84452012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8446
8447 * minibuffer.el (completion-file-name-table): Complete user names.
8448
39773899
LL
84492012-04-20 Leo Liu <sdl.web@gmail.com>
8450
8451 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8452 and pcase-let*.
8453
de6ff46d
CY
84542012-04-20 Chong Yidong <cyd@gnu.org>
8455
8456 * server.el (server-execute): Respect initial-buffer-choice if it
8457 is a string and there are no files to open (Bug#2825).
8458 (server-create-window-system-frame, server-create-tty-frame):
8459 Don't switch buffers here.
2d0e8e61
CY
8460 (server-process-filter): Only try to open a window system frame if
8461 compiled with graphical support (Bug#8314).
de6ff46d 8462
54071013
DN
84632012-04-20 Dan Nicolaescu <dann@gnu.org>
8464
8465 * battery.el (battery-echo-area-format): Display remaining time
8466 for sysfs backend too (Bug#11269).
8467 (battery-linux-sysfs): Fix conditional for the charge.
8468
f30d612a
CY
84692012-04-20 Chong Yidong <cyd@gnu.org>
8470
c07a4c0b 8471 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
8472 (gdb-inferior-io--init-proc): New function.
8473 (gdb-init-1): Use it.
8474 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8475 responsible for allocating a new pty and hooking it to gdb when
8476 the old pty gets an EIO due to process exit.
8477 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8478 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8479 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8480
2116e93c
EZ
84812012-04-20 Eli Zaretskii <eliz@gnu.org>
8482
8483 * window.el (window-min-size, window-sizable, window-min-delta)
8484 (window-max-delta, window--resizable, window-resizable)
8485 (window-total-size, window-full-height-p, window-full-width-p)
8486 (window-in-direction, window--resize-mini-window, window-resize)
8487 (window--resize-child-windows-normal)
8488 (window--resize-child-windows, window--resize-siblings)
8489 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 8490 (enlarge-window, shrink-window): Doc fixes.
2116e93c 8491
c07a4c0b 84922012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 8493
ef24141c
SM
8494 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8495 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
8496 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8497 pty process (Bug#11273).
8498 (gdb-update): New arg to suppress talking to the gdb process.
8499 (gdb-done-or-error): Use it.
8500 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8501 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8502 sentinel not being called.
8503
8504 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8505
d02766ab
CY
8506 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8507
c07a4c0b 85082012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
8509
8510 * net/network-stream.el (open-network-stream): Doc fix.
8511
c07a4c0b 85122012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
8513
8514 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8515
c07a4c0b 85162012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
8517
8518 Ensure searching for keywords is case sensitive.
8519
8520 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8521 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8522 (c-defun-name, c-mark-function, c-cpp-define-name)
8523 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 8524 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 8525
ef24141c
SM
8526 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8527 Bind case-fold-search to nil.
f0f6bc35 8528
c07a4c0b 85292012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
8530
8531 * mail/sendmail.el (mail-bury): Call return action with the right
8532 Rmail buffer (Bug#11242).
8533
9a864fa2
CY
8534 * server.el (server-process-filter): Handle corner case where both
8535 tty and nowait options are present (Bug#11102).
8536
539aa513
EZ
85372012-04-20 Eli Zaretskii <eliz@gnu.org>
8538
8539 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
8540 (top level): Put into the executable the ident-style '$Id:' tag on
8541 windows-nt as well.
539aa513 8542
cfc7d5da
SM
85432012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8544
8545 * electric.el (electric-indent-post-self-insert-function): Check that
8546 electric-indent-mode is enabled in current buffer.
8547
5b01685c
JB
85482012-04-19 Juanma Barranquero <lekktu@gmail.com>
8549
8550 * imenu.el (imenu-progress-message): Restore; it is "used" in
8551 erc/erc-imenu.el and net/snmp-mode.el.
8552
4d6769e1
JB
85532012-04-19 Juanma Barranquero <lekktu@gmail.com>
8554
8555 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8556 (mouse-avoidance-nudge-mouse): Remove unused binding.
8557
8558 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8559
8560 * descr-text.el (describe-char):
8561 * progmodes/python.el (python-describe-symbol):
8562 Don't call `toggle-read-only', set `buffer-read-only'.
8563
8564 * imenu.el (imenu-default-goto-function): Mark unused args.
8565 (imenu-progress-message): Remove obsolete macro; all callers changed.
8566
8567 * subr.el (keymap-canonicalize): Remove unused binding.
8568 (read-passwd): Mark unused arg.
8569
8570 * tutorial.el (tutorial--display-changes): Remove unused binding.
8571 (tutorial--save-tutorial-to): Remove unused variable.
8572
8573 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8574 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8575 (package-generate-autoloads, package-menu--generate)
8576 (package-menu--find-upgrades): Remove unused bindings.
8577
8578 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8579 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8580 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8581 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8582 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8583 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8584 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8585 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8586 (cua-delete-char-rectangle): Mark unused args.
8587 (cua-align-rectangle): Remove unused binding.
8588
8589 * mail/rmail.el (compilation--message->loc)
8590 (epa--find-coding-system-for-mime-charset): Declare.
8591
8592 * net/dbus.el (dbus-register-service): Declare.
8593 (dbus-name-owner-changed-handler): Remove unused binding.
8594
8595 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8596 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8597 (nxml-scan-backward-within): Mark unused arg.
8598 (nxml-dynamic-markup-word): Remove unused binding.
8599
8600 * mouse.el (mouse-menu-major-mode-map):
8601 * emacs-lisp/authors.el (authors-scan-change-log)
8602 (authors-add-to-author-list):
8603 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8604 * emacs-lisp/smie.el (smie-auto-fill):
8605 * mail/sendmail.el (mail-bury):
8606 * mail/unrmail.el (unrmail):
8607 * net/tls.el (open-tls-stream):
8608 * textmodes/picture.el (picture-mouse-set-point):
8609 Remove unused bindings.
8610
8c8fc5df
MA
86112012-04-19 Michael Albinus <michael.albinus@gmx.de>
8612
8613 * net/tramp.el (tramp-action-password): Let-bind
8614 `enable-recursive-minibuffers' to t.
8615
a77b0ac9
SS
86162012-04-18 Sam Steingold <sds@gnu.org>
8617
8618 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8619 instead of 'string to accommodate values like [f11].
8620 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8621 * progmodes/gdb-mi.el: Likewise.
8622
12a106a9
LL
86232012-04-18 Leo Liu <sdl.web@gmail.com>
8624
8625 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8626 current buffer.
8627 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8628 LOCAL is nil.
8629
bc6494ef
CY
86302012-04-18 Chong Yidong <cyd@gnu.org>
8631
8632 * simple.el (line-move): Use forward-line if in batch mode
8633 (Bug#11053).
8634
c09c46b2
CS
86352012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8636
8637 * files.el (after-find-file): Do not try to add a final newline if
8638 the buffer is read-only (Bug#11156).
8639
5f6530ea
RS
86402012-04-17 Richard Stallman <rms@gnu.org>
8641
8642 * mail/rmail.el (rmail-start-mail):
8643 Pass (rmail-mail-return...) for the return-action.
8644 Pass (rmail-yank-current-message...) for the yank-action.
8645 (rmail-yank-current-message): New function.
8646 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8647 (rmail-reply): Likewise.
8648 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8649
8650 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 8651 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
8652 buffer, not newbuf.
8653
197b6f3c
JB
86542012-04-17 Juanma Barranquero <lekktu@gmail.com>
8655
8656 * server.el (server-ensure-safe-dir): Simplify.
8657
2311d8e5 86582012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 8659
2311d8e5
GM
8660 * emacs-lisp/smie.el: Provide smarter auto-filling.
8661 (smie-auto-fill): New function.
8662 (smie-setup): Use it.
98fb480e 8663
2311d8e5
GM
8664 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8665
86662012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
8667
8668 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8669 (comment-indent): Use it.
8670
2311d8e5 86712012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
8672
8673 * ses.el: The overall change is to add cell renaming, that is
8674 setting fancy names for cell symbols other than name matching
8675 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 8676 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 8677 (ses-create-cell-variable): New defun.
2311d8e5 8678 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
8679 (ses-relocate-formula): Relocate formulas only for cells the
8680 symbols of which are not renamed, i.e. symbols whose names do not
8681 match regexp "\\`[A-Z]+[0-9]+\\'".
8682 (ses-relocate-all): Relocate values only for cells the symbols of
8683 which are not renamed.
8684 (ses-load): Create cells variables as the (ses-cell ...) are read,
8685 in order to check row col consistency with cell symbol name only
8686 for cells that are not renamed.
8687 (ses-replace-name-in-formula): New defun.
8688 (ses-rename-cell): New defun.
4bdf2ad2 8689
fc72b15c
PO
86902012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8691
8692 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8693 New option (bug#11118).
8694 (perl-calculate-indent): Respect it.
8695
12e10e61
GM
86962012-04-17 Glenn Morris <rgm@gnu.org>
8697
8698 * dired-aux.el (dired-mark-read-string): Doc fix.
8699
30009afd
DA
87002012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8701
8702 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8703 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8704
41f03f4d
GM
87052012-04-17 Glenn Morris <rgm@gnu.org>
8706
8707 * mouse.el (mouse-drag-track):
8708 * speedbar.el (speedbar-frame-mode):
8709 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8710
f45f90f3
LL
87112012-04-16 Leo Liu <sdl.web@gmail.com>
8712
8713 * progmodes/python.el: Trivial cleanup.
8714
94ee8db5
GM
87152012-04-16 Glenn Morris <rgm@gnu.org>
8716
121b8917
GM
8717 * vc/vc.el (vc-string-prefix-p):
8718 * vc/pcvs-util.el (cvs-string-prefix-p):
8719 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8720 * mpc.el (mpc-string-prefix-p):
8721 Make all of these into obsolete aliases for string-prefix-p.
8722 Update callers.
8723 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8724
1197ecfa
GM
8725 * textmodes/two-column.el: Move custom options to the start.
8726 (frame-width): Remove compat definition.
8727 (2C-associate-buffer, 2C-dissociate):
8728 Use with-current-buffer rather than save-excursion.
8729 (2C-dissociate): Force a mode-line update.
8730 (2C-autoscroll): Use ignore-errors.
8731
099e7202
GM
8732 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8733 Autoload trivia.
8734
bf350d6a
GM
8735 * emacs-lisp/cl-extra.el (*random-state*):
8736 Remove unnecessary declaration.
8737
0e829eab
GM
8738 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8739
e3ad7552
GM
8740 * play/cookie1.el (cookie-snarf):
8741 Give an explicit error if input file cannot be read.
8742
68892d27
GM
8743 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8744
20f0c46d
GM
8745 * progmodes/perl-mode.el (c-macro-expand):
8746 Remove unnecessary autoload (it is in loaddefs.el).
8747
5a0978ce
GM
8748 * textmodes/picture.el (picture-desired-column)
8749 (picture-update-desired-column): Convert comments to doc-strings.
8750 (picture-substitute): Remove function.
8751 (picture-mode-map): Initialize in the defvar.
8752
6b955486
GM
8753 * woman.el: Remove eval-after-load for tar-mode.
8754 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8755 (woman-tar-extract-file): Autoload it.
8756
94ee8db5
GM
8757 * frame.el (automatic-hscrolling): Make this alias obsolete.
8758
177eca34
AM
87592012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8760
090bd7cb 8761 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 8762 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
8763 (ispell-dictionary-base-alist): Revert to original XEmacs
8764 friendly version for default. [:alpha:] will be added in
090bd7cb 8765 `ispell-set-spellchecker-params' if needed.
177eca34 8766
c505aaeb
CY
87672012-04-16 Chong Yidong <cyd@gnu.org>
8768
b19dd9d1 8769 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
8770 (imagemagick-register-types): Use it.
8771 (imagemagick-types-inhibit): Add :set function. Allow new value
8772 of t to inhibit all types.
8773
8774 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8775 so we can preload it.
8776
8777 * loadup.el (fboundp): Preload regexp-opt, needed by
8778 imagemagick-register-types.
8779
60efac0f
CY
87802012-04-15 Chong Yidong <cyd@gnu.org>
8781
8782 * frame.el (scrolling): Remove nearly unused customization group.
8783
8784 * scroll-all.el (scroll-all-mode): Move to windows group.
8785
5dd1713e
CY
87862012-04-15 Chong Yidong <cyd@gnu.org>
8787
8788 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8789
e6fd457e
CY
87902012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8791
8792 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 8793 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 8794
e153c136
GM
87952012-04-15 Glenn Morris <rgm@gnu.org>
8796
8797 * simple.el (process-file-side-effects): Doc fix.
8798
e6fd457e 87992012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
8800
8801 * international/mule-cmds.el (set-language-environment): Doc fix.
8802
3603c3b1
JB
88032012-04-14 Juanma Barranquero <lekktu@gmail.com>
8804
8805 * server.el (server-auth-key, server-generate-key): Doc fixes.
8806 (server-get-auth-key): Doc fix. Use `string-match-p'.
8807 (server-start): Reflow docstring.
8808
e6de100c
LI
88092012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8810
8811 * server.el (server-generate-key): `called-interactively-p'
8812 requires a parameter.
8813
29734c21
MN
88142012-04-14 Michal Nazarewicz <mina86@mina86.com>
8815
8816 * server.el (server-auth-key): New variable.
75f1671a 8817 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
8818 (server-start): Use the new variable and functions to allow
8819 setting a permanent server key (bug#9423).
8820
d65c9521
LL
88212012-04-14 Leo Liu <sdl.web@gmail.com>
8822
8823 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8824
5ae255c7
PE
88252012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8826
8827 Spelling fixes.
8828 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8829 Emacs uses American spelling.
8830
d5e6342e
JB
88312012-04-14 Juanma Barranquero <lekktu@gmail.com>
8832
8833 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8834 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8835 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8836 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8837
ab036cd7
SM
88382012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8839
8840 * progmodes/which-func.el (which-func-modes): Change default.
8841
35dc09a1 88422012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
8843
8844 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8845 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8846
35dc09a1 88472012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
8848
8849 * custom.el (custom-theme-set-variables): Doc fix.
8850
35dc09a1 88512012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
8852
8853 * international/mule.el (set-auto-coding-for-load): Doc fix.
8854
35dc09a1 88552012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 8856
35dc09a1
GM
8857 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8858 imenu work again for Objective C Mode. Correct the *-index values,
8859 these having been disturbed by a previous change in 2011-08.
57f845ee 8860
0de3da9f
AM
8861 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8862 Correct two search limits.
8863
35dc09a1 88642012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
8865
8866 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8867
35dc09a1 88682012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
8869
8870 * international/characters.el: Fix sorting.
8871
35dc09a1 88722012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
8873
8874 * international/characters.el: Add more missing Latin case pairs.
8875
35dc09a1 88762012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
8877
8878 * files.el (dir-locals-set-class-variables): Doc fix.
8879
35dc09a1 88802012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 8881
3f1b5bf8
EZ
8882 * international/characters.el: Add set-case-syntax-pair call for
8883 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8884 counterpart. (Bug#11209)
8885
9f847f41
EZ
8886 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8887
35dc09a1 88882012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
8889
8890 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8891
35dc09a1 88922012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 8893
35dc09a1
GM
8894 * textmodes/ispell.el (ispell-dictionary-base-alist):
8895 Add data for Hebrew.
e2627d21 8896
35dc09a1 88972012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 8898
35dc09a1
GM
8899 * net/rcirc.el (rcirc-cmd-quit):
8900 Revert 2012-03-18 change (Bug#11192).
5c14e333 8901
35dc09a1 89022012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
8903
8904 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8905
35dc09a1 89062012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 8907
4517fe3a
SM
8908 * minibuffer.el (completion-in-region-mode-map):
8909 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 8910
b472a594
VD
89112012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8912
8913 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8914
09b95ce3
MY
89152012-04-13 Masatake YAMATO <yamato@redhat.com>
8916
8917 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8918 to allow `C-M-f' and `C-M-b' to move to the nearest path
8919 separator (bug#9511).
8920
4b63a9ca
LI
89212012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8922
8923 * avoid.el: Require cl when compiling. And also move the
8924 `provide' to the end.
8925
7b55b8bf
TV
89262012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8927
8928 * avoid.el (mouse-avoidance-banish-position): New variable.
8929 (mouse-avoidance-banish-destination): Use it (bug#10165).
8930
adedaa1f
LL
89312012-04-13 Leo Liu <sdl.web@gmail.com>
8932
8933 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8934
70e74021
KB
89352012-04-13 Ken Brown <kbrown@cornell.edu>
8936
8937 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 8938 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
8939 (browse-url-filename-alist): For the same reason, don't modify
8940 file:// URLs on Cygwin.
8941
e75e89ba
SM
89422012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8943
8944 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8945 the region on shift if the binding is already shifted (bug#11221).
8946
82f289a4
GM
89472012-04-12 Glenn Morris <rgm@gnu.org>
8948
8949 * mail/mailpost.el: Move to obsolete/.
8950
d333dc4c
DA
89512012-04-12 Drew Adams <drew.adams@oracle.com>
8952
8953 * imenu.el (imenu--generic-function): Ignore invisible definitions
8954 (bug#10123).
8955
0d15b5ba
VD
89562012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8957
8958 * hexl.el (hexl-bits): New variable.
8959 (hexl-options): Mention the variable in the doc string.
75f1671a 8960 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 8961 (hexl-mode): Mention the new variable.
75f1671a
JB
8962 (hexl-mode, hexl-current-address, hexl-current-address):
8963 Use the displen.
0d15b5ba
VD
8964 (hexl-ascii-start-column): New function.
8965 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8966 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8967
64a440db
AM
89682012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8969
8970 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8971 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8972 the encoding, as expected by hunspell.
8973
6decb6c2
SM
89742012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8975
8976 * battery.el (battery--linux-sysfs-regexp): New const.
8977 (battery-status-function): Use it. Remove yeeloong special case.
8978 (battery-yeeloong-sysfs): Remove.
8979 (battery-echo-area-format): Remove yeeloong special case.
8980
088be6fb
SM
89812012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8982
6622e416
SM
8983 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8984 Reported by Noah Friedman.
8985
088be6fb
SM
8986 * subr.el (read-passwd): Use read-string.
8987
b49f886e
LMI
89882012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8989
8990 * vcursor.el (vcursor-move): Increase the priority of the overlay
8991 (bug#9663).
8992
a63067fc
DD
89932012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8994
8995 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8996 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8997
ac3cf14a
WS
89982012-04-11 William Stevenson <yhvh2000@gmail.com>
8999
9000 * textmodes/artist.el (artist-mode): Convert artist-mode to use
9001 define-minor-mode (bug#10760).
9002
c4fc691b 90032012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 9004
4d6769e1 9005 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
9006 that directories matching `grep-find-ignored-files' won't be
9007 pruned (bug#10351).
9008
af23e2e5
CY
90092012-04-11 Chong Yidong <cyd@gnu.org>
9010
9011 * startup.el (command-line): Remove support for long-obsolete
9012 variable font-lock-face-attributes.
9013
ab7ce8c1
GM
90142012-04-11 Glenn Morris <rgm@gnu.org>
9015
9016 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
9017
de8c03dc
SM
90182012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9019
9020 * window.el (window--state-get-1): Obey window-point-insertion-type.
9021
050cc68b
LB
90222012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
9023
9024 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
9025 to previous function when point is on the first character of a
75f1671a 9026 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 9027
a38c310c
GM
90282012-04-11 Glenn Morris <rgm@gnu.org>
9029
effed0c2
GM
9030 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
9031 not just file-errors.
9032
a38c310c
GM
9033 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
9034 (vc-bzr-sha1): Use internal sha1.
9035
0221e323
SM
90362012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9037
9038 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
9039
43956923
SG
90402012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
9041
9042 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
9043 that start in the middle of the line (bug#10496).
9044
6a8c9eaf
DN
90452012-04-10 Dan Nicolaescu <dann@gnu.org>
9046
9047 * battery.el (battery-linux-proc-acpi): Only one battery is
9048 discharged at a time, but that seems to confuse battery.el when
9049 computing `rate-type' for the battery not being discharged
9050 (bug#10332).
9051
1930bf5d
SM
90522012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9053
2a718f6f
SM
9054 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
9055
599430d0
SM
9056 * international/quail.el: Use dolist and simplify.
9057 (quail-define-package, quail-update-keyboard-layout)
9058 (quail-define-rules): Use dolist.
9059 (quail-insert-kbd-layout, quail-get-translation): CSE.
9060
a2754b6c
SM
9061 * tmm.el: Use dolist, remove left over hook.
9062 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
9063 Use dolist.
9064 (calendar-load-hook): Don't mess with it.
9065
1930bf5d
SM
9066 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9067 Use derived-mode-p. Run the diff asynchronously.
9068
9f67961c
LMI
90692012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9070
9071 * obsolete/mouse-sel.el: Add an Obsolete-since header.
9072
2a8ce227
JB
90732012-04-10 Juanma Barranquero <lekktu@gmail.com>
9074
9075 * misc.el: Display absolute path of loaded DLLs (bug#10424).
9076 (list-dynamic-libraries--loaded): New function.
9077 (list-dynamic-libraries--refresh): Use it.
9078
8f33b5f8
NW
90792012-04-10 Nathan Weizenbaum <nweiz@google.com>
9080
1930bf5d
SM
9081 * progmodes/python.el (python-fill-paragraph):
9082 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
9083 disabled (bug#7018).
9084
b12f0439
L
90852012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
9086
1930bf5d 9087 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
9088 DOS/MS Windows for the Baltic languages. There are still plenty
9089 of texts written in this encoding/codepage (bug#6519).
b12f0439 9090
57c3bd01
GM
90912012-04-10 Glenn Morris <rgm@gnu.org>
9092
9093 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
9094 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
9095
6c3eab30
FA
90962012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
9097
1930bf5d 9098 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
9099 next-line "n" and previous-line "p" in order to make recentf more
9100 consistent with ibuffer, dired or org-mode (bug#9387).
9101
24d78a88
LMI
91022012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9103
bc72b5d9
LMI
9104 * image.el (put-image): Return the overlay created instead of the
9105 optional input string (bug#7834). Note that this may break code
9106 that is (for some reason or other) depending on `put-image'
9107 returning the string.
9108
bd2dba5a
LMI
9109 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
9110
74beb59f
LMI
9111 * simple.el (zap-to-char): Allow zapping using input methods
9112 (bug#1580).
9113
24d78a88
LMI
9114 * textmodes/fill.el (fill-region): Leave point and mark where they
9115 were before filling (bug#5399).
9116
263f20cd
GM
91172012-04-09 Glenn Morris <rgm@gnu.org>
9118
9119 * version.el (emacs-bzr-get-version):
9120 Handle lightweight checkouts of local branches.
9121
58d1f797
AS
91222012-04-09 Andreas Schwab <schwab@linux-m68k.org>
9123
263f20cd 9124 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 9125
b4d3bc10
CY
91262012-04-09 Chong Yidong <cyd@gnu.org>
9127
9128 * custom.el (custom-variable-p): Return nil for non-symbol
9129 arguments instead of signaling an error.
9130 (user-variable-p): Obsolete alias for custom-variable-p.
9131
9132 * apropos.el (apropos-variable):
9133 * files-x.el (read-file-local-variable):
9134 * simple.el (set-variable):
9135 * woman.el (woman-mini-help):
9136 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
9137
fd06db5d
GM
91382012-04-09 Glenn Morris <rgm@gnu.org>
9139
e5fcdb5e
GM
9140 * startup.el (normal-top-level): Don't look for leim-list.el
9141 in places where it will not be found. (Bug#910)
9142
fd06db5d
GM
9143 * international/mule-cmds.el (set-default-coding-systems):
9144 * files.el (normal-mode):
9145 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
9146 This function was removed with ucs-tables.el in 2008.
9147
b39bb7e1
EZ
91482012-04-08 Eli Zaretskii <eliz@gnu.org>
9149
9150 * textmodes/ispell.el (ispell-check-version): For hunspell, set
9151 ispell-encoding8-command to "-i", without a trailing space.
9152 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
9153 separate command-line arguments, to specify the encoding, since
9154 that's how hunspell expects it.
9155
5c5b8e23
GM
91562012-04-08 Glenn Morris <rgm@gnu.org>
9157
9158 * loadup.el: Load bindings before cus-start.
9159 This reduces somewhat the number of "rogue" settings in emacs -Q.
9160
a1ed8b05
GM
91612012-04-07 Glenn Morris <rgm@gnu.org>
9162
9163 * version.el (emacs-bzr-get-version): New function.
dfae128a 9164 (emacs-bzr-version): New variable.
a1ed8b05
GM
9165 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
9166 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
9167
b142f158
EZ
91682012-04-07 Eli Zaretskii <eliz@gnu.org>
9169
dfae128a
GM
9170 * international/uni-bidi.el, international/uni-category.el:
9171 * international/uni-combining.el, international/uni-decimal.el:
9172 * international/uni-decomposition.el, international/uni-digit.el:
9173 * international/uni-lowercase.el, international/uni-mirrored.el:
9174 * international/uni-name.el, international/uni-numeric.el:
9175 * international/uni-titlecase.el, international/uni-uppercase.el:
9176 Update for Unicode 6.1.
b142f158 9177
9078ead6
EZ
91782012-04-07 Eli Zaretskii <eliz@gnu.org>
9179
9180 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
9181
f23d2c7d
LMI
91822012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
9183
9184 * window.el (shrink-window): Mention the `window-min-height'
9185 variable in the doc string.
9186
0a0a3573
BG
91872012-04-05 Bastien Guerry <bzg@altern.org>
9188
9189 * color.el (color-lighten-name): Fix typo.
9190
e5248ac9
SM
91912012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9192
9193 * server.el (server--on-display-p): New function.
9194 (server--on-display-p): Use it.
9195
b4243e22
GV
91962012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
9197
9198 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
9199 (bug#11145).
9200
305d9f44
SM
92012012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9202
9203 * comint.el (comint--common-quoted-suffix): Check string boundary
9204 before comparing (bug#11158).
9205 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
9206
3d439cd1
CY
92072012-04-04 Chong Yidong <cyd@gnu.org>
9208
321cc491
CY
9209 * minibuffer.el (completion-extra-properties): Doc fix.
9210
3d439cd1
CY
9211 * subr.el (delayed-warnings-hook): Doc fix.
9212
2d562c0f
DU
92132012-04-04 Daiki Ueno <ueno@unixuser.org>
9214
9215 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
9216 selection (Bug#11159).
9217 (epa-insert-keys): Inform that the default public key will be
9218 exported if no key is selected.
9219
4443f204
RS
92202012-04-04 Richard Stallman <rms@gnu.org>
9221
9222 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
9223
529c06b6
CY
92242012-04-03 Chong Yidong <cyd@gnu.org>
9225
9226 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
9227 mail-insert-file, not its obsolete alias mail-attach-file.
9228
66b907dc
MA
92292012-04-03 Michael Albinus <michael.albinus@gmx.de>
9230
9231 * notifications.el (notifications-notify): Fix docstring.
9232
c0ea195d
GM
92332012-04-02 Glenn Morris <rgm@gnu.org>
9234
9235 * emacs-lisp/authors.el (authors-aliases): Another addition.
9236
5ca64e00
MA
92372012-04-02 Michael Albinus <michael.albinus@gmx.de>
9238
9239 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
9240 `tramp-compat-call-process' instead of `tramp-local-call-process'.
9241 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
9242
42ee526b
CY
92432012-04-01 Chong Yidong <cyd@gnu.org>
9244
9245 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
9246 Handle root directory properly.
9247 (copy-directory): Caller changed.
9248
9249 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9250 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
9251
0b021094
GM
92522012-03-31 Glenn Morris <rgm@gnu.org>
9253
40f86458
GM
9254 * term/xterm.el (xterm-extra-capabilities): Doc fix.
9255
7019c177
GM
9256 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
9257
a1daddd6
GM
9258 * calendar/calendar.el (calendar-window-list)
9259 (calendar-hide-window): Restore. (Bug#11140)
9260 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
9261
0b021094
GM
9262 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
9263
40311efc
TV
92642012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9265
9266 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9267 Check if file is a symlink (Bug#10489).
9268
9269 * files.el (copy-directory): Likewise.
9270
5319014e
CY
92712012-03-30 Chong Yidong <cyd@gnu.org>
9272
9273 * image.el (imagemagick-types-inhibit)
9274 (imagemagick-register-types): Doc fix.
9275
935d1290
AM
92762012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9277
090bd7cb 9278 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 9279 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 9280 and treats ~word as ordinary words in pipe mode.
935d1290 9281
61c6e8fd
GM
92822012-03-30 Glenn Morris <rgm@gnu.org>
9283
9284 * tutorial.el (help-with-tutorial): Ensure local variables don't
9285 happen to make the buffer read-only. (Bug#11127)
9286
81fdff00
SM
92872012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9288
9289 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
9290 (perl-calculate-indent): Return `noindent' in strings.
9291
6e7a6ec0
SS
92922012-03-28 Sam Steingold <sds@gnu.org>
9293
9294 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
9295 instead of the broken adhockery which does not prevent calendar
9296 buffers from being displayed at random after exit.
9297 (calendar-window-list, calendar-hide-window): Remove the broken
9298 adhockery.
9299
fee88ca0
GM
93002012-03-28 Glenn Morris <rgm@gnu.org>
9301
9302 * replace.el (query-replace-map): Doc fix.
9303
38de3354
AS
93042012-03-28 Andreas Schwab <schwab@linux-m68k.org>
9305
9306 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
9307 contents. (Bug#11109)
9308
b973155e
SM
93092012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9310
9311 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
9312 (bug#11077).
9313 (avl-tree--check, avl-tree--check-node): New funs.
9314
dcb6e7b3
MR
93152012-03-27 Martin Rudalics <rudalics@gmx.at>
9316
9317 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
9318 (switch-to-prev-buffer, switch-to-next-buffer):
9319 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
9320 showing a buffer already is done on the same frame.
9321
b4fa35fa
GM
93222012-03-27 Glenn Morris <rgm@gnu.org>
9323
9324 * startup.el (mail-host-address): Doc fix.
9325
f9210e18
SM
93262012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9327
9328 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
9329 than 197 variables.
9330
c0bf7753
AF
93312012-03-26 Ami Fischman <ami@fischman.org>
9332
9333 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
9334
33da7b16
GM
93352012-03-26 Glenn Morris <rgm@gnu.org>
9336
02243d9d
GM
9337 * files.el (save-buffers-kill-emacs): Doc fix.
9338
33da7b16
GM
9339 * startup.el (normal-top-level, command-line, command-line-1):
9340 Give them doc strings.
9341
e5a69fd0
EZ
93422012-03-25 Eli Zaretskii <eliz@gnu.org>
9343
9344 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 9345 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 9346
9a69676a
CY
93472012-03-25 Chong Yidong <cyd@gnu.org>
9348
4125cb8b
CY
9349 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
9350 theme if it was previously enabled before (Bug#11031).
9351
dd470960
CY
9352 * cus-theme.el (custom-theme-write-faces): Retrieve current face
9353 spec with custom-face-get-current-spec if its :shown-value is not
9354 determined yet (Bug#9337).
4125cb8b 9355 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 9356
9a69676a
CY
9357 * button.el (button-at): Minor addition to docstring.
9358
6e7e90fa
SL
93592012-03-24 Simon Leinen <simon.leinen@gmail.com>
9360
9361 * vc/vc.el (vc-merge): Fix a prompt.
9362
f06e2758
CY
93632012-03-24 Chong Yidong <cyd@gnu.org>
9364
9365 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
9366 point (Bug#9623).
9367
6e7e90fa
SL
9368 * button.el (button-at): Minor addition to docstring.
9369
b9d0879b
SM
93702012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9371
9372 * newcomment.el (comment-choose-indent): No space after BOL.
9373
e71cebb3
SS
93742012-03-22 Sam Steingold <sds@gnu.org>
9375
9376 * window.el (switch-to-prev-buffer): Revert last patch because the
9377 bug turned out to be an advertised feature (Elisp manual 28.14).
9378
335aff35
GM
93792012-03-22 Glenn Morris <rgm@gnu.org>
9380
9381 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
9382 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
9383
c676576a
LMI
93842012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9385
9386 * net/network-stream.el (network-stream-open-starttls): Make error
9387 message under Windows be less misleading.
9388
126f3d39
LW
93892012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
9390
9391 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
9392 understands (bug#9942).
9393
64fee311
CY
93942012-03-22 Chong Yidong <cyd@gnu.org>
9395
9396 * simple.el (end-of-visible-line): Handle return value of
9397 next-single-property-change properly (Bug#9371).
9398
a640d29a
KH
93992012-03-22 Kenichi Handa <handa@m17n.org>
9400
9401 * international/quail.el (quail-insert-kbd-layout): Fix previous
9402 change. To avoid unwanted bidi reordering, use
9403 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
9404
39675016
DG
94052012-03-21 Dmitry Gutov <dgutov@yandex.ru>
9406
9407 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
9408 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
9409 (ruby-beginning-of-indent): Be more careful with the difference
9410 between word-boundary and symbol boundary.
9411 (ruby-mode-syntax-table): Make : a symbol constituent.
9412
0a6934fc 94132012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 9414
3d008e4f
SM
9415 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
9416
0a6934fc
SM
94172012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9418
af67c9d7
SM
9419 * progmodes/etags.el (tags-completion-at-point-function):
9420 Improve last fix.
9421
1acad97c
SM
9422 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
9423
e298b5da
SS
94242012-03-21 Sam Steingold <sds@gnu.org>
9425
9426 * progmodes/etags.el (tags-completion-at-point-function):
9427 Avoid the error when point is inside the pattern.
9428
91d82a70
JY
94292012-03-21 John Yates <john@yates-sheets.org> (tiny change)
9430
9431 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
9432 line (Bug#10855).
9433
69188b79
CY
94342012-03-21 Drew Adams <drew.adams@oracle.com>
9435
9436 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
9437
99fc91fe
AK
94382012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
9439
9440 * ido.el (ido-set-current-directory, ido-read-internal)
9441 (ido-choose-completion-string, ido-completion-help): Handle nil
9442 value of ido-completion-buffer (Bug#11008).
9443
087bbb4c
SS
94442012-03-21 Sam Steingold <sds@gnu.org>
9445
9446 * window.el (switch-to-prev-buffer): Do not switch to a visible
9447 window previous buffer, just like with the frame previous buffers.
9448
fb5b8aca
CY
94492012-03-21 Chong Yidong <cyd@gnu.org>
9450
9451 * faces.el (make-face, make-empty-face, copy-face):
9452 * face-remap.el (face-remap-add-relative, face-remap-set-base):
9453 Doc fixes.
9454
dc9924b8
SM
94552012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9456
9457 * wid-edit.el (widget-complete-field): Remove (bug#11051).
9458 (widget-complete): Remove broken use of it.
9459
f0bcceb9
CY
94602012-03-20 Chong Yidong <cyd@gnu.org>
9461
dc9924b8
SM
9462 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9463 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
9464 characters.
9465
ee52ebf3
TH
94662012-03-20 Tassilo Horn <tassilo@member.fsf.org>
9467
9468 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
9469 to draw rectangles, not squares. (Regression introduced by revno
9470 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9471
4c5779ab
CY
94722012-03-18 Chong Yidong <cyd@gnu.org>
9473
9474 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9475 it is not yet defined (for temacs).
9476
15360934
LL
94772012-03-18 Leo Liu <sdl.web@gmail.com>
9478
735135f9
PE
9479 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9480 prefix.
15360934 9481
d9a8eb66
EZ
94822012-03-17 Eli Zaretskii <eliz@gnu.org>
9483
9484 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9485 (ispell-choices-win-default-height, ispell-silently-savep)
9486 (ispell-dictionary-alist, ispell-encoding8-command)
9487 (ispell-check-version, ispell-aspell-find-dictionary)
9488 (ispell-valid-dictionary-list, ispell-words-keyword)
9489 (ispell-get-word, ispell-internal-change-dictionary)
9490 (ispell-region, ispell-skip-region-list)
9491 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9492 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9493 (ispell-message-text-end, ispell-message)
9494 (ispell-buffer-local-parsing): Doc fix.
9495
f02ff80d
J
94962012-03-13 Jambunathan K <kjambunathan@gmail.com>
9497
9498 * htmlfontify.el: Add support for code block fontification for ODT
9499 export (Bug #9914).
9500 (hfy-optimisations): Define new option
9501 `body-text-only'
9502 (hfy-fontify-buffer): Honor above setting.
9503 (hfy-begin-span, hfy-end-span): New routines factored out form
9504 `hfy-fontify-buffer'.
9505 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9506 that permit insertion of custom tags.
9507 (hfy-fontify-buffer): Use above handlers.
9508 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9509 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 9510 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 9511 over multiple runs. This is made possible by having the caller let
f02ff80d
J
9512 bind a special variable `hfy-user-sheet-assoc'.
9513 (htmlfontify-string): New defun.
9514 (hfy-compile-face-map): Make sure that the last char in the
9515 buffer is correctly fontified.
9516 (hfy-face-resolve-face): Whitespace only change.
9517
9ac7a13f
EZ
95182012-03-17 Eli Zaretskii <eliz@gnu.org>
9519
9520 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9521 message more clear.
9522
e2b5bdd7
LL
95232012-03-16 Leo Liu <sdl.web@gmail.com>
9524
9525 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9526
2e492df3
AM
95272012-03-16 Alan Mackenzie <acm@muc.de>
9528
9529 Further optimise the handling of large macros.
9530
9531 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9532 limit to a call of `c-literal-limits'.
9533 (c-determine-+ve-limit): New function.
dc9924b8
SM
9534 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9535 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
9536 In CASE 5B, restrict a search limit to 500.
9537 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9538
9539 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9540 Restrict macro bounds to +-500 from after-change's BEG END.
9541
50e94f0c
LL
95422012-03-16 Leo Liu <sdl.web@gmail.com>
9543
9544 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9545
6f09f6ed
AH
95462012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9547
9548 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 9549 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 9550
c7e73d51
GM
95512012-03-16 Glenn Morris <rgm@gnu.org>
9552
da986230
GM
9553 * view.el (view-buffer, view-buffer-other-window)
9554 (view-buffer-other-frame): Doc fixes re special mode-class.
9555
0835f01e
GM
9556 * subr.el (eval-after-load): If named feature is provided not from
9557 a file, run after-load forms. (Bug#10946)
9558
c7e73d51
GM
9559 * calendar/calendar.el (calendar-insert-at-column):
9560 Handle non-unit-width characters a bit better. (Bug#10978)
9561
3f2eafd1
CY
95622012-03-15 Chong Yidong <cyd@gnu.org>
9563
9564 * emacs-lisp/ring.el (ring-extend): New function.
9565 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9566
9567 * comint.el (comint-read-input-ring)
9568 (comint-add-to-input-history): Grow comint-input-ring lazily.
9569
103af3fe
SM
95702012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9571
663b1677
SM
9572 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9573 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9574
103af3fe
SM
9575 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9576 (imenu-add-to-menubar): Don't add a redundant index.
9577 (imenu-update-menubar): Handle a dynamically composed keymap.
9578
899cb7cb
KY
95792012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9580
9581 * mail/sendmail.el (mail-encode-header):
9582 Bind rfc2047-encode-encoded-words to nil.
9583
3809f91d
GM
95842012-03-13 Glenn Morris <rgm@gnu.org>
9585
9586 * calendar/calendar.el (calendar-string-spread):
9587 Handle non-unit-width characters a bit better. (Bug#10978)
9588
9e345a01
LL
95892012-03-13 Leo Liu <sdl.web@gmail.com>
9590
9591 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9592 directory and file as argument (Bug#10822).
9593
4a07df36
KS
95942012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9595
9596 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9597 For dynamically generated code, follow $PC.
9598 (gdb-disassembly-handler-custom): Handle no function name case.
9599
4aaa9356
TL
96002012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9601
9602 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9603 * emulation/ws-mode.el (ws-query-replace):
9604 * sort.el (sort-regexp-fields):
9605 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9606
225979da
SM
96072012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9608
9609 * dabbrev.el: Fix cycle completion order (bug#10963).
9610 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9611 (dabbrev-completion): Don't use an obarray; provide
9612 a cycle-sort-function.
9613
e2f1fdab
LL
96142012-03-12 Leo Liu <sdl.web@gmail.com>
9615
dc9924b8 9616 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
9617 (kill-do-not-save-duplicates): Doc fix.
9618
b19490ed
SM
96192012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9620
9621 * dabbrev.el: Fix cycle completion (bug#10963).
9622 Use lexical binding and wrap to 80 columns.
9623 (dabbrev-completion): Delay computing the list of completions.
9624
4b05d722
KH
96252012-03-12 Kenichi Handa <handa@m17n.org>
9626
9627 * international/quail.el (quail-insert-kbd-layout): Surround each
9628 row by LRO and PDF instead of inserting many LRMs. Pad the left
9629 and right of each non-spacing marks. Insert invisible space
9630 between lower and upper characters to prevent composition.
9631
dbbc2e69
SM
96322012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9633
9634 * minibuffer.el (minibuffer-complete): Don't get confused when the
9635 function is run twice via different commands (bug#10958).
9636 (complete-with-action): Fix docstring.
9637
292112ed
CY
96382012-03-12 Chong Yidong <cyd@gnu.org>
9639
5d1ac394
CY
9640 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9641 (nxml-completion-at-point-function): New function.
9642 (nxml-mode): Use it.
9643 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9644
292112ed
CY
9645 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9646 Load generated autoloads file before byte compiling (Bug#10970).
9647 (package--make-autoloads-and-compile): New helper fun.
9648
4098f8f7
CS
96492012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9650
9651 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9652
8f754691
MA
96532012-03-11 Michael Albinus <michael.albinus@gmx.de>
9654
9655 * autorevert.el (auto-revert-handler): Ensure, that
9656 file-readable-p is applied only for local files or in
9657 auto-revert-tail-mode.
9658
e29ab36b
AS
96592012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9660
dbbc2e69
SM
9661 * server.el (server-eval-at): Handle non-tcp connections.
9662 Decode result string.
ad0bf5b6 9663
e29ab36b
AS
9664 * server.el (server-msg-size): New constant.
9665 (server-reply-print): New function.
9666 (server-eval-and-print): Use it.
9667 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9668 Handle -print-nonl.
9669
de5939ba
CS
96702012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9671
9672 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9673 (Bug#10987).
9674
0c93eabf
CY
96752012-03-11 Chong Yidong <cyd@gnu.org>
9676
397a688f
CY
9677 * simple.el (goto-line): Doc fix (Bug#9938).
9678
2cc775f9
CY
9679 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9680
0c93eabf
CY
9681 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9682 when finished (Bug#10963).
9683
c491fa41
MR
96842012-03-11 Martin Rudalics <rudalics@gmx.at>
9685
9686 * window.el (split-window-below): Fix bug in case where
9687 split-window-keep-point is nil (Bug#10971).
9688
300e8fa5
JL
96892012-03-11 Juri Linkov <juri@jurta.org>
9690
9691 * replace.el (replace-highlight): Set isearch-word to nil
9692 unconditionally. (Bug#10887)
9693
dbf6c5a1
EZ
96942012-03-10 Eli Zaretskii <eliz@gnu.org>
9695
9696 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9697 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 9698 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
9699 (mairix-widget-create-query): Add usage information about mairix
9700 search forms: negating words, searching for substrings, etc.
9701
b9e501de
JP
97022012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9703
9704 * international/fontset.el (font-encoding-alist): Add an entry for
9705 ksx1001 (Bug#5667).
9706
92795c91
RS
97072012-03-10 Richard Stallman <rms@gnu.org>
9708
1694e6c1
RS
9709 * mail/sendmail.el (mail-encode-header):
9710 Set rfc2047-encode-encoded-words.
9711
607e8555
RS
9712 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9713
de3bc99a
RS
9714 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9715 view buffer means not swapped.
9716 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9717 (rmail-write-region-annotate): Error if real text has disappeared.
9718
92795c91
RS
9719 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9720
699bd04e
CY
97212012-03-10 Chong Yidong <cyd@gnu.org>
9722
9723 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
9724 * emulation/cua-base.el (cua--init-keymaps):
9725 Add delete-forward-char to remappings (Bug#9666).
699bd04e 9726
570a1714
MR
97272012-03-10 Martin Rudalics <rudalics@gmx.at>
9728
dbbc2e69
SM
9729 * speedbar.el (speedbar-unhighlight-one-tag-line):
9730 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 9731
82dcf4e4
CY
97322012-03-10 Chong Yidong <cyd@gnu.org>
9733
7a2c7ca7
CY
9734 * minibuffer.el (completion-in-region, completion-help-at-point):
9735 Give the completion field overlay a high priority (Bug#6830).
9736
82dcf4e4
CY
9737 * dired.el (dired-goto-file): Recognize absolute file name
9738 listings (Bug#7126).
9739 (dired-goto-file-1): New helper function.
9740 (dired-toggle-read-only): Inhibit warnings.
9741
052e28ac
MA
97422012-03-09 Michael Albinus <michael.albinus@gmx.de>
9743
75f1671a 9744 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
9745 there are no properties.
9746
95d5e396
LL
97472012-03-09 Leo Liu <sdl.web@gmail.com>
9748
9749 * savehist.el (savehist-printable): Stricter check for string
9750 value (Bug#10937).
9751
3f018d6d
EZ
97522012-03-09 Eli Zaretskii <eliz@gnu.org>
9753
dbbc2e69
SM
9754 * mail/smtpmail.el (smtpmail-send-it):
9755 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
9756 valid mbox format.
9757
f7fd3d79
GM
97582012-03-09 Glenn Morris <rgm@gnu.org>
9759
9760 * files.el (dir-locals-find-file):
9761 Don't check result is regular, readable.
9762 (dir-locals-read-from-file): Demote errors.
9763
6ff6e72f
EZ
97642012-03-08 Eli Zaretskii <eliz@gnu.org>
9765
dbbc2e69
SM
9766 * international/quail.el (quail-insert-kbd-layout):
9767 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
9768 layout cell, to prevent their reordering by bidi display engine.
9769 For details, see the discussion in
9770 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9771
9cec7834
AM
97722012-03-08 Alan Mackenzie <acm@muc.de>
9773
9774 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9775 the starting position; make it extend the marked region when
9776 invoked repeatedly - all under appropriate circumstances.
9777 Fixes bugs #5525, #10906.
9778
9a40b8d4
GM
97792012-03-08 Glenn Morris <rgm@gnu.org>
9780
9781 * files.el (locate-dominating-file, dir-locals-find-file):
9782 Undo 2012-03-06 change.
9783
7a08ed35
EZ
97842012-03-07 Eli Zaretskii <eliz@gnu.org>
9785
dbbc2e69
SM
9786 * international/quail.el (quail-help):
9787 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
9788 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9789 for the reason.
9790
5aca4f71 97912012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
9792
9793 Avoid superfluous registering of signals. (Bug#10807)
9794
9795 * notifications.el (notifications-on-action-object)
9796 (notifications-on-close-object): New defvars.
9797 (notifications-on-action-signal, notifications-on-closed-signal):
9798 Unregister the signal if not needed any longer.
9799 (notifications-notify): Register `notifications-action-signal' or
9800 `notifications-closed-signal', if :on-action or :on-close has been
9801 passed as argument.
9802
78e8b10a
CY
98032012-03-07 Chong Yidong <cyd@gnu.org>
9804
9805 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9806 non-X platforms.
9807
69481eb8
GM
98082012-03-06 Glenn Morris <rgm@gnu.org>
9809
9810 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9811 (x-disown-selection-internal, x-get-selection-internal):
9812 Doc fix (add arglist signatures). (Bug#10783)
9813
133b8e11
KS
98142012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9815
9816 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9817 Handle breakpoints with no "type".
9818
99a83064
GM
98192012-03-06 Glenn Morris <rgm@gnu.org>
9820
9821 * files.el (locate-dominating-file): Add optional predicate argument.
9822 (dir-locals-find-file): Make use of above change.
9823
17798e78
TTN
98242012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9825
9826 * info.el (Info-insert-dir): Also try "dir.gz".
9827
eb182446
GM
98282012-03-06 Glenn Morris <rgm@gnu.org>
9829
8f2114ee
GM
9830 * files.el (dir-locals-find-file):
9831 Ignore non-readable or non-regular files. (Bug#10928)
9832
eb182446
GM
9833 * files.el (locate-dominating-file): Doc fix.
9834
24679323
AS
98352012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9836
9837 * calendar/calendar.el (calendar-set-mode-line):
9838 `getenv' returns a string. (Bug#10951)
9839
01d972a9
LL
98402012-03-05 Leo Liu <sdl.web@gmail.com>
9841
109aa8a9
LL
9842 * simple.el (backward-delete-char-untabify): Constrain point to
9843 field (Bug#10939).
9844
01d972a9
LL
9845 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9846
10607bea
CY
98472012-03-05 Chong Yidong <cyd@gnu.org>
9848
9849 * simple.el (count-words): If called from Lisp, return the word
9850 count, for symmetry with `count-lines'. Arglist changed.
9851 (count-words--message): Args changed. Consolidate counting code
9852 from count-words and count-words-region.
9853 (count-words-region): Caller changed.
9854 (count-lines-region): Make it an obsolete alias.
9855
5dd11cfe
TH
98562012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9857
9858 * saveplace.el (save-place-to-alist)
9859 (save-place-ignore-files-regexp): Allow value nil to disable this
9860 feature.
9861
c349f4e6
CY
98622012-03-04 Chong Yidong <cyd@gnu.org>
9863
9864 * faces.el (face-spec-reset-face): For the default face, reset the
9865 attributes to default values (Bug#10748).
9866
e627be4c
LMI
98672012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9868
9869 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9870 previous patch: Check `message-send-mail-function', and not the
9871 default function (bug#10897).
9872
ebeabff4
MA
98732012-03-04 Michael Albinus <michael.albinus@gmx.de>
9874
a41a6cf4
MA
9875 * notifications.el (notifications-on-action-signal)
9876 (notifications-on-closed-signal): Check for unique service name of
9877 incoming event. Fix error in removing entry.
ebeabff4 9878 (top): Register for signals with wildcard service name.
a41a6cf4 9879 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 9880
c1ca42b4
CY
98812012-03-04 Chong Yidong <cyd@gnu.org>
9882
dc9924b8 9883 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 9884
ea16568d
GM
98852012-03-04 Glenn Morris <rgm@gnu.org>
9886
9887 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9888 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9889 (expand-abbrev, define-abbrev-table): Doc fixes.
9890
fbae4637
LMI
98912012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9892
9893 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9894 `message-default-send-mail-function' and not `send-mail-function'
9895 when doing the prompting for `sendmail-query-once' before sending
9896 in Message buffers (bug#10897).
9897
a1e7225c
LMI
9898 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9899 This is inconsistent with all the other stream functions, which leave
9900 the setting up to the higher levels (if so wanted) (bug#10931).
9901
56d093a9
AM
99022012-03-02 Alan Mackenzie <acm@muc.de>
9903
9904 Depessimize the handling of very large macros.
9905
9906 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9907 (c-macro-cache-syntactic): New variables to implement a one
9908 element macro cache.
9909 (c-invalidate-macro-cache): New function.
9910 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9911 Adapt to use the new cache.
9912 (c-state-safe-place): Use better the cache of safe positions.
9913 (c-state-semi-nonlit-pos-cache)
9914 (c-state-semi-nonlit-pos-cache-limit):
9915 New variables for...
9916 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9917 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
9918 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9919 Use c-state-semi-safe-place.
56d093a9 9920
dbbc2e69
SM
9921 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9922 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 9923
817e5c3d
MA
99242012-03-02 Michael Albinus <michael.albinus@gmx.de>
9925
dbbc2e69
SM
9926 * jka-compr.el (jka-compr-call-process):
9927 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
9928 not remote.
9929
a032a702
MA
99302012-03-01 Michael Albinus <michael.albinus@gmx.de>
9931
9932 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9933 access of FILE2, if FILE1 does not exist.
9934
99a54f21
MA
9935 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9936 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9937
9938 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9939 Add "PAGER=" to `process-environment'.
9940
f6561e1f
MM
99412012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9942
9943 * progmodes/sql.el: Bug fix
9944 (sql-get-login-ext): Save login values in globals.
9945 (sql-get-login): Use new version of `sql-get-login-ext'.
9946 (sql-interactive-mode): Set global `sql-connection' to nil.
9947 (sql-connect): Set global values for connection.
9948 (sql-product-interactive): Save global values as buffer local.
9949
2d44d9cc
LL
99502012-02-29 Leo Liu <sdl.web@gmail.com>
9951
9952 * abbrev.el (define-abbrevs): Reset sys to nil.
9953
96b49301 99542012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9955
bf7f9bc5
JB
9956 * files.el (file-equal-p): Rename from `files-equal-p'.
9957 Return nil when one or both files don't exist.
96b49301 9958 (file-subdir-of-p): Now only top directory must exists,
9959 return nil if it doesn't.
bf7f9bc5
JB
9960 (copy-directory): No need to test with `file-subdir-of-p' after
9961 creating dir.
9962 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9963 to `file-equal-p'.
96b49301 9964
44e97401
GM
99652012-02-28 Glenn Morris <rgm@gnu.org>
9966
9967 * shell.el (shell-mode):
9968 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9969 * play/landmark.el (landmark-font-lock-face-O):
9970 * play/handwrite.el (handwrite):
9971 * play/gomoku.el (gomoku-O):
9972 * net/browse-url.el (browse-url-browser-display):
9973 * international/mule.el (define-charset):
9974 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9975 * filesets.el (filesets-find-file-delay):
9976 * eshell/em-xtra.el (eshell-xtra):
9977 * eshell/em-unix.el (eshell-grep):
9978 * emulation/viper.el (viper-mode):
9979 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9980 * emacs-lisp/easymenu.el (easy-menu-define):
9981 * calendar/timeclock.el (timeclock-use-display-time):
9982 * bs.el (bs-mode):
9983 * bookmark.el (bookmark-save-flag):
9984 Doc fix (standardize possessive apostrophe usage).
9985
c98c6276
CY
99862012-02-27 Chong Yidong <cyd@gnu.org>
9987
bf7f9bc5
JB
9988 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9989 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 9990
c98c6276
CY
9991 * font-lock.el (font-lock-specified-p): Rename from
9992 font-lock-spec-present. Callers changed.
9993
9c62cd04 99942012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 9995
bf7f9bc5
JB
9996 * emacs-lisp/package.el (package-compute-transaction):
9997 Handle holding a package version to t in package-load-list.
8ac9e529 9998
530739c9
MA
99992012-02-26 Michael Albinus <michael.albinus@gmx.de>
10000
10001 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
10002 (tramp-get-inode, tramp-get-device): Use cached values.
10003
487915d7
AM
100042012-02-26 Alan Mackenzie <acm@muc.de>
10005
10006 Check there is a font-lock specification before doing initial
10007 fontification.
10008
10009 * font-core.el (font-lock-mode): Move the conditional from
10010 :after-hook to font-lock-initial-fontify.
10011 (font-lock-default-function): Move the check for a specification
10012 to font-lock-spec-present.
10013
dc9924b8 10014 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
10015 (font-lock-spec-present): New function.
10016
4fd96557
JB
100172012-02-26 Jim Blandy <jimb@red-bean.com>
10018
10019 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
10020 (gdb-send): Apply it to the operand of the '-interpreter-exec
10021 console' command, so that we can pass arguments with (say) quotes
10022 in them. Store exact string sent in gdb-debug-log (Bug#10765).
10023
9a4888c0
CY
100242012-02-26 Chong Yidong <cyd@gnu.org>
10025
07498861
CY
10026 * help-fns.el (describe-function-1): Clarify description of
10027 remapping (Bug#10844).
10028
9a4888c0
CY
10029 * files.el (files-equal-p): Doc fix.
10030 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
10031 and quit the loop once a mismatch is found.
10032
ea8fb88d
JB
100332012-02-25 Juanma Barranquero <lekktu@gmail.com>
10034
10035 * bs.el (bs--show-with-configuration): Don't throw an error
10036 if the window cannot be split; otherwise, subsequent calls to
10037 bs-show fail, restoring a stale window config. (Bug#10882)
10038
525795c1
JD
100392012-02-25 Jan Djärv <jan.h.d@swipnet.se>
10040
10041 * term/ns-win.el (global-map): Bind ns-drag-file to
10042 ns-find-file (Bug#5855, Bug#10050).
10043
f008086f
AS
100442012-02-25 Andreas Schwab <schwab@linux-m68k.org>
10045
10046 * calendar/parse-time.el (parse-time-string): Allow extractor to
10047 return nil.
10048
a3fcfa99
MA
100492012-02-25 Michael Albinus <michael.albinus@gmx.de>
10050
91027d08
JB
10051 * net/tramp.el (tramp-file-name-for-operation):
10052 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
10053
10054 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
10055 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
10056 Add COPY-CONTENTS argument.
a3fcfa99 10057
67b0de11
CY
100582012-02-25 Chong Yidong <cyd@gnu.org>
10059
10060 Add custom groups for VC backends, for consistency with vc-bzr.
10061
10062 * vc/vc-arch.el (vc-arch):
10063 * vc/vc-cvs.el (vc-cvs):
10064 * vc/vc-git.el (vc-git):
10065 * vc/vc-hg.el (vc-hg):
10066 * vc/vc-mtn.el (vc-mtn):
10067 * vc/vc-rcs.el (vc-rcs):
10068 * vc/vc-sccs.el (vc-sccs):
10069 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
10070 All relevant defcustoms reassigned.
10071
3c9dfce6
CY
100722012-02-25 Chong Yidong <cyd@gnu.org>
10073
1339bf43
CY
10074 * newcomment.el (comment-styles): Add autoload (Bug#10868).
10075
3c9dfce6
CY
10076 * term/x-win.el (x-initialize-window-system): Reduce default for
10077 x-selection-timeout to 5 seconds (Bug#8869).
10078
25b2e303 100792012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10080
ec70a47d
GM
10081 * files.el (files-equal-p, file-subdir-of-p): New functions.
10082 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 10083 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
10084 * dired-aux.el (dired-copy-file-recursive): Same.
10085 (dired-create-files): Modify destination when source is equal to
10086 dest when copying files.
53a46cd0 10087 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 10088
914260cd
MA
100892012-02-24 Michael Albinus <michael.albinus@gmx.de>
10090
10091 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
10092 (Bug#10874)
10093
2cb228f7
AM
100942012-02-23 Alan Mackenzie <acm@muc.de>
10095
10096 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
10097 parameter "after-hook:" to allow the expansion to run code after
10098 the execution of the mode hooks.
10099
10100 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 10101 from font-lock-mode-internal.
2cb228f7 10102
91027d08 10103 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
10104 :after-hook.
10105
8f0fde21
SM
101062012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10107
3e88618b
SM
10108 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
10109 (completion--cache-all-sorted-completions): New function.
10110 (completion-all-sorted-completions): Use it.
10111 (completion--do-completion, minibuffer-force-complete):
10112 Use it to re-instate the flush hook.
10113
8f0fde21
SM
10114 * icomplete.el (icomplete-completions): Replace last fix with a better
10115 one (bug#10850).
10116
8e911f6f
DG
101172012-02-23 Dmitry Gutov <dgutov@yandex.ru>
10118
10119 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
10120 when it might call us back infinitely (bug#10797).
10121
49fe4321
GM
101222012-02-23 Glenn Morris <rgm@gnu.org>
10123
10124 * minibuffer.el (completion-category-overrides): Doc fix.
10125
b291b572
SM
101262012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10127
10128 * minibuffer.el (completion-table-with-context): Fix inf-loop.
10129 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
10130
31a9ef2e
GM
101312012-02-23 Glenn Morris <rgm@gnu.org>
10132
5e6e6794 10133 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
10134 (authors-obsolete-files-regexps, authors-ignored-files)
10135 (authors-ambiguous-files, authors-renamed-files-alist):
10136 Add more entries.
10137
0bd1e074
JL
101382012-02-23 Juri Linkov <juri@jurta.org>
10139
10140 * isearch.el (isearch-occur): Sync interactive spec with occur's
10141 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
10142
b617673c
JL
10143 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
10144
19e9789e
JL
101452012-02-22 Juri Linkov <juri@jurta.org>
10146
10147 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
10148 (ucs-insert): Doc fix. Check for hex digits in the string.
10149 Don't display `nil' in the error message. (Bug#10857)
10150
f41ce09d
AM
101512012-02-22 Alan Mackenzie <acm@muc.de>
10152
7a71b18d 10153 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 10154
ac2eceee
GM
101552012-02-22 Glenn Morris <rgm@gnu.org>
10156
10157 * ffap.el (ffap-c-path):
10158 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
10159
abd1f678
CY
101602012-02-22 Chong Yidong <cyd@gnu.org>
10161
10162 * custom.el (load-theme): Doc fix.
10163
f25aef2e
GM
101642012-02-22 Glenn Morris <rgm@gnu.org>
10165
10166 * dired-x.el (dired-guess-shell-alist-default):
10167 Remove escape sequences from nroff output. (Bug#172)
10168
5f8dc2ca
GM
101692012-02-21 Glenn Morris <rgm@gnu.org>
10170
6ff86ec4
GM
10171 * vc/emerge.el (emerge-defvar-local):
10172 Set `permanent-local' property rather than unused `preserved'.
10173
be3223a3 10174 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
10175 (picture-mode-map): Use it. (Bug#10860)
10176 (picture-mode): Doc fix.
10177
3fe58f4f
JB
101782012-02-21 Juanma Barranquero <lekktu@gmail.com>
10179
10180 * newcomment.el (uncomment-region-default): Remove unused binding.
10181
f9a998c3
GM
101822012-02-21 Glenn Morris <rgm@gnu.org>
10183
10184 * textmodes/picture.el (picture-motion, picture-motion-reverse)
10185 (picture-self-insert, picture-tab-chars): Doc fix.
10186 (picture-mode-map): Fix C-a, C-e.
10187
c6029348
GM
101882012-02-20 Glenn Morris <rgm@gnu.org>
10189
10190 * emacs-lisp/authors.el (authors-aliases): Add another entry.
10191
ab1ce9d7
LL
101922012-02-20 Leo Liu <sdl.web@gmail.com>
10193
10194 * icomplete.el (icomplete-completions): Check FROM arg before
10195 passing to substring (Bug#10850).
10196
0fd40f89
CY
101972012-02-19 Chong Yidong <cyd@gnu.org>
10198
10199 * comint.el: Require ansi-color.
10200 (comint-output-filter-functions): Add ansi-color-process-output.
10201
10202 * ansi-color.el: Don't set comint-output-filter-functions; it is
10203 now in the initial value defined in comint.el.
10204 (ansi-color-apply-face-function): New variable.
10205 (ansi-color-apply-on-region): Use it.
10206 (ansi-color-apply-overlay-face): New function.
10207
10208 * shell.el (shell): No need to require ansi-color.
10209 (shell-mode): Use ansi-color-apply-face-function to highlight
10210 color escapes using font-lock-face property (Bug#10835).
10211
20af2394
CY
102122012-02-19 Chong Yidong <cyd@gnu.org>
10213
10214 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
10215 mode-line formats (Bug#10839).
10216
e23a3fbe
GM
102172012-02-18 Glenn Morris <rgm@gnu.org>
10218
b474519e
GM
10219 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
10220
10221 * mail/undigest.el (unforward-rmail-message): Doc fix.
10222
e23a3fbe
GM
10223 * saveplace.el (save-place-ignore-files-regexp): Add :version.
10224
57939ff4
EZ
102252012-02-18 Eli Zaretskii <eliz@gnu.org>
10226
10227 * international/characters.el (script-list): Sync with the latest
10228 Unicode Character Database.
10229
0c23686e
AS
102302012-02-18 Andreas Schwab <schwab@linux-m68k.org>
10231
10232 * international/titdic-cnv.el: Remove duplicate coding tag.
10233 * language/cham.el: Likewise.
10234 * language/tai-viet.el: Likewise.
10235
6818b449
GM
102362012-02-18 Glenn Morris <rgm@gnu.org>
10237
10238 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
10239 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
10240 (calendar-bahai-all-holidays-flag, calendar-other-dates):
10241 * calendar/diary-lib.el (diary-abbreviated-year-flag):
10242 * calendar/holidays.el (holiday-bahai-holidays)
10243 (calendar-holidays, list-holidays):
10244 Use utf-8 Bahá'í in doc-strings, menus, etc.
10245
0311a3fc
TH
102462012-02-17 Tassilo Horn <tassilo@member.fsf.org>
10247
10248 * saveplace.el (save-place-ignore-files-regexp): New variable
10249 allowing for excluding files from saving their location of point.
10250 The default value matches the temporary commit message editing
10251 files from Git, SVN, Bazaar, and Mercurial.
10252 (save-place-to-alist): Use it.
10253
d209e2fb 102542012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 10255 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
10256
10257 * newcomment.el (uncomment-region-default): Don't leave extra space
10258 when an arg is provided (bug#8150).
10259
ee0ce425
TZ
102602012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
10261
eb864a71 10262 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 10263
95ddf442
GM
102642012-02-17 Glenn Morris <rgm@gnu.org>
10265
10266 * net/socks.el: Require network-stream. (Bug#10599)
10267
48dd1e39 102682012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
10269
10270 * international/charprop.el:
10271 * international/uni-name.el:
10272 * international/uni-old-name.el:
10273 * international/uni-comment.el: Regenerate.
10274
d68cd087
GM
102752012-02-16 Glenn Morris <rgm@gnu.org>
10276
10277 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
10278 Interactively in calendar buffer, give an error if not on a date.
10279
13932042
GM
102802012-02-15 Glenn Morris <rgm@gnu.org>
10281
10282 * shell.el (shell-delimiter-argument-list):
10283 Revert 2011-02-17 change. (Bug#8027)
10284
c3a70e2b
CY
102852012-02-15 Chong Yidong <cyd@gnu.org>
10286
60236b0d
CY
10287 * minibuffer.el (completion-at-point-functions): Doc fix.
10288
c3a70e2b
CY
10289 * custom.el (defcustom): Doc fix; note use of defvar.
10290
9f26dc24
GM
102912012-02-15 Glenn Morris <rgm@gnu.org>
10292
10293 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
10294 Doc fixes.
10295
6546b134
GM
102962012-02-14 Glenn Morris <rgm@gnu.org>
10297
10298 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
10299
d29b2b4c
LI
103002012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
10301
10302 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
10303 way the ports list is computed.
835bdcba
LI
10304 (smtpmail-query-smtp-server): Prompt the user for a port number if
10305 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 10306
08dcdbc9
TZ
103072012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
10308
10309 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
10310
2605051a
GM
103112012-02-13 Glenn Morris <rgm@gnu.org>
10312
10313 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
10314
7ee99f32
TZ
103152012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
10316
10317 * net/gnutls.el (gnutls-trustfiles): New variable.
10318 (gnutls-negotiate): Use it.
10319
5f0af64f
LI
103202012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
10321
10322 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
10323 does its stuff if Gnus is running.
10324
c14fcc95
AM
103252012-02-13 Alan Mackenzie <acm@muc.de>
10326
10327 Fix a loop in c-set-fl-decl-start.
10328
7a71b18d 10329 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
10330 c-backward-syntactic-ws actually moves backwards.
10331
142b4d90
LL
103322012-02-13 Leo Liu <sdl.web@gmail.com>
10333
10334 * net/rcirc.el (rcirc-markup-attributes): Move point to the
10335 beginning so that all \C-o chars are removed.
10336
fa9958a6
TZ
103372012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
10338
dc9924b8 10339 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 10340
0bc5886a
AM
103412012-02-12 Alan Mackenzie <acm@muc.de>
10342
10343 Fix infinite loop with long macros.
4d6769e1 10344 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 10345
d4bd55e7
CY
103462012-02-12 Chong Yidong <cyd@gnu.org>
10347
10348 * window.el (display-buffer): Doc fix (Bug#10785).
10349
66f3fe22
GM
103502012-02-12 Glenn Morris <rgm@gnu.org>
10351
bd7da63e
GM
10352 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10353 (x-disown-selection-internal, x-get-selection-internal):
10354 Sync docs with the xselect.c versions.
10355
66f3fe22
GM
10356 * allout-widgets.el: Add missing license notice.
10357
3e0d2fa7
GM
103582012-02-11 Glenn Morris <rgm@gnu.org>
10359
cfecdf09
GM
10360 * select.el (x-get-selection-internal, x-own-selection-internal)
10361 (x-disown-selection-internal):
10362 * x-dnd.el (x-get-selection-internal): Update declarations.
10363
6d216d7f
GM
10364 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
10365
2bed3f04
GM
10366 * window.el (window-sides-slots):
10367 * tool-bar.el (tool-bar-position):
10368 * term/xterm.el (xterm-extra-capabilities):
10369 * ses.el (ses-self-reference-early-detection):
10370 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
10371 (verilog-auto-wire-type)
10372 (verilog-auto-delete-trailing-whitespace)
10373 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
10374 (verilog-auto-tieoff-declaration):
10375 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
10376 (sql-oracle-statement-starters, sql-oracle-scan-on):
10377 * progmodes/prolog.el (prolog-align-comments-flag)
10378 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
10379 (prolog-left-indent-regexp, prolog-paren-indent-p)
10380 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
10381 (prolog-types, prolog-mode-specificators)
10382 (prolog-determinism-specificators, prolog-directives)
10383 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
10384 (prolog-electric-dot-flag)
10385 (prolog-electric-dot-full-predicate-template)
10386 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
10387 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
10388 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
10389 (prolog-program-switches, prolog-prompt-regexp)
10390 (prolog-debug-on-string, prolog-debug-off-string)
10391 (prolog-trace-on-string, prolog-trace-off-string)
10392 (prolog-zip-on-string, prolog-zip-off-string)
10393 (prolog-use-standard-consult-compile-method-flag)
10394 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
10395 (prolog-imenu-max-lines, prolog-info-predicate-index)
10396 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
10397 (prolog-char-quote-workaround):
10398 * progmodes/cc-vars.el (c-defun-tactic):
10399 * net/tramp.el (tramp-encoding-command-interactive)
10400 (tramp-local-end-of-line):
10401 * net/soap-client.el (soap-client):
10402 * net/netrc.el (netrc-file):
10403 * net/gnutls.el (gnutls):
10404 * minibuffer.el (completion-category-overrides)
10405 (completion-cycle-threshold)
10406 (completion-pcm-complete-word-inserts-delimiters):
10407 * man.el (Man-name-local-regexp):
10408 * mail/feedmail.el (feedmail-display-full-frame):
10409 * international/characters.el (glyphless-char-display-control):
10410 * eshell/em-ls.el (eshell-ls-date-format):
10411 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
10412 (lisp-lambda-list-keyword-parameter-indentation)
10413 (lisp-lambda-list-keyword-parameter-alignment):
10414 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
10415 * dired-x.el (dired-omit-verbose):
10416 * cus-theme.el (custom-theme-allow-multiple-selections):
10417 * calc/calc.el (calc-highlight-selections-with-faces)
10418 (calc-lu-field-reference, calc-lu-power-reference)
10419 (calc-note-threshold):
10420 * battery.el (battery-mode-line-limit):
10421 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10422 (archive-7z-update):
10423 * allout.el (allout-prefixed-keybindings)
10424 (allout-unprefixed-keybindings)
10425 (allout-inhibit-auto-fill-on-headline)
10426 (allout-flattened-numbering-abbreviation):
10427 * allout-widgets.el (allout-widgets-auto-activation)
10428 (allout-widgets-icons-dark-subdir)
10429 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
10430 (allout-widgets-theme-dark-background)
10431 (allout-widgets-theme-light-background)
10432 (allout-widgets-item-image-properties-emacs)
10433 (allout-widgets-item-image-properties-xemacs)
10434 (allout-widgets-run-unit-tests-on-load)
10435 (allout-widgets-time-decoration-activity)
10436 (allout-widgets-hook-error-post-time)
10437 (allout-widgets-track-decoration):
10438 Add missing :version tags to new defcustoms and defgroups.
10439
5fec1b8e
GM
10440 * progmodes/sql.el (sql-ansi-statement-starters)
10441 (sql-oracle-statement-starters): Add custom type.
10442
3e0d2fa7
GM
10443 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
10444 (prolog-system-version): Give it a type.
10445
90b671e2
EZ
104462012-02-11 Eli Zaretskii <eliz@gnu.org>
10447
10448 * term/pc-win.el (x-select-text, x-selection-owner-p)
10449 (x-own-selection-internal, x-disown-selection-internal)
10450 (x-get-selection-internal): Sync doc strings and argument lists
10451 with xselect.c, common-win.el and x-win.el. (Bug#10783)
10452
5eac0c02
LL
104532012-02-11 Leo Liu <sdl.web@gmail.com>
10454
10455 * progmodes/python.el (python-end-of-statement): Fix infinite
10456 loop. (Bug#10788)
10457
f82cb659
GM
104582012-02-10 Glenn Morris <rgm@gnu.org>
10459
10460 * international/mule-cmds.el (unify-8859-on-encoding-mode)
10461 (unify-8859-on-decoding-mode): Properly mark as obsolete.
10462
cc26d239
LI
104632012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10464
10465 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
10466 about SMTP before checking the From header.
10467
91027d08 10468 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
10469 into own function for reuse by emacsbug.el.
10470
1be3ca5a
LL
104712012-02-10 Leo Liu <sdl.web@gmail.com>
10472
10473 * subr.el (condition-case-unless-debug): Rename from
10474 condition-case-no-debug. All callers changed.
10475 (with-demoted-errors): Fix caller.
10476
10477 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10478 * nxml/rng-valid.el (rng-do-some-validation):
10479 * emacs-lisp/package.el (package-refresh-contents)
10480 (package-menu-execute):
10481 * desktop.el (desktop-create-buffer):
91027d08 10482 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 10483
b011fbfe
GM
104842012-02-10 Glenn Morris <rgm@gnu.org>
10485
b2096d72
GM
10486 * textmodes/bibtex.el:
10487 Add missing :version tags for new/changed defcustoms.
10488
b011fbfe
GM
10489 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10490
4c7e65bf
LI
104912012-02-09 Lars Ingebrigtsen <larsi@rusty>
10492
10493 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10494 (smtpmail-via-smtp): Use it, or fall back on the From address.
10495 (smtpmail-send-it): Ditto.
10496
f3934f6f
SM
104972012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10498
10499 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10500 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10501 (byte-compile-tmp-var): New const.
10502 (byte-compile-defvar): Use it to minimize .elc size.
10503 Just use `defvar' rather than simulate it (bug#10761).
10504
a075a2c5
GM
105052012-02-09 Glenn Morris <rgm@gnu.org>
10506
cf3aa21b
GM
10507 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10508
354998cd
GM
10509 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10510 Add :version tags.
10511
dc9924b8
SM
10512 * progmodes/compile.el (compilation-error-screen-columns)
10513 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 10514
dab3703d
GM
10515 * vc/log-view.el (log-view-toggle-entry-display):
10516 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10517
3f88cd72
GM
10518 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10519 (report-emacs-bug-can-use-xdg-email):
10520 (report-emacs-bug-insert-to-mailer): Doc fixes.
10521 (report-emacs-bug): Message fix.
10522
d95b247d
GM
10523 * net/browse-url.el (browse-url-can-use-xdg-open)
10524 (browse-url-xdg-open): Doc fixes.
10525
a075a2c5
GM
10526 * electric.el (electric-indent-mode, electric-pair-mode)
10527 (electric-layout-rules, electric-layout-mode): Doc fixes.
10528 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10529
ffb6157e
MR
105302012-02-08 Martin Rudalics <rudalics@gmx.at>
10531
10532 * server.el (server-unselect-display): Don't inadvertently kill
10533 the current buffer. (Bug#10729)
10534
e1ac4066
GM
105352012-02-08 Glenn Morris <rgm@gnu.org>
10536
34e8a2da
GM
10537 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10538 (sql-list-table): Doc fixes.
10539
b4ac6e8c
GM
10540 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10541 Comment out (does nothing).
10542
e1ac4066
GM
10543 * completion.el (dynamic-completion-mode):
10544 * dirtrack.el (dirtrack-debug-mode):
10545 * electric.el (electric-layout-mode):
10546 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10547 * face-remap.el (text-scale-mode, buffer-face-mode):
10548 * iimage.el (iimage-mode):
10549 * image-mode.el (image-transform-mode):
10550 * minibuffer.el (completion-in-region-mode):
10551 * scroll-lock.el (scroll-lock-mode):
10552 * simple.el (next-error-follow-minor-mode):
10553 * tar-mode.el (tar-subfile-mode):
10554 * tooltip.el (tooltip-mode):
10555 * vcursor.el (vcursor-use-vcursor-map):
10556 * wid-browse.el (widget-minor-mode):
10557 * emulation/tpu-edt.el (tpu-edt-mode):
10558 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10559 * international/iso-ascii.el (iso-ascii-mode):
10560 * language/thai-util.el (thai-word-mode):
10561 * mail/supercite.el (sc-minor-mode):
10562 * net/goto-addr.el (goto-address-mode):
10563 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10564 * progmodes/cwarn.el (cwarn-mode):
10565 * progmodes/flymake.el (flymake-mode):
10566 * progmodes/glasses.el (glasses-mode):
10567 * progmodes/hideshow.el (hs-minor-mode):
10568 * progmodes/pascal.el (pascal-outline-mode):
10569 * textmodes/enriched.el (enriched-mode):
10570 * vc/smerge-mode.el (smerge-mode):
10571 Doc fixes (minor mode argument).
10572
5e0d957f
EZ
105732012-02-07 Eli Zaretskii <eliz@gnu.org>
10574
10575 * ls-lisp.el (ls-lisp-sanitize): New function.
10576 (ls-lisp-insert-directory): Use it to fix or remove any elements
10577 in file-alist with missing attributes. (Bug#4673)
10578
98d7371e
AM
105792012-02-07 Alan Mackenzie <acm@muc.de>
10580
10581 Fix spurious recognition of c-in-knr-argdecl.
10582
10583 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10584 putative K&R region.
10585
667ced3a
AM
105862012-02-07 Alan Mackenzie <acm@muc.de>
10587
eb864a71
LM
10588 * progmodes/cc-engine.el (c-forward-objc-directive):
10589 Prevent looping in "#pragma mark @implementation".
667ced3a 10590
5b77774d
MA
105912012-02-07 Michael Albinus <michael.albinus@gmx.de>
10592
10593 * notifications.el (notifications-on-closed-signal): Make `reason'
10594 optional. (Bug#10744)
10595
af008560
GM
105962012-02-07 Glenn Morris <rgm@gnu.org>
10597
60d47423
GM
10598 * emacs-lisp/easy-mmode.el (define-minor-mode):
10599 Doc fixes for the macro and the mode it defines.
10600
dd605cc4
GM
10601 * image.el (imagemagick-types-inhibit): Doc fix.
10602
af008560
GM
10603 * cus-start.el (imagemagick-render-type): Add it.
10604
5cc59a37
LI
106052012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10606
4d6769e1
JB
10607 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10608 Set the default at load time, too, so that `font-lock-fontify-buffer'
10609 can be called without setting up the entire mode first. This fixes
10610 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 10611
9a6dd747
CY
106122012-02-06 Chong Yidong <cyd@gnu.org>
10613
2d16b285
CY
10614 * simple.el (list-processes--refresh): Delete exited processes
10615 (Bug#8094).
10616
171e9b6e
CY
10617 * comint.el (comint-next-prompt): next-single-char-property-change
10618 and prev-single-char-property-change never return nil (Bug#8657).
10619
9a6dd747
CY
10620 * custom.el (defcustom): Doc fix (Bug#9711).
10621
aa4589a7
CY
106222012-02-05 Chong Yidong <cyd@gnu.org>
10623
5c2a252f
CY
10624 * cus-edit.el (custom-variable-reset-backup): Quote the value
10625 before storing it in the customized-value property (Bug#6712).
4aab9006 10626 (custom-display): Add a customization type tag.
983b9602 10627 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 10628
aa4589a7
CY
10629 * wid-edit.el (widget-field-value-get): New optional arg to
10630 suppress trailing whitespace truncation.
10631 (character): Use it (Bug#2689).
10632
1ff980ae
AS
106332012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10634
10635 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10636 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10637
03988c98
CY
106382012-02-05 Chong Yidong <cyd@gnu.org>
10639
eeb6cc88
CY
10640 * cus-edit.el (custom-variable-value-create): For mismatched
10641 types, show the current value (Bug#7600).
10642
03988c98
CY
10643 * custom.el (defcustom): Doc fix.
10644
f8cdeef0
GM
106452012-02-05 Glenn Morris <rgm@gnu.org>
10646
10647 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10648
0696d255
JB
106492012-02-05 Juanma Barranquero <lekktu@gmail.com>
10650
10651 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10652 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10653 (pp-last-sexp): Use `looking-at-p'.
10654
34c99998
GM
106552012-02-04 Glenn Morris <rgm@gnu.org>
10656
8f05da42
GM
10657 * files.el (revert-buffer):
10658 Doc fix (mention revert-buffer-in-progress-p).
10659
f160676e
GM
10660 * emacs-lisp/ert-x.el (ert-simulate-command):
10661 Check deferred-action-list (which is obsolete) is bound.
10662
c7291ad9
GM
10663 * subr.el (with-wrapper-hook): Doc fixes.
10664
34c99998
GM
10665 * simple.el (filter-buffer-substring-functions)
10666 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10667
6283a7d3
LL
106682012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10669
10670 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10671 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10672
e96e3013
LL
106732012-02-04 Leo Liu <sdl.web@gmail.com>
10674
10675 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10676
8ded50f2
GM
106772012-02-04 Glenn Morris <rgm@gnu.org>
10678
82ff1d13
GM
10679 * image.el (image-extension-data): Add obsolete alias.
10680
987a0a16
GM
10681 * isearch.el (isearch-update): Doc fix.
10682
ea32ef46
GM
10683 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10684
8ded50f2
GM
10685 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10686
eea14f31
GM
106872012-02-03 Glenn Morris <rgm@gnu.org>
10688
10689 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10690 (image-animate-timeout): Doc fix.
10691
10692 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10693
12f381b7
GM
106942012-02-02 Glenn Morris <rgm@gnu.org>
10695
953cebf5
GM
10696 * server.el (server-auth-dir): Doc fix.
10697 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10698
12f381b7
GM
10699 * subr.el (run-mode-hooks): Doc fix.
10700
953a8c3b
JL
107012012-02-02 Juri Linkov <juri@jurta.org>
10702
10703 * image-mode.el (image-toggle-display-image): Remove tautological
10704 `major-mode' from the `derived-mode-p' test.
10705
c5d3843c
KH
107062012-02-02 Kenichi Handa <handa@m17n.org>
10707
9f6e692e 10708 * composite.el (compose-region): Cancel previous change.
c5d3843c 10709
159462d4 107102012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
10711
10712 * composite.el (compose-region, compose-string): Signal error for
10713 a null string component (Bug#6988).
10714
9f562668
CY
107152012-02-01 Chong Yidong <cyd@gnu.org>
10716
e2cef717
CY
10717 * view.el (view-buffer-other-window, view-buffer-other-frame):
10718 Handle special modes like view-buffer (Bug#10650).
10719 (view-buffer): Simplify.
10720
9f562668
CY
10721 * frame.el (set-frame-font): Tweak meaning of third argument.
10722
9f6e692e
JB
10723 * dynamic-setting.el (font-setting-change-default-font):
10724 Use set-frame-font (Bug#9982).
9f562668 10725
781acb9f
GM
107262012-02-01 Glenn Morris <rgm@gnu.org>
10727
6035be52
GM
10728 * progmodes/compile.el (compilation-internal-error-properties):
10729 Respect compilation-first-column in the "*compilation*" buffer.
10730
781acb9f
GM
10731 * emacs-lisp/easy-mmode.el (define-minor-mode):
10732 Relax :variable's test for a named function.
10733
abbceb00
AM
107342012-01-31 Alan Mackenzie <acm@muc.de>
10735
10736 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10737 off by one error.
10738
fce3fdeb
CY
107392012-01-31 Chong Yidong <cyd@gnu.org>
10740
10741 * frame.el (set-frame-font): New arg ALL-FRAMES.
10742
10743 * menu-bar.el (menu-set-font): Use set-frame-font.
10744
10745 * faces.el (face-spec-reset-face): Don't apply unspecified
10746 attribute values to the default face.
10747
47893581
JB
107482012-01-31 Juanma Barranquero <lekktu@gmail.com>
10749
10750 * progmodes/cwarn.el (cwarn): Remove dead link.
10751 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10752 Remove * from defcustom docstrings.
10753 (turn-on-cwarn-mode): Make obsolete.
10754 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10755 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10756
e58e988a
GM
107572012-01-31 Glenn Morris <rgm@gnu.org>
10758
60dc2671 10759 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 10760 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 10761 Allow named functions to be used as the cdr of :variable.
e58e988a 10762
7a3f511d
GM
107632012-01-30 Glenn Morris <rgm@gnu.org>
10764
10765 * emacs-lisp/authors.el (authors-fixed-entries):
10766 Remove reference to deleted file rnewspost.el.
10767
cb882333
JB
107682012-01-29 Juanma Barranquero <lekktu@gmail.com>
10769
10770 * window.el (window-with-parameter): Remove unused variable `windows'.
10771 (window--side-check): Remove unused variable `code'.
10772 (window--resize-siblings): Remove unused variable `first'.
10773 (adjust-window-trailing-edge): Remove unused variable `failed'.
10774 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10775 Use `let', not `let*'.
10776 (balance-windows-2): Remove unused variable `found'.
10777 (window--state-put-2): Remove unused variable `splits'.
10778 (window-state-put): Remove unused variable `selected'.
10779 (same-window-p): Use `string-match-p'.
10780 (display-buffer-assq-regexp): Remove unused variable `value'.
10781 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10782 Mark argument ALIST as ignored.
10783 (pop-to-buffer): Remove unused variable `old-window'.
10784
907201af
EZ
107852012-01-29 Eli Zaretskii <eliz@gnu.org>
10786
10787 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10788 and .lzma compressed files.
10789
ea162670
CY
107902012-01-29 Chong Yidong <cyd@gnu.org>
10791
5b95ee8a
CY
10792 * frame.el (window-system-default-frame-alist): Doc fix.
10793
ea162670
CY
10794 * dynamic-setting.el (font-setting-change-default-font): Don't
10795 change the default face if SET-FONT argument is non-nil (Bug#9982).
10796
d6e6f4b1
SB
107972012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10798
10799 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10800
0f29fa41 108012012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
10802
10803 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10804 breakpoints in files outside current directory (Bug#6098).
10805
db174434
CY
108062012-01-29 Chong Yidong <cyd@gnu.org>
10807
6b25e4e2
SE
10808 * progmodes/python.el: Require ansi-color at top-level.
10809
6df6ae42
JB
10810 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10811 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
10812 (lisp-mode-abbrev-table): Add doc.
10813 (lisp-mode-variables): Don't set local-abbrev-table.
10814 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10815
e70ee681
RW
108162012-01-28 Roland Winkler <winkler@gnu.org>
10817
10818 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10819
ace88aa2
RW
108202012-01-28 Roland Winkler <winkler@gnu.org>
10821
10822 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10823 (bibtex-set-dialect): Use it. Either set global values of
10824 dialect-dependent variables or bind these variables buffer-locally
10825 (Bug#10254).
10826 (bibtex-mode): Call bibtex-set-dialect via
10827 hack-local-variables-hook.
eb864a71
LM
10828 (bibtex-dialect): Update docstring.
10829 Add safe-local-variable predicate.
ace88aa2
RW
10830 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10831 bibtex-set-dialect.
10832 (bibtex-mode-map): Define menu for each dialect.
10833 (bibtex-entry): Fix docstring.
10834
93376c5b
CY
108352012-01-28 Chong Yidong <cyd@gnu.org>
10836
10837 * eshell/esh-arg.el (eshell-quote-argument): New function.
10838
10839 * eshell/esh-ext.el (eshell-invoke-batch-file):
10840 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10841 first arg to eshell-parse-command (Bug#10523).
10842
4372494f
DA
108432012-01-28 Drew Adams <drew.adams@oracle.com>
10844
10845 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10846 `default-directory' is non-nil.
10847
4d4ec1f8
EZ
108482012-01-28 Eli Zaretskii <eliz@gnu.org>
10849
10850 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10851 line that displays system-configuration-options. (Bug#9924)
10852
7c188927
DA
108532012-01-28 Drew Adams <drew.adams@oracle.com>
10854
10855 * descr-text.el (describe-char): Show information about POS, in
10856 addition to information about the character at POS. Improve and
10857 update the doc string. Change "code point" to "code point in
10858 charset", to avoid confusion with the character's Unicode code
10859 point shown above that. (Bug#10129)
10860
e0da685a
EZ
108612012-01-28 Eli Zaretskii <eliz@gnu.org>
10862
10863 * descr-text.el (describe-char): Show the raw character, not only
10864 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10865 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10866 for the reasons.
10867
70550acf
PH
108682012-01-28 Phil Hagelberg <phil@hagelb.org>
10869
eb864a71
LM
10870 * emacs-lisp/package.el (package-install):
10871 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 10872
0ce8e868
CY
108732012-01-28 Chong Yidong <cyd@gnu.org>
10874
cb882333
JB
10875 * emacs-lisp/package.el (package-maybe-load-descriptor):
10876 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
10877 (package-maybe-load-descriptor): Use it.
10878 (package-download-transaction): Fully load required packages
10879 inside the loop, so that `require' calls work (Bug#10593).
10880 (package-install): No need to call package-initialize now.
10881
2e7f3bea
CY
108822012-01-28 Chong Yidong <cyd@gnu.org>
10883
6e9bad14
CY
10884 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10885
f823b8ca
CY
10886 * tooltip.el (tooltip-mode): Doc fix.
10887 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10888
2680c309
CY
10889 * frame.el (set-cursor-color): Doc fix (Bug#352).
10890
d7a9e63b
CY
10891 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10892 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10893
2e7f3bea
CY
10894 * cus-edit.el (custom-buffer-create-internal): Fix search button
10895 action (Bug#10542).
2ae01800 10896 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 10897
fc4f7a23
EW
108982012-01-27 Eduard Wiebe <usenet@pusto.de>
10899
10900 * dired.el (dired-mark-files-regexp):
10901 Include any subdirectory components. (Bug#10445)
10902
7dd37071
ML
109032012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10904
10905 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10906 Handle [host]:port syntax. (Bug#10533)
10907
a268160b
AH
109082012-01-27 Alex Harsanyi <harsanyi@mac.com>
10909
10910 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10911
e43273ef
GM
109122012-01-26 Glenn Morris <rgm@gnu.org>
10913
10914 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10915 * term.el (term-raw-escape-map): Use Control-X-prefix.
10916 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10917
1edf595d
MR
109182012-01-25 Martin Rudalics <rudalics@gmx.at>
10919
10920 * window.el (window-state-get, window--state-get-1): Don't deal
10921 with fixed-sizeness of windows. Simplify code.
10922
fa8eafef
JC
109232012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10924
6df6ae42
JB
10925 * window.el (window--state-get-1, window--state-put-2):
10926 Don't save and restore the mark.
fa8eafef 10927
0b21c100
CY
109282012-01-25 Chong Yidong <cyd@gnu.org>
10929
10930 * custom.el (custom-variable-p): Doc fix.
10931
5ae1a6c8
GM
109322012-01-25 Glenn Morris <rgm@gnu.org>
10933
40047858
GM
10934 * dired.el (dired-goto-file): Handle some of the more common
10935 characters that `ls -b' escapes. (Bug#10596)
10936
5ddce96c
GM
10937 * progmodes/compile.el (compilation-next-error-function):
10938 Respect compilation-first-column in the "*compilation*" buffer.
10939 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10940
5ae1a6c8
GM
10941 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10942
b559f1a9
GM
109432012-01-24 Glenn Morris <rgm@gnu.org>
10944
10945 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10946
6725d21a
JD
109472012-01-24 Julien Danjou <julien@danjou.info>
10948
10949 * color.el (color-rgb-to-hsl): Fix value computing.
10950 (color-hue-to-rgb): New function.
10951 (color-hsl-to-rgb): New function.
10952 (color-clamp, color-saturate-hsl, color-saturate-name)
10953 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10954 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10955
70df4bbe
GM
109562012-01-24 Glenn Morris <rgm@gnu.org>
10957
10958 * vc/vc-rcs.el (vc-rcs-create-tag):
10959 * vc/vc-sccs.el (vc-sccs-create-tag):
10960 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10961
802a2ae2
ML
109622012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10963
10964 * eshell/esh-util.el (eshell-read-hosts-file):
10965 Skip comment lines. (Bug#10549)
10966
d7128bb1
ML
10967 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10968
d1a5c3b4
JB
109692012-01-23 Juanma Barranquero <lekktu@gmail.com>
10970
2724d9c7
JB
10971 * subr.el (display-delayed-warnings): Doc fix.
10972 (collapse-delayed-warnings): New function to collapse identical
10973 adjacent warnings.
10974 (delayed-warnings-hook): Add it.
d1a5c3b4 10975
a5509865
MA
109762012-01-22 Michael Albinus <michael.albinus@gmx.de>
10977
10978 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10979
a5509865
MA
10980 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10981 (tramp-default-user-alist): Don't add "pscp".
10982 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10983 property "login-as", if set. (Bug#10530)
10984
cc6d5805
MA
109852012-01-21 Michael Albinus <michael.albinus@gmx.de>
10986
10987 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10988 "plink1" and "psftp". (Bug#10530)
10989
109902012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
10991
10992 * international/mule-cmds.el (prefer-coding-system): Show a
10993 warning message if the default value of file-name-coding-system
10994 was not changed.
10995
f0960428
JC
109962012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10997
cb882333
JB
10998 * windmove.el (windmove-reference-loc):
10999 Fix windmove-reference-loc miscalculation.
f0960428 11000
dd6f2a63
JB
110012012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
11002
11003 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
11004 default unit.
11005
7b447e9b
GM
110062012-01-21 Glenn Morris <rgm@gnu.org>
11007
117a9ea1
GM
11008 * international/mule.el (auto-coding-alist): Add .tbz.
11009
7b447e9b
GM
11010 * files.el (local-enable-local-variables): Doc fix.
11011 (inhibit-local-variables-regexps): Rename from
11012 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
11013 Doc fix. Add some extensions from auto-coding-alist.
11014 (inhibit-local-variables-suffixes):
11015 Rename from inhibit-first-line-modes-suffixes. Doc fix.
11016 (inhibit-local-variables-p):
11017 New function, extracted from set-auto-mode-1.
11018 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
11019 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
11020 (hack-local-variables): Doc fix. Make the mode-only case
11021 respect enable-local-variables and friends.
11022 Respect inhibit-local-variables-regexps for file-locals, but
11023 not for directory-locals.
11024 (set-visited-file-name):
11025 Take account of inhibit-local-variables-regexps.
11026 Whether it applies may change as the file name is changed.
11027 * jka-cmpr-hook.el (jka-compr-install):
11028 * jka-compr.el (jka-compr-uninstall):
11029 Update for inhibit-first-line-modes-suffixes name change.
11030
dd6e3cdd
MR
110312012-01-20 Martin Rudalics <rudalics@gmx.at>
11032
11033 * help-macro.el (make-help-screen): Temporarily restore original
11034 binding for minor-mode-map-alist (Bug#10454).
11035
0d0deb38
JD
110362012-01-19 Julien Danjou <julien@danjou.info>
11037
11038 * color.el (color-name-to-rgb): Use the white color to find the max
11039 color component value and return correctly computed values.
11040 (color-name-to-rgb): Add missing float conversion for max value.
11041
34a02f46
MR
110422012-01-19 Martin Rudalics <rudalics@gmx.at>
11043
11044 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
11045 special state value for window-persistent-parameters.
11046 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
11047 (window--state-put-2): Reset all window parameters to nil before
11048 assigning values of persistent parameters.
11049
606c44c4
AM
110502012-01-18 Alan Mackenzie <acm@muc.de>
11051
11052 Eliminate sluggishness and hangs in fontification of "semicolon
11053 deserts".
11054
cb882333
JB
11055 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
11056 Change value 10000 -> 3000.
606c44c4
AM
11057 (c-state-safe-place): Reformulate so it doesn't stack up an
11058 infinite number of wrong entries in c-state-nonlit-pos-cache.
11059 (c-determine-limit-get-base, c-determine-limit): New functions to
11060 determine backward search limits disregarding literals.
11061 (c-find-decl-spots): Amend commenting.
11062 (c-cheap-inside-bracelist-p): New function which detects "={".
11063
11064 * progmodes/cc-fonts.el
11065 (c-make-font-lock-BO-decl-search-function): Give a limit to a
11066 backward search.
11067 (c-font-lock-declarations): Fix an occurrence of point being
11068 undefined. Check additionally for point being in a bracelist or
11069 near a macro invocation without a semicolon so as to avoid a
11070 fruitless time consuming search for a declarator. Give a more
11071 precise search limit for declarators using the new
11072 c-determine-limit.
11073
f3860cea
GM
110742012-01-18 Glenn Morris <rgm@gnu.org>
11075
11076 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
11077 (set-auto-mode): Doc fixes.
11078
1db03b16
GM
110792012-01-17 Glenn Morris <rgm@gnu.org>
11080
0e6038be
GM
11081 * isearch.el (search-nonincremental-instead): Fix doc typo.
11082
1db03b16
GM
11083 * dired.el (dired-insert-directory): Handle newlines in directory name.
11084 (dired-build-subdir-alist): Unescape newlines in directory name.
11085
4cb0aa75
MA
110862012-01-17 Michael Albinus <michael.albinus@gmx.de>
11087
11088 * net/tramp.el (tramp-local-end-of-line): New defcustom.
11089 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
11090 (tramp-action-terminal): Use it. (Bug#10530)
11091
1d00653d
SM
110922012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
11093
11094 * minibuffer.el (completion--replace): Strip properties (bug#10062).
11095
6a6ee00d
MR
110962012-01-16 Martin Rudalics <rudalics@gmx.at>
11097
11098 * window.el (window-state-ignored-parameters): Remove variable.
11099 (window--state-get-1): Rename argument MARKERS to IGNORE.
11100 Handle persistent window parameters. Make copy of clone-of
11101 parameter only if requested. (Bug#10348)
11102 (window--state-put-2): Install a window parameter only if it has
11103 a non-nil value or an existing parameter shall be overwritten.
11104
97912def
MA
111052012-01-15 Michael Albinus <michael.albinus@gmx.de>
11106
11107 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
11108
688070a5
EZ
111092012-01-14 Eli Zaretskii <eliz@gnu.org>
11110
11111 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
11112 don't pass the (nil) value of `upnode' to string-match.
11113
301afadc
CY
111142012-01-14 Chong Yidong <cyd@gnu.org>
11115
11116 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 11117 Fix values recognized by the cursorBlink resource.
301afadc 11118
9e5788aa
PE
111192012-01-14 Paul Eggert <eggert@cs.ucla.edu>
11120
11121 * epg.el (epg--make-temp-file): Avoid permission race condition
11122 when running on old Emacs versions (bug#10403).
11123
3cdb7f5a
GM
111242012-01-14 Glenn Morris <rgm@gnu.org>
11125
11126 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
11127
8c82b1b4
AM
111282012-01-13 Alan Mackenzie <acm@muc.de>
11129
11130 Fix filling for when filladapt mode is enabled.
11131
11132 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
11133 c-mask-paragraph, pass in `fill-paragraph' rather than
11134 `fill-region-as-paragraph'. (This is a reversion of a previous
11135 change.)
eb864a71
LM
11136 * progmodes/cc-mode.el (c-basic-common-init):
11137 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 11138
e517eda4
GM
111392012-01-13 Glenn Morris <rgm@gnu.org>
11140
1498536e
GM
11141 * dired.el (dired-switches-escape-p): New function.
11142 (dired-insert-directory): Use dired-switches-escape-p.
11143 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
11144
e517eda4
GM
11145 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
11146
328f984d
GM
111472012-01-12 Glenn Morris <rgm@gnu.org>
11148
11149 * mail/sendmail.el (mail-mode): Update paragraph-separate for
11150 changes in adaptive-fill-regexp. (Bug#10276)
11151
2cc769a8
AM
111522012-01-11 Alan Mackenzie <acm@muc.de>
11153
11154 Fix Emacs bug #10463 - put `widen's around the critical spots.
11155
1d00653d 11156 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
11157 widen around each invocation of c-state-pp-to-literal. Remove an
11158 unused let variable.
11159
e52c37fa
GM
111602012-01-11 Glenn Morris <rgm@gnu.org>
11161
11162 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 11163 Doc fix.
e52c37fa 11164
96f8741e
CY
111652012-01-10 Chong Yidong <cyd@gnu.org>
11166
1d00653d
SM
11167 * net/network-stream.el (network-stream-open-starttls):
11168 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
11169 response to the capability command.
11170
b09a806e
GM
111712012-01-10 Glenn Morris <rgm@gnu.org>
11172
11173 * mail/unrmail.el (unrmail): Tweak previous change.
11174
7655cb66
CY
111752012-01-09 Chong Yidong <cyd@gnu.org>
11176
11177 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
11178
9d5a8f0b
AM
111792012-01-08 Alan Mackenzie <acm@muc.de>
11180
11181 Optimise font locking in long enum definitions.
11182
11183 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
11184 arm to a cond form to handle enums.
11185 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
11186 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
11187
9a0115ab 111882012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
11189
11190 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 11191 (Bug#10401)
6bb72cbd 11192
f186bb95
LMI
111932012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11194
29232a68
LMI
11195 * faces.el (set-face-attribute): Clarify the meaning of the nil
11196 frame (bug#10294).
11197
4e5d086d
LMI
11198 * subr.el (with-selected-frame): Mention that the selected frame
11199 is restored (bug#9980).
11200
8e66aebe
LMI
11201 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
11202 (bug#9759).
11203
cd394be1 11204 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
11205 (password-read): Don't autoload unused function.
11206
adf4e762
JB
112072012-01-07 Juanma Barranquero <lekktu@gmail.com>
11208
11209 * progmodes/which-func.el (which-func-mode): Turn into a
11210 non-interactive function and mark as obsolete (bug#10428).
11211
89bd9ccd
CY
112122012-01-06 Chong Yidong <cyd@gnu.org>
11213
11214 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
11215 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
11216 functions, along with 1 and -1.
11217
4afee9d5
EZ
112182012-01-06 Eli Zaretskii <eliz@gnu.org>
11219
11220 * time.el (display-time-load-average)
11221 (display-time-default-load-average): Doc fixes. See the thread
11222 starting at
11223 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
11224 for the details.
11225
536aea70
GM
112262012-01-06 Glenn Morris <rgm@gnu.org>
11227
665ae865
GM
11228 * mail/unrmail.el (unrmail): Give an explicit error if the input file
11229 has no messages. (Bug#10377)
11230
c869783d
GM
11231 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
11232 than Info-edit. (Bug#10385)
11233
2bb4227e
GM
11234 * time.el (display-time-load-average, display-time-next-load-average):
11235 Doc fixes.
11236
7d5944b9
GM
11237 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
11238 local setting of buffer-read-only to the input buffer. (Bug#10419)
11239
536aea70
GM
11240 * calendar/calendar.el (calendar-mode):
11241 Locally set scroll-margin to 0. (Bug#10379)
11242
7dccca16
UM
112432012-01-06 Ulrich Mueller <ulm@gentoo.org>
11244
11245 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
11246
afbb7930
GM
112472012-01-05 Glenn Morris <rgm@gnu.org>
11248
11249 * eshell/em-unix.el (diff-no-select): Autoload it.
11250 (eshell/diff): Use diff-no-select. (Bug#10420)
11251
04482335
CY
112522012-01-05 Chong Yidong <cyd@gnu.org>
11253
7baca3bc
CY
11254 * shell.el (shell-dynamic-complete-functions): Revert last change.
11255 (shell-command-completion-function): New function.
11256 (shell-completion-vars): Use it to implement
11257 shell-completion-execonly (Bug#10417).
11258
04482335
CY
11259 * custom.el (enable-theme): Don't set custom-safe-themes.
11260
1d00653d
SM
11261 * cus-theme.el (custom-theme-merge-theme):
11262 Ignore custom-enabled-themes and custom-safe-themes.
04482335 11263
bb5aa5d6
MM
112642012-01-05 Michael R. Mauger <mmaug@yahoo.com>
11265
11266 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
11267 first prompt in `sql-interacive-mode'.
11268 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 11269 keywords.
6df6ae42 11270 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
11271 (sql-product-interactive): Bug fix: Set `sql-buffer' in
11272 context of original buffer. Invoke `sql-login-hook'.
11273
a7183d7c
EZ
112742012-01-04 Eli Zaretskii <eliz@gnu.org>
11275
11276 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
11277 letters in cite-prefix.
11278
a1eacd1e
LMI
112792012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11280
11281 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
11282
787cdb34
CY
112832012-01-03 Chong Yidong <cyd@gnu.org>
11284
1d00653d
SM
11285 * shell.el (shell-dynamic-complete-functions):
11286 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
11287 comint-filename-completion first (Bug#10417).
11288
30710442
RS
112892012-01-02 Richard Stallman <rms@gnu.org>
11290
11291 * battery.el (battery-status-function):
11292 Detect when to use battery-yeeloong-sysfs.
11293 (battery-echo-area-format): Add string for Yeeloong.
11294 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
11295 (battery-yeeloong-sysfs): New function.
11296
f75bfc33
CY
112972012-01-02 Chong Yidong <cyd@gnu.org>
11298
11299 * dirtrack.el (dirtrack-list): Eliminate unused third element.
11300 (dirtrack): Merge code for handling relative filenames in prompt
11301 from shell-dir-cookie-watcher.
11302 (dirtrack-debug-message): New arg to avoid excess format calls.
11303
11304 * shell.el (shell-dir-cookie-re): Variable deleted.
11305 (shell-dir-cookie-watcher): Function deleted.
11306 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
11307 with dirtrack-mode.
11308
651e947e
EZ
113092012-01-01 Eli Zaretskii <eliz@gnu.org>
11310
1d00653d
SM
11311 * term/w32-win.el (dynamic-library-alist) <gnutls>:
11312 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
11313 libgnutls-26.dll.
11314
94d4c7dc
AS
113152011-12-31 Andreas Schwab <schwab@linux-m68k.org>
11316
11317 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
11318
8d43f3cd
EZ
113192011-12-31 Eli Zaretskii <eliz@gnu.org>
11320
11321 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
11322 headers of non-MIME messages, when rmail-enable-mime is non-nil.
11323
98c8795a
MA
113242011-12-29 Michael Albinus <michael.albinus@gmx.de>
11325
11326 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
11327 also for alternative shells.
11328 (tramp-open-connection-setup-interactive-shell): Check, whether
11329 the shell is a busybox.
11330 (tramp-send-command): Don't suppress multiple prompts for
11331 busyboxes, it hurts.
11332
51281b32
CY
113332011-12-28 Chong Yidong <cyd@gnu.org>
11334
11335 * progmodes/gdb-mi.el (gdb-get-source-file-list)
11336 (gdb-get-source-file): Move mode line update to
11337 gdb-get-source-file (Bug#10087).
11338
2170cb53
CY
113392011-12-25 Chong Yidong <cyd@gnu.org>
11340
11341 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
11342 gud-gdb-marker-filter without taking it as an argument.
11343 (gud-gdb-run-command-fetch-lines): Caller changed.
11344 (gud-gdb-completion-function): New variable.
11345 (gud-gdb-completion-at-point): Use it.
11346 (gud-gdb-completions-1): Split from gud-gdb-completions.
11347
11348 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
11349 function as separate arguments.
11350 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
11351 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
11352 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
11353 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
11354 (gdb-stopped, def-gdb-auto-update-trigger)
11355 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
11356 (gdb-get-changed-registers, gdb-get-main-selected-frame):
11357 Callers changed.
2170cb53
CY
11358 (gud-gdbmi-completions): New function.
11359 (gdb): Use it for generating the completion table.
11360
be8b11bb
AM
113612011-12-24 Alan Mackenzie <acm@muc.de>
11362
11363 Introduce a mechanism to widen the region used in context font
1d00653d 11364 locking. Use this to protect declarations from losing their contexts.
be8b11bb 11365
1d00653d
SM
11366 * progmodes/cc-langs.el (c-before-font-lock-functions):
11367 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 11368 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
11369 functions to be run just before context (etc.) font locking.
11370
11371 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 11372 New, functionality extracted from
be8b11bb 11373 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 11374 (c-in-after-change-fontification): New variable.
be8b11bb
AM
11375 (c-after-change): Set c-in-after-change-fontification.
11376 (c-set-fl-decl-start): Rejig its interface, so it can be called
11377 from both after-change and context fontifying.
b81d40f0
JB
11378 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
11379 New functions.
11380 (c-standard-font-lock-fontify-region-function): New variable.
11381 (c-font-lock-fontify-region): New function.
be8b11bb 11382
341cf6ac
JL
113832011-12-24 Juri Linkov <juri@jurta.org>
11384
11385 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
11386 (Bug#10348)
11387
bffcee0a
MA
113882011-12-23 Michael Albinus <michael.albinus@gmx.de>
11389
11390 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
11391 existence of source file. (Bug#10325)
11392
cb5e207c
AM
113932011-12-23 Alan Mackenzie <acm@muc.de>
11394
11395 Fix unstable fontification inside templates.
11396
b81d40f0
JB
11397 * progmodes/cc-langs.el (c-before-font-lock-functions):
11398 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
11399 additionally has c-set-fl-decl-start. The other languages (apart
11400 from AWK) have that as a single entry.
11401
b81d40f0
JB
11402 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11403 The functionality for "local" declarations has been extracted to
cb5e207c
AM
11404 c-set-fl-decl-start.
11405
b81d40f0
JB
11406 * progmodes/cc-mode.el (c-common-init, c-after-change):
11407 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
11408 (c-set-fl-decl-start): New function, extracted from
11409 c-font-lock-enclosing-decls and enhanced.
11410
60ff536c
JB
114112011-12-23 Juanma Barranquero <lekktu@gmail.com>
11412
11413 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
11414
1c4757d6
JL
114152011-12-22 Juri Linkov <juri@jurta.org>
11416
11417 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
11418
d031f2c7
CY
114192011-12-22 Chong Yidong <cyd@gnu.org>
11420
11421 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
11422
bace743a
DA
114232011-12-21 Drew Adams <drew.adams@oracle.com>
11424
11425 * files.el (file-remote-p): Fix docstring. (Bug#10319)
11426
728a1f2b
JC
114272011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11428
11429 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
11430
0d373f73
TZ
114312011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
11432
fec0aaa4
TZ
11433 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
11434 highlighting and support. Fix up comments for capitalization.
11435 (cfengine-mode-debug): New var.
11436 (cfengine3-mode): Change the modeline indicator to "CFE3".
11437 (cfengine3-font-lock-keywords): Improve defun highlighting.
11438 (cfengine2-actions): Rename from `cfengine-actions'.
11439 (cfengine2-font-lock-keywords): Rename from
11440 `cfengine-font-lock-keywords'.
11441 (cfengine2-imenu-expression): Rename from
11442 `cfengine-imenu-expression'.
11443 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
11444 (cfengine2-beginning-of-defun): Rename from
11445 `cfengine-beginning-of-defun'.
11446 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
11447 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
11448 (cfengine2-mode): Rename from `cfengine-mode'. Change the
11449 modeline indicator to "CFE2".
11450 (cfengine-mode): Defalias to `cfengine-auto-mode'.
11451 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 11452
bc86f573
CY
114532011-12-21 Chong Yidong <cyd@gnu.org>
11454
11455 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
11456 filename argument.
11457
d45ba96b
MR
114582011-12-20 Martin Rudalics <rudalics@gmx.at>
11459
11460 * window.el (window-normalize-buffer-to-display): Remove.
11461 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
11462
a6198c90
CY
114632011-12-19 Chong Yidong <cyd@gnu.org>
11464
11465 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
11466 Don't signal an error in a predicate function; return non-nil.
11467 (vc-dir-mark-file): Move the error here.
11468 (vc-dir-mark-unmark): If acting on the region, keep going if one
11469 of the entries cannot be marked/unmarked.
11470 (vc-dir-mark-all-files): If current entry is a directory, mark
11471 only child files, as documented.
11472
34c5fb55
VB
114732011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
11474
11475 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11476 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11477 addition.
11478
c803b2b7
JD
114792011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11480
11481 * term/ns-win.el (ns-get-selection-internal)
11482 (ns-store-selection-internal): Declare.
1154d12e
JB
11483 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11484 Declare as obsolete.
11485 (ns-get-pasteboard, ns-paste-secondary):
11486 Use ns-get-selection-internal.
41e9b956 11487 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 11488 Use ns-store-selection-internal.
c803b2b7 11489
9cff91f8 114902011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
11491
11492 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 11493 (vc-deduce-fileset): Doc fix.
99a289d9 11494
f16c898a
AS
114952011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11496
11497 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11498
763237c4
SS
114992011-12-13 Sam Steingold <sds@gnu.org>
11500
11501 * man.el (Man-getpage-in-background): When running under a
11502 window-system, ignore $MANWIDTH and $COLUMNS.
11503
5fc1c122
KH
115042011-12-15 Kenichi Handa <handa@m17n.org>
11505
11506 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11507 (setup-ethiopic-environment-internal): Comment out key-binding for
11508 ethio-toggle-punctuation.
11509
13d49cbb
AM
115102011-12-13 Alan Mackenzie <acm@muc.de>
11511
898169a2
AM
11512 Add the switch statement to AWK Mode.
11513
7a71b18d 11514 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
11515 "default" to the keywords regexp.
11516
7a71b18d 11517 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 11518 expression as the rest.
1d00653d
SM
11519 (c-nonlabel-token-key): Allow string literals for AWK.
11520 Refactor for the other modes.
898169a2 11521
13d49cbb 11522 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 11523 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
11524 routines. Limit backward searching in c-font-lock-enclosing.decl.
11525
11526 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11527 pp-state and literal type in addition to the limits.
1d00653d 11528 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 11529 (c-state-literal-at): Use the above new defun.
1d00653d
SM
11530 (c-slow-in-literal, c-fast-in-literal): Remove.
11531 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
11532
11533 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11534 being in a literal. Add a limit for backward searching.
11535
11536 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11537 c-slow-in-literal.
11538
15e0efc7
SM
115392011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11540
11541 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11542
454592a6
MR
115432011-12-13 Martin Rudalics <rudalics@gmx.at>
11544
11545 * window.el (delete-other-windows): Use correct frame in call to
11546 window-with-parameter.
11547
87393f26
DP
115482011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11549
11550 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11551 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11552 (makefile-gmake-statements, makefile-makepp-statements):
11553 Use it and add new makepp keywords.
11554 (makefile-makepp-font-lock-keywords): Add new patterns.
11555 (makefile-match-function-end): Match new [...] and [[...]].
11556
11636b22
JB
115572011-12-11 Juanma Barranquero <lekktu@gmail.com>
11558
11559 * ses.el (ses-call-printer-return, ses-cell-property-get)
11560 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11561 (ses-create-cell-variable, ses-reset-header-string)
11562 (ses-cell-set-formula, ses-repair-cell-reference-all)
11563 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11564 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11565 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11566 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11567 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11568 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11569 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11570 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11571 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11572 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11573 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11574 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11575
cf018193
VB
115762011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11577
11578 * ses.el: The overall change is to add cell renaming, that is
11579 setting fancy names for cell symbols other than name matching
11580 "\\`[A-Z]+[0-9]+\\'" regexp .
11581 (ses-create-cell-variable): New defun.
11582 (ses-relocate-formula): Relocate formulas only for cells the
11583 symbols of which are not renamed, i.e. symbols whose names do not
11584 match regexp "\\`[A-Z]+[0-9]+\\'".
11585 (ses-relocate-all): Relocate values only for cells the symbols of
11586 which are not renamed.
11587 (ses-load): Create cells variables as the (ses-cell ...) are read,
11588 in order to check row col consistency with cell symbol name only
11589 for cells that are not renamed.
11590 (ses-replace-name-in-formula): New defun.
11591 (ses-rename-cell): New defun.
11592
ee957461
CY
115932011-12-11 Chong Yidong <cyd@gnu.org>
11594
11595 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11596 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11597
9a9e9ef0
MR
115982011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11599
11600 * window.el (other-window): Fix docstring.
11601
92a8eba5
EZ
116022011-12-10 Eli Zaretskii <eliz@gnu.org>
11603
11604 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
11605 `from' or `to' address before taking its substring.
11606 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
11607 encoded name is chopped in the middle of the encoded string, and
11608 thus displayed encoded.
11609
e152e577
JB
116102011-12-10 Juanma Barranquero <lekktu@gmail.com>
11611
11612 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11613
e5d84bfe
EZ
116142011-12-10 Eli Zaretskii <eliz@gnu.org>
11615
11616 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11617 to use texinfo-update-node and commands that call it if the
11618 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 11619 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
11620 (texinfo-all-menus-update, texinfo-master-menu)
11621 (texinfo-update-node, texinfo-every-node-update)
11622 (texinfo-multiple-files-update): Doc fix. Warn against updating
11623 all the @node lines.
11624 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
11625 argument is numeric. Explain better in the doc string what the
11626 function really does.
11627 (texinfo-insert-master-menu-list): Improve the error message
11628 displayed if there's no menu in the Top node.
11629 (Bug#2975) See also this thread:
e5d84bfe
EZ
11630 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11631
1d84e9bb
MG
116322011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11633
11634 * speedbar.el (speedbar-supported-extension-expressions):
11635 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11636
382c953b
JB
116372011-12-09 Juanma Barranquero <lekktu@gmail.com>
11638
11639 * printing.el (pr-mode-alist):
11640 * simple.el (filter-buffer-substring-functions)
11641 (completion-list-insert-choice-function):
11642 * window.el (window-with-parameter, window-atom-root)
11643 (window-sides-slots, window-size-fixed, window-min-delta)
11644 (window-max-delta, window--resize-mini-window)
11645 (window--resize-child-windows-normal, window-tree)
11646 (delete-other-windows, quit-window, split-window)
11647 (display-buffer-record-window, special-display-buffer-names)
11648 (special-display-regexps, special-display-popup-frame)
11649 (same-window-p, split-window-sensibly)
11650 (display-buffer-overriding-action, display-buffer-alist)
11651 (display-buffer-base-action, display-buffer, switch-to-buffer)
11652 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11653 (fit-window-to-buffer, recenter-positions)
11654 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11655 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11656 and remove unneeded backslashes in docstrings.
11657
39c9faef
SM
116582011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11659
98449af8
SM
11660 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11661
39c9faef
SM
11662 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11663 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11664 end in ".mk".
11665 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11666 when reading the makefile (bug#10116).
11667
86ed9fdc
SM
116682011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11669
11670 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11671 (bug#10116).
11672
5580f89d
GM
116732011-12-06 Glenn Morris <rgm@gnu.org>
11674
11675 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11676
28d3917c
CY
116772011-12-06 Chong Yidong <cyd@gnu.org>
11678
11679 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11680
a98edce9
JB
116812011-12-06 Juanma Barranquero <lekktu@gmail.com>
11682
11683 * textmodes/table.el (table-shorten-cell): Fix typo.
11684
e65adfac
CG
116852011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11686
11687 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11688
71cc0b74
EZ
116892011-12-05 Eli Zaretskii <eliz@gnu.org>
11690
11691 * descr-text.el (describe-char): Fix display of strong
11692 right-to-left characters and directional embeddings and overrides.
11693
11694 * simple.el (what-cursor-position): Fix display of codepoints of
11695 strong right-to-left characters.
11696
315bc30d
CY
116972011-12-05 Chong Yidong <cyd@gnu.org>
11698
11699 * faces.el (read-color): Doc fix.
11700
58a70b94
GM
117012011-12-05 Glenn Morris <rgm@gnu.org>
11702
11703 * align.el (align--set-marker): Add doc-string.
11704 Don't try to move something that is not a marker. (Bug#10216)
11705
5158face
GM
117062011-12-04 Glenn Morris <rgm@gnu.org>
11707
11708 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11709 overly zealous deletion of trailing whitespace.
11710
520fca41
JB
117112011-12-04 Juanma Barranquero <lekktu@gmail.com>
11712
11713 * server.el (server-delete-client): On Windows, do not try to delete
11714 the only terminal.
11715 (server-process-filter): On Windows, treat requests for a tty frame as
11716 if they were for a GUI frame if the running server is in GUI mode.
11717
5e605a2e
GM
117182011-12-03 Glenn Morris <rgm@gnu.org>
11719
11720 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11721
5c3fe83f
SM
117222011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11723
6f5e57e7
SM
11724 * electric.el: Streamline electric-indent's hook.
11725 (electric-indent-chars): Revert to simple list.
11726 (electric-indent-functions): New var.
11727 (electric-indent-post-self-insert-function): Use it.
11728
5c3fe83f
SM
11729 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11730 there's no inferior buffer (bug#10196).
11731 (prolog-consult-compile): Don't use toggle-read-only.
11732
6bdac736
MA
117332011-12-02 Michael Albinus <michael.albinus@gmx.de>
11734
11735 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11736 interrupt. (Bug#10187)
11737
6131ba7f
SM
117382011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11739
99c79fee
SM
11740 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11741 (bug#9160).
11742
6131ba7f
SM
11743 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11744 (bug#10191).
11745
cb0a02ea
JL
117462011-12-02 Juri Linkov <juri@jurta.org>
11747
11748 * info.el (Info-search): Display "end of manual" when Isearch
11749 reaches the end of single-file Info manual. (Bug#9918)
11750
66e0570c
EZ
117512011-12-02 Eli Zaretskii <eliz@gnu.org>
11752
11753 * isearch.el (isearch-message-prefix): Run the input method part
11754 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11755
02b16839
JL
117562011-12-02 Juri Linkov <juri@jurta.org>
11757
11758 * isearch.el (isearch-occur): Use `word-search-regexp' for
11759 `isearch-word'.
11760 (isearch-search-and-update): Add condition for `isearch-word' and
11761 call `word-search-regexp'. (Bug#10145)
11762
0b950688
GM
117632011-12-01 Glenn Morris <rgm@gnu.org>
11764
11765 * eshell/em-hist.el (eshell-hist-initialize):
11766 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 11767 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 11768
9505c3c7
SM
117692011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11770
11771 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11772
1bbe96b2 117732011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 11774
a1beca85
SM
11775 * progmodes/verilog-mode.el (verilog-pretty-expr):
11776 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
11777 verilog, such as += *= and the like.
11778 (verilog-assignment-operator-re): Regular expression to find the
11779 assigment operator in a verilog assignment.
11780 (verilog-assignment-operation-re): Regular expression to find an
11781 assignment statement for pretty-expr.
11782 (verilog-in-attribute-p): Query returns true if point is in an
11783 attribute context; used to skip these for expression line up from
11784 pretty-expr.
11785 (verilog-in-parameter-p): Query returns true if point is in an
11786 parameter definition context; used to skip these for expression
11787 line up from pretty-expr.
11788 (verilog-in-parenthesis-p): Query returns true if point is in a
11789 parenthetical expression, specifically ( ) but not [ ] or { };
11790 used by pretty-expr.
11791 (verilog-just-one-space): If there is no space, don't add one.
11792 (verilog-get-lineup-indent-2): Specifically skip just attribute
11793 contexts for expression lineup, rather than skipping all
11794 parenthetical expressions.
11795 (verilog-calculate-indent): Fix comment, and fix indent.
11796 (verilog-do-indent): Indent declarations in lists (suggested by
11797 Joachim Lechner).
11798 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11799 skeleton items.
11800 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11801 by Alain Mellan).
11802
1bbe96b2 118032011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
11804
11805 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11806 parameters with embedded comments. Reported by Ray Stevens.
11807 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11808 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11809 Reported by Tim Holt.
11810 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11811 instantiated by upper module causing wrong expansion until AUTOed a
11812 second time. Reported by K C Buckenmaier.
11813 (verilog-diff-auto): Fix showing .* as a difference when
11814 `verilog-auto-star-save' off. Reported by Dan Dever.
11815 (verilog-auto-reset, verilog-read-always-signals)
11816 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11817 temporary signals in reset list if
11818 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
11819 style to each signal's assignment type, bug381.
11820 Reported by Thomas Esposito.
6288f0ca
WS
11821 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11822 (verilog-uvm-statement-re): Support UVM indentation and
11823 highlighting, with old OVM keywords only.
a1beca85 11824 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
11825 Support AUTOTIEOFF creating non-wire data types.
11826 Suggested by Jonathan Greenlaw.
6288f0ca
WS
11827 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11828 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11829 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
11830 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11831 Fix mismatching parenthesis inside commented out code when deleting
382c953b 11832 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
11833 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11834 non-numeric vector width. Reported by Alex Reed.
11835 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 11836 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
11837 (verilog-auto-delete-trailing-whitespace):
11838 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
11839 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11840 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11841 Fix verilog-scan-cache corruption when running user AUTO expansion
11842 hooks that call indentation routines.
11843 (verilog-simplify-range-expression): Fix typo ignoring lower case
11844 identifiers.
11845 (verilog-delete-auto): Fix delete-autos to also remove user created
11846 automatics, as long as they start with AUTO.
11847 (verilog-batch-diff-auto, verilog-diff-auto)
11848 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11849 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11850 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11851 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
11852 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11853 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
11854 is disabled and its cache will get corrupt, causing AUTOS not to
11855 expand. Instead use only -quick functions.
11856 (verilog-scan-region): Fix scanning over escaped quotes.
11857 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11858 (verilog-re-search-backward-quick)
11859 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11860 related functions now ignore strings, to fix misparsing of strings
11861 with magic comments embedded in them.
a1beca85
SM
11862 (verilog-read-auto-template):
11863 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11864 Reported by Brad Dobbie.
11865 (verilog-read-auto-template):
11866 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 11867 Reported by Brad Dobbie.
6288f0ca
WS
11868 (verilog-auto-inst, verilog-auto-inst-param)
11869 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11870 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11871 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
11872 debugging templates without merge conflicts, bug357.
11873 Reported by Brad Dobbie.
11874 (verilog-read-auto-template):
11875 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
11876 Reported by Brad Dobbie.
11877 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11878 abbrevs so user won't be asked to save.
11879 (verilog-read-auto-lisp-present): Fix to start at beginning of
11880 buffer in case called outside of verilog-auto.
11881 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11882 to "X-2". Reported by Matthew Myers.
11883 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11884 all inputs from module templates. Reported by Leith Johnson.
11885 (verilog-module-inside-filename-p): Fix locating programs as with
11886 modules.
11887 (verilog-auto-inst-port): Fix vl-width expressions when using
11888 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11889 (verilog-decls-get-regs, verilog-decls-get-signals,
11890 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11891 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11892 verilog-read-decls): Combine reg and wire structures into one var
11893 structure to represent SystemVerilog concepts.
11894 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11895 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
11896 (verilog-auto-wire-type, verilog-insert-definition):
11897 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
11898 SystemVerilog "logic" keyword instead of "wire"/"reg".
11899 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11900 to declares outputs that also have assignments (presumably in an
a1beca85
SM
11901 ifdef or generate if so there's not a driver conflict).
11902 Reported by Matthew Myers.
11903 (verilog-auto-declare-nettype, verilog-insert-definition):
11904 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
11905 `default_nettype none. Reported by Julian Gorfajn.
11906 (verilog-read-always-signals-recurse, verilog-read-decls)
11907 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11908 malformed end statement, bug325. Reported by Joshua Wise and
11909 Andrew Drake.
11910 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11911 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
11912 when expanding .* in interfaces, bug320.
11913 Reported by Pierre-David Pfister.
6288f0ca 11914 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
11915 name and open parenthesis, bug317.
11916 Reported by Pierre-David Pfister.
6288f0ca
WS
11917 (verilog-simplify-range-expression): Fix simplification of
11918 multiplications inside AUTOWIRE connections, bug303.
11919 (verilog-auto-inst-port): Support parameter expansion in
11920 multidimensional arrays.
11921 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11922 after "assert property". Reported by Julian Gorfajn.
11923 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11924 with multiplication, bug303.
11925 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11926 Reported by Jan Frode Lonnum.
11927
1bbe96b2
GM
119282011-11-30 Juanma Barranquero <lekktu@gmail.com>
11929
11930 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11931 (hfy-shell-file-name, hfy-shell):
11932 * international/fontset.el (x-decompose-font-name): Fix typos.
11933
119342011-11-29 Ken Brown <kbrown@cornell.edu>
11935
11936 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11937 (gdb-version): Remove defvar.
11938 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11939 (gdb-gud-context-command, gdb-non-stop-handler)
11940 (gdb-current-context-command, gdb-stopped): Use it.
11941 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
11942 (gdb-non-stop-handler): Don't enable pretty-printing here.
11943 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
11944 non-stop mode. Use the following.
11945 (gdb-check-target-async): New defun.
11946 (gud-watch, gdb-stopped): Fix whitespace.
11947 (gdb-get-source-file): Don't try to display the source file if
11948 `gdb-main-file' is nil.
11949
119502011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11951
11952 * align.el: Try to generate fewer markers (bug#10047).
11953 (align--set-marker): New macro.
11954 (align-region): Use it.
11955
c935221f
SM
119562011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11957
11958 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11959
e70b5064
CY
119602011-11-29 Chong Yidong <cyd@gnu.org>
11961
11962 * indent.el (indent-for-tab-command, indent-according-to-mode):
11963 Doc fix.
11964 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11965
f3af92b7
MA
119662011-11-29 Michael Albinus <michael.albinus@gmx.de>
11967
11968 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11969 aware of remote file names. (Bug#10124)
11970
ed472be9
CY
119712011-11-29 Chong Yidong <cyd@gnu.org>
11972
11973 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11974
24510c22
SM
119752011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11976
11977 * files.el (find-file): Don't use force-same-window (bug#10144).
11978 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11979 use pop-to-buffer if the selected window can't be used.
11980 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11981
c60c3703
EZ
119822011-11-28 Eli Zaretskii <eliz@gnu.org>
11983
11984 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11985 special-mode-map.
11986
e95def75
CY
119872011-11-28 Chong Yidong <cyd@gnu.org>
11988
11989 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11990
c3f1c606
NR
119912011-11-27 Nick Roberts <nickrob@snap.net.nz>
11992
11993 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11994 gdb-get-source-file-list on gdb-create-source-file-list.
11995
00db469c
EZ
119962011-11-26 Eli Zaretskii <eliz@gnu.org>
11997
11998 * whitespace.el (whitespace-newline): Use a different foreground
11999 color for 16-color light-background displays.
12000
4ad3bc2a
CY
120012011-11-24 Chong Yidong <cyd@gnu.org>
12002
12003 * window.el (display-buffer--special-action): Doc fix.
12004
e9fce1ac
JB
120052011-11-25 Juanma Barranquero <lekktu@gmail.com>
12006
12007 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
12008 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
12009 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
12010 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
12011 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
12012 (avl-tree-stack-first):
12013 * emacs-lisp/cconv.el (cconv--analyse-use):
12014 * net/gnutls.el (gnutls-negotiate): Fix typos.
12015
cb825e5d
GM
120162011-11-24 Glenn Morris <rgm@gnu.org>
12017
3adbe224
GM
12018 * lpr.el (lpr-windows-system, lpr-lp-system):
12019 * mail/binhex.el (binhex-begin-line):
12020 * progmodes/grep.el (grep-history, grep-find-history):
12021 * textmodes/flyspell.el:
12022 * vc/pcvs-defs.el (cvs-global-menu):
12023 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
12024 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
12025 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
12026
321decc8
GM
12027 * net/tls.el: Fix case of "GnuTLS".
12028
420b63ad
GM
12029 * paths.el (rmail-file-name): Format doc-string for make-docfile.
12030
cb825e5d
GM
12031 * version.el (emacs-build-system): Give it a doc-string.
12032
a0649f08
JL
120332011-11-24 Juri Linkov <juri@jurta.org>
12034
12035 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
12036
c0bc0fd4
GM
120372011-11-24 Glenn Morris <rgm@gnu.org>
12038
12039 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
12040 if called on a non-mime message just toggle the headers. (Bug#8006)
12041
20db1522
JB
120422011-11-24 Juanma Barranquero <lekktu@gmail.com>
12043
12044 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
12045 (allout-lead-with-comment-string, allout-structure-deleted-hook)
12046 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
12047 (allout-rebullet-heading, allout-open-sibtopic)
12048 (allout-toggle-current-subtree-encryption)
12049 (allout-toggle-subtree-encryption, allout-encrypt-string)
12050 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
12051 (allout-distinctive-bullets-string, allout-auto-activation):
12052 * window.el (window-normalize-buffer-to-display):
12053 * progmodes/verilog-mode.el (verilog-batch-indent):
12054 * textmodes/bibtex.el (bibtex-field-braces-opt)
12055 (bibtex-field-strings-opt):
12056 * vc/cvs-status.el (cvs-tree-merge):
12057 Fix typos.
12058
7262a87c
MA
120592011-11-23 Michael Albinus <michael.albinus@gmx.de>
12060
12061 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
12062 `non-essential' to t, in order to avoid remote connections.
12063
283430a1
EZ
120642011-11-23 Eli Zaretskii <eliz@gnu.org>
12065
a1beca85
SM
12066 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12067 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
12068 case-insensitively.
12069
d2992a38
ML
120702011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12071
12072 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
12073
50419064
GM
120742011-11-23 Glenn Morris <rgm@gnu.org>
12075
da94eca1
GM
12076 * paths.el (rmail-file-name): Reformat the doc-string so that it
12077 is picked up.
12078
9aac4de2
GM
12079 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
12080 (rmail-auto-file): Ignore case in the "special" field names,
12081 as mail-fetch-field does for all others.
12082
8038d2d2
GM
12083 * mail/rmail.el (rmail-forward):
12084 * mail/rmailkwd.el (rmail-set-label):
12085 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
12086 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
12087
f3fe222a
GM
12088 * mail/rmail.el (rmail-current-message): Doc fix.
12089
50419064
GM
12090 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
12091
28109f49
SM
120922011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
12093
12094 * server.el (server-eval-and-print): Allow C-g (bug#6585).
12095
394c65f1
GM
120962011-11-22 Glenn Morris <rgm@gnu.org>
12097
12098 * mail/rmailmm.el (test-rmail-mime-handler)
12099 (test-rmail-mime-bulk-handler)
12100 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
12101
f2a0aa3a
JL
121022011-11-21 Juri Linkov <juri@jurta.org>
12103
1154d12e
JB
12104 * calc/calc.el (calc-read-key-sequence):
12105 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 12106
9c34a344
LMI
121072011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12108
12109 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
12110 Tell the caller that the next line needs recomputation, even
12111 though it doesn't start a sexp (bug#10094).
12112
f04a3be9
SM
121132011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12114
12115 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
12116
7978747f
SM
121172011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12118
f04a3be9
SM
12119 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12120 Use force-same-window.
7978747f 12121
fe7a3057
JB
121222011-11-20 Juanma Barranquero <lekktu@gmail.com>
12123
12124 * descr-text.el (describe-char-unicode-data):
12125 * json.el (json-string-escape):
12126 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
12127 (Footnote-unicode, Footnote-style-p):
12128 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
12129
24901d61
CY
121302011-11-20 Chong Yidong <cyd@gnu.org>
12131
12132 * window.el (replace-buffer-in-windows): Restore interactive spec.
12133
bac7ff22
SM
121342011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12135
24f3d7b9
SM
12136 * electric.el (electric-indent-mode): Fix last change (too optimistic).
12137
bac7ff22
SM
12138 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
12139 (byte-compile-global-not-obsolete-vars): New var.
12140 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
12141 Use it.
12142 (byte-compile-warn-obsolete): Align text with the one in *Help*.
12143
cd1181db
JB
121442011-11-20 Juanma Barranquero <lekktu@gmail.com>
12145
12146 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
12147 * progmodes/pascal.el (electric-pascal-equal):
12148 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
12149 * xml.el (xml-substitute-special): Fix typos.
12150
7fb18e9e
GM
121512011-11-20 Glenn Morris <rgm@gnu.org>
12152
12153 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
12154 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
12155 Doc fixes.
12156 (rmail-decode-mime-charset): Mark as obsolete.
12157
12158 * mail/rmailsum.el (rmail-message-regexp-p-1):
12159 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
12160 Before using mime functions, check they are set. (Bug#10077)
12161
d5a6b3ba
JL
121622011-11-19 Juri Linkov <juri@jurta.org>
12163
12164 * info.el (Info-finder-find-node): Use `package--builtins' instead
12165 of `package-alist'. Use node names formed by the pattern "Keyword "
12166 and the keyword name.
12167
e981b61f
AS
121682011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12169
1d00653d 12170 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 12171
3ffbc301
JL
121722011-11-19 Juri Linkov <juri@jurta.org>
12173
12174 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
12175 that calls `revert-buffer' on all Info buffers. (Bug#9915)
12176 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
12177 `old-history', `old-history-forward'. Add let-binding
12178 `window-selected'. Remove calls to `kill-buffer',
12179 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
12180 before calling `Info-find-node', so `Info-find-node-2' will reread
12181 the Info file. Restore window positions only when `window-selected'
12182 is non-nil.
12183
30c62133
JL
121842011-11-19 Juri Linkov <juri@jurta.org>
12185
12186 * isearch.el (isearch-lazy-highlight-new-loop):
12187 Remove condition `(not isearch-error)'. (Bug#9918)
12188
12189 * misearch.el (multi-isearch-search-fun): Add condition
12190 `(not bound)' to ignore lazy-highlighting search.
12191 Add the search-failed message "end of multi" when the end of
12192 multi-sequence is reached. Uncapitalize the search-failed
12193 message "Repeat for next buffer".
12194
12195 * info.el (Info-search): Add the search-failed message
12196 "end of the manual" when the end of the manual is reached
12197 in Isearch mode.
12198
645ca9cf
JL
121992011-11-19 Juri Linkov <juri@jurta.org>
12200
12201 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
12202 Use non-destructive `remove' instead of `delete' because
12203 `Info-history-list' stored to `Info-isearch-initial-history-list' in
12204 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
12205
df754f66
JL
122062011-11-19 Juri Linkov <juri@jurta.org>
12207
12208 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
12209 to nil instead of binding `search-ring' and `regexp-search-ring'.
12210 (Bug#9185)
12211
0e23d96a
EZ
122122011-11-19 Eli Zaretskii <eliz@gnu.org>
12213
12214 * simple.el (line-move): Force movement by logical lines for any
12215 hscrolled window, not only when auto-hscroll-mode is on.
12216 (line-move-visual): Update doc string to that effect. (Bug#10076)
12217
8a6ccb66
AS
122182011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12219
12220 * language/european.el (macintosh): Define as alias for mac-roman.
12221
49ae5b39
EZ
122222011-11-19 Eli Zaretskii <eliz@gnu.org>
12223
12224 * mail/rmailmm.el (rmail-mime-display-header)
12225 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
12226 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
12227 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
12228 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
12229 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
12230 of a raw aref.
12231 (rmail-mime-entity-segment): To get past the tagline, move forward
12232 2 more lines, to account for the 2 empty lines that precede and
12233 follow the line with the buttons.
12234 (rmail-mime-update-tagline): Move one more line, to get past the
12235 empty line that follows the buttons in the tagline. (Bug#9520)
12236
c56cad4a
MR
122372011-11-19 Martin Rudalics <rudalics@gmx.at>
12238
12239 * window.el (window-max-delta-1, window-min-delta-1)
12240 (window-min-size-1, window-state-get-1, window-state-put-1)
12241 (window-state-put-2): Use "window--" prefix.
12242
cbe71af3
SM
122432011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
12244
2ad52c60
SM
12245 * emacs-lisp/smie.el: Improve warnings and conflict detection.
12246 (smie-warning-count): New var.
12247 (smie-set-prec2tab): Use it.
12248 (smie-bnf->prec2): Improve warnings. Add docstring.
12249 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
12250 (smie-bnf--set-class): New function.
12251 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
12252 corner case.
12253
6944dbc1
SM
12254 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
12255 (compilation-error-properties, compilation-move-to-column):
12256 Handle compilation-first-column while in the target buffer.
12257
c400c4d7
SM
12258 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
12259 Don't hardcode point-min==1.
12260
6dbe3e96
SM
12261 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
12262 (eshell-rewrite-for-command): Remove workaround.
12263 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
12264 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
12265 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
12266
cbe71af3
SM
12267 * files-x.el (modify-file-local-variable): Obey commenting conventions.
12268
a8e1496d
GM
122692011-11-17 Glenn Morris <rgm@gnu.org>
12270
12271 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12272 Ignore buffer-local generated-autoload-file if it is the same
12273 as the global value. (Bug#10049)
12274
df85d315
JB
122752011-11-17 Juanma Barranquero <lekktu@gmail.com>
12276
12277 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
12278 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
12279 (reftex-toc-previous-heading, reftex-toc-max-level)
12280 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
12281 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
12282 (reftex-toc-do-promote, reftex-toc-promote-prepare)
12283 (reftex-toc-promote-action, reftex-toc-extract-section-number)
12284 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
12285 (reftex-toc-rename-label, reftex-toc-visit-location)
12286 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
12287 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
12288 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
12289 leaving "*toc*" only for references to the buffer.
12290
a0c2d0ae
MR
122912011-11-17 Martin Rudalics <rudalics@gmx.at>
12292
12293 * window.el (window-resize, delete-window, split-window):
12294 Replace window-splits by window-combination-resize.
1d00653d 12295 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 12296
35c0bac8
GM
122972011-11-17 Glenn Morris <rgm@gnu.org>
12298
12299 * progmodes/sh-script.el (sh-font-lock-keywords-var):
12300 Make bash entry derive from sh entry, not shell entry.
12301
d0c8fc8a
MA
123022011-11-16 Michael Albinus <michael.albinus@gmx.de>
12303
7262a87c
MA
12304 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
12305 local file name.
12306
7877f373
JB
123072011-11-16 Juanma Barranquero <lekktu@gmail.com>
12308
12309 * menu-bar.el (menu-bar-file-menu):
12310 * printing.el (pr-ps-utility):
12311 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
12312 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
12313 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
12314 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
12315 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
12316 (icalendar--convert-cyclic-to-ical)
12317 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
12318 (icalendar--convert-ical-to-diary)
12319 (icalendar--convert-recurring-to-diary)
12320 (icalendar--convert-non-recurring-all-day-to-diary)
12321 (icalendar-import-format-sample):
12322 * progmodes/idlw-shell.el (idlwave-shell-mode):
12323 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
12324 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
12325 (vhdl-ps-print-init): Fix typos.
12326
10649b82
KM
123272011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
12328
9d0cfcd6
GM
12329 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
12330 FSF and collapse date sequence, obscure author/maintainer email address
12331 better, remove extra version line, track relocation of author's webpage.
10649b82 12332
9d0cfcd6
GM
12333 * progmodes/python.el (python-pdbtrack-input-prompt)
12334 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
12335 regular python pdb prompts. Adjustments shamelessly taken exactly as
12336 suggested in EmacsWiki page (tiny change):
12337 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 12338
58179cce
JB
123392011-11-16 Juanma Barranquero <lekktu@gmail.com>
12340
12341 * expand.el (expand-pos, expand-index, expand-point):
12342 Remove redundant info from docstring.
12343 (expand-add-abbrevs): Doc fix.
12344 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
12345 (expand-sample-perl-mode-expand-list): Fix typos.
12346
12347 * net/dbus.el (dbus-event-member-name):
12348 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
12349 * term/pc-win.el (msdos-create-frame-with-faces):
12350 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
12351
b6f67890
MR
123522011-11-16 Martin Rudalics <rudalics@gmx.at>
12353
12354 * window.el (split-window, window-state-get-1)
12355 (window-state-put-1, window-state-put-2): Rename occurrences of
12356 window-nest to window-combination-limit.
1d00653d 12357 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 12358
ce7ddba0
CY
123592011-11-16 Chong Yidong <cyd@gnu.org>
12360
12361 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
12362 regexp (Bug#10033).
12363
3ae704f4
SM
123642011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12365
12366 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
12367 `completing-read' will remove *Completions* and will preserve
12368 current-buffer for us.
12369 (tmm-add-prompt): Users of *Completions* will always (re)set its
12370 major mode.
12371 (tmm-old-comp-map): Remove.
12372
6ad1cdde
GM
123732011-11-16 Glenn Morris <rgm@gnu.org>
12374
12375 * mail/rmailedit.el: Require rmailmm when compiling.
12376 (rmail-old-mime-state): New declaration.
12377 (rmail-edit-current-message): If editing a mime message,
12378 edit the "raw" message from the mbox buffer.
12379 (rmail-cease-edit): Handle mime messages. (Bug#9840)
12380
d20faa20
GM
123812011-11-15 Glenn Morris <rgm@gnu.org>
12382
12383 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
12384 which wasn't being used. Add optional arg to force given state.
12385 (rmail-mime): Add optional arg to force given state.
12386
c7015153
JB
123872011-11-15 Juanma Barranquero <lekktu@gmail.com>
12388
12389 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12390 * frame.el (display-mm-dimensions-alist):
12391 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
12392 (outline-move-subtree-down):
12393 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
12394 (newsticker--treeview-do-get-node):
12395 * net/quickurl.el (quickurl-list-buffer-name):
12396 * progmodes/dcl-mode.el (dcl-mode):
12397 * progmodes/gdb-mi.el (gdb-mapcar*):
12398 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
12399
45261b50
GM
124002011-11-15 Glenn Morris <rgm@gnu.org>
12401
12402 * mail/rmail.el (rmail-file-coding-system): It's only ever used
12403 in a boolean sense, so just make it a boolean, and fix the doc.
12404 (rmail-show-mime-function, rmail-mime-feature)
12405 (rmail-require-mime-maybe): Doc fixes.
12406 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
12407
12408 * mail/rmailmm.el (rmail-show-mime): Doc fix.
12409
0d26e0b6
JB
124102011-11-15 Juanma Barranquero <lekktu@gmail.com>
12411
12412 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
12413 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
12414 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
12415 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
12416
447f30f6
GM
124172011-11-15 Glenn Morris <rgm@gnu.org>
12418
672b871d
GM
12419 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
12420 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
12421 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
12422 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
12423 (rmail-mime, rmail-show-mime): Doc fixes.
12424
f6aa5bb1
GM
12425 * term/ns-win.el (mode-line-frame-identification):
12426 Leave it alone. (Bug#10051)
12427
947cd66b
GM
12428 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
12429
447f30f6
GM
12430 * mail/rmailout.el (rmail-output-to-rmail-buffer):
12431 Handle empty buffers. (Bug#9978)
12432
0b381c7e
JB
124332011-11-14 Juanma Barranquero <lekktu@gmail.com>
12434
12435 * international/mule.el (define-charset):
12436 * mail/rmailmm.el (rmail-mime-find-header-encoding):
12437 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
12438 * progmodes/verilog-mode.el (verilog-backward-token):
12439 * textmodes/ispell.el (lookup-words):
12440 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
12441
71e027ac
GM
124422011-11-14 Glenn Morris <rgm@gnu.org>
12443
56632ce4
GM
12444 * progmodes/executable.el
12445 (executable-make-buffer-file-executable-if-script-p):
12446 Handle file-modes returning nil.
12447
40500957
GM
12448 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
12449 message - not necessary, and causes problems. (Bug#9831)
12450
071c2340
GM
12451 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12452
d3cfca60
GM
12453 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12454
71e027ac
GM
12455 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
12456 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
12457 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
12458
89d61221
MR
124592011-11-12 Martin Rudalics <rudalics@gmx.at>
12460
12461 * window.el (window-resize, delete-window): Use window-splits
12462 variable instead of function.
12463 (window-state-get-1, window-state-put-2, window-state-put):
12464 Don't deal with windows' splits status.
12465
98282f6f
GM
124662011-11-12 Glenn Morris <rgm@gnu.org>
12467
12468 * apropos.el (apropos-do-all, apropos-library, apropos-value)
12469 (apropos-documentation): Doc fixes.
12470
40a8bdf6
JB
124712011-11-11 Juanma Barranquero <lekktu@gmail.com>
12472
12473 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12474 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12475
65bd19ff
SM
124762011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12477
12478 * electric.el (electric-indent-post-self-insert-function): Make it
12479 possible for a char to only indent in some circumstances.
12480 (electric-indent-mode): Simplify.
12481
54f9154c
MR
124822011-11-11 Martin Rudalics <rudalics@gmx.at>
12483
12484 * window.el (windows-with-parameter): Remove unused function.
12485 (windows-at-side): Rename to window-at-side-list.
12486 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
12487 (window-side-check, window-size-ignore, window-size-fixed-1)
12488 (window-in-direction-2): Prefix with "window--".
12489 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 12490
68cbc58b
GM
124912011-11-11 Glenn Morris <rgm@gnu.org>
12492
12493 * subr.el (eval-after-load): If FILE is already loaded,
12494 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12495
b2621720
GM
124962011-11-10 Glenn Morris <rgm@gnu.org>
12497
9a4de110
GM
12498 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12499 Call svn via vc-svn-command rather than vc-do-command.
12500 (vc-svn-command): Add --non-interactive. (Bug#9993)
12501 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12502
b2621720
GM
12503 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12504 Add toggle-read-only. (Bug#7292)
12505 * files.el (toggle-read-only): Mention that it should only
12506 be used interactively. (Bug#10006)
12507
1dce7193
SM
125082011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12509
d9ac1a1e
SM
12510 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12511 Adjust regexp for OCaml warnings.
12512
0c325082
SM
12513 * electric.el (electric-pair-post-self-insert-function): Let user
12514 turn it off buffer-locally (bug#9932).
12515
90132c14
SM
12516 * progmodes/python.el (python-beginning-of-statement):
12517 Rewrite (bug#2703).
12518
1dce7193
SM
12519 * progmodes/compile.el: Better handle TABs (bug#9749).
12520 (compilation-internal-error-properties)
12521 (compilation-next-error-function): Obey the target buffer's
12522 compilation-error-screen-columns.
12523
c4e7c63a
JB
125242011-11-09 Juanma Barranquero <lekktu@gmail.com>
12525
12526 * progmodes/meta-mode.el: Remove obsolete comments.
12527 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12528 Fix typos in docstrings.
12529
2cffd681
MR
125302011-11-09 Martin Rudalics <rudalics@gmx.at>
12531
12532 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 12533 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
12534 (window--resizable): New function. Make all callers of
12535 window-resizable call window--resizable instead.
12536 (window-resizable): Rewrite in terms of window--resizable.
12537
0edcba87
GM
125382011-11-08 Glenn Morris <rgm@gnu.org>
12539
12540 * progmodes/delphi.el (delphi-mode-syntax-table):
12541 Let define-derived-mode define a proper syntax table. (Bug#9994)
12542
4b0d61e3
SM
125432011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12544
12545 * window.el: Stay away from defsubst.
12546 (window-list-no-nils): Remove.
12547 (window-state-get-1, window-state-get): Use backquote instead.
12548
cd394be1 125492011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 12550
4b0d61e3 12551 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 12552 Fix incorrect use of default argument in `completing-read'.
12553
e1c2c6f2
MR
125542011-11-08 Martin Rudalics <rudalics@gmx.at>
12555
12556 * window.el (display-buffer-function, special-display-function):
12557 Mention display-buffer-record-window but do not mention
12558 help-setup parameter in doc-strings.
b3f4a882 12559 (window-min-delta): Fix doc-string typo.
e1c2c6f2 12560
105216ed
CY
125612011-11-08 Chong Yidong <cyd@gnu.org>
12562
12563 * window.el (window-total-height, window-total-width): Doc fix.
12564 (window-body-size): Move from C.
12565 (window-body-height, window-body-width): Move to C.
12566
0a9f9ab5
SM
125672011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12568
12569 * window.el: Make special-display like display-buffer-alist (bug#9532).
12570 (display-buffer--special-action): New function, morphed
12571 from display-buffer--special.
12572 (display-buffer): Use it to handle special-display-buffers at higher
12573 priority (just after display-buffer-alist).
12574 (display-buffer-fallback-action, display-buffer--other-frame-action)
12575 (pop-to-buffer-same-window): Remove display-buffer--special.
12576
a769dd15
GM
125772011-11-07 Glenn Morris <rgm@gnu.org>
12578
12579 * calendar/cal-menu.el (cal-menu-set-date-title):
12580 Do nothing if not in a calendar. (Bug#9976)
12581
05a61ee3
SM
125822011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12583
12584 * files.el (find-file): Always use selected-window.
12585
be7f5545
MR
125862011-11-07 Martin Rudalics <rudalics@gmx.at>
12587
12588 * window.el (window-combinations): Make WINDOW argument
12589 mandatory. Rewrite doc-string.
12590 (walk-window-subtree, window-atom-check, window-min-delta)
12591 (window-max-delta, window--resize-this-window)
12592 (window--resize-root-window-vertically, window-tree)
12593 (balance-windows, window-state-put): Rewrite doc-strings as to
12594 not mention the term "subwindow".
12595 (window--resize-subwindows-skip-p): Rename to
12596 window--resize-child-windows-skip-p.
12597 (window--resize-subwindows-normal): Rename to
12598 window--resize-child-windows-normal.
12599 (window--resize-subwindows): Rename to
12600 window--resize-child-windows.
12601 (window-or-subwindow-p): Rename to window--in-subtree-p.
12602
3c6702ef
ML
126032011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12604
12605 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12606 Ensure that mbox format messages end in two newlines (Bug#9974).
12607
49745b39
CY
126082011-11-06 Chong Yidong <cyd@gnu.org>
12609
12610 * window.el (window-combination-p): Function deleted; its
12611 side-effect is not used in any existing code.
12612 (window-combinations, window-combined-p): Call window-*-child
12613 directly.
12614
24300f5f
CY
126152011-11-05 Chong Yidong <cyd@gnu.org>
12616
12617 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
12618 (window-size-ignore, window-state-get): Callers changed.
12619 (window-normalize-window): Rename from window-normalize-any-window.
12620 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 12621 (window-normalize-live-window): Delete.
447f16b8
CY
12622 (window-combination-p, window-combined-p, window-combinations)
12623 (walk-window-subtree, window-atom-root, window-min-size)
12624 (window-sizable, window-sizable-p, window-size-fixed-p)
12625 (window-min-delta, window-max-delta, window-resizable)
12626 (window-resizable-p, window-full-height-p, window-full-width-p)
12627 (window-current-scroll-bars, window-point-1, set-window-point-1)
12628 (window-at-side-p, window-in-direction, window-resize)
12629 (adjust-window-trailing-edge, maximize-window, minimize-window)
12630 (window-deletable-p, delete-window, delete-other-windows)
12631 (record-window-buffer, unrecord-window-buffer)
12632 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12633 (quit-window, split-window, window-state-put)
12634 (set-window-text-height, fit-window-to-buffer)
12635 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 12636
89bd5ee1
EZ
126372011-11-04 Eli Zaretskii <eliz@gnu.org>
12638
53479029
EZ
12639 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12640 rfc2047-decode-string.
12641 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12642 warnings.
12643
89bd5ee1
EZ
12644 * window.el (window-body-height, window-body-width): Mention in
12645 the doc string that the return values are in frame's canonical
12646 units. (Bug#9949)
12647
bd17fdee
AM
126482011-11-03 Alan Mackenzie <acm@muc.de>
12649
12650 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12651 change in cc-engine.el.
12652
acc825c5
SM
126532011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12654
12655 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12656
1885e5b8
MR
126572011-11-02 Martin Rudalics <rudalics@gmx.at>
12658
12659 * window.el (quit-window): Call unrecord-window-buffer after
12660 showing another buffer in the window. (Bug#9937)
acc825c5 12661 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 12662
ebe06da9
JB
126632011-11-02 Juanma Barranquero <lekktu@gmail.com>
12664
12665 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12666 Accept status with more than 9 shelves. (Bug#9935)
12667 Reported by Colin D Bennett <colin@gibibit.com>.
12668
4ee88440
MR
126692011-11-01 Martin Rudalics <rudalics@gmx.at>
12670
12671 * help.el (with-help-window): Don't reference
12672 temp-buffer-show-specifiers in doc-string.
12673
08e1d82c
AS
126742011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12675
12676 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12677 menu-item.
12678
84bd6e9e
VJL
126792011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12680
12681 * whitespace.el: New version 13.2.2.
12682 (whitespace-newline-mode): Disable properly. Reported by Sarah
12683 <EmacsWiki>.
12684
dba0634a
UJ
126852011-10-30 Ulf Jasper <ulf.jasper@web.de>
12686
12687 * net/newst-treeview.el: Remove "Time-stamp".
12688 (newsticker--group-manage-orphan-feeds): Do not call
12689 newsticker--treeview-tree-update.
db22a3c2
JB
12690 (newsticker-treeview-update, newsticker-treeview):
12691 Call newsticker--treeview-tree-update if necessary.
dba0634a 12692
3d8daefe
MR
126932011-10-30 Martin Rudalics <rudalics@gmx.at>
12694
12695 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
12696 (window-iso-combinations): Remove "iso-" infix.
12697 Suggested by Chong Yidong.
3d8daefe
MR
12698 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12699 (window-max-delta-1, window-resize, window--resize-siblings)
12700 (window--resize-this-window, adjust-window-trailing-edge)
12701 (split-window, balance-windows-1)
12702 (shrink-window-if-larger-than-buffer):
12703 * calendar/calendar.el (calendar-generate-window):
db22a3c2 12704 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 12705
1bc4c3ae
SM
127062011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12707
12708 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12709 in place (bug#9907).
12710 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12711 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12712 (eshell-structure-basic-command, eshell-rewrite-while-command)
12713 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12714 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12715 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12716 (eshell-do-pipelines-synchronously, eshell-eval-command):
12717 Use backquotes and prefer setq to set.
12718 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12719 (eshell-macrop): Use functionp.
c1e2f5fa 12720 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 12721
30b65d9c
CY
127222011-10-30 Chong Yidong <cyd@gnu.org>
12723
12724 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12725 instead of set-mark (Bug#9810).
12726
2d197ffb
CY
127272011-10-30 Chong Yidong <cyd@gnu.org>
12728
12729 * window.el (split-window-below, split-window-right): Rename from
12730 split-window-above-each-other and split-window-side-by-side
12731 respectively. All callers changed.
12732 (split-window-sensibly, split-window-sensibly): Use them.
12733 (split-window-keep-point): Doc fix.
12734
12735 * isearch.el: Add isearch-scroll property to split-window-below
12736 and split-window-right.
12737
12738 * follow.el (follow-mode):
12739 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12740 * progmodes/ada-xref.el (ada-gdb-application):
12741 * emulation/vip.el (vip-buffer-in-two-windows):
12742 * image-dired.el (image-dired-dired-with-window-configuration):
12743 * dired-x.el (dired-do-find-marked-files):
12744 * dired.el (dired-pop-to-buffer):
12745 * bs.el (bs--show-with-configuration):
12746 * vc/emerge.el (emerge-setup-windows):
12747 * textmodes/two-column.el (2C-two-columns):
12748 * textmodes/reftex-toc.el (reftex-toc):
12749 * progmodes/gdb-mi.el (gdb-setup-windows):
12750 * progmodes/fortran.el (fortran-window-create):
12751 * net/newst-treeview.el (newsticker--treeview-window-init):
12752 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12753 * emulation/tpu-edt.el (tpu-gold-map):
12754 * emulation/crisp.el (crisp-mode-map):
12755 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12756
38bb2ca8
CY
127572011-10-29 Chong Yidong <cyd@gnu.org>
12758
aa4de341
CY
12759 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12760
e1eb5385
CY
12761 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12762
5d2ece3c
CY
12763 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12764 forged Ispell output (Bug#7904).
12765
38bb2ca8
CY
12766 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12767
d0af9f77
SM
127682011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12769
12770 * doc-view.el: Avoid ugly errors about not finding nil.
12771 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12772 (doc-view-dvipdf-program, doc-view-unoconv-program)
12773 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12774 Avoid nil or absolute file name as default value.
12775 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12776
52bedd34
AM
127772011-10-28 Alan Mackenzie <acm@muc.de>
12778
db22a3c2 12779 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 12780
7e43cfa5
AM
127812011-10-28 Alan Mackenzie <acm@muc.de>
12782
12783 Amend the handling of c-beginning/end-of-defun in nested declaration
12784 scopes.
12785
52bedd34
AM
12786 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12787 cc-langs.el. Change it to a defcustom.
7e43cfa5 12788
52bedd34
AM
12789 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12790 cc-vars.el.
7e43cfa5 12791
d0af9f77
SM
12792 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12793 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 12794
52bedd34 12795 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 12796 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
12797 (c-widen-to-enclosing-decl-scope): New function.
12798 (c-while-widening-to-decl-block): New macro.
12799 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12800 outward for defun boundaries, and correspondingly change symbol
12801 `respect-enclosure' to `go-outward'.
12802 (c-declaration-limits): Change algorithm to report only the "innermost"
12803 defun's boundaries.
12804
1a2ce9ee
DD
128052011-10-28 Deniz Dogan <deniz@dogan.se>
12806
12807 * net/rcirc.el (rcirc-mode): Use hard newlines.
12808
bc97a826
AM
128092011-10-28 Alan Mackenzie <acm@muc.de>
12810
12811 Amend to indent and fontify macros "which include their own semicolon"
12812 correctly, using the "virtual semicolon" mechanism.
12813
52bedd34 12814 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 12815
d0af9f77 12816 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 12817 Recode to scan one line at a time rather than having \n and \r
58179cce 12818 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 12819 (c-forward-label): Amend for virtual semicolons.
58179cce 12820 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 12821
52bedd34
AM
12822 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12823 of the new C macros.
bc97a826 12824
52bedd34 12825 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
12826 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12827 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
12828 (c-opt-cpp-macro-define): Make into a full language variable.
12829 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12830 AWK Mode (including \n, \r) removed, no longer needed.
12831
d0af9f77
SM
12832 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12833 Invoke c-make-macro-with-semi-re.
bc97a826 12834
52bedd34
AM
12835 * progmodes/cc-vars.el (c-macro-with-semi-re):
12836 (c-macro-names-with-semicolon): New variables.
58179cce 12837 (c-make-macro-with-semi-re): New function.
bc97a826 12838
7a6c0941
SM
128392011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12840
12841 * vc/log-edit.el: Fill empty field rather than adding new one.
12842 (log-edit-add-field): New function.
12843 (log-edit-insert-changelog): Use it.
12844
b0c4cdcf
ML
128452011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12846
12847 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12848
ee1f1da9
SM
128492011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12850
12851 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12852 (gdb--check-interpreter): New function.
12853 (gdb): Use it.
12854
51bc5f8b
GM
128552011-10-27 Glenn Morris <rgm@gnu.org>
12856
416a2c45
GM
12857 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12858 (least-positive-float, least-negative-float)
12859 (least-positive-normalized-float, least-negative-normalized-float)
12860 (float-epsilon, float-negative-epsilon):
12861 Remove unnecessary declarations.
12862
12863 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12864 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12865 (least-positive-float, least-negative-float)
12866 (least-positive-normalized-float, least-negative-normalized-float)
12867 (float-epsilon, float-negative-epsilon): Add doc-strings,
12868 based on those in cl.texi.
12869
51bc5f8b
GM
12870 * files.el (set-visited-file-name): If the major-mode changed,
12871 reload the local variables. (Bug#9796)
12872
15de15c6
CY
128732011-10-27 Chong Yidong <cyd@gnu.org>
12874
12875 * subr.el (change-major-mode-after-body-hook): New hook.
12876 (run-mode-hooks): Run it.
12877
ee1f1da9
SM
12878 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12879 Use change-major-mode-before-body-hook.
15de15c6
CY
12880
12881 * simple.el (fundamental-mode):
12882 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12883 change introducing fundamental-mode-hook.
12884
5430d399
JB
128852011-10-26 Juanma Barranquero <lekktu@gmail.com>
12886
acc825c5 12887 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 12888
ad74a69e
MA
128892011-10-26 Michael Albinus <michael.albinus@gmx.de>
12890
12891 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 12892 tramp.el explicitly. (Bug#7583)
ad74a69e 12893
71d4c2a5
SM
128942011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12895
12896 * progmodes/octave-mod.el:
12897 * progmodes/octave-inf.el: Update maintainer.
12898
b1f6fa26
CY
128992011-10-26 Chong Yidong <cyd@gnu.org>
12900
12901 * subr.el (with-wrapper-hook): Rewrite doc.
12902
3f04efd6
MA
129032011-10-25 Michael Albinus <michael.albinus@gmx.de>
12904
12905 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 12906 filenames "/method:foo:". (Bug#9793)
3f04efd6 12907
410488d3
SM
129082011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12909
12910 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12911 (bug#9865).
12912
c1ebb47e
GM
129132011-10-24 Glenn Morris <rgm@gnu.org>
12914
12915 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12916
7f5c46c7
MA
129172011-10-24 Michael Albinus <michael.albinus@gmx.de>
12918
12919 * notifications.el: Add the requirement of a running D-Bus session
12920 bus to the Commentary.
12921
db2440b6
JL
129222011-10-24 Juri Linkov <juri@jurta.org>
12923
12924 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12925 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12926 (Bug#9364)
12927
feecf435
JL
129282011-10-24 Juri Linkov <juri@jurta.org>
12929
12930 * info.el (Info-following-node-name-re): Add newline to the list
12931 of allowed characters for leading space. (Bug#9824)
12932
a3839de2
SM
129332011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12934
acc825c5
SM
12935 * progmodes/octave-inf.el (inferior-octave-mode-map):
12936 Fix C-c C-h binding.
a3839de2
SM
12937 * progmodes/octave-mod.el (octave-help): Remove.
12938
09388e76
MA
129392011-10-23 Michael Albinus <michael.albinus@gmx.de>
12940
12941 Sync with Tramp 2.2.3.
12942
12943 * net/tramp-cache.el (top): Pacify byte-compiler using
12944 `init-file-user' and `site-run-file'.
12945
12946 * net/trampver.el: Update release number.
12947
86c60681
CY
129482011-10-23 Chong Yidong <cyd@gnu.org>
12949
12950 * files.el (toggle-read-only): Remove obsolete comment about
12951 version control.
12952
12953 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12954 for toggle-read-only. Note that this hasn't called vc-next-action
12955 since 2008-05-02, though it wasn't documented at the time.
12956
a3839de2
SM
12957 * vc/ediff-init.el (ediff-toggle-read-only-function):
12958 Use toggle-read-only.
86c60681 12959
cd5495ff
AM
129602011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12961
12962 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12963 of c-parse-state.
12964
00b77525 12965 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 12966 correct faulty logical expression.
cd5495ff
AM
12967 (c-parse-state-state, c-record-parse-state-state):
12968 (c-replay-parse-state-state): New defvar/defuns.
12969 (c-debug-parse-state): Use new functions.
12970
42ee24ed
MR
129712011-10-22 Martin Rudalics <rudalics@gmx.at>
12972
12973 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 12974 last fix. Use window-in-direction correctly.
42ee24ed 12975
a7dee7e7
CY
129762011-10-21 Chong Yidong <cyd@gnu.org>
12977
12978 * progmodes/idlwave.el (idlwave-mode):
12979 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
12980 require-final-newline; that's done in prog-mode.
12981 Suggested by Stefan Monnier.
a7dee7e7 12982
e07b9a6d
MR
129832011-10-21 Martin Rudalics <rudalics@gmx.at>
12984
12985 * mouse.el (mouse-drag-window-above)
12986 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12987 (mouse-drag-mode-line-1, mouse-drag-header-line)
12988 (mouse-drag-vertical-line-rightward-window): Remove.
12989 (mouse-drag-line): New function.
12990 (mouse-drag-mode-line, mouse-drag-header-line)
12991 (mouse-drag-vertical-line): Call mouse-drag-line.
12992 * window.el (window-at-side-p, windows-at-side): New functions.
12993
7e1361d9
UM
129942011-10-21 Ulrich Mueller <ulm@gentoo.org>
12995
12996 * tar-mode.el (tar-grind-file-mode):
12997 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12998
30fcaf3a
CY
129992011-10-21 Chong Yidong <cyd@gnu.org>
13000
13001 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
13002 * progmodes/vera-mode.el (vera-mode):
13003 Use mode-require-final-newline.
30fcaf3a 13004
516eddb0
GM
130052011-10-20 Glenn Morris <rgm@gnu.org>
13006
db22a3c2 13007 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 13008
10d5f513
CS
130092011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
13010
13011 * emulation/cua-base.el (cua-set-mark): Fix case of string.
13012
ac6c8639
CY
130132011-10-20 Chong Yidong <cyd@gnu.org>
13014
13015 * emulation/cua-base.el (cua-mode):
13016 * mail/footnote.el (footnote-mode):
13017 * mail/mailabbrev.el (mail-abbrevs-mode):
13018 * net/xesam.el (xesam-minor-mode):
13019 * progmodes/bug-reference.el (bug-reference-mode):
13020 * progmodes/cap-words.el (capitalized-words-mode):
13021 * progmodes/compile.el (compilation-minor-mode)
13022 (compilation-shell-minor-mode):
13023 * progmodes/gud.el (gud-tooltip-mode):
13024 * progmodes/hideif.el (hide-ifdef-mode):
13025 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
13026 * progmodes/subword.el (subword-mode):
13027 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13028 * progmodes/which-func.el (which-function-mode):
13029 * term/tvi970.el (tvi970-set-keypad-mode):
13030 * term/vt100.el (vt100-wide-mode):
13031 * textmodes/flyspell.el (flyspell-mode):
13032 * textmodes/ispell.el (ispell-minor-mode):
13033 * textmodes/nroff-mode.el (nroff-electric-mode):
13034 * textmodes/paragraphs.el (use-hard-newlines):
13035 * textmodes/refill.el (refill-mode):
13036 * textmodes/reftex.el (reftex-mode):
13037 * textmodes/rst.el (rst-minor-mode):
13038 * textmodes/sgml-mode.el (html-autoview-mode)
13039 (sgml-electric-tag-pair-mode):
13040 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
13041 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
13042 * emulation/crisp.el (crisp-mode):
13043 * emacs-lisp/eldoc.el (eldoc-mode):
13044 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
13045 minor mode behavior.
13046
aa42ab43
JL
130472011-10-19 Juri Linkov <juri@jurta.org>
13048
13049 * descr-text.el (describe-char): Add #x2010 and #x2011 to
13050 the list of hard-coded chars with escape-glyph face.
13051
89400f1d
SM
130522011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
13053
13054 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
13055
305c07f6
MA
130562011-10-19 Michael Albinus <michael.albinus@gmx.de>
13057
13058 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
13059 running process.
13060
13754b54
GM
130612011-10-19 Glenn Morris <rgm@gnu.org>
13062
13063 * vc/vc-bzr.el (vc-bzr-after-dir-status):
13064 Ignore ignored files. (Bug#9726)
13065
06e21633
CY
130662011-10-19 Chong Yidong <cyd@gnu.org>
13067
13068 Doc fix for minor modes, stating that an omitted argument enables
13069 the mode unconditionally when called from Lisp.
13070
13071 * abbrev.el (abbrev-mode):
13072 * allout.el (allout-mode):
13073 * autoinsert.el (auto-insert-mode):
13074 * autoarg.el (autoarg-mode, autoarg-kp-mode):
13075 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13076 (global-auto-revert-mode):
13077 * battery.el (display-battery-mode):
13078 * composite.el (global-auto-composition-mode)
13079 (auto-composition-mode):
13080 * delsel.el (delete-selection-mode):
13081 * desktop.el (desktop-save-mode):
13082 * dired-x.el (dired-omit-mode):
13083 * dirtrack.el (dirtrack-mode):
13084 * doc-view.el (doc-view-minor-mode):
13085 * double.el (double-mode):
13086 * electric.el (electric-indent-mode, electric-pair-mode):
13087 * emacs-lock.el (emacs-lock-mode):
13088 * epa-hook.el (auto-encryption-mode):
13089 * follow.el (follow-mode):
13090 * font-core.el (font-lock-mode):
13091 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
13092 * help.el (temp-buffer-resize-mode):
13093 * hilit-chg.el (highlight-changes-mode)
13094 (highlight-changes-visible-mode):
13095 * hi-lock.el (hi-lock-mode):
13096 * hl-line.el (hl-line-mode, global-hl-line-mode):
13097 * icomplete.el (icomplete-mode):
13098 * ido.el (ido-everywhere):
13099 * image-file.el (auto-image-file-mode):
13100 * image-mode.el (image-minor-mode):
13101 * iswitchb.el (iswitchb-mode):
13102 * jka-cmpr-hook.el (auto-compression-mode):
13103 * linum.el (linum-mode):
13104 * longlines.el (longlines-mode):
13105 * master.el (master-mode):
13106 * mb-depth.el (minibuffer-depth-indicate-mode):
13107 * menu-bar.el (menu-bar-mode):
13108 * minibuf-eldef.el (minibuffer-electric-default-mode):
13109 * mouse-sel.el (mouse-sel-mode):
13110 * msb.el (msb-mode):
13111 * mwheel.el (mouse-wheel-mode):
13112 * outline.el (outline-minor-mode):
13113 * paren.el (show-paren-mode):
13114 * recentf.el (recentf-mode):
13115 * reveal.el (reveal-mode, global-reveal-mode):
13116 * rfn-eshadow.el (file-name-shadow-mode):
13117 * ruler-mode.el (ruler-mode):
13118 * savehist.el (savehist-mode):
13119 * scroll-all.el (scroll-all-mode):
13120 * scroll-bar.el (scroll-bar-mode):
13121 * server.el (server-mode):
13122 * shell.el (shell-dirtrack-mode):
13123 * simple.el (auto-fill-mode, transient-mark-mode)
13124 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
13125 (line-number-mode, column-number-mode, size-indication-mode)
13126 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
13127 * strokes.el (strokes-mode):
13128 * time.el (display-time-mode):
13129 * t-mouse.el (gpm-mouse-mode):
13130 * tool-bar.el (tool-bar-mode):
13131 * tooltip.el (tooltip-mode):
13132 * type-break.el (type-break-mode-line-message-mode)
13133 (type-break-query-mode):
13134 * view.el (view-mode):
13135 * whitespace.el (whitespace-mode, whitespace-newline-mode)
13136 (global-whitespace-mode, global-whitespace-newline-mode):
13137 * xt-mouse.el (xterm-mouse-mode): Doc fix.
13138
a3839de2
SM
13139 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13140 Fix autogenerated docstring.
06e21633 13141
5214e501
JL
131422011-10-19 Juri Linkov <juri@jurta.org>
13143
13144 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
13145 by checking environment variables "DESKTOP_SESSION" and
13146 "XDG_CURRENT_DESKTOP". (Bug#9779)
13147
195f8db9
JL
131482011-10-19 Juri Linkov <juri@jurta.org>
13149
13150 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
13151 (browse-url-chromium-program, browse-url-chromium-arguments):
13152 New defcustoms.
13153 (browse-url-default-browser): Check for `browse-url-chromium' and
13154 call `browse-url-chromium-program'.
13155 (browse-url-chromium): New command. (Bug#9779)
13156
343a34ff
JB
131572011-10-18 Juanma Barranquero <lekktu@gmail.com>
13158
13159 * facemenu.el (list-colors-duplicates): On Windows, detect more
13160 duplicates by assuming that only colors matching "^System" are
13161 special "system colors". (Bug#9722)
13162
6978a151
SM
131632011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
13164
13165 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
13166 to distinguish the author from the committer.
13167
6a80b297
MA
131682011-10-18 Michael Albinus <michael.albinus@gmx.de>
13169
13170 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
13171
b31a5677
JK
131722011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
13173
13174 * international/mule.el (sgml-html-meta-auto-coding-function):
13175 Add support for detecting encoding in HTML5 specified only as
13176 <meta charset="UTF-8">. Implementation just makes http-equiv and
13177 content-type parts from HTML4 encoding string optional. (Bug#9716)
13178
80c6d77f
GM
131792011-10-18 Glenn Morris <rgm@gnu.org>
13180
13181 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
13182
08b0fee8
CY
131832011-10-18 Chong Yidong <cyd@gnu.org>
13184
13185 * faces.el (cursor): Doc fix.
13186
67e729a5
CY
131872011-10-17 Chong Yidong <cyd@gnu.org>
13188
13189 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
13190
343a34ff 131912011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
13192
13193 * dirtrack.el (dirtrack): Support shell buffers with path
13194 prefixes, e.g. tramp-based remote shells. (Bug#9647)
13195
0bc06380
TZ
131962011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
13197
13198 * json.el: Bump version to 1.3 and note change in History.
13199 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
13200
8b79f3e0
SM
132012011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13202
5a7c536b
SM
13203 * comint.el (comint-insert-input, comint-send-input)
13204 (comint-get-old-input-default, comint-backward-matching-input)
13205 (comint-next-prompt): Use nil instead of `input' for field property of
13206 past user input (bug#114).
13207
96a8a0df
SM
13208 * minibuffer.el (completion--replace): Inherit surrounding properties
13209 (bug#114).
13210 (minibuffer-complete-and-exit): Use it.
13211
8b79f3e0
SM
13212 * comint.el (comint--table-subvert): Quote the all-completions output
13213 (bug#9160).
13214
b8f7ff0d
MR
132152011-10-17 Martin Rudalics <rudalics@gmx.at>
13216
8b79f3e0 13217 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 13218
b8f7ff0d 13219 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 13220 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
13221 entries and separate them from frame entries.
13222
c235b555
GM
132232011-10-15 Glenn Morris <rgm@gnu.org>
13224
13225 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
13226 Doc fixes.
13227
6bbfa6e1
CY
132282011-10-15 Chong Yidong <cyd@stupidchicken.com>
13229
8b79f3e0
SM
13230 * net/network-stream.el (network-stream-open-starttls):
13231 Improve detection of failure due to lack of TLS support.
ec5c990d 13232
6bbfa6e1
CY
13233 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
13234 putting the input text in front and in bold.
13235
98488977
SM
132362011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13237
3d1337be
SM
13238 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
13239
ee0b45e4
SM
13240 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
13241 empty buffer.
13242
98488977
SM
13243 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
13244 unread-command-events rather than pushing yet-another event.
13245
186f4720
EZ
132462011-10-14 Eli Zaretskii <eliz@gnu.org>
13247
13248 * mail/sendmail.el (sendmail-query-once): Improve the wording of
13249 the explanation of the possible choices. Make the options passed
13250 to completing-read shorter.
13251
8b7a997c
AM
132522011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13253
13254 * textmodes/flyspell.el (flyspell-large-region): Make sure
13255 extended character mode is used if defined (Bug#1339).
13256
12587bbb
EZ
132572011-10-13 Eli Zaretskii <eliz@gnu.org>
13258
13259 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
13260 character info for LRE, LRO, RLE, and RLO characters by appending
13261 an invisible PDF.
12587bbb 13262
bad41229
SM
132632011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
13264
13265 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
13266 even in case of error; add debug spec; simplify data flow.
13267 (with-timeout-handler): Remove.
13268
28dbc92f
MA
132692011-10-12 Michael Albinus <michael.albinus@gmx.de>
13270
13271 Fix Bug#6019, Bug#9315.
13272
13273 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
13274 complete `buffer-file-name', the local file name part could look
13275 remotely (for example on VMS).
13276
13277 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
13278 `tramp-run-real-handler'.
13279 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
13280 already quoted by '"'.
13281
13282 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
13283 Let `file-name-handler-alist' be nil, the local file name part
13284 could look remotely (for example on VMS).
13285
e1b0b23a
SM
132862011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
13287
13288 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
13289 from here...
13290 (flyspell-post-command-hook): ...to here.
13291
a120bde9
SM
132922011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13293
13294 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
13295 if not needed.
13296 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
13297 using completion. Protect against "slow" callers.
13298 Remove the "message hack".
13299
7ce7717b
JL
133002011-10-11 Juri Linkov <juri@jurta.org>
13301
13302 * isearch.el (isearch-lazy-highlight-word): New variable.
13303 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
13304 Use it. (Bug#9727)
13305
c02ee9d6
GM
133062011-10-11 Glenn Morris <rgm@gnu.org>
13307
13308 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
13309 like f90-previous-statement does.
13310
93e616fd 133112011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13312
1f190e73 13313 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
13314 only in interactive use, to avoid error.
13315
af7b6078
SM
133162011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13317
13318 * minibuffer.el (completion-file-name-table): Fix last change,
13319 i.e. ignore normal errors but not the other ones.
13320
0563dae9
MR
133212011-10-10 Martin Rudalics <rudalics@gmx.at>
13322
13323 * window.el (special-display-buffer-names)
13324 (special-display-regexps): Remove some remnants of earlier
13325 changes from doc-strings.
366ca7f3
MR
13326 (quit-windows-on): New function.
13327
13328 * vc/vc.el (vc-revert, vc-rollback):
13329 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
13330 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 13331 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 13332
49677495
MR
133332011-10-09 Martin Rudalics <rudalics@gmx.at>
13334
13335 * window.el (frame-auto-hide-function): Add version tag.
13336 (Bug#9699)
13337
56f2d1e1
MA
133382011-10-09 Michael Albinus <michael.albinus@gmx.de>
13339
13340 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
13341 condition.
13342
112a6592
LL
133432011-10-09 Leo Liu <sdl.web@gmail.com>
13344
13345 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
13346 (Bug#9701)
13347
0812589b
GM
133482011-10-08 Glenn Morris <rgm@gnu.org>
13349
13350 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
13351 before the first code statement zero indent. (Bug#9690)
13352
b2b0776e
CY
133532011-10-08 Chong Yidong <cyd@stupidchicken.com>
13354
13355 * simple.el (count-words-region): Always count in the region.
13356 Report the number of lines and characters too.
13357 (count-words): New command, which counts in the buffer if the
13358 region is inactive, as count-words-region used to.
13359 (count-words--message): New function. Handle plurals.
13360 (count-lines-region): Make it an alias for count-words-region.
13361
13362 * bindings.el (esc-map): Replace count-lines-region with
13363 count-words-region.
13364
c557cd6b
MR
133652011-10-08 Martin Rudalics <rudalics@gmx.at>
13366
13367 * window.el (window--delete): Delete dedicated frame
13368 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 13369 (switch-to-buffer): Fix doc-string typo.
c557cd6b 13370
61a57ef4 133712011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13372
3a7d293b 13373 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 13374
c3833279
CY
133752011-10-07 Chong Yidong <cyd@stupidchicken.com>
13376
13377 * bindings.el ([M-left],[M-right]): Bind to left-word and
13378 right-word respectively.
13379
21ce8245
GM
133802011-10-07 Glenn Morris <rgm@gnu.org>
13381
13382 * cus-start.el (debug-on-quit): Fix custom type.
13383
6d823bb2
LMI
133842011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13385
0181e193
LMI
13386 * subr.el (define-key-after): Clarify that the function is not
13387 useful for non-menu keymaps.
13388
6d823bb2
LMI
13389 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
13390
8e3459ce 133912011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13392
21ce8245 13393 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 13394 in current minibuffer (Fix bug with recursive minibuffers).
13395
a1c2d21e
CY
133962011-10-06 Chong Yidong <cyd@stupidchicken.com>
13397
13398 * progmodes/gdb-mi.el (gdb): Doc fix.
13399
5a4cf282
MR
134002011-10-05 Martin Rudalics <rudalics@gmx.at>
13401
13402 * window.el (frame-auto-hide-function): New option replacing
13403 frame-auto-delete. Suggested by Stefan Monnier.
13404 (window--delete): Call frame-auto-hide-function instead of
13405 investigating frame-auto-delete.
c96111ea
MR
13406 (window-point-1, set-window-point-1): New functions.
13407 (window-in-direction, record-window-buffer, window-state-get-1)
13408 (display-buffer-record-window): Use window-point-1 instead of
13409 window-point.
13410 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 13411
9854542e
SM
134122011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13413
13414 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
13415
8943cfb0
GM
134162011-10-05 Glenn Morris <rgm@gnu.org>
13417
13418 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
13419 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
13420
647ab967
LL
134212011-10-05 Leo Liu <sdl.web@gmail.com>
13422
13423 * subr.el (read-char-choice): Fix argument to buffer-live-p which
13424 works with buffer object.
13425
3ddfbced
SM
134262011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13427
13428 * mpc.el (mpc-tool-bar-map): Add labels.
13429
bdfa5dd2
GM
134302011-10-04 Glenn Morris <rgm@gnu.org>
13431
13432 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13433
0e2070b5
MR
134342011-10-04 Martin Rudalics <rudalics@gmx.at>
13435
13436 * window.el (window--delete): New function.
13437 (frame-auto-delete): Resuscitate option.
13438 (bury-buffer, replace-buffer-in-windows)
13439 (quit-window): Rewrite using window--delete.
13440 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13441 Pass display-buffer-mark-dedicated to window--display-buffer-2
13442 (Bug#9639).
13443
3dc61a09
SM
134442011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13445
915a9b64
SM
13446 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
13447 returns a list (bug#9554). Add remote file name completion.
13448 * comint.el (comint--table-subvert): Curry and get quote&unquote
13449 functions as arguments.
13450 (comint--complete-file-name-data): Adjust call accordingly.
13451 * pcomplete.el (pcomplete--table-subvert): Remove.
13452 (pcomplete-completions-at-point): Use comint--table-subvert instead.
13453
3dc61a09
SM
13454 * minibuffer.el (completion-table-case-fold): Use currying.
13455 (completion--styles-type, completion--cycling-threshold-type):
13456 New constants.
13457 (completion-styles, completion-category-overrides)
13458 (completion-cycle-threshold): Use them.
13459 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
13460 completion-table-case-fold.
13461
8ea0a993
SB
134622011-10-03 Stephen Berman <stephen.berman@gmx.net>
13463
13464 * minibuffer.el (completion-category-overrides): Fix type of styles
13465 and add more user friendly tags (bug#9660).
13466
8c24b7f6
SM
134672011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13468
13469 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
13470 (mule-input-method-string): New widget.
13471 (default-input-method, language-info-custom-alist): Use it.
13472
428fe61a
SM
134732011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13474
32c1fffd
SM
13475 * pcomplete.el: Require comint.
13476 (pcomplete--common-suffix): Remove.
13477 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13478 (pcomplete--table-subvert): Sync with comint--table-subvert.
13479 (pcomplete--entries): Use comint-completion-file-name-table.
13480 * comint.el (comint-unquote-filename): Simplify.
13481 (comint-completion-file-name-table): New function (bug#9616).
13482 (comint--complete-file-name-data): Use it.
13483
428fe61a
SM
13484 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13485 (pcmpl-gnu-tar-buffer): Remove.
13486 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
13487 around. Make sure pcomplete-suffix-list is only changed temporarily.
13488 Don't look inside the tar's file if it's too large.
428fe61a 13489
04c52e2f
CY
134902011-10-01 Chong Yidong <cyd@stupidchicken.com>
13491
ce3cefcc
CY
13492 * cus-edit.el (custom-mode-map):
13493 * epa.el (epa-key-list-mode-map):
13494 * man.el (Man-mode-map):
13495 * startup.el (splash-screen-keymap):
13496 * simple.el (special-mode-map): Use scroll-up-command and
13497 scroll-down-command.
13498
13499 * progmodes/idlw-help.el (idlwave-help-mode-map):
13500 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13501 * net/newst-plainview.el (newsticker-mode-map):
13502 * emulation/ws-mode.el (wordstar-mode-map):
13503 * emulation/vi.el (vi-com-map):
13504 * calc/calc-graph.el (calc-graph-show-dumb):
13505 * term/sun.el (terminal-init-sun):
13506 * term/ns-win.el (global-map):
13507 * progmodes/grep.el (grep-mode-map):
13508 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13509 * mail/rmail.el (rmail-mode-map):
13510 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13511
04c52e2f
CY
13512 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13513 custom-safe-themes as special.
13514
79adf8c8
JD
135152011-10-01 Julien Danjou <julien@danjou.info>
13516
13517 * notifications.el (notifications-notify): Fix docstring.
13518
63bd50d3
PS
135192011-10-01 Per Starbäck <per@starback.se>
13520
13521 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13522
199e4c7e
MR
135232011-09-30 Martin Rudalics <rudalics@gmx.at>
13524
13525 * startup.el (command-line-1): Fix last fix by inserting
13526 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 13527 (Bug#9605) and (Bug#9636)
199e4c7e 13528
fe5f08dd
EZ
135292011-09-29 Eli Zaretskii <eliz@gnu.org>
13530
13531 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13532 window is hscrolled, move by logical lines. (Bug#9607)
13533 (line-move-visual): Update the doc string to the above effect.
13534
b5516bbd
MR
135352011-09-29 Martin Rudalics <rudalics@gmx.at>
13536
ccee00c0
MR
13537 * window.el (display-buffer-record-window): When WINDOW is the
13538 selected window use `point' instead of `window-point'. (Bug#9626)
13539
b5516bbd
MR
13540 * startup.el (command-line-1): Use insert-before-markers when
13541 inserting initial-scratch-message. (Bug#9605)
ccee00c0 13542
b5516bbd
MR
13543 * help.el (help-window): Remove variable.
13544
52aa0014
GM
135452011-09-29 Glenn Morris <rgm@gnu.org>
13546
13547 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13548
df9a7357
JB
135492011-09-29 Juanma Barranquero <lekktu@gmail.com>
13550
13551 * descr-text.el (describe-char-categories): Accept category
13552 descriptions more than one line long.
13553
a8406c20
SM
135542011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13555
88d9610c
SM
13556 * simple.el (delete-trailing-whitespace): Fix last change.
13557
a5daf810
SM
13558 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13559 Don't confuse "y => 3" as the beginning of a `y' operation.
13560
a8406c20
SM
13561 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13562 object has more than 4 slots (bug#9613).
13563
a239d4e9
JB
135642011-09-28 Juanma Barranquero <lekktu@gmail.com>
13565
13566 * subr.el (with-output-to-temp-buffer):
13567 * net/quickurl.el (quickurl, quickurl-browse-url):
13568 Fix typos in docstrings.
13569
693fbdb6
EZ
135702011-09-27 Eli Zaretskii <eliz@gnu.org>
13571
13572 * minibuffer.el (completion-styles)
13573 (completion-category-overrides): Cross reference each other in doc
13574 strings.
13575
8b457e28
GM
135762011-09-27 Glenn Morris <rgm@gnu.org>
13577
13578 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13579 to split-string. (Bug#9606)
13580
85a16208
LMI
135812011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13582
13583 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13584 (bug#9615).
13585
502f9ebd
CY
135862011-09-27 Chong Yidong <cyd@stupidchicken.com>
13587
13588 * emacs-lisp/package.el (list-packages): Fix echo area message.
13589
7690bdea
LL
135902011-09-27 Leo Liu <sdl.web@gmail.com>
13591
13592 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13593
e2ee6f30
MA
135942011-09-25 Michael Albinus <michael.albinus@gmx.de>
13595
13596 * net/dbus.el (dbus-unregister-object): Don't release services for
13597 registered signals. (Bug#9581)
13598
f3f98342
TZ
135992011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13600
13601 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13602 function that picks between cfengine 2 and 3 support
13603 automatically. Update docs accordingly.
13604
dd7aa8dd
KH
136052011-09-22 Kenichi Handa <handa@m17n.org>
13606
13607 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13608 ZERO.
13609 (indian-itrans-v5-table-for-tamil): New variable.
13610 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13611
3f2b07f8
KM
136122011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13613
13614 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13615 that's true if the current command involved collapsing of text.
13616 It's reset to false at the beginning of the next command.
13617 (allout-post-command-business): Move the cursor to the beginning
13618 of entry if the cursor is hidden and collapsing activity just
13619 happened.
13620
371d6a61
CY
136212011-09-24 Chong Yidong <cyd@stupidchicken.com>
13622
13623 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13624 tracking (Bug#9541).
13625
2ac2721a
UJ
136262011-09-24 Ulf Jasper <ulf.jasper@web.de>
13627
13628 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
13629 (newsticker-show-news): Automatically load html rendering package
13630 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13631 because w3m-fill-column is let-bound" and the error "Symbol's value
13632 as variable is void: w3m-fill-column".
2ac2721a 13633
fac7ae53
MA
136342011-09-24 Michael Albinus <michael.albinus@gmx.de>
13635
13636 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13637 Release services only if they are defined. (Bug#9581)
13638
e08b633b
RS
136392011-09-23 Richard Stallman <rms@gnu.org>
13640
e488d29c
RS
13641 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13642 distinguish start of paragraph from start of its text.
13643
19c38752
RS
13644 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13645
e08b633b
RS
13646 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13647 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13648 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13649
0a39f27e
AS
136502011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13651
13652 * international/mule-diag.el (mule-diag): Insert a newline after
13653 each fontset description.
13654
db4e950d
SM
136552011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13656
13657 * simple.el (delete-trailing-whitespace):
13658 Document last change; simplify.
13659
eca3f3ea
PW
136602011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13661
d68e189a
PW
13662 * simple.el (delete-trailing-whitespace): Also delete
13663 extra newlines at the end of the buffer.
13664
eca3f3ea
PW
13665 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13666 (picture-newline): Use forward-line so as to ignore fields.
13667
01c157cc
SM
136682011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13669
13670 * subr.el (with-wrapper-hook): Fix edebug spec.
13671
022de23e
LMI
136722011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13673
13674 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13675 (bug#4538).
13676
91683089
MA
136772011-09-23 Michael Albinus <michael.albinus@gmx.de>
13678
eca3f3ea
PW
13679 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13680 Fix nasty bug using wrong cached values.
91683089 13681
5bdd6fa4
AM
136822011-09-23 Alan Mackenzie <acm@muc.de>
13683
13684 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13685
97adfb97
CY
136862011-09-23 Chong Yidong <cyd@stupidchicken.com>
13687
13688 * window.el (pop-to-buffer): Ensure right window is selected if we
13689 chose another frame.
13690
d4ef2b50
EZ
136912011-09-22 Eli Zaretskii <eliz@gnu.org>
13692
13693 * simple.el (what-cursor-position): Use get-char-property-change
13694 and next-single-char-property-change, to be able to show display
13695 properties that come from overlays as well as text properties.
13696
72258fe5
CY
136972011-09-22 Chong Yidong <cyd@stupidchicken.com>
13698
13699 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13700
13701 * cmuscheme.el (run-scheme, switch-to-scheme):
13702 * cus-edit.el (customize-group, custom-buffer-create)
13703 (customize-browse):
13704 * info.el (info):
13705 * shell.el (shell):
13706 * mail/sendmail.el (mail):
13707 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13708
8f098516
RS
137092011-09-22 Richard Stallman <rms@gnu.org>
13710
13711 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13712 move back only to line beg, don't move back over blank lines.
13713
e74f1bb6
MA
137142011-09-22 Michael Albinus <michael.albinus@gmx.de>
13715
13716 * files.el (copy-directory): Set directory attributes only in case
13717 they could be retrieved from the source directory. (Bug#9565)
13718
bfeef8b6
DK
137192011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13720
13721 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13722 (hs-find-block-beginning, hs-hide-level-recursive):
13723 Ignore strings as well as comments. (Bug#9502)
13724
7e423bb8
AS
137252011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13726
13727 * progmodes/sql.el (sql-comint-postgres):
13728 Convert port number to a string. (Bug#9566)
13729
b4d72fcf
MR
137302011-09-22 Martin Rudalics <rudalics@gmx.at>
13731
13732 * window.el (quit-window): Undedicate window when switching to
13733 previous buffer. Reported by Thierry Volpiatto
13734 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
13735 (special-display-popup-frame): When popping up a new frame reset
13736 its previous buffers to nil. Simplify code.
b4d72fcf 13737
a7b88dc6
MA
137382011-09-21 Michael Albinus <michael.albinus@gmx.de>
13739
13740 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13741 and process filter, as done also in `shell-command'.
13742
cf4eacfd
MR
137432011-09-21 Martin Rudalics <rudalics@gmx.at>
13744
eca3f3ea 13745 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
13746 Call set-window-start with NOFORCE argument t.
13747 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
13748 (quit-window): Reword doc-string. Handle new format of
13749 quit-restore parameter. Don't delete window if it has a
13750 previous buffer we can show instead of the present one.
13751 (display-buffer-record-window): Rewrite using a new format for
13752 the quit-restore window parameter
13753 (special-display-popup-frame, display-buffer-same-window)
13754 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13755 (display-buffer-pop-up-window, display-buffer-use-some-window):
13756 Adapt symbol passed to display-buffer-record-window.
13757 * help.el (help-window-setup): Handle new format of quit-restore
13758 parameter.
13759
8d28cb95
SM
137602011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13761
94ab793f
SM
13762 * faces.el (face-list): Fix docstring (bug#9564).
13763
8d28cb95
SM
13764 * window.el (display-buffer--action-function-custom-type):
13765 Don't include internal functions in the Custom interface.
13766
3820edeb
JL
137672011-09-20 Juri Linkov <juri@jurta.org>
13768
13769 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13770 (Info-forward-node, Info-backward-node, Info-next-preorder)
13771 (Info-last-preorder): Use it. (Bug#9528)
13772
5147931d
JL
137732011-09-20 Juri Linkov <juri@jurta.org>
13774
13775 * info.el (Info-last-preorder): Visit last menu item only when
13776 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13777
cf499a1a
JD
137782011-09-20 Julien Danjou <julien@danjou.info>
13779
13780 * password-cache.el (password-cache-remove): Remove entries even if the
13781 value is nil, so that password with a nil value (negative caching) is
13782 possible to invalidate.
13783
f84e2fe2
LM
137842011-09-20 Lawrence Mitchell <wence@gmx.li>
13785
13786 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13787 all whitespace around breakpoint. (Bug#9553)
13788 (f90-find-breakpoint): Only break at whitespace inside a comment.
13789
78054a46
SM
137902011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13791
13792 * minibuffer.el (completion-file-name-table): Keep track of errors.
13793 (completion-table-with-predicate): Handle the case where pred1 is nil.
13794 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13795
345083b2
SM
137962011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13797
e24e27be
SM
13798 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13799 (debugger-return-value): Signal an error if the debugging context does
13800 not await any return value.
13801
345083b2
SM
13802 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13803 * image-mode.el (image-toggle-display-text)
13804 (image-toggle-display-image): Stay away from evil `intangible'.
13805
08d355e3
LL
138062011-09-19 Leo Liu <sdl.web@gmail.com>
13807
13808 * replace.el (occur-revert-arguments): Make it permanent-local.
13809 (occur-mode): Don't call font-lock-defontify.
13810
f01da43f
CY
138112011-09-19 Chong Yidong <cyd@stupidchicken.com>
13812
13813 * net/ldap.el (ldap-search-internal): Don't push empty search
13814 result (Bug#9508).
13815
b6072fa6
SM
138162011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13817
13818 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13819
443d6696
MA
138202011-09-19 Michael Albinus <michael.albinus@gmx.de>
13821
13822 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13823 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13824
7cc6e154
JL
138252011-09-18 Juri Linkov <juri@jurta.org>
13826
13827 * buff-menu.el (Buffer-menu-mode-map):
13828 * dired.el (dired-mode-map):
13829 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13830 (lisp-interaction-mode-map):
13831 * emacs-lisp/package.el (package-menu-mode-map):
13832 * epa.el (epa-key-list-mode-map):
13833 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13834 (menu-bar-options-menu):
13835 * outline.el (outline-mode-menu-bar-map):
13836 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13837 * vc/vc-dir.el (vc-dir-menu-map):
13838 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13839 Capitalize non-function content words in menu item strings.
13840
13841 * dired.el (dired-mode-map): Add menu item for
13842 `image-dired-dired-toggle-marked-thumbs'.
13843
80302a81
JL
138442011-09-18 Juri Linkov <juri@jurta.org>
13845
13846 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13847 to `isearch-case-fold-search' and restore its original value
13848 after the `isearch-mode' call.
13849
46c5cf66
JL
138502011-09-18 Juri Linkov <juri@jurta.org>
13851
13852 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13853 because `zgrep' returns 1 for successful matches (bug#9226).
13854
d18b513b
JL
138552011-09-18 Juri Linkov <juri@jurta.org>
13856
13857 * info.el (Info-extract-menu-node-name): Check the second match
13858 for empty string (second test-case of bug#9528).
13859 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13860 intermediate nodes to the history (first test-case of bug#9528).
13861
72753f87
JL
138622011-09-18 Juri Linkov <juri@jurta.org>
13863
13864 * info.el (Info-mode-syntax-table): New variable.
1154d12e 13865 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 13866
c9384295
JL
138672011-09-18 Juri Linkov <juri@jurta.org>
13868
1154d12e
JB
13869 * info.el (Info-file-supports-index-cookies):
13870 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13871 outputs one more line for long file names (bug#4142).
c9384295 13872
d473dce8
CY
138732011-09-18 Chong Yidong <cyd@stupidchicken.com>
13874
13875 * newcomment.el (comment-normalize-vars): If prompting for
13876 comment-start, set comment-start-skip too (Bug#8424).
13877
2176854d
JB
138782011-09-18 Johan Bockgård <bojohan@gnu.org>
13879
13880 * icomplete.el: Fix previous fix of Bug#5849.
13881 (icomplete-mode): Don't set completion-show-inline-help.
13882 (icomplete-minibuffer-setup): Set completion-show-inline-help
13883 locally during icompletion.
13884
3aace4e4
CY
138852011-09-18 Chong Yidong <cyd@stupidchicken.com>
13886
c940224f
CY
13887 * woman.el (woman2-process-escapes): Don't delete unrecognized
13888 escapes (Bug#7843).
13889
3aace4e4
CY
13890 * files.el (inhibit-first-line-modes-regexps): Add image files.
13891 (hack-local-variables-prop-line): Return nil for malformed
13892 prop-lines (Bug#9044).
13893
710dec63
MA
138942011-09-18 Michael Albinus <michael.albinus@gmx.de>
13895
13896 * net/tramp.el (top): Don't require 'shell.
13897 (tramp-methods): Fix docstring.
13898 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
13899 Return complete remote file name. Handle "smb" case.
13900 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
13901 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13902
13903 * net/tramp-compat.el (top): Require 'shell.
13904
13905 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13906 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13907 `tramp-current-host'.
13908 (tramp-get-remote-tmpdir): Remove.
13909
13910 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13911 `tramp-tmpdir' entries.
13912 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13913 (tramp-smb-handle-file-attributes): Ignore errors.
13914 (tramp-smb-wait-for-output): Check also for process end.
13915
5d5ac8ec
LMI
139162011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13917
13918 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13919 when sending QUIT (bug#9312).
13920
8c0f49f0
CY
139212011-09-17 Chong Yidong <cyd@stupidchicken.com>
13922
13923 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13924 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13925 occur-mode-display-occurrence.
13926 (occur-edit-mode): Add usage message.
13927 (occur-cease-edit): New command.
13928 (occur-after-change-function): Use text properties to find the
13929 position of the prefix text.
13930 (occur-engine): Set stickiness of prefix text properties.
13931
8f1383f7
GM
139322011-09-17 Glenn Morris <rgm@gnu.org>
13933
13934 * progmodes/etags.el (complete-tag):
13935 Fix call to completion-in-region. (Bug#9526)
13936
744ba0e3
JL
139372011-09-17 Juri Linkov <juri@jurta.org>
13938
13939 * textmodes/ispell.el (ispell-word): Add to the error message
13940 the word, ispell program name and current dictionary (bug#9121).
13941 (ispell-tex-arg-end): Capitalize "error" in the error message.
13942
d9bbf400
AS
139432011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13944
13945 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13946 check. (Bug#4251)
13947
8da11505
JL
139482011-09-17 Juri Linkov <juri@jurta.org>
13949
13950 * window.el (window-safe-min-height, window-safe-min-width):
13951 Fix typos (followup to bug#9522).
13952
a91adc7e
SJ
139532011-09-17 Sven Joachim <svenjoac@gmx.de>
13954
13955 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13956
064f328a
EZ
139572011-09-16 Eli Zaretskii <eliz@gnu.org>
13958
13959 * simple.el (line-move): If goal-column is set, move by logical
13960 lines, not by display lines. (Bug#971)
13961 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13962 to reflect the above change.
13963
e69df516
SM
139642011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13965
13966 * image.el (imagemagick-register-types): Use regexp-opt.
13967
cbb0f9ab
CY
139682011-09-15 Chong Yidong <cyd@stupidchicken.com>
13969
13970 * window.el (display-buffer-base-action): Rename from
13971 display-buffer-default-action. Make default value empty.
13972 (display-buffer-overriding-action): Convert to defvar.
13973 (display-buffer-fallback-action): New var.
13974
25322144
CY
139752011-09-15 Chong Yidong <cyd@stupidchicken.com>
13976
13977 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13978 declaration.
13979 (package--add-to-archive-contents): If there is a duplicate entry
13980 with an older version, remove it.
13981 (package-menu-mark-delete, package-menu-mark-install)
13982 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
13983 (package-menu-mark-obsolete-for-deletion):
13984 Use package-menu-get-status instead of a regexp search.
25322144
CY
13985 (package-menu-get-status): Use tabulated-list-entry.
13986 (package-menu-mark-upgrades): New command.
d770725a 13987 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
13988 (package-menu-execute): Do installation before deletion.
13989 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13990 instead of checking major-mode.
13991 (package-menu--find-upgrades): New function.
13992
7520339c
LMI
139932011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13994
13995 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13996 passwords in the log buffer.
65a046c4
LMI
13997 (smtpmail-process-filter): Update the process marker so that the
13998 "broken by peer" status message is inserted in the right place.
7520339c 13999
d3c30954
SM
140002011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
14001
3fe48822
SM
14002 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
14003 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
14004 bibtex-completion-at-point-function.
14005 (bibtex-completion-at-point-function): Use them.
14006
1b8b3954
SM
14007 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
14008
d3c30954
SM
14009 * mpc.el (mpc-constraints-tag-lookup): New function.
14010 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
14011 also to browser "album|playlist".
14012
72779976
JL
140132011-09-14 Juri Linkov <juri@jurta.org>
14014
14015 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
14016 (isearch-edit-string): Use length of `isearch-string' when
14017 `isearch-fail-pos' returns nil.
14018 (isearch-message): Remove duplicate code and call
14019 `isearch-fail-pos' with arg `t'.
14020
a0bf2bcd
CY
140212011-09-14 Chong Yidong <cyd@stupidchicken.com>
14022
17bb0a2d
CY
14023 * replace.el (occur-mode-goto-occurrence): Don't force using other
14024 window (Bug#9499).
14025
a0bf2bcd
CY
14026 * dired-aux.el (dired-do-chmod): Don't provide initial input.
14027
f678e0b6
MR
140282011-09-14 Martin Rudalics <rudalics@gmx.at>
14029
14030 * window.el (display-buffer-window): Remove.
14031 (display-buffer-record-window): Use help-setup window parameter
14032 instead of variable display-buffer-window.
14033 (display-buffer-function, special-display-buffer-names)
14034 (special-display-function): Mention help-setup parameter instead
14035 of display-buffer-window in doc-string.
d3c30954
SM
14036 * help.el (help-window-setup): New argument help-window.
14037 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
14038 Reword some messages.
14039 (with-help-window): Pass window used for displaying the buffer
14040 to help-window-setup. Don't set display-buffer-window.
14041
8e39b2e8
GM
140422011-09-13 Glenn Morris <rgm@gnu.org>
14043
14044 * emacs-lisp/debug.el (debugger-make-xrefs):
14045 Preserve point. (Bug#9462)
14046
85e9c04b
CY
140472011-09-13 Chong Yidong <cyd@stupidchicken.com>
14048
14049 * window.el (window-deletable-p): Use next-frame.
14050
1b36ed6a
MR
140512011-09-13 Martin Rudalics <rudalics@gmx.at>
14052
14053 * window.el (window-auto-delete): Remove.
14054 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 14055 dedication and previous buffers.
1b36ed6a
MR
14056 (switch-to-prev-buffer): Don't delete window.
14057 (delete-windows-on): Delete a window's frame if and only if the
14058 window is dedicated.
14059 (replace-buffer-in-windows): Delete buffer's window or frame if
14060 and only if window is dedicated.
14061 (quit-window): Handle quit-restore as before last change.
4d61f28d 14062 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 14063
ef8ef9fb
CY
140642011-09-13 Chong Yidong <cyd@stupidchicken.com>
14065
14066 * window.el (window-deletable-p): Never delete the last frame on a
14067 given terminal.
14068
b2cba41e
GM
140692011-09-13 Glenn Morris <rgm@gnu.org>
14070
14071 * help.el (describe-key-briefly): Copy previous standard-output change.
14072
51553db6 140732011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
14074
14075 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
14076
b7556719
GM
140772011-09-13 Glenn Morris <rgm@gnu.org>
14078
14079 * emacs-lisp/lisp-mode.el (lisp-indent-function):
14080 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
14081
64b51947
CY
140822011-09-12 Chong Yidong <cyd@stupidchicken.com>
14083
14084 * dired-aux.el (dired-mark-read-string): Don't return default
14085 value on empty input (Bug#9361).
14086 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
14087 Omit initial minibuffer contents.
14088 (dired-do-chmod): Signal an error on empty input.
14089 (dired-mark-read-string): Don't return default on empty input.
14090
14091 * files.el (file-modes-symbolic-to-number): Doc fix.
14092
393a301e
SM
140932011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
14094
14095 * international/mule-cmds.el (ucs-completions): Remove.
14096 (read-char-by-name): Use complete-with-action instead; add metadata.
14097
fa5660f9
CY
140982011-09-11 Chong Yidong <cyd@stupidchicken.com>
14099
14100 * window.el (display-buffer--action-function-custom-type)
14101 (display-buffer--action-custom-type): New vars.
14102 (display-buffer-alist, display-buffer-default-action)
14103 (display-buffer-overriding-action): Add defcustom types.
14104
4a592f66
CY
14105 * frame.el (delete-other-frames): Doc fix (Bug#276).
14106
73d56dbd
LMI
141072011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14108
14109 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
14110
37ac18a3
CY
141112011-09-11 Chong Yidong <cyd@stupidchicken.com>
14112
14113 Change modes that used same-window-* vars to use switch-to-buffer.
14114
14115 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
14116 Use switch-to-buffer.
14117
14118 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
14119 (customize-browse, custom-buffer-create-other-window):
14120 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
14121
14122 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
14123 (Info-prev, Info-up, Info-speedbar-goto-node)
14124 (info-display-manual): Use switch-to-buffer.
14125 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
14126
14127 * mail/sendmail.el (mail): Use switch-to-buffer.
14128 (mail-recover): Use switch-to-buffer-other-window.
14129
14130 * cmuscheme.el (run-scheme, switch-to-scheme):
14131 * ielm.el (ielm):
14132 * shell.el (shell):
14133 * net/rlogin.el (rlogin):
14134 * net/telnet.el (telnet, rsh):
14135 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
14136
10195bd6
AS
141372011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14138
14139 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
14140
b322f63a
LMI
141412011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14142
39d7fed6
LMI
14143 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
14144 so don't mention it (bug#9301).
ba5a81f1 14145 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 14146
ee0e9f11
LMI
14147 * faces.el (face-spec-set-match-display): Make `(type graphic)'
14148 match `x', `w32' and `ns', like the manual says (bug#9029).
14149
0b1c89c1 14150 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
14151 (process-kill-buffer-query-function): Mention the buffer name in
14152 the query.
0b1c89c1 14153
77549ea8
LMI
14154 * image-mode.el (image-next-line): The line parameter is mandatory
14155 (bug#9258).
14156
803ef892
LMI
14157 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
14158 which can be useful (bug#9301).
14159
12980837
LMI
14160 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
14161
91054f8f
LMI
14162 * subr.el (match-string): Mention that the current buffer should
14163 be the same as the search was done in (bug#9282).
14164
b322f63a
LMI
14165 * facemenu.el: Disable the remove-* commands if the mark isn't
14166 active (bug#9162).
14167
3199b96f
CY
141682011-09-10 Chong Yidong <cyd@stupidchicken.com>
14169
14170 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
14171 of display-buffer.
14172 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
14173
14174 * replace.el (occur-mode-goto-occurrence)
14175 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
14176 and display-buffer.
14177
14178 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
14179 display-buffer.
14180
14181 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
14182 special-display and same-window variables.
14183 (mail-other-window): Use switch-to-buffer-other-window.
14184 (mail-other-frame): USe switch-to-buffer-other-frame.
14185
393a301e
SM
14186 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
14187 Use display-buffer-other-frame.
3199b96f
CY
14188 (gdb-display-gdb-buffer): Use pop-to-buffer.
14189
14190 * progmodes/gud.el (gud-goto-info): Use info-other-window.
14191
14192 * progmodes/python.el: Don't set same-window-buffer-names.
14193
14194 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
14195
14196 * window.el (display-buffer-alist): Add *Python*.
14197
8319e0bf
CY
141982011-09-10 Chong Yidong <cyd@stupidchicken.com>
14199
14200 * window.el (display-buffer-alist): Add entry for buffers
14201 previously handled same-window-*.
14202 (display-buffer-alist, display-buffer-default-action)
14203 (display-buffer-overriding-action): Mark as risky.
14204 (display-buffer-alist): Document action function changes.
14205 (display-buffer--same-window-action)
14206 (display-buffer--other-frame-action): New variables.
14207 (switch-to-buffer, display-buffer-other-frame): Use them.
14208 (display-buffer): Rename reuse-frame entry to reusable-frames.
14209 (display-buffer-reuse-selected-window): Function deleted.
14210 (display-buffer-reuse-window): Handle reusable-frames alist entry.
14211 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
14212 (display-buffer-special): New function.
14213 (display-buffer--maybe-pop-up-frame-or-window): Rename from
14214 display-buffer-reuse-or-pop-window. Split off special-display
14215 part into display-buffer-special.
14216 (display-buffer-use-some-window): Don't perform any special
14217 pop-up-frames handling.
14218 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 14219 (display-buffer--maybe-same-window): Rename from
0d3ff375 14220 display-buffer-maybe-same-window.
8319e0bf 14221
919a69aa
CY
14222 * info.el: Don't set same-window-regexps.
14223 (info-setup): New function.
14224 (info-other-window, info): Call it.
14225
14226 * cus-edit.el: Don't set same-window-regexps.
14227 (customize-group): New argument.
14228 (customize-group-other-window): Use it.
14229 (customize-face, customize-face-other-window): Likewise.
14230 (custom-buffer-create-other-window): Use pop-to-buffer directly.
14231
8319e0bf
CY
14232 * net/rlogin.el:
14233 * net/telnet.el:
14234 * progmodes/gud.el: Don't set same-window-regexps.
14235
14236 * cmuscheme.el:
14237 * ielm.el:
14238 * shell.el:
14239 * mail/sendmail.el:
14240 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
14241
25173000
JL
142422011-09-10 Juri Linkov <juri@jurta.org>
14243
14244 * isearch.el (isearch-edit-string): Remove obsolete mention of
14245 `C-w' (`isearch-yank-word-or-char') from docstring.
14246 (isearch-query-replace): Fix typo in docstring (bug#9466).
14247
056e44ef
JL
142482011-09-10 Juri Linkov <juri@jurta.org>
14249
14250 * paren.el (show-paren-function): Don't show escaped parens.
14251 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
14252
c3760c17
EZ
142532011-09-10 Eli Zaretskii <eliz@gnu.org>
14254
14255 * mail/sendmail.el (mml-to-mime, mml-attach-file)
14256 (mm-default-file-encoding): Remove autoload forms, they are
14257 replaced with autoload cookies in mml.el and mm-encode.el.
14258 (mail-add-attachment): New command.
14259 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
14260 (mail-mode): Mention mail-insert-file and mail-add-attachment in
14261 the doc string.
14262 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
14263
fece895e
RT
142642011-09-10 Reuben Thomas <rrt@sc3d.org>
14265
e69df516
SM
14266 * simple.el (count-words-region): Use buffer if there's no region
14267 (bug#9429).
fece895e 14268
5e68ce4a
JL
142692011-09-09 Juri Linkov <juri@jurta.org>
14270
14271 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
14272 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
14273 (wdired-isearch-filter-read-only): New function. (Bug#6362)
14274
0a6b9622
AM
142752011-09-09 Alan Mackenzie <acm@muc.de>
14276
14277 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
14278 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
14279
14a29deb
EZ
142802011-09-09 Eli Zaretskii <eliz@gnu.org>
14281
14282 Fix for Savannah bug#9392.
14283 * simple.el (mail-encode-mml): New defvar.
14284
14285 * mail/rmail.el (mail-encode-mml): Add a defvar.
14286 (rmail-enable-mime-composing): Default to t.
14287 (rmail-forward): Use MIME method of forwarding only if both
14288 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
14289 Set mail-encode-mml non-nil if the MIME method was used.
14290
14291 * mail/sendmail.el (mml-to-mime): Add autoload form.
14292 (mail-encode-mml): Add a defvar.
14293 (mail-mode): Make mail-encode-mml buffer-local and initialize it
14294 to nil.
14295 (mail-send): If mail-encode-mml is non-nil, run the outgoing
14296 message through mml-to-mime, and reset mail-encode-mml to nil.
14297
28c45130
GM
142982011-09-09 Glenn Morris <rgm@gnu.org>
14299
14300 * woman.el (woman-if-body): When processing an .el block,
14301 do not delete the next .el block as well. (Bug#9447)
69f4b618 14302 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 14303
9b1c252e
MR
143042011-09-08 Martin Rudalics <rudalics@gmx.at>
14305
14306 * window.el (window-deletable-p): Make sure window is live before
14307 invoking window-prev-buffers.
14308
567457e3
LL
143092011-09-08 Leo Liu <sdl.web@gmail.com>
14310
14311 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
14312
97f05794
JL
143132011-09-08 Juri Linkov <juri@jurta.org>
14314
14315 * progmodes/compile.el (compilation-environment): Make it
14316 a defcustom (bug#8340).
14317
8b0874b5
MR
143182011-09-08 Martin Rudalics <rudalics@gmx.at>
14319
14320 * window.el (frame-auto-delete): Rename to window-auto-delete.
14321 Make it control auto-deletion of windows and/or frames.
14322 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 14323 for deleting window/frame. (Bug#9419)
8b0874b5
MR
14324 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
14325 Rewrite handling of case when window/frame can be deleted.
14326 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 14327 argument t. (Bug#9456)
8b0874b5 14328
4feb6e73
CY
143292011-09-07 Chong Yidong <cyd@stupidchicken.com>
14330
14331 * help-mode.el (help-mode): Restore autoload.
14332
91ab9c13
JL
143332011-09-07 Juri Linkov <juri@jurta.org>
14334
14335 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
14336 `compilation-environment'. Set buffer-local
14337 `compilation-environment' to `thisenv' later after (funcall mode).
14338 (Bug#8340)
14339
14340 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
14341 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
14342 instead of replacing its value. (Bug#8340)
14343
0527e251
JL
143442011-09-07 Juri Linkov <juri@jurta.org>
14345
14346 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
14347 based on text properties put by `grep-filter' instead of matching
14348 escape sequences.
14349 (grep-mode): Set buffer-local `compilation-error-screen-columns'
14350 to the value of `grep-error-screen-columns' (bug#9438).
14351
249f792c
JL
143522011-09-07 Juri Linkov <juri@jurta.org>
14353
14354 * simple.el (next-error-highlight, next-error-highlight-no-select):
14355 Doc fix (bug#9432).
14356
ff7271b9
OT
143572011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
14358
14359 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14360 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
14361
183fc730
LL
143622011-09-07 Leo Liu <sdl.web@gmail.com>
14363
14364 * net/rcirc.el (rcirc-mode): Conditionally initialize
14365 rcirc-input-ring.
14366
77694924
SM
143672011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
14368
14369 * emacs-lisp/find-func.el (find-function-C-source): Only set
14370 find-function-C-source-directory after checking that we found a source
14371 file there (bug#9440).
14372
d809b8eb
AM
143732011-09-06 Alan Mackenzie <acm@muc.de>
14374
14375 * isearch.el (isearch-other-meta-char): Wherever a key list is
14376 unread, "unread" the prefix arg, too. This fixes bug #8901.
14377
453de99f
OG
143782011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
14379
14380 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
14381
90439906
JL
143822011-09-05 Juri Linkov <juri@jurta.org>
14383
14384 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
14385
f62bd846
JL
143862011-09-05 Juri Linkov <juri@jurta.org>
14387
14388 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
14389 keeping point where processing of grep matches begins, and
14390 continue to delete remaining escape sequences from the same point.
14391 (grep-filter): Make leading zero optional in "0?1;31m" because
14392 git-grep emits "\033[1;31m" escape sequences unlike expected
14393 "\033[01;31m" as GNU Grep does (bug#9408).
14394 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
14395
045820ec
JL
143962011-09-05 Juri Linkov <juri@jurta.org>
14397
14398 * subr.el (y-or-n-p): Capitalize "yes".
14399
f5e29b9b
MA
144002011-09-04 Michael Albinus <michael.albinus@gmx.de>
14401
14402 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
14403 `tramp-cache-unload-hook' where appropriate.
14404 (tramp-methods): Rename `tramp-remote-sh' to
14405 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
14406 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
14407
14408 * net/tramp-sh.el (top): Don't require 'shell.
14409 (tramp-methods): Add `tramp-remote-shell' and
14410 `tramp-remote-shell-args' entries.
14411 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
14412 (tramp-sh-handle-shell-command): Remove.
14413 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
14414 Use `tramp-remote-shell'.
14415
2784c434
CY
144162011-09-03 Chong Yidong <cyd@stupidchicken.com>
14417
393a301e 14418 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
14419 (sendmail-query-once): Save directly to send-mail-function.
14420 Update message-send-mail-function too.
14421
14422 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
14423
464cdf56
CS
144242011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14425
14426 * progmodes/python.el (python-mode-map): Use correct function to
14427 start python interpreter from menu-bar (as reported by Geert
14428 Kloosterman).
14429 (inferior-python-mode-map): Fix typo.
393a301e 14430 (python-shell-map): Remove.
464cdf56 14431
d37e5c87
DD
144322011-09-03 Deniz Dogan <deniz@dogan.se>
14433
14434 * net/rcirc.el (rcirc-print): Simplify code for
14435 rcirc-scroll-show-maximum-output. There is no need to walk
14436 through all windows to find the right one.
14437
f3ada0ee
CS
144382011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14439
14440 * help.el (help-return-method): Doc fix.
14441
1f3c99ca
MR
144422011-09-03 Martin Rudalics <rudalics@gmx.at>
14443
14444 * window.el (window-deletable-p): Don't return a non-nil value
14445 when there's a buffer that was shown in the window before.
14446 (Bug#9419)
393a301e
SM
14447 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14448 Set window's previous buffers to nil.
1f3c99ca 14449
a3cf097f
EZ
144502011-09-03 Eli Zaretskii <eliz@gnu.org>
14451
14452 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14453 newline before and after the tag line, so it doesn't interfere
14454 with determining the paragraph direction of bidirectional text.
14455
3d03de90
LL
144562011-09-03 Leo Liu <sdl.web@gmail.com>
14457
14458 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
14459
c3313451
CY
144602011-09-02 Chong Yidong <cyd@stupidchicken.com>
14461
393a301e 14462 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
14463 (pop-to-buffer): Change interactive spec. Pass second argument
14464 directly to display-buffer.
14465 (display-buffer): Fix interactive spec. Use functionp to
14466 distinguish between a function and a list of functions.
14467
14468 * abbrev.el (edit-abbrevs):
14469 * arc-mode.el (archive-extract):
14470 * autoinsert.el (auto-insert):
14471 * bookmark.el (bookmark-bmenu-list):
14472 * files.el (find-file):
14473 * view.el (view-buffer):
14474 * progmodes/compile.el (compilation-goto-locus):
14475 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14476
89894cd8
CY
144772011-09-02 Chong Yidong <cyd@stupidchicken.com>
14478
14479 * window.el (display-buffer-alist): Doc fix.
14480 (display-buffer): Add docstring. Don't treat
14481 display-buffer-default specially.
14482 (display-buffer-reuse-selected-window)
14483 (display-buffer-same-window, display-buffer-maybe-same-window)
14484 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14485 (display-buffer-pop-up-window)
14486 (display-buffer-reuse-or-pop-window)
14487 (display-buffer-use-some-window): New functions.
14488 (display-buffer-default-action): Use them.
393a301e 14489 (display-buffer-default): Delete.
89894cd8
CY
14490 (pop-to-buffer-1): Fix choice of actions.
14491
ae0bc9fb
SM
144922011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14493
14494 * minibuffer.el (completion--insert-strings): Don't get confused by
14495 completion entries that end with an LF char.
14496
e9d90883
EZ
144972011-09-01 Eli Zaretskii <eliz@gnu.org>
14498
14499 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14500
437014c8
CY
145012011-09-01 Chong Yidong <cyd@stupidchicken.com>
14502
14503 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
14504 (display-buffer-same-window, display-buffer-other-window):
14505 New functions.
437014c8
CY
14506 (pop-to-buffer-1): New function. Use the above.
14507 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 14508 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
14509
14510 * view.el (view-buffer-other-window, view-buffer-other-frame):
14511 Just use pop-to-buffer.
14512
a5e063d5
TV
145132011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14514
14515 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14516
793d32bb
WH
145172011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14518
14519 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14520
d65e4c15
RS
145212011-08-31 Richard Stallman <rms@gnu.org>
14522
14523 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14524 of the separation of rmail-view-buffer from rmail-buffer.
14525 If you say no to "replace original", the decrypt is in the
14526 view buffer. If you say yes, the decrypt goes into the
14527 rmail buffer also.
14528
f818cd2a
MR
145292011-08-31 Martin Rudalics <rudalics@gmx.at>
14530
14531 * window.el (display-buffer-window): Rewrite doc-string.
14532 (display-buffer-record-window): New function.
14533 (display-buffer-macro-specifiers)
14534 (display-buffer-even-window-sizes, display-buffer-set-height)
14535 (display-buffer-set-width, display-buffer-in-window)
14536 (display-buffer-reuse-window, display-buffer-split-specifiers)
14537 (display-buffer-side-specifiers, display-buffer-split-window-1)
14538 (display-buffer-split-window, display-buffer-split-atom-window)
14539 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14540 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14541 (display-buffer-other-window-means-other-frame)
14542 (display-buffer-normalize-special)
14543 (display-buffer-normalize-default)
14544 (display-buffer-normalize-argument)
14545 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14546 (display-buffer-normalize-specifiers, display-buffer-frame)
14547 (display-buffer-same-window, display-buffer-same-frame)
14548 (display-buffer-other-window)
14549 (display-buffer-same-frame-other-window)
14550 (display-buffer-other-frame, pop-to-buffer-same-window)
14551 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14552 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14553 (switch-to-buffer-same-frame)
14554 (switch-to-buffer-other-window-same-frame)
14555 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14556 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14557 (display-buffer-alist-set): Remove.
14558 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
14559 (special-display-regexps, special-display-function):
14560 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
14561 parameter.
14562 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14563 (special-display-frame-alist, special-display-popup-frame)
14564 (same-window-buffer-names, same-window-regexps, same-window-p)
14565 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14566 (split-window-preferred-function, split-height-threshold)
14567 (split-width-threshold, window-splittable-p)
14568 (split-window-sensibly, window--try-to-split-window)
14569 (window--frame-usable-p, even-window-heights)
14570 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
14571 (window--display-buffer-2, display-buffer-other-frame):
14572 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
14573 (display-buffer-default, display-buffer-assq-regexp): New functions.
14574 (display-buffer-alist): Rewrite doc-string.
14575 (display-buffer-default-action)
14576 (display-buffer-overriding-action): New variables.
14577 (display-buffer, switch-to-buffer): Rewrite.
14578 (pop-to-buffer): Restore Emacs 23 behavior but use
14579 window-normalize-buffer-to-display.
14580 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14581 Restore Emacs 23 behavior but use
14582 window-normalize-buffer-to-switch-to.
14583 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
14584 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14585 Rewrite using Emacs 23 options.
f818cd2a 14586
5bc3b51d
MA
145872011-08-31 Michael Albinus <michael.albinus@gmx.de>
14588
14589 * net/tramp.el (tramp-root-regexp): Remove.
14590 (tramp-completion-file-name-regexp-unified)
14591 (tramp-completion-file-name-regexp-separate)
14592 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 14593 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
14594 (tramp-drop-volume-letter): Simplify definition.
14595 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 14596
b1a4f8e1
SM
145972011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14598
14599 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14600 (bug#9356).
14601
5664fa7b
RT
146022011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14603
b1a4f8e1 14604 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 14605
9a45d6c3
JL
146062011-08-29 Juri Linkov <juri@jurta.org>
14607
14608 * isearch.el (isearch-done): Don't display message "Mark saved"
14609 when arg `edit' is non-nil to prevent its flicker in the echo area.
14610
fb87e0fb
CY
146112011-08-28 Chong Yidong <cyd@stupidchicken.com>
14612
14613 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14614 obsolete packages for deletion.
14615
09ac1c2a
CS
146162011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14617
14618 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 14619 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
14620 view-mode from help-mode.
14621 (help-xref-override-view-map): Remove.
14622 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14623 view-mode is not used anymore.
14624
7a1ff57f
CY
146252011-08-28 Chong Yidong <cyd@stupidchicken.com>
14626
14627 * server.el (server-port): Doc fix.
14628
b9696605
CY
14629 * cus-theme.el (custom-theme-choose-mode): Inherit from
14630 special-mode (Bug#9124).
14631 (custom-theme-choose-mode-map): Add special-mode to parent.
14632
ef8cdf8c
AM
146332011-08-28 Alan Mackenzie <acm@muc.de>
14634
14635 * progmodes/cc-fonts.el
14636 (c-make-font-lock-BO-decl-search-function): New function.
14637 (c-basic-matchers-after - "Fontify the clauses after various
14638 keywords"): Extract the three keyword lists for the 3 erroneous
14639 constructs from the list of four, and use the new function above
14640 in place of an old one.
14641
27de4e20
DD
146422011-08-28 Deniz Dogan <deniz@dogan.se>
14643
14644 * net/rcirc.el (rcirc-insert-prev-input)
14645 (rcirc-insert-next-input): Remove unused argument.
14646
356a3681
SM
146472011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14648
14649 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14650
3fc9b218
AM
146512011-08-27 Alan Mackenzie <acm@muc.de>
14652
14653 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14654 handle function pointer parameters properly.
14655
538a061c
MR
146562011-08-27 Martin Rudalics <rudalics@gmx.at>
14657
14658 * window.el (display-buffer-reuse-window): Fix case where
14659 selected window was reused with non-nil OTHER-WINDOW argument.
14660 (Bug#9381)
14661
35b1c40c
DD
146622011-08-27 Deniz Dogan <deniz@dogan.se>
14663
14664 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14665 oftc's NickServ messages.
14666
2f6a3e79
GM
146672011-08-27 Glenn Morris <rgm@gnu.org>
14668
14669 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14670
7254299e
CY
146712011-08-26 Chong Yidong <cyd@stupidchicken.com>
14672
14673 * emacs-lisp/package.el (package-install): Call package-initialize
14674 if called interactively.
14675
f8ccf167
LL
146762011-08-26 Leo Liu <sdl.web@gmail.com>
14677
14678 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14679
3e8cd5ce
JL
146802011-08-25 Juri Linkov <juri@jurta.org>
14681
14682 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14683 `search-whitespace-regexp' (bug#9364).
14684
93eb7113
JL
146852011-08-25 Juri Linkov <juri@jurta.org>
14686
14687 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14688 `regexp-search-ring' to their global values to protect from
14689 updating by `read-from-minibuffer' (bug#9185).
14690
f65d1611
JL
146912011-08-25 Juri Linkov <juri@jurta.org>
14692
14693 * textmodes/ispell.el (ispell-command-loop): Add newline
14694 at the end of the "Use option `i'..." line.
14695
f1cf7a31
JL
146962011-08-25 Juri Linkov <juri@jurta.org>
14697
14698 * battery.el (display-battery-mode): If `battery-status-function'
14699 or `battery-mode-line-format' is nil, display the message and set
14700 `display-battery-mode' to nil (bug#9363).
14701
0c95fcf7
EZ
147022011-08-25 Eli Zaretskii <eliz@gnu.org>
14703
14704 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14705 bidi-string-mark-left-to-right; they are unnecessary now.
14706
a2ebe600
DD
147072011-08-25 Deniz Dogan <deniz@dogan.se>
14708
14709 * net/quickurl.el: Documentation typo fixes.
14710
e4ed06f1
CY
147112011-08-25 Chong Yidong <cyd@stupidchicken.com>
14712
14713 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14714
e5f1c99e
GM
147152011-08-25 Glenn Morris <rgm@gnu.org>
14716
b2948976
GM
14717 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14718
e5f1c99e
GM
14719 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14720 (smtpmail-via-smtp): Handle nil response from smtp.
14721
f22f4808
JL
147222011-08-24 Juri Linkov <juri@jurta.org>
14723
14724 * proced.el (proced-marked): Inherit from `error' instead of
14725 `font-lock-warning-face'.
14726
14727 * ibuffer.el (ibuffer-marked-face): Change default face from
14728 `font-lock-warning-face' to `warning'.
14729 (ibuffer-deletion-face): Change default face from
14730 `font-lock-type-face' to `error'.
14731
14732 * battery.el (battery-update): Use the face `error' instead of
14733 `font-lock-warning-face' (bug#6117).
14734
6a93965e
JL
147352011-08-24 Juri Linkov <juri@jurta.org>
14736
14737 * faces.el (success): Change face color from "Green3" to
14738 "ForestGreen" on light background (bug#9353).
14739
1ed43b09
CY
147402011-08-24 Chong Yidong <cyd@stupidchicken.com>
14741
5664fa7b
RT
14742 * window.el (quit-window): Rename from quit-restore-window.
14743 Use same arglist as old quit-window.
1ed43b09
CY
14744 (frame-auto-delete): Doc fix.
14745
14746 * view.el (view-mode-exit): Use quit-window.
14747
11dcdbb2
JL
147482011-08-24 Juri Linkov <juri@jurta.org>
14749
14750 * isearch.el (isearch-ring-adjust1): Start visiting previous
14751 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14752 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14753 for empty search string (when the last search string is reused
14754 automatically) to adjust the isearch ring to the last element and
14755 prepare the correct index for further M-p commands (bug#9185).
14756
de62b4df
KH
147572011-08-24 Kenichi Handa <handa@m17n.org>
14758
14759 * international/ucs-normalize.el: If decomposition property of
14760 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14761 nil.
14762 (nfd, nfkd): Likewise.
14763
963b492b
SM
147642011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14765
14766 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14767 from process filters aren't reliably transmitted to the surrounding
14768 accept-process-output.
14769 (mpc-proc-check): New function.
14770 (mpc-proc-sync): Use it (bug#8293)
14771
93b6b5e1
SM
147722011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14773
14774 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14775 Add compatibility functions (bug#9313).
14776
bca633fb
EZ
147772011-08-23 Eli Zaretskii <eliz@gnu.org>
14778
b177498a
EZ
14779 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14780
6df6ae42 14781 * international/uni-bidi.el: Regenerate.
bca633fb 14782
0902a04e
KH
147832011-08-23 Kenichi Handa <handa@m17n.org>
14784
14785 * international/charprop.el:
14786 * international/uni-bidi.el:
14787 * international/uni-category.el:
14788 * international/uni-combining.el:
14789 * international/uni-comment.el:
14790 * international/uni-decimal.el:
14791 * international/uni-decomposition.el:
14792 * international/uni-digit.el:
14793 * international/uni-lowercase.el:
14794 * international/uni-mirrored.el:
14795 * international/uni-name.el:
14796 * international/uni-numeric.el:
14797 * international/uni-old-name.el:
14798 * international/uni-titlecase.el:
14799 * international/uni-uppercase.el: Regenerate.
14800
3bbf23bc
MR
148012011-08-23 Martin Rudalics <rudalics@gmx.at>
14802
14803 * help.el (help-window-setup): Fix message displayed when other
14804 window is reused. (Bug#9341)
14805
b3fd59bd
SM
148062011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14807
1802e444
SM
14808 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14809 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14810
b3fd59bd
SM
14811 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14812 Mark obsolete.
14813 * shell.el (shell-parse-pcomplete-arguments): New function.
14814 (shell-completion-vars): Use it instead (bug#9160).
14815
4eb61348
SM
148162011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14817
867cab74
SM
14818 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14819 strings and comments (bug#9333).
14820
4eb61348
SM
14821 * emacs-lisp/debug.el (debug-arglist): New function.
14822 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14823 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14824
262a1439
JL
148252011-08-22 Juri Linkov <juri@jurta.org>
14826
56ee679c
JL
14827 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14828 Revert regexp that highlights output switches to its old
14829 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14830
262a1439
JL
14831 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14832 to check for empty output (bug#9226).
14833
f13f86fb
CY
148342011-08-22 Chong Yidong <cyd@stupidchicken.com>
14835
14836 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14837 symbol-constituent as the default, as that stops font-lock from
14838 working properly (Bug#8843).
14839
c65c9622
LMI
148402011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14841
14842 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14843 `coding-system-for-*' around the process open call to avoid
14844 auth-source side effects.
e7f2c178 14845 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
14846 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14847 probe hangs.
c65c9622 14848
23a8a5ab
CY
148492011-08-21 Chong Yidong <cyd@stupidchicken.com>
14850
ff98b2dd
CY
14851 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14852
23a8a5ab
CY
14853 * emacs-lisp/find-func.el (find-function-noselect): New arg
14854 lisp-only.
14855
14856 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14857 signal an error for built-in functions (Bug#6664).
14858
f5e3c598
LMI
148592011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14860
14861 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14862 (smtpmail-try-auth-methods): Use it.
14863
a3f2468a
CY
148642011-08-21 Chong Yidong <cyd@stupidchicken.com>
14865
2c34e8da
CY
14866 * font-lock.el (font-lock-fontify-region)
14867 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14868 (font-lock-default-unfontify-buffer)
14869 (font-lock-default-fontify-region)
14870 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14871
b3fd59bd
SM
14872 * progmodes/compile.el (compilation-error-properties):
14873 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
14874 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14875 `ant' regexp.
ee31aabc 14876
a3f2468a
CY
14877 * net/browse-url.el (browse-url-firefox): Don't call
14878 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14879
8e999f70
GM
148802011-08-20 Glenn Morris <rgm@gnu.org>
14881
c21a496a
GM
14882 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14883
59ee0542
GM
14884 * tutorial.el (tutorial--default-keys): Update some default bindings.
14885
8e999f70
GM
14886 * files.el (hack-local-variables): Fully ignore case for "mode:".
14887
e3715033
AM
148882011-08-20 Alan Mackenzie <acm@muc.de>
14889
14890 Resolve invalid use of a regexp in regexp-opt.
14891
4d61f28d
JB
14892 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14893 detection for a java annotation.
e3715033 14894
4d61f28d 14895 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
14896 detection for a java annotation.
14897
4d61f28d
JB
14898 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14899 handling for java.
e3715033
AM
14900 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14901
04ed2e9c
CY
149022011-08-20 Chong Yidong <cyd@stupidchicken.com>
14903
14904 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14905 (Bug#9274).
14906
826cee64
AM
149072011-08-20 Alan Mackenzie <acm@muc.de>
14908
58179cce 14909 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
14910 such a construct. Mainly for when jit-lock etc. starts a chunk
14911 here.
14912
58179cce 14913 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 14914 variable.
58179cce 14915 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
14916 c-make-font-lock-search-function.
14917 (c-make-font-lock-search-function): Use the above function.
14918 (c-make-font-lock-context-search-function): New function.
14919 (c-cpp-matchers): Enhance the preprocessor expression case with
14920 the above function
14921 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14922 which takes an expression.
14923
14924 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14925
13009bd8
MR
149262011-08-20 Martin Rudalics <rudalics@gmx.at>
14927
14928 * window.el (display-buffer-reuse-window)
14929 (display-buffer-pop-up-window): Don't reuse or split a side
14930 window.
14931
9234ff7f
GM
149322011-08-19 Glenn Morris <rgm@gnu.org>
14933
14934 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 14935 Downcase "Mode:". (Bug#9331)
9234ff7f 14936
f635daa1
CY
149372011-08-18 Chong Yidong <cyd@stupidchicken.com>
14938
14939 * international/characters.el: Add L and R categories.
14940
14941 * subr.el (bidi-string-mark-left-to-right): Rename from
14942 string-mark-left-to-right. Use category search.
14943
14944 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14945
bc987f8b
JL
149462011-08-18 Juri Linkov <juri@jurta.org>
14947
14948 * faces.el (error, warning, success): New faces with definitions
14949 copied from old default values of `font-lock-warning-face',
14950 `compilation-warning', `compilation-info' (bug#6117).
14951
14952 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14953
14954 * progmodes/compile.el (compilation-error): Inherit from `error'.
14955 (compilation-warning): Inherit from `warning'.
14956 (compilation-info): Inherit from `success'.
14957
14958 * dired.el (dired-marked): Inherit from `warning'.
14959 (dired-flagged): Inherit from `error'.
14960
57173b96
LMI
149612011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14962
3e79eb87
LMI
14963 * mail/smtpmail.el (auth-source): Require to avoid problems with
14964 binding variables (bug#9298). Also clean up some unused
14965 autoloads.
14966
b3fd59bd
SM
14967 * net/network-stream.el (network-stream-open-starttls):
14968 Support using starttls.el without using gnutls-cli.
57173b96 14969
02b404de
JL
149702011-08-17 Juri Linkov <juri@jurta.org>
14971
14972 * progmodes/grep.el (rgrep): Handle the case when
14973 `grep-find-command' is a cons cell (bug#9278).
14974
8c9177f2
MR
149752011-08-17 Martin Rudalics <rudalics@gmx.at>
14976
14977 * window.el (display-buffer-pop-up-frame): Run frame creation
14978 function with BUFFER current (as special-display-popup-frame
14979 does). Reported by Drew Adams.
14980
3644a0ab
DU
149812011-08-17 Daiki Ueno <ueno@unixuser.org>
14982
14983 * epa-mail.el: Simplify GnuPG group expansion using
14984 epg-expand-group.
14985 (epa-mail-group-alist, epa-mail-group-modtime)
14986 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14987 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14988 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14989 Remove.
14990
5e617bc2 149912011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
14992
14993 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14994
9c4aeabf
AM
149952011-08-16 Alan Mackenzie <acm@muc.de>
14996
14997 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14998 Correct, to avoid the inside of macros.
14999
3a99bf64
RS
150002011-08-16 Richard Stallman <rms@gnu.org>
15001
04963aa8
RS
15002 * epa-mail.el: Handle GnuPG group definitions.
15003 (epa-mail-group-alist, epa-mail-group-modtime)
15004 (epa-mail-gnupg-conf-file): New variables.
15005 (epa-mail-parse-groups, epa-mail-sync-groups)
15006 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
15007 (epa-mail-expand-recipients): New functions.
15008 (epa-mail-encrypt): Call epa-mail-expand-recipients.
15009
177549d0
RS
15010 * mail/rmail.el (rmail-epa-decrypt): New command.
15011
fe38beef
RS
15012 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
15013 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
15014 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
15015 (epa-decrypt-armor-in-region): Make error message clearer.
15016
934eacb9
SM
150172011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
15018
15019 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
15020 and "a2b" to "ab" for `prefix'.
15021
d024fb4e
CY
150222011-08-14 Chong Yidong <cyd@stupidchicken.com>
15023
15024 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
15025 filter groups.
de148fee
CY
15026 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
15027 Fourquet (Bug#8804).
d024fb4e 15028
62f1ca49
JB
150292011-08-12 Juanma Barranquero <lekktu@gmail.com>
15030
15031 * startup.el (argi): Declare as global variable (bug#9275).
15032
9ccaaa4b
CY
150332011-08-12 Chong Yidong <cyd@stupidchicken.com>
15034
15035 * subr.el (string-mark-left-to-right): Search the entire string
15036 for RTL script, not just the terminating character. Doc fix.
15037
a3dae87a
SM
150382011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
15039
6cd18349
SM
15040 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
15041 New function.
15042 (js--regexp-literal, js-syntax-propertize-function): Remove.
15043 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
15044 (js-mode-map): Don't rebind electric keys.
15045 (js-insert-and-indent): Remove.
15046 (js-mode): Setup electric-layout and electric-indent instead.
15047
a3dae87a
SM
15048 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
15049
9d5cb631
DU
150502011-08-12 Daiki Ueno <ueno@unixuser.org>
15051
15052 * epa.el (epa-progress-callback-function): Fix the logic of
15053 displaying progress.
15054 * epa-file.el (epa-file-insert-file-contents): Make progress
15055 display more user-friendly.
15056 (epa-file-write-region): Ditto.
15057
3e26a4a2
CY
150582011-08-10 Chong Yidong <cyd@stupidchicken.com>
15059
15060 * subr.el (string-mark-left-to-right): New function.
15061
15062 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
15063 Use string-mark-left-to-right.
15064 (list-buffers-noselect): Caller changed.
15065
a3dae87a
SM
15066 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15067 Use string-mark-left-to-right.
3e26a4a2
CY
15068 (tabulated-list-print): Recenter after moving point.
15069
ac8cf6e6
JL
150702011-08-10 Juri Linkov <juri@jurta.org>
15071
15072 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
15073 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
15074 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
15075
8d96c9a4
CY
150762011-08-09 Chong Yidong <cyd@stupidchicken.com>
15077
15078 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
15079 (Bug#7554).
15080
7be1c708 150812011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
15082
15083 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
15084 character. (Bug#6594)
15085
37e11a63
CY
150862011-08-08 Chong Yidong <cyd@stupidchicken.com>
15087
839dde57
CY
15088 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
15089 (image-dired--with-db-file): New macro.
15090 (image-dired-write-tags, image-dired-remove-tag)
15091 (image-dired-create-gallery-lists, image-dired-write-comments)
15092 (image-dired-get-comment, image-dired-mark-tagged-files)
15093 (image-dired-list-tags, image-dired-gallery-generate): Use it.
15094 (image-dired-gallery-generate): Use insert-file-contents.
15095
37e11a63
CY
15096 * time.el (display-time-world-list, display-time-world-display):
15097 * time-stamp.el (time-stamp-string):
15098 * vc/add-log.el (add-change-log-entry): Use setenv instead of
15099 set-time-zone-rule (Bug#7337).
15100
0b4946c4
DU
151012011-08-08 Daiki Ueno <ueno@unixuser.org>
15102
15103 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
15104 (epg-error-to-string, epg-errors-to-string): New function.
15105 (epg-wait-for-completion): Reverse errors list.
15106 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
15107 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
15108 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
15109 (epg-sign-keys, epg-generate-key-from-file)
15110 (epg-generate-key-from-string): Format errors by using
15111 epg-errors-to-string (bug#9255).
15112 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
15113
75bfc667
JL
151142011-08-07 Juri Linkov <juri@jurta.org>
15115
15116 * faces.el (list-faces-display): Remove extra angle bracket
15117 from `help-mode-map'.
15118
15119 * info.el (Info-history-toc-nodes): Doc fix.
15120
15121 * longlines.el (longlines-mode): Doc fix.
15122
673e08bb
SM
151232011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
15124
4640dd88
SM
15125 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
15126 of statements and in a few more cases (bug#9183).
15127
673e08bb
SM
15128 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
15129 New functions.
15130 (cl-transform-lambda): Use them (bug#9239).
15131
89b3f019
MR
151322011-08-05 Martin Rudalics <rudalics@gmx.at>
15133
15134 * window.el (display-buffer-same-window)
15135 (display-buffer-same-frame, display-buffer-other-window)
15136 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15137 (pop-to-buffer-other-window)
15138 (pop-to-buffer-same-frame-other-window)
15139 (pop-to-buffer-other-frame): Make them defuns.
15140 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
15141
640c8776
SM
151422011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15143
15144 * subr.el (make-composed-keymap): Move from C. Change calling
15145 convention, and improve docstring to bring attention to a subtle point.
15146 * minibuffer.el (completing-read-default): Adjust accordingly.
15147
63648a95
MA
151482011-08-03 Michael Albinus <michael.albinus@gmx.de>
15149
15150 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
15151 (tramp-open-shell): Use `tramp-shell-quote-argument'.
15152
15153 * net/trampver.el: Update release number.
15154
b796c9b7
SM
151552011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15156
15157 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
15158 "in" (bug#9190).
15159
2239d7d5
LMI
151602011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15161
e07dd7c3
LMI
15162 * mail/sendmail.el (sendmail-query-once): Restore the current
15163 buffer after querying (bug#9074).
15164
0e6a2bd7
LMI
15165 * dired.el (dired-flagged): Use different faces for marked and
15166 flagged files (bug#6117).
15167
ce887515
LMI
15168 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
15169 (bug#4433).
15170
92f2affc
LMI
15171 * ido.el (ido-mode): Switch off the message if called
15172 non-interactively.
15173
57d5aff0
LMI
15174 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
15175 before 587, since it appears that that's more likely to work for
15176 more people.
15177
98cd6c18 15178 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 15179 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
15180 exist.
15181
b96dec83
LMI
15182 * info.el: Remove the `Info-beginning-of-buffer' function
15183 (bug#8325).
15184
b796c9b7
SM
15185 * net/network-stream.el (network-stream-open-starttls):
15186 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 15187
d90e2ea0
MR
151882011-08-01 Martin Rudalics <rudalics@gmx.at>
15189
15190 * window.el (display-buffer-in-window): Don't set dedicated status
15191 of window here (Bug#9215).
15192 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15193 (display-buffer-pop-up-side-window)
b796c9b7 15194 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 15195
cca09170
SM
151962011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
15197
15198 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
15199 before binding generated-autoload-file.
15200
027b979c
DD
152012011-08-01 Deniz Dogan <deniz@dogan.se>
15202
15203 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
15204
3c7ee4f3
MA
152052011-07-30 Michael Albinus <michael.albinus@gmx.de>
15206
15207 Sync with Tramp 2.2.2.
15208
15209 * net/trampver.el: Update release number.
15210
2cc8e51a
JL
152112011-07-30 Juri Linkov <juri@jurta.org>
15212
15213 * dired-aux.el (dired-touch-initial): Remove function.
15214 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
15215 current time, and `default' to the last modification time of the
15216 current marked file (bug#6887).
15217
a514d856
JM
152182011-07-28 Jose E. Marchesi <jemarch@gnu.org>
15219
15220 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 15221 numeric argument to read-number (bug#9163).
a514d856 15222
8a7eddd7
MA
152232011-07-27 Michael Albinus <michael.albinus@gmx.de>
15224
15225 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
15226 connection process, it could be nil.
15227
1ddd96f5
LL
152282011-07-27 Leo Liu <sdl.web@gmail.com>
15229
15230 Simplify url handling in rcirc-mode.
15231
15232 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
15233 (rcirc-browse-url-at-mouse): Remove.
15234 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
15235
b248a85d
AM
152362011-07-26 Alan Mackenzie <acm@muc.de>
15237
15238 Fontify bitfield declarations properly.
15239
15240 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
15241 (c-symbol-chars): Now exported as a lang variable.
15242 (c-not-primitive-type-keywords): New lang variable.
15243
15244 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
15245 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 15246 parsed as a bitfield declaration.
b248a85d 15247
b796c9b7
SM
15248 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15249 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
15250 (c-punctuation-in): New function.
15251 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
15252 declarations properly.
15253
68575ab0
UJ
152542011-07-26 Ulf Jasper <ulf.jasper@web.de>
15255
15256 * calendar/icalendar.el (icalendar--all-events): Take care of
15257 multiple vcalendars in a single file.
b796c9b7 15258 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 15259
0f0a88b9
DD
152602011-07-25 Deniz Dogan <deniz@dogan.se>
15261
15262 * image.el (insert-image): Clarifying docstring.
15263
0b3f36df
MA
152642011-07-24 Michael Albinus <michael.albinus@gmx.de>
15265
15266 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
15267 `tramp-send-command-and-check' if there is no error.
15268 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
15269
a9901f61
AM
152702011-07-22 Alan Mackenzie <acm@muc.de>
15271
15272 Prevent cc-langs.elc being loaded at run time.
15273
15274 * progmodes/cc-mode.el: Remove two autoload forms which loaded
15275 cc-langs.
15276
4d61f28d 15277 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
15278 "(require 'cc-langs)". Quote a form so it will evaluate at
15279 (cc-mode's) compilation time.
15280
11d074b2
MA
152812011-07-22 Michael Albinus <michael.albinus@gmx.de>
15282
15283 * net/tramp.el (tramp-file-name-handler): Avoid recursive
15284 loading. (Bug#9114)
15285
938b94c8
MR
152862011-07-21 Martin Rudalics <rudalics@gmx.at>
15287
15288 * window.el (display-buffer-pop-up-window)
15289 (display-buffer-pop-up-side-window)
15290 (display-buffer-in-side-window): Call display-buffer-set-height
15291 and display-buffer-set-width after setting the new window's
b796c9b7 15292 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 15293
bfa4f190
SS
152942011-07-20 Sam Steingold <sds@gnu.org>
15295
15296 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
15297 (etags-tags-included-tables): Call `convert-standard-filename' on
15298 the file names contained in TAGS so that windows Emacs can handle
15299 TAGS files created by cygwin ctags.
15300
8ca42262
LMI
153012011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
15302
15303 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
15304 which apparently didn't work.
15305
5db2afd2 153062011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 15307
5db2afd2
RW
15308 * proced.el (proced-send-signal): For *Marked Processes* buffer
15309 put point at beginning of buffer.
15310
92e15d10
SB
153112011-07-19 Stephen Berman <stephen.berman@gmx.net>
15312
15313 * proced.el (proced-format): Make header lines align with the text
15314 (bug#1779).
15315
1bfd59e5
LMI
153162011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15317
15318 * view.el (view-buffer): Allow running in `special' modes if we're
15319 visiting a file (bug#8615).
15320
f5aae37c
MR
153212011-07-19 Martin Rudalics <rudalics@gmx.at>
15322
15323 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
15324 (display-buffer-alist-set-1, display-buffer-alist-set-2):
15325 New functions.
f5aae37c
MR
15326 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
15327 more accurately.
15328
bf2c1571
AM
153292011-07-18 Alan Mackenzie <acm@muc.de>
15330
15331 Fontify declarators properly when, e.g., a jit-lock chunk begins
15332 inside a declaration.
15333
15334 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
15335
b796c9b7
SM
15336 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15337 New function.
bf2c1571
AM
15338 (c-complex-decl-matchers): Insert reference to
15339 c-font-lock-enclosing-decls.
15340
15341 * progmodes/cc-engine.el (c-backward-single-comment):
15342 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
15343 to nil around calls to (forward-comment -1).
15344
4e190b80
LMI
153452011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15346
12dc863d
LMI
15347 * image.el (put-image): Doc typo fix.
15348
a762e966
LMI
15349 * progmodes/etags.el (tags-search): Doc typo fix.
15350
4e190b80
LMI
15351 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
15352 password if we get errors 550 to 554.
15353
f019fb21
LMI
153542011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
15355
b796c9b7 15356 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 15357
81746738
LMI
15358 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
15359 indentation character (bug#6380).
15360
3ee3a1b5
LMI
15361 * files.el (buffer-offer-save): Made permanently local (bug#6241).
15362
c82f64de
LMI
15363 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
15364 to clarify what the problem is (bug#4291).
15365
f019fb21
LMI
15366 * simple.el (current-kill): Clarify what
15367 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
15368 (auto-fill-mode): Document `auto-fill-function' in relation to
15369 `auto-fill-mode' (bug#2470).
f019fb21 15370
0794775d
LM
153712011-07-16 Lawrence Mitchell <wence@gmx.li>
15372
15373 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
15374 method if slot is read-only (bug#9035).
15375
be39b8cc
MR
153762011-07-16 Martin Rudalics <rudalics@gmx.at>
15377
b796c9b7 15378 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 15379 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
15380 selected before, see discussion of (Bug#8615), (Bug#6954).
15381 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 15382
6ccf7859
GM
153832011-07-15 Glenn Morris <rgm@gnu.org>
15384
15385 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 15386 Respect help-form.
6ccf7859 15387
87e86684
LM
153882011-07-09 Lawrence Mitchell <wence@gmx.li>
15389
15390 * net/gnutls.el (gnutls-min-prime-bits): New variable.
15391 (gnutls-negotiate): Use it.
15392
d6066239
LMI
153932011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15394
b796c9b7
SM
15395 * net/gnutls.el (gnutls-negotiate):
15396 Upcase `gnutls-algorithm-priority'.
d6066239 15397
bd23ebc0
GM
153982011-07-15 Glenn Morris <rgm@gnu.org>
15399
c65bca65
GM
15400 * jka-compr.el (jka-compr-verbose): Move from here...
15401 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
15402 Add missing :version tag.
15403 * info.el: No need to require jka-compr when compiling.
bd23ebc0 15404
478615cc
LMI
154052011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15406
7b41decb
LMI
15407 * net/gnutls.el (gnutls-algorithm-priority): New variable.
15408 (gnutls-negotiate): Use it.
15409
dbc44fcd
LMI
15410 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
15411
06789f97
LMI
15412 * info.el (Info-beginning-of-buffer): New command.
15413 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
15414 announcing `b' as the key (bug#8325).
ab896c37 15415 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 15416
c39da690
LMI
15417 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
15418
3aa5f34b
LMI
15419 * international/mule-cmds.el
15420 (describe-specified-language-support): Make the error message
15421 clearer (bug#8905).
15422
4bf0979f
LMI
15423 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
15424
478615cc
LMI
15425 * isearch.el (isearch-barrier): Add a doc string, since it's
15426 mentioned in a function doc string (bug#8678).
15427
75c68aa1
MR
154282011-07-15 Martin Rudalics <rudalics@gmx.at>
15429
15430 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
15431 buffer argument (Bug#9083) and self-identifying label argument.
15432
a7c33da2
GM
154332011-07-15 Glenn Morris <rgm@gnu.org>
15434
15435 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
15436
2f5c6024
LMI
154372011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15438
15439 * man.el (Man-fontify-manpage): Fix message when formatting the
15440 man page (bug#7929).
15441
0bb23927 154422011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
15443
15444 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
15445 argument LRM; if non-nil, append an invisible LRM character to the
15446 buffer name.
15447 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
15448 last argument non-nil, when formatting buffer names.
0bb23927
EZ
15449 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
15450 paragraph direction.
cce4b0a7 15451
621ef9ab
LMI
154522011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15453
d1583c48
LMI
15454 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15455 the man page name (bug#7929).
15456
6a57fb5f
LMI
15457 * image.el (put-image): Mention the `put-image' overlay property
15458 (bug#7834).
15459
d7956b14
LMI
15460 * scroll-bar.el (set-scroll-bar-mode): Mention that
15461 `scroll-bar-mode' lists the values (bug#7772).
15462
5b2d4a66
LMI
15463 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
15464 command (bug#7729).
15465
7509a874
LMI
15466 * rect.el (apply-on-rectangle): Return the point after the last
15467 operation.
15468 (string-rectangle): Go to the point after the last operation
15469 (bug#7522).
15470
4fe74b19
LMI
15471 * printing.el (pr-toggle-region): Clarify the documentation
15472 slightly (bug#7493).
15473
b796c9b7
SM
15474 * time.el (display-time-update):
15475 Allow `display-time-mail-function' to return nil (bug#7158).
15476 Fix suggested by Detlev Zundel.
ab283561 15477
fc233c9d
LMI
15478 * vc/diff.el (diff): Clarify the order the file names are read
15479 (bug#7111).
15480
43f5740b
LMI
15481 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15482 the doc string (bug#7015).
15483
f2182a76
LMI
15484 * font-lock.el (font-lock-maximum-decoration): Mention what
15485 numeric levels mean (bug#6935).
15486
621ef9ab
LMI
15487 * startup.el (initial-buffer-choice): Don't mention the `none'
15488 selection, which is against policy.
15489
adc47434
MR
154902011-07-14 Martin Rudalics <rudalics@gmx.at>
15491
b796c9b7
SM
15492 * window.el (display-buffer-normalize-special):
15493 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 15494
7e5bfb8f
EZ
154952011-07-14 Eli Zaretskii <eliz@gnu.org>
15496
15497 * subr.el (version<, version<=, version=): Mention "-CVS" and
15498 "-12345" alpha version numbers.
15499
27fa387a
CY
155002011-07-14 Chong Yidong <cyd@stupidchicken.com>
15501
15502 * bindings.el: Add advertised binding for set-mark-command
15503 (Bug#5772).
15504
8bdfa064
CY
155052011-07-14 Chong Yidong <cyd@stupidchicken.com>
15506
15507 * bindings.el (mode-line-other-buffer):
15508 * bookmark.el (bookmark-bmenu-2-window):
15509 * bs.el (bs-cycle-next, bs-cycle-previous):
15510 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15511 switch-to-buffer.
15512
15513 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 15514 Delete.
8bdfa064 15515
5eba16a3
JB
155162011-07-14 Juanma Barranquero <lekktu@gmail.com>
15517
15518 * follow.el (follow-debug-message, follow-redisplay):
15519 * jka-cmpr-hook.el (with-auto-compression-mode):
15520 Fix typos in docstrings.
15521
15853710
LMI
155222011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15523
a28e4607
LMI
15524 * subr.el (with-silent-modifications): Clarify somewhat what the
15525 macro inhibits (bug#6525).
15526
15853710
LMI
15527 * simple.el (eval-expression): Note what it does if called
15528 interactively (bug#6495).
15529
bee0fcef
CY
155302011-07-13 Chong Yidong <cyd@stupidchicken.com>
15531
b796c9b7
SM
15532 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15533 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
15534
15535 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15536 Remove switch-to-buffer.
15537
58274504
LMI
155382011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15539
bd2fcc8d
LMI
15540 * files.el (make-directory): Clarify that an error will be raised
15541 if there's an error (bug#6397).
15542
0f04b32c
LMI
15543 * startup.el (initial-buffer-choice): Add `none' as a choice
15544 (bug#6234).
15545
465c5fc8
LMI
15546 * subr.el (add-hook): Clarify section about buffer-local hooks
15547 (bug#6218).
15548
58274504
LMI
15549 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15550
bead9a43
JB
155512011-07-13 Juanma Barranquero <lekktu@gmail.com>
15552
15553 * tabify.el (untabify): Preserve the current column so that point
15554 doesn't move (bug#6032).
15555
3af98a7b
LMI
155562011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15557
b796c9b7
SM
15558 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15559 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 15560
6240145a
GM
155612011-07-13 Glenn Morris <rgm@gnu.org>
15562
15563 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15564 (dired-insert-directory): Give a message the first time
15565 if ls is found not to support --dired.
15566
1d8c2ccc
LMI
155672011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15568
15569 * simple.el (toggle-truncate-lines): Clarify what is toggled
15570 (bug#5580). Text by Drew Adams.
15571
5fc4038e
CY
155722011-07-13 Chong Yidong <cyd@stupidchicken.com>
15573
15574 * simple.el (blink-matching-open): Make the error message from the
15575 last change less verbose.
15576
bf6012e5
DN
155772011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15578
15579 * font-lock.el (font-lock-comment-face): Use the high contrast
15580 "yellow" color for font-lock-comment-face on low color terminals
15581 using a dark background color (bug#4221).
15582
343c3b5a
LMI
155832011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15584
7e9505c5
LMI
15585 * dired.el (dired-insert-set-properties): Make the doc string
15586 reflect what it does now (bug#5325).
15587
c26fdcf5
LMI
15588 * simple.el (blink-matching-open): Say that we were unable to find
15589 the match within the limit, if we're limited (bug#5122).
15590
bb388cc5
LMI
15591 * international/mule-cmds.el (prefer-coding-system): Add an
15592 example (bug#4869).
15593
343c3b5a
LMI
15594 * progmodes/etags.el (tags-search): Document `file-list-form'
15595 (bug#4731).
15596
2a517d45
LM
155972011-07-13 Lawrence Mitchell <wence@gmx.li>
15598
15599 * net/browse-url.el (browse-url-default-browser)
15600 (browse-url-browser-function): Make the default browser choice a
15601 bit more logical (bug#4300). Also clean up the doc string.
15602
b6c78ef2
JB
156032011-07-13 Juanma Barranquero <lekktu@gmail.com>
15604
15605 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15606 binary endings (bug#4440).
15607
1c4dd947
LMI
156082011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15609
a2014063
LMI
15610 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15611 which can be pretty annoying (bug#8971).
15612
9c9c2d88
LMI
15613 * jka-compr.el (jka-compr-verbose): New variable, and use
15614 throughout (bug#8971).
15615
1c4dd947
LMI
15616 * info.el (Info-find-file): Fall back on the installation
15617 directory if we can't find the info node anywhere else.
15618
a1c9f41b
SO
156192011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15620
15621 * vc/vc.el (vc-revert-file):
15622 Don't set file time-stamp in the past. (Bug#5181)
15623
536f3d36
LMI
156242011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15625
7152b011
LMI
15626 * files.el (after-find-file): Give a better error message when
15627 trying to find a symlink that points to a file that doesn't exist
15628 (bug#4398).
15629
536f3d36
LMI
15630 * progmodes/cc-vars.el: Remove (probably) misleading comment
15631 (bug#4396).
15632
460c0fba
JB
156332011-07-12 Johan Bockgård <bojohan@gnu.org>
15634
15635 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15636
7a6bda45
CY
156372011-07-12 Chong Yidong <cyd@stupidchicken.com>
15638
15639 * mouse-sel.el: Hack restoring functionality, while keeping
15640 compatibility with 2010-07-03 changes to mouse selection.
15641 (mouse-sel-primary-overlay): New var.
15642 (mouse-sel-selection-alist): Use it.
15643 (mouse-sel-mode): Doc fix; remove points that are default features
15644 of mouse.el.
15645
c79598ef
JB
156462011-07-12 Johan Bockgård <bojohan@gnu.org>
15647
15648 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15649 Fix previous fix (bug#2490).
15650
ff8be6ef
RW
156512011-07-12 Roland Winkler <winkler@gnu.org>
15652
b796c9b7
SM
15653 * textmodes/bibtex.el (bibtex-initialize):
15654 Use pop-to-buffer-same-window.
ff8be6ef
RW
15655 (bibtex-search-entries): Fix interactive call.
15656
296ba3ee
LMI
156572011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15658
f5242a02 15659 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
15660 Fontise bytecomp Error lines more correctly (bug#2490).
15661 Fix suggested by Johan Bockgård.
f5242a02 15662
296ba3ee
LMI
15663 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15664
15665 * dired-x.el (dired-guess-default): Use `delete-dups'.
15666
f69fd0d2
CY
156672011-07-12 Chong Yidong <cyd@stupidchicken.com>
15668
15669 * dired.el (dired-mark-prompt):
15670 * dired-aux.el (dired-read-shell-command): Doc fix.
15671
eab5dc07
LMI
156722011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15673
b796c9b7
SM
15674 * mail/sendmail.el (sendmail-query-once):
15675 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
15676 emacs -Q.
15677
15678 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15679
eab5dc07
LMI
15680 * cus-edit.el (custom-file): Take an optional no-error variable.
15681 (customize-save-variable): Set the variable, and give a warning if
15682 running under "emacs -q".
15683
a1e65d42
JB
156842011-07-11 Juanma Barranquero <lekktu@gmail.com>
15685
15686 * loadhist.el (unload-feature-special-hooks):
15687 Add `auto-coding-functions', `fill-nobreak-predicate' and
15688 `find-directory-functions' (bug#5327).
15689
1d52da10
LMI
156902011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15691
be958f1d
LMI
15692 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15693
5bedb26c
LMI
15694 * cus-edit.el (custom-guess-name-alist): -alist variables should
15695 use the `alist' type (bug#3120). Suggested by Drew Adams.
15696
1d52da10
LMI
15697 * printing.el: Add documentation to all the `pr-toggle-' commands.
15698
cd394be1 156992011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
15700
15701 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15702 backends where it makes sense (bug#2623).
15703
dcc88d8a
LMI
157042011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15705
c3de9feb
LMI
15706 * dired-x.el (dired-guess-default): Remove duplicate shell command
15707 entries (bug#2028).
8a93078b 15708 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 15709 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 15710
dcc88d8a
LMI
15711 * subr.el (remove-duplicates): New conveniency function.
15712
505e3645
LMI
157132011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15714
15715 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15716 (bug#1526).
15717
157182011-07-10 Martin Rudalics <rudalics@gmx.at>
15719
15720 * window.el (display-buffer-normalize-default): Don't invert
15721 meaning of even-window-heights. Reported by Eli Zaretskii
15722 <eliz@gnu.org>.
15723
455e4fa1
BR
157242011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15725
15726 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15727
8e0bc3e9
CY
157282011-07-10 Chong Yidong <cyd@stupidchicken.com>
15729
15730 * window.el (display-buffer): Fix arguments to
15731 display-buffer-reuse-window in last change.
15732
fa7c3228
CY
15733 * faces.el (link): Use a less saturated blue on light backgrounds.
15734
15735 * startup.el (fancy-startup-text, fancy-about-text)
15736 (fancy-startup-tail): Use font-lock faces, for background safety.
15737
c0a7f300
BN
157382011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15739
b796c9b7
SM
15740 * emulation/viper-cmd.el (viper-change-state-to-vi):
15741 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 15742
4dc2a129
MR
157432011-07-09 Martin Rudalics <rudalics@gmx.at>
15744
15745 * window.el (display-buffer-default-specifiers): Remove.
15746 (display-buffer-macro-specifiers): Remove default specifiers.
15747 (display-buffer-alist): Default to nil.
b796c9b7 15748 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
15749 (display-buffer-pop-up-window): Allow splitting internal
15750 windows. Check whether a live window was created.
15751 (display-buffer-other-window-means-other-frame)
15752 (display-buffer-normalize-arguments): Rename to
15753 display-buffer-normalize-argument and rewrite. Set the
15754 other-window specifier.
15755 (display-buffer-normalize-special): New function.
15756 (display-buffer-normalize-options): Rename to
15757 display-buffer-normalize-default and rewrite.
15758 (display-buffer-normalize-options-inhibit): Remove.
15759 (display-buffer-normalize-specifiers): Rewrite.
15760 (display-buffer): Process other-window specifier and call
15761 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15762 more faithfully.
b796c9b7 15763 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 15764 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
15765 (display-buffer-in-window, display-buffer-alist-set):
15766 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
15767 <tassilo@member.fsf.org>.
15768
2d43b8c9
LL
157692011-07-09 Leo Liu <sdl.web@gmail.com>
15770
15771 * register.el (insert-register): Restore accidental change on
15772 2011-06-26. (Bug#9028)
15773
7f9b7c53
GM
157742011-07-09 Glenn Morris <rgm@gnu.org>
15775
15776 * subr.el (remq): Handle the empty list. (Bug#9024)
15777
f042cfd8
AS
157782011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15779
15780 * mail/sendmail.el (send-mail-function): No longer delay custom
15781 initialization.
15782 * custom.el (custom-initialize-delay): Doc fix.
15783
856b2f11
SM
157842011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15785
15786 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15787
afae1d68
MA
157882011-07-08 Michael Albinus <michael.albinus@gmx.de>
15789
15790 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15791 human-friendly prompt.
15792
0757af94
SM
157932011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15794
15795 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15796 provided by a particular plugin.
15797
d760b731
LMI
157982011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15799
15800 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15801 save customizations (with "emacs -Q"), just set the variable
15802 instead of erroring out.
15803
15804 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15805
cd79ce90
JL
158062011-07-08 Juri Linkov <juri@jurta.org>
15807
15808 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15809 (archive-zip-update-case): Use 7z if found by `executable-find'.
15810 The order of searching the available programs is the same as in
15811 `archive-zip-extract' (bug#8968).
15812
14cc04aa
CY
158132011-07-07 Chong Yidong <cyd@stupidchicken.com>
15814
15815 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15816 (menu-bar-options-menu): Tweak descriptions.
15817
0a1848ec
LMI
158182011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15819
15820 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15821 menu items into verb phrases (bug#1421). Also refill to fit under
15822 80 columns.
15823
f5bd0689
CY
158242011-07-07 Chong Yidong <cyd@stupidchicken.com>
15825
538e85c6
CY
15826 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15827 (Info-read-node-name): Doc fix (Bug#1084).
15828
f5bd0689
CY
15829 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15830 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15831 (end-of-sexp, beginning-of-sexp)
15832 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15833 (forward-symbol, forward-same-syntax, word-at-point)
15834 (sentence-at-point): Doc fix (Bug#1144).
15835
56ec5115
LMI
158362011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15837
f3f8e37f
LMI
15838 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15839 should cover it (bug#1281).
15840
0757af94 15841 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 15842
e9fce1ac 15843 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
15844 negotiation fails, then possibly try again with a non-encrypted
15845 connection (bug#9017).
15846
56ec5115
LMI
15847 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15848 be used.
15849
c2f9aec8
RS
158502011-07-07 Richard Stallman <rms@gnu.org>
15851
15852 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15853 property, and handle its changed format.
15854 Look for the correct line number.
15855 Use file's line contents (but not past first =) to find
15856 correct line in message.
15857
ef7b981d 158582011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
15859
15860 * international/characters.el (build-unicode-category-table):
15861 Delete it.
0757af94 15862 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 15863
0757af94 15864 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
15865 to src/chartab.c.
15866 (get-char-code-property): Call unicode-property-table-internal to
15867 load a file. Call get-unicode-property-internal where necessary.
15868 (put-char-code-property): Call unicode-property-table-internal to
15869 load a file. Call put-unicode-property-internal where necessary.
15870 put-unicode-property-internal where necessary.
0757af94
SM
15871 (char-code-property-description):
15872 Call unicode-property-table-internal to load a file.
c805dec0
KH
15873
15874 * international/charprop.el:
15875 * international/uni-bidi.el:
15876 * international/uni-category.el:
15877 * international/uni-combining.el:
15878 * international/uni-comment.el:
15879 * international/uni-decimal.el:
15880 * international/uni-decomposition.el:
15881 * international/uni-digit.el:
15882 * international/uni-lowercase.el:
15883 * international/uni-mirrored.el:
15884 * international/uni-name.el:
15885 * international/uni-numeric.el:
15886 * international/uni-old-name.el:
15887 * international/uni-titlecase.el:
15888 * international/uni-uppercase.el: Regenerate.
15889
15890 * loadup.el: Load international/charprop.el before
15891 international/characters.
15892
e14b388a
CY
158932011-07-07 Chong Yidong <cyd@stupidchicken.com>
15894
15895 * window.el (next-buffer, previous-buffer): Signal an error if
15896 called from a minibuffer window.
15897
15898 * bindings.el: Revert 2011-07-04 change.
15899
354cf0ba
RS
159002011-07-06 Richard Stallman <rms@gnu.org>
15901
15902 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15903 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15904 Treat markers like ints.
15905 (rmail-mime-entity): Doc fix.
15906
a48868a7
LMI
159072011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15908
4906cd3d
LMI
15909 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15910 defcustom again for backwards compatibility.
15911
e0457abe
LMI
15912 * simple.el (shell-command-on-region): Fill.
15913
d67f7e1f
LMI
15914 * dired-aux.el (dired-kill-line): Add a doc string.
15915
fe204702
LMI
15916 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15917 to "\\sw\\|\\s_" (bug#358).
15918
a48868a7
LMI
15919 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15920 (dired-unmark-backward): Ditto.
15921 (dired-flag-backup-files): Ditto.
15922
15923 * dired-x.el (dired-mark-sexp): Ditto.
15924
aa8a705c
RS
159252011-07-06 Richard Stallman <rms@gnu.org>
15926
15927 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15928 (rmail-mime-entity): New arg TRUNCATED.
15929 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15930 New functions.
15931 (rmail-mime-save): Warn if entity is truncated.
15932 (rmail-mime-toggle-hidden): Likewise, for showing.
15933 (rmail-mime-process-multipart): Record when an entity is truncated.
15934
a9a936b9
RS
15935 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15936 if ENTITY is a string.
15937
1f2b92cb
LMI
159382011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15939
f4f73198 15940 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
15941 of faces when `M-C-x'-ing their definitions (bug#8378).
15942 Also clean up the code slightly.
f4f73198 15943
12b16734 15944 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 15945 because that makes the colors go away.
12b16734 15946
f0691d22
LMI
15947 * mail/sendmail.el (send-mail-function): Change the default to
15948 `sendmail-query-once'.
9e87df06 15949 (sendmail-query-once): Add an autoload cookie.
f0691d22 15950
1f2b92cb
LMI
15951 * net/network-stream.el (network-stream-open-starttls): Try using
15952 a plain connection even if the server offered STARTTLS, and we
15953 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15954 capability. This should make smtpmail.el work in slightly more
15955 configurations.
15956
1cdd2a1b
MA
159572011-07-06 Michael Albinus <michael.albinus@gmx.de>
15958
15959 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15960 New defun.
15961 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15962
fbcc67e2
MM
159632011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15964
15965 * progmodes/sql.el: Version 3.0
0757af94 15966 (sql-product-alist): Add product :completion-object,
fbcc67e2 15967 :completion-column, and :statement attributes.
0757af94 15968 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 15969 (sql-mode-syntax-table): Mark all punctuation.
0757af94 15970 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
15971 ansi keywords.
15972 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 15973 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
15974 (sql-oracle-show-reserved-words): New function for development.
15975 (sql-product-font-lock): Simplify for source code buffers.
15976 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15977 New functions.
15978 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
15979 (sql-mode-map): Add statement movement functions.
15980 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15981 New variable.
fbcc67e2
MM
15982 (sql-statement-regexp, sql-beginning-of-statement)
15983 (sql-end-of-statement, sql-signum): New functions.
0757af94 15984 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
15985 (sql-show-sqli-buffer): Bug fix.
15986 (sql-interactive-mode): Store connection data as buffer local.
0757af94 15987 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
15988 with sql-interactive-mode.
15989 (sql-save-connection): Save buffer local settings.
0757af94 15990 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
15991 (sql-product-interactive): Bug fix.
15992 (sql-preoutput-hold): New variable.
15993 (sql-interactive-remove-continuation-prompt): Bug fixes.
15994 (sql-debug-redirect): New variable.
15995 (sql-str-literal): New function.
15996 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 15997 Redesign.
fbcc67e2
MM
15998 (sql-oracle-save-settings, sql-oracle-restore-settings)
15999 (sql-oracle-list-all, sql-oracle-list-table): New functions.
16000 (sql-completion-object, sql-completion-column)
16001 (sql-completion-sqlbuf): New variables.
16002 (sql-build-completions-1, sql-build-completions)
16003 (sql-try-completion): New functions.
16004 (sql-read-table-name): Use them.
16005 (sql-contains-names): New buffer local variable.
16006 (sql-list-all, sql-list-table): Use it.
16007 (sql-oracle-completion-types): New variable.
16008 (sql-oracle-completion-object, sql-sqlite-completion-object)
16009 (sql-postgres-completion-object): New functions.
16010
d4eaeab1
GM
160112011-07-06 Glenn Morris <rgm@gnu.org>
16012
16013 * window.el (pop-to-buffer): Doc fix.
16014
322b7dab 160152011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
16016
16017 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
16018
322b7dab 160192011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 16020
322b7dab 16021 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 16022
322b7dab 16023 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 16024
605dd5bf
CY
160252011-07-05 Chong Yidong <cyd@stupidchicken.com>
16026
16027 * button.el (button): Inherit from link face. Suggested by Dan
16028 Nicolaescu.
16029
7dbfa719
SM
160302011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16031
3db614b0
SM
16032 * progmodes/gdb-mi.el: Fit in 80 columns.
16033 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
16034 switch-to-buffer.
16035
7dbfa719
SM
16036 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
16037 if imenu is simply not configured (bug#8941).
16038
919d884a
KM
160392011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
16040
16041 * allout.el (allout-post-undo-hook): New allout outline-change
16042 event hook to signal undo activity.
16043 (allout-post-command-business): Run allout-post-undo-hook if an
16044 undo just occurred.
7dbfa719
SM
16045 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
16046 * allout-widgets.el (allout-widgets-after-undo-function):
16047 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
16048 in the vicinity of an undo.
16049 (allout-widgets-mode): Include allout-widgets-after-undo-function
16050 on the new allout-post-undo-hook.
16051
450a0f09
SM
160522011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16053
16054 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
16055 Let define-derived-mode define it.
16056 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
16057 cycles of abbrev-table inheritance (bug#8998).
16058
2de69e00
RW
160592011-07-05 Roland Winkler <winkler@gnu.org>
16060
16061 * textmodes/bibtex.el: Add support for biblatex.
16062 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
16063 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
16064 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
16065 (bibtex-entry-alist, bibtex-field-alist): New variables.
16066 (bibtex-entry-field-alist): Obsolete alias for
16067 bibtex-BibTeX-entry-alist.
16068 (bibtex-entry-alist, bibtex-field-alist): New widgets.
16069 (bibtex-set-dialect): New command.
16070 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
16071 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
16072 Bind via bibtex-set-dialect.
2de69e00
RW
16073 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
16074 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
16075 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
16076 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
16077 Define via bibtex-set-dialect.
450a0f09
SM
16078 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
16079 Obey bibtex-no-opt-remove-re.
2de69e00
RW
16080 (bibtex-vec-push, bibtex-vec-incr): New functions.
16081 (bibtex-format-entry, bibtex-field-list)
16082 (bibtex-print-help-message, bibtex-validate)
16083 (bibtex-search-entries): Use new format of bibtex-entry-alist.
16084
2dcdbdd9
SM
160852011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16086
16087 * progmodes/compile.el (compilation-goto-locus):
16088 * net/tramp-cmds.el (tramp-append-tramp-buffers):
16089 * bs.el (bs-cycle-next, bs-cycle-previous):
16090 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
16091 * bindings.el (mode-line-other-buffer):
16092 * autoinsert.el (auto-insert):
16093 * arc-mode.el (archive-extract):
16094 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
16095
b27640fe
JB
160962011-07-05 Juanma Barranquero <lekktu@gmail.com>
16097
16098 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
16099 Fix check of `emacs-lock-unlockable-modes'.
16100 Coerce true values of `emacs-lock--try-unlocking' to t.
16101
53bbe3ad
JB
161022011-07-05 Juanma Barranquero <lekktu@gmail.com>
16103
16104 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
16105 * emacs-lock.el: New file.
16106
1d3cdbc7
JD
161072011-07-05 Julien Danjou <julien@danjou.info>
16108
16109 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
16110 than `boundp' to check if face is set.
16111
9173deec
JB
161122011-07-05 Juanma Barranquero <lekktu@gmail.com>
16113
16114 * register.el (registerv-make):
16115 * window.el (window-min-height): Fix typos in docstrings.
16116
869795d6
JD
161172011-07-05 Jan Djärv <jan.h.d@swipnet.se>
16118
9173deec 16119 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
16120 Update doc string.
16121
b768cdcd
JB
161222011-07-04 Juanma Barranquero <lekktu@gmail.com>
16123
16124 * server.el (server-execute): Catch quit and call
16125 `server-return-error' to pass the error back to emacsclient and
16126 close the connection (bug#8942).
16127
13aa217b
KM
161282011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
16129
16130 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
16131 insecure exception for current topic. Also note that auto-saves
16132 are handled differently.
16133
5d3385a0 16134 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
16135 State variables for tracking auto-save inhibition situation.
16136
16137 (allout-write-contents-hook-handler): Rename from
16138 'allout-write-file-hook-handler', and describe how it depends on
16139 write-contents-functions sensitivity to non-nil value to prevent
16140 file write.
16141
16142 (allout-auto-save-hook-handler): Remove. auto-save does not check
16143 this in individual buffers, only in the starting buffer, so this
16144 is not the right way for us to inhibit auto-save in a buffer
16145 according to its condition.
16146
16147 (allout-mode): Use new allout-write-contents-hook-handler, and
16148 only with write-contents-functions. Remove auto-save provisions -
16149 they're implemented elsewhere.
16150
16151 (allout-before-change-handler): If undo is in progress, note that
16152 for attention of allout-post-command-business.
16153
16154 (allout-post-command-business): If the command we're following was
16155 an undo, check for change in the status of encrypted items and
16156 adjust auto-save inhibitions accordingly.
16157
16158 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
16159 according to whether there are or aren't any plain-text topics
16160 pending encryption.
16161
2dcdbdd9 16162 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
16163 Adjust buffer-saved-size and some allout state to inhibit auto-saves
16164 if there are plain-text topics pending encryption.
13aa217b
KM
16165
16166 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
16167 buffer-saved-size and some allout state to not inhibit auto-saves
16168 if there are no longer any plain-text topics pending encryption.
16169
0757af94
SM
16170 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
16171 No longer provide for exemption of the current topic.
13aa217b 16172
ac89b32c
JL
161732011-07-04 Juri Linkov <juri@jurta.org>
16174
16175 Add 7z operations to delete and save changed members (bug#8968).
16176 * arc-mode.el (archive-7z-expunge, archive-7z-update):
16177 New defcustoms.
16178 (archive-7z-write-file-member): New function.
16179 (archive-7z-summarize): Fix the number of dashes in the
16180 listing output.
16181
8fa39615
SM
161822011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16183
16184 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
16185 (bug#8958).
16186
2f11b3f1
CY
161872011-07-04 Chong Yidong <cyd@stupidchicken.com>
16188
d66fef2b
CY
16189 * bindings.el: Ignore next-buffer and previous-buffer in
16190 minibuffer-local-map.
16191
2f11b3f1
CY
16192 * font-lock.el (font-lock-builtin-face): Change light background
16193 color to dark slate blue (Bug#6693).
16194
f932a347
WD
161952011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
16196
16197 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
16198
c8af70e1
SM
161992011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16200
16201 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
16202 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16203 Add switch-to-buffer.
16204
f158badc
LMI
162052011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16206
16207 * isearch.el (isearch-search-fun-function): Clarify further the
16208 meaning of the function returned.
16209
6d95bd46
MA
162102011-07-04 Michael Albinus <michael.albinus@gmx.de>
16211
16212 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
16213
16214 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
16215 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
16216 Use it.
16217 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
16218 `tramp-default-remote-path' does not exist.
16219 (tramp-send-command-and-read): New optional argument NOERROR.
16220 (tramp-open-connection-setup-interactive-shell)
16221 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
16222 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
16223 (tramp-process-sentinel): Flush also process' connection property.
16224 (tramp-sh-handle-start-file-process): Do not set process
16225 sentinel. It is done now ...
16226 (tramp-maybe-open-connection): ... here. (Bug#8929)
16227
909e6b67
MK
162282011-07-04 MON KEY <monkey@sandpframing.com>
16229
16230 * play/animate.el (animate-string): Doc fixes and allow changing
16231 the buffer name (bug#5417).
16232
162332011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16234
c8af70e1 16235 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 16236
f34755dc
PE
162372011-07-04 Paul Eggert <eggert@cs.ucla.edu>
16238
396cec72
PE
16239 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
16240 This is simpler and helps future-proof the code.
16241 (timer-until): Use time-subtract and float-time.
08235028 16242 (timer--time-less-p): Use time-less-p.
f34755dc 16243
56e6cc31
JB
162442011-07-04 Juanma Barranquero <lekktu@gmail.com>
16245
3abb79e5
JB
16246 * type-break.el (timep): Use the value of `float-time' to avoid a
16247 byte-compiler warning.
16248
56e6cc31
JB
16249 * server.el (server-eval-and-print): Return any result, even nil.
16250
7b9430b4
PE
162512011-07-03 Paul Eggert <eggert@cs.ucla.edu>
16252
16253 * type-break.el: Accept time formats that the builtins accept.
16254 (timep, type-break-time-difference): Accept any format that
16255 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
16256 This is simpler and helps future-proof the code.
16257 (type-break-time-difference): Round rather than ignoring
16258 subseconds components.
16259
3034e9e7
LMI
162602011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16261
16262 * info.el (Info-apropos-matches): Make non-interactive, since it
16263 doesn't seem to do anything useful as a command (bug#8829).
16264
1485f4c0
CY
162652011-07-03 Chong Yidong <cyd@stupidchicken.com>
16266
16267 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 16268 Move from faces.el.
1485f4c0
CY
16269 (frame-default-terminal-background): New function.
16270
16271 * custom.el (custom-push-theme): Don't record faces in `changed'
16272 theme; this doesn't work correctly for per-frame face settings.
16273 (disable-theme): Use face-set-after-frame-default to reset faces.
16274 (custom--frame-color-default): New function.
16275
9fa3dd45
LMI
162762011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16277
c8af70e1 16278 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
16279 (bug#8769).
16280
6cbbc20c
KR
162812011-03-29 Kevin Ryde <user42@zip.com.au>
16282
16283 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16284 `perl-Test2' extend to match possible "fail #N" rep count
16285 (bug#8377).
16286
c7f98048
LMI
162872011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16288
65676592
LMI
16289 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
16290 `smtpmail-via-smtp' now returns the error instead of nil.
16291
c7f98048
LMI
16292 * isearch.el (isearch-search-fun-function): Clarify the doc string
16293 (bug#8101).
16294
56e6cc31 162952011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
16296
16297 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
16298 unnecessary spaces (bug#8987).
16299
2b216704
LMI
163002011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16301
16302 * net/network-stream.el (open-network-stream): Use the
16303 :end-of-capability command thoughout.
16304
163052011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16306
16307 * net/network-stream.el (open-network-stream): Add the
16308 :end-of-capability command parameter, used by pop3.el.
16309
36adf6ce
LMI
163102011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16311
1ca0da0e
LMI
16312 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
16313
fc00f69c
LMI
16314 * fringe.el (fringe-query-style): Remove redundant text " (type ?
16315 for list)" (bug#6475).
16316
28fd8759 16317 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 16318 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
16319 an error (bug#6297).
16320
0dd8b6da
LMI
16321 * man.el (Man-reference-regexp): Allow matching possible
16322 word-wrapped references (bug#6289).
16323
ce1438d6
LMI
16324 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
16325 for consistency with the other vc buffers (bug#6197).
16326 (vc-checkin): Ditto.
16327
16328 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
16329
36adf6ce
LMI
16330 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
16331
e83cc1f7
LMI
163322011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16333
8a20ca4c
LMI
16334 * custom.el (defcustom): Clarify that :set is only used in the
16335 Customize user interface (bug#6089).
16336
83319045
LMI
16337 * progmodes/flymake.el (flymake-mode): If the buffer isn't
16338 associated with a file, refuse to run instead of erroring out
16339 (bug#6084).
16340
a8392169
LMI
16341 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
16342 the doc string, since it appears that using `fill-column' always
16343 controls the width (bug#7845).
16344
e83cc1f7
LMI
16345 * simple.el (shell-command-on-region): Say where the error output
16346 went if `shell-command-default-error-buffer' is set (bug#6857).
16347
e47ca23b
KM
163482011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
16349
16350 * allout.el (allout-yank-processing): Adjust cursor position for
16351 backwards-deleted space.
16352
16353 (allout-rebullet-heading): Register changes with
16354 allout-exposure-changed-hook, so the modified topic is properly
16355 decorated.
16356
5cf56143
LMI
163572011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16358
08549772
LMI
16359 * minibuffer.el (completion-in-region): Document PREDICATE
16360 (bug#7136).
16361
48e96771
LMI
16362 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
16363 of keyword/argument pairs (bug#6904).
16364
c8af70e1
SM
16365 * replace.el (multi-occur):
16366 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 16367
e17d05e2
LMI
163682011-07-02 Drew Adams <drew.adams@oracle.com>
16369
16370 * dired.el (dired-mark-if): Make the message about whether it's
16371 marking or unmarking clearer (bug#8523).
16372
063b0e45
LMI
163732011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16374
16375 * disp-table.el (display-table-print-array): New function.
16376 (describe-display-table): Use it to print the vectors more pretty
16377 (Bug#8859).
16378
28545e04
MR
163792011-07-02 Martin Rudalics <rudalics@gmx.at>
16380
16381 * window.el (window-state-get-1): Don't assign clone numbers.
16382 Add clone-of item to list of window parameters.
16383 (window-state-put-2): Don't process clone numbers.
16384 (display-buffer-alist): Fix doc-string.
16385
3349e122
SM
163862011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
16387
16388 * subr.el (remq): Don't allocate if it's not needed.
16389 (keymap--menu-item-binding, keymap--menu-item-with-binding)
16390 (keymap--merge-bindings): New functions.
16391 (keymap-canonicalize): Use them to refine the canonicalization.
16392 * minibuffer.el (minibuffer-local-completion-map)
16393 (minibuffer-local-must-match-map): Move initialization from C.
16394 (minibuffer-local-filename-completion-map): Move initialization from C;
16395 don't inherit from anything here.
16396 (minibuffer-local-filename-must-match-map): Make obsolete.
16397 (completing-read-default): Use make-composed-keymap to combine
16398 minibuffer-local-filename-completion-map with either
16399 minibuffer-local-must-match-map or
16400 minibuffer-local-filename-completion-map.
16401
d224ac83
GM
164022011-07-01 Glenn Morris <rgm@gnu.org>
16403
3de63bf8
GM
16404 * type-break.el (type-break-time-sum): Use dolist.
16405
d224ac83
GM
16406 * textmodes/flyspell.el (flyspell-word-search-backward):
16407 Replace CL function.
16408
1a1e3f32
SM
164092011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16410
fe3f64d5
SM
16411 * mouse.el (mouse--strip-first-event): New function.
16412 (function-key-map): Use it to map fringe clicks to normal clicks
16413 by default.
16414
eb604e34
SM
16415 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
16416 (vc-bzr-revision-completion-table): Add support for annotate and date.
16417
1a1e3f32
SM
16418 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
16419 inherit from parent.
16420
5bd35902
LMI
164212011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16422
ace6c69c 16423 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 16424 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 16425
191e2bed
LMI
16426 * dired.el (dired-mode): Fix up the doc string as suggested by
16427 Drew Adams (bug#8817).
16428
5bd35902
LMI
16429 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
16430 cookie, since the manual says that it should be possible to add
16431 this function to `find-file-hook' (bug#8709).
16432
eee8207a
TZ
164332011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16434
16435 * progmodes/cfengine.el: Moved all cfengine3.el functionality
16436 here. Noted Ted Zlatanov as the maintainer.
16437 (cfengine-common-settings, cfengine-common-syntax): New functions
16438 to set up common things between `cfengine-mode' and
16439 `cfengine3-mode'.
16440 (cfengine3-mode): New mode.
16441 (cfengine3-defuns cfengine3-defuns-regex
16442 (cfengine3-class-selector-regex cfengine3-category-regex)
16443 (cfengine3-vartypes cfengine3-font-lock-keywords)
16444 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 16445 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 16446
36b148cf
MA
164472011-07-01 Michael Albinus <michael.albinus@gmx.de>
16448
16449 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
16450
16451 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16452
0bf4ba9a
MR
164532011-07-01 Martin Rudalics <rudalics@gmx.at>
16454
16455 * window.el (same-window-buffer-names, same-window-regexps)
16456 (same-window-p, special-display-frame-alist)
16457 (special-display-popup-frame, special-display-function)
16458 (special-display-buffer-names, special-display-regexps)
16459 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
16460 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16461 (split-window-preferred-function, split-height-threshold)
16462 (split-width-threshold, even-window-heights)
16463 (display-buffer-mark-dedicated, window-splittable-p)
16464 (split-window-sensibly, window-safely-shrinkable-p):
16465 Un-obsolete.
16466 (display-buffer): Don't spread args with function specifier
16467 because special-display-popup-frame won't like it.
16468
35837f51
PE
164692011-07-01 Paul Eggert <eggert@cs.ucla.edu>
16470
d0672f86
PE
16471 Time-stamp simplifications and fixes.
16472 These improve accuracy slightly, and future-proof the code
16473 against some potential changes to current-time format.
16474
b9444d97
PE
16475 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16476 by using time-since and float-time.
16477
0ef923dc
PE
16478 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16479 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16480 + NNN microseconds".
16481
2f81380d
PE
16482 * type-break.el (type-break-time-sum): Rewrite using time-add.
16483
845b5c3e
PE
16484 * play/hanoi.el (hanoi-current-time-float): Remove.
16485 All uses replaced by float-time.
16486
ee6f1be0
PE
16487 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16488 This yields a more-accurate answer.
16489 (rng-time-to-float): Remove; no longer needed.
16490
fe955043
PE
16491 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16492
5777162a
PE
16493 * calendar/timeclock.el (timeclock-seconds-to-time):
16494 Defalias to seconds-to-time, since they're the same thing.
16495
3103f8b6 16496 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 16497 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
16498 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16499
0e61a35f
SM
165002011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16501
16502 * window.el (bury-buffer): Don't iconify the only frame.
16503 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16504 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16505
ddd63a1e
CY
165062011-07-01 Chong Yidong <cyd@stupidchicken.com>
16507
0e61a35f
SM
16508 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16509 Add mouse-yank-primary.
ddd63a1e 16510
055f4923
TZ
165112011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16512
16513 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16514
6a2fb145
SM
165152011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16516
16517 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16518 (find-library-name): Use it to find relative load names when provided
16519 absolute file name (bug#8803).
16520
fd4983f2
LMI
165212011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16522
887d14ad
LMI
16523 * textmodes/flyspell.el (flyspell-word): Consider words that
16524 differ only in case as potential doublons (bug#5687).
16525
c53dc7fc
LMI
16526 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16527 Remove two rather uninteresting debugging-like messages to make
16528 debbugs.el more silent.
16529
fd4983f2
LMI
16530 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16531 a password-like phrase.
16532
7a71b18d 165332011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
16534
16535 * progmodes/cc-guess.el: New file.
16536
6a2fb145 16537 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
16538
16539 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16540 derived from `c-basic-common-init'.
16541
16542 * progmodes/cc-mode.el (top-level): Require cc-guess.
16543 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16544
1fa280a3
LM
165452011-06-30 Lawrence Mitchell <wence@gmx.li>
16546
16547 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16548
e6597158
AM
165492011-06-30 Alan Mackenzie <acm@muc.de>
16550
1fa280a3
LM
16551 * progmodes/cc-engine.el (c-guess-continued-construct):
16552 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
16553 lock is disabled. Name this case as "CASE G".
16554
68ba37fb
KM
165552011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16556
16557 * allout.el (allout-yank-processing): Fix injection of extra space
16558 between bullet and non-whitespace character in first topic when
16559 pasting, ensuring that the actual spacing in the pasted topic
16560 following the bullet char is preserved. This extra space was
16561 causing pasted encrypted topics to get a decrypted status even
16562 when the content was actually still encrypted. Now the decryption
16563 status from before the paste is preserved.
16564
16565 (allout-flag-region): Set all allout overlays so they evaporate
16566 when reduced to zero length (evanescent), to prevent overlay
16567 leakage.
16568
887a0b34
GM
165692011-06-30 Glenn Morris <rgm@gnu.org>
16570
94b9acce
GM
16571 * w32-fns.el (w32-charset-info-alist): Declare.
16572
1d9b46d4
GM
16573 * find-dired.el (find-grep-options): Simplify.
16574
cc232200
GM
16575 * term/ns-win.el (ns-set-resource): Declare.
16576
28e77c46
GM
16577 * ses.el (row, col): Declare dynamic variables honestly.
16578
887a0b34
GM
16579 * textmodes/reftex-parse.el (index-tags): Declare.
16580
658d8eb8
CY
165812011-06-30 Chong Yidong <cyd@stupidchicken.com>
16582
16583 * cus-edit.el (customize-push-and-save): New function.
16584
16585 * files.el (hack-local-variables-confirm): Use it.
16586
1fa280a3
LM
16587 * custom.el (load-theme): New arg NO-CONFIRM.
16588 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
16589 (custom-enabled-themes): Doc fix.
16590
16591 * cus-theme.el (customize-create-theme)
16592 (custom-theme-merge-theme): Callers to load-theme changed.
16593
bb617717
LMI
165942011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16595
d61bdd5d
LMI
16596 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16597 short URLs have at least one dot in them (bug #7614).
16598
bb617717
LMI
16599 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16600 nil, because using a pty is apparently too slow (bug #895).
16601
2f31f37a
LMI
166022011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16603
16604 * mail/sendmail.el (sendmail-query-once): New function.
16605 (sendmail-query-once-function): New variable.
16606
3076b24e
GM
166072011-06-29 Glenn Morris <rgm@gnu.org>
16608
faf2a174
GM
16609 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16610
3076b24e
GM
16611 * ses.el (top-level): Require cl when compiling.
16612 (ses-set-localvars): Fix error statement.
16613 Call it at compile time to silence a storm of warnings.
16614
5386012d
MR
166152011-06-29 Martin Rudalics <rudalics@gmx.at>
16616
16617 * window.el (normalize-live-buffer): Rename to
16618 window-normalize-buffer.
16619 (normalize-live-frame): Rename to window-normalize-frame.
16620 (normalize-any-window): Rename to window-normalize-any-window.
16621 (normalize-live-window): Rename to window-normalize-live-window.
16622 (make-window-atom): Rename to window-make-atom.
16623 (window-resize-reset): Rename to window--resize-reset.
16624 (window-resize-reset-1): Rename to window--resize-reset-1.
16625 (resize-mini-window): Rename to window--resize-mini-window.
16626 (resize-subwindows-skip-p): Rename to
16627 window--resize-subwindows-skip-p.
16628 (resize-subwindows-normal): Rename to
16629 window--resize-subwindows-normal.
16630 (resize-subwindows): Rename to window--resize-subwindows.
16631 (resize-other-windows): Rename to window--resize-siblings.
16632 (resize-this-window): Rename to window--resize-this-window.
16633 (resize-root-window): Rename to window--resize-root-window.
16634 (resize-root-window-vertically): Rename to
16635 window--resize-root-window-vertically.
16636 (normalize-buffer-to-display): Rename to
16637 window-normalize-buffer-to-display.
16638 (normalize-buffer-to-switch-to): Rename to
16639 window-normalize-buffer-to-switch-to.
16640 Correspondingly update all callers of the functions listed
16641 above.
16642 (display-buffer-alist, display-buffer-normalize-arguments)
16643 (display-buffer-normalize-options, display-buffer)
16644 (display-buffer-alist-set): Use "function" instead of
16645 "fun-with-args".
16646
1176868d
CY
166472011-06-28 Chong Yidong <cyd@stupidchicken.com>
16648
16649 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16650 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16651 debbugs.gnu.org. Mention acknowledgment email.
16652
20a7a65f
LMI
166532011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16654
16655 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16656 buffer multibyteness, since it shouldn't matter.
16657
5f45cca5
MR
166582011-06-28 Martin Rudalics <rudalics@gmx.at>
16659
16660 * window.el (display-buffer-in-side-window): Handle dedicated
16661 windows as in display-buffer-reuse-window.
16662 (display-buffer-normalize-alist): Use value of override
16663 specifier.
16664 (display-buffer-normalize-specifiers): Use value of
16665 other-window-means-other-frame specifier.
16666 (display-buffer-alist): Rewrite some texts in widgets.
16667 (display-buffer): Spread arguments when calling function
16668 specified by fun-with-args.
16669
ad85fe1f
DD
166702011-06-28 Deniz Dogan <deniz@dogan.se>
16671
1fa280a3
LM
16672 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16673 Unnest `let'.
da68c4c8 16674
ad85fe1f
DD
16675 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16676 selectors (Bug#5732).
ec49bd31 16677 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 16678
a08cc025
JA
166792011-06-27 Jari Aalto <jari.aalto@cante.net>
16680
16681 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16682 (eshell-ls-date-format): New defcustom.
16683 (eshell-ls-file): Use it.
16684
e2b551c5
SM
166852011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16686
16687 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16688
8982b231
KY
166892011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16690
16691 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16692 (ange-ftp-make-tmp-name): New arg.
16693 (ange-ftp-file-local-copy): Use it.
16694
36c9fa27
J
166952011-06-27 Jambunathan K <kjambunathan@gmail.com>
16696
16697 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16698 no-conversion (Bug#8870).
16699
d68443dc
MR
167002011-06-27 Martin Rudalics <rudalics@gmx.at>
16701
16702 * window.el (window-right, window-left, window-child)
16703 (window-child-count, window-last-child)
16704 (window-iso-combination-p, walk-window-tree-1)
16705 (window-atom-check-1, window-tree-1, delete-window)
16706 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16707 new naming conventions - window-vchild, window-hchild,
16708 window-next and window-prev are now called window-top-child,
16709 window-left-child, window-next-sibling and window-prev-sibling
16710 respectively.
d615d6d2
MR
16711 (resize-window-reset): Rename to window-resize-reset.
16712 (resize-window-reset-1): Rename to window-resize-reset-1.
16713 (resize-window): Rename to window-resize.
16714 (window-min-height, window-min-width)
16715 (resize-mini-window, resize-this-window, resize-root-window)
16716 (resize-root-window-vertically, adjust-window-trailing-edge)
16717 (enlarge-window, shrink-window, maximize-window)
16718 (minimize-window, delete-window, quit-restore-window)
16719 (split-window, balance-windows, balance-windows-area-adjust)
16720 (balance-windows-area, window-state-put-2)
16721 (display-buffer-even-window-sizes, display-buffer-set-height)
16722 (display-buffer-set-width, set-window-text-height)
16723 (fit-window-to-buffer): Rename all "resize-window" prefixed
16724 calls to use the "window-resize" prefix convention.
16725 (display-buffer-alist): Fix symbol for label specifier.
16726 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16727 corresponding specifier.
16728 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 16729
b6458526
VB
167302011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16731
16732 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16733 convention.
16734 (ses-call-printer): Does not pass an empty string to formatter when the
16735 cell is empty to keep from barking printer Calc math-format-value.
16736
d31fd9ac
RS
167372011-06-27 Richard Stallman <rms@gnu.org>
16738
43d5bf84
RS
16739 * battery.el (battery-mode-line-limit): New variable.
16740 (battery-update): Handle it.
16741
d31fd9ac
RS
16742 * mail/rmailmm.el (rmail-mime-process-multipart):
16743 Handle truncated messages.
16744
819a6054
GM
167452011-06-27 Glenn Morris <rgm@gnu.org>
16746
16747 * progmodes/flymake.el (flymake-err-line-patterns):
16748 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16749
cedc73f2
VB
167502011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16751
819a6054 16752 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
16753 (ses--clean-!, ses--clean-_): New functions.
16754 (ses-range): Add configurability of readout order, and conversion
16755 to Calc vector.
16756
5e5d49b6
VB
16757 * ses.el (ses-repair-cell-reference-all): New function.
16758 (ses-cell-symbol): Set macro as safe, so that it can be used in
16759 formulas.
16760
56e6cc31 16761 * ses.el: Update cycle detection algorithm.
90ca8b49 16762 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 16763 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
16764 (ses-set-localvars): New function.
16765 (ses-make-cell): Add property-list as a cell element.
16766 (ses-cell-property-get-fun, ses-cell-property-get)
16767 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
16768 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16769 New functions.
90ca8b49
VB
16770 (ses-cell-property-set, ses-cell-property-pop)
16771 (ses-cell-property-get-handle): New macro.
16772 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16773 New aliases, used for code readability.
16774 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16775 cycle detection.
16776 (ses-self-reference-early-detection): New defcustom.
fac916bf 16777 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
16778 (ses-mode): Use ses-set-localvars.
16779 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16780 before lauching the update processing.
16781 (ses-initialize-Dijkstra-attempt): New function.
16782 (ses-recalculate-cell): Update for cycle detection based on
16783 Dijkstra algorithm.
16784
2bb63e81
VB
16785 * ses.el: Fix commenting and indenting convention.
16786
c9d29fb8
SM
167872011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16788
16789 * bs.el (bs-cycle-next): Complete last change.
16790
d8e4b68b
JB
167912011-06-27 Drew Adams <drew.adams@oracle.com>
16792
16793 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16794
40098786
LMI
167952011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16796
c9d29fb8
SM
16797 * net/network-stream.el (network-stream-open-starttls):
16798 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
16799 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16800
40098786
LMI
16801 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16802 to binary to possibly avoid line encoding issues on Windows (among
16803 other things).
16804
468d09d4
LMI
168052011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16806
16807 * net/network-stream.el (open-network-stream): Return an :error
16808 saying what the problem was, if possible.
16809
16810 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16811 server.
16812
16813 * net/network-stream.el (network-stream-open-starttls): If we
16814 wanted to use STARTTLS, and the server offered it, but we weren't
16815 able to because we had no STARTTLS support, then close the connection.
16816 (open-network-stream): Return an :error element, if present.
16817
16f07dd7
CY
168182011-06-26 Chong Yidong <cyd@stupidchicken.com>
16819
88821ca0
CY
16820 * hl-line.el (hl-line-sticky-flag): Doc fix.
16821 (global-hl-line-sticky-flag): New option (Bug#8323).
16822 (global-hl-line-highlight): Obey it.
16823
16f07dd7
CY
16824 * vc/vc.el (vc-revert-show-diff): Default to t.
16825
6b5ccddf
KM
168262011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16827
c9d29fb8
SM
16828 * allout-widgets.el (allout-widgets-post-command-business):
16829 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
16830 undecorated when an isearch is continued past, and isearch
16831 automatically collapses them. This leads to "widget leaks", where
16832 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
16833 hidden widgets can slow down cursor travel, substantially.
16834 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
16835 so we're doing without this nicety.
16836
16837 (allout-widgets-tally-string): Don't try to do a hash-table-count
16838 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16839 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16840 *Messages* when allout-widgets-maintain-tally is t.
16841
355f2e07
MR
168422011-06-26 Martin Rudalics <rudalics@gmx.at>
16843
16844 * window.el (display-buffer-normalize-argument): Rename to
16845 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
16846 LABEL argument. Respect special-display-function when popping up
16847 a new frame. Fix code searching for a window showing the buffer
16848 on another frame.
c9d29fb8
SM
16849 (display-buffer-normalize-specifiers):
16850 Call display-buffer-normalize-arguments.
355f2e07
MR
16851 (display-buffer-in-window): Don't undedicate the window if its
16852 buffer remains the same.
16853 Reported by Drew Adams <drew.adams@oracle.com>.
16854 (display-buffer-alist): Add choice for same-window macro
16855 specfier.
16856 (display-buffer): Mention special meaning of LABEL argument in
16857 doc-string. Fix quoting. Don't pop up a new frame even as
16858 fallback.
16859
7ca8fc42
JB
168602011-06-26 Juanma Barranquero <lekktu@gmail.com>
16861
16862 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16863 avoid deleting the current window in some cases (bug#8911).
16864
bc312254
AS
168652011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16866
16867 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16868 (Bug#8934)
16869
2db18f3f
LMI
168702011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16871
c9d29fb8
SM
16872 * net/network-stream.el (network-stream-open-starttls):
16873 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
16874 (network-stream-open-tls): Ditto.
16875
6302e0d3
LL
168762011-06-26 Leo Liu <sdl.web@gmail.com>
16877
16878 * register.el (registerv): New struct.
16879 (registerv-make): New function.
c9d29fb8
SM
16880 (jump-to-register, describe-register-1, insert-register):
16881 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
16882 struct. (Bug#8415)
16883
5fdd4046
CY
168842011-06-26 Chong Yidong <cyd@stupidchicken.com>
16885
2afef60a
CY
16886 * vc/vc.el (vc-revert-show-diff): New defcustom.
16887 (vc-diff-internal): New arg specifying diff buffer.
16888 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16889 reuse an existing *vc-diff* buffer (Bug#8927).
16890
5fdd4046
CY
16891 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16892
e93db24a
GM
168932011-06-26 Glenn Morris <rgm@gnu.org>
16894
16895 * progmodes/f90.el (f90-critical-indent): New option.
16896 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16897 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16898 (f90-mode): Doc fix.
16899 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16900 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16901 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16902 (f90-match-end): Handle block, critical.
16903
eefff499
GM
169042011-06-25 Glenn Morris <rgm@gnu.org>
16905
f6ba4cc9
GM
16906 * calendar/diary-lib.el (diary-included-files): Doc fix.
16907 (diary-include-files): New function, extracted from
16908 diary-include-other-diary-files and diary-mark-included-diary-files.
16909 (diary-include-other-diary-files, diary-mark-included-diary-files):
16910 Just call diary-include-files.
16911 (diary-mark-entries): Reset diary-included-files on first call.
16912
16712304
GM
16913 * calendar/diary-lib.el (diary-mark-entries)
16914 (diary-mark-included-diary-files):
16915 Visit included diary-files in temp buffers.
16916
5d8e0d43
GM
16917 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16918 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16919 (f90-start-block-re, f90-imenu-generic-expression)
16920 (f90-looking-at-program-block-start, f90-no-block-limit):
16921 Add support for submodules.
16922
ccf7a5d5
GM
16923 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16924 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 16925
11fdef7d 169262011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
16927
16928 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16929 buffer-file-type before setting its value, to avoid disastrous
eefff499 16930 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 16931
74f53697
JB
169322011-06-25 Juanma Barranquero <lekktu@gmail.com>
16933
16934 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16935
16936 * ses.el (ses-unload-function):
16937 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16938
16939 * proced.el (proced-unload-function):
16940 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16941
18a4ce5e
AR
169422011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16943
16944 * server.el (server-create-window-system-frame): Add parameters arg.
16945 (server-process-filter): Doc fix. Handle frame-parameters.
16946
519d22cc
JB
169472011-06-25 Juanma Barranquero <lekktu@gmail.com>
16948
16949 Fix bug#8730, bug#8781.
16950
16951 * loadhist.el (unload--set-major-mode): New function.
16952 (unload-feature): Use it.
16953
16954 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16955 (python-unload-function): New function.
16956
c206f5b0
SM
169572011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16958
16959 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16960
f9ad64f3
GS
169612011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16962
16963 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16964 the candidates list.
16965
7d0da90e
JB
169662011-06-24 Juanma Barranquero <lekktu@gmail.com>
16967
16968 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16969
14b4e83d
RS
169702011-06-23 Richard Stallman <rms@gnu.org>
16971
16972 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16973 (rmail-variables): Set next-error-move-function.
16974 (rmail-what-message): Take argument POS.
16975 (rmail-next-error-move): New function.
16976
273d2baf
SM
169772011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16978
16979 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16980 messages for adjacent non-terminals.
16981
56c2cc9a
RS
169822011-06-23 Richard Stallman <rms@gnu.org>
16983
16984 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 16985 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
16986 (rmail-start-mail): Don't specify use of rmail-mail-return;
16987 that's done by mail-bury now.
16988 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 16989
d59eb518
MA
169902011-06-23 Michael Albinus <michael.albinus@gmx.de>
16991
16992 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16993 SIZE is a number.
16994
02cfc6d6
MR
169952011-06-23 Martin Rudalics <rudalics@gmx.at>
16996
16997 * window.el (get-lru-window, get-mru-window)
16998 (get-largest-window): Never return a minibuffer window.
16999 (display-buffer-pop-up-window): Fix a bug that could lead to
17000 reusing the minibuffer window.
17001 (display-buffer): Pass original specifier argument to
17002 display-buffer-function instead of the normalized one.
17003 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17004
4e323265
LL
170052011-06-22 Leo Liu <sdl.web@gmail.com>
17006
17007 * minibuffer.el (completing-read-function)
1f9f395d 17008 (completing-read-default): Move from minibuf.c.
4e323265 17009
7a70468f
RS
170102011-06-22 Richard Stallman <rms@gnu.org>
17011
50718fc2
RS
17012 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
17013 to Rmail even if not started by a special Rmail command.
17014
7a70468f
RS
17015 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
17016 Copy the buffer currently showing just one message.
17017
297dde5a
RW
170182011-06-22 Roland Winkler <winkler@gnu.org>
17019
17020 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
17021 (bibtex-clean-entry): First delete the old key so that a
17022 customized algorithm for generating the new key does not get
17023 confused by the old key.
17024 (bibtex-url): Obey regexp of first step.
17025 (bibtex-search-entries): Do not use add-to-list with local
17026 list-var.
17027
97bb1093
LMI
170282011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17029
17030 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
17031 stored a user name, then query for the password first, instead of
17032 waiting for SMTP to give an error message and the trying again.
17033
1c0f1a19
JD
170342011-06-22 Lawrence Mitchell <wence@gmx.li>
17035
17036 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
17037 BUFFER in call-process.
17038
396f7c9d
LMI
170392011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17040
17041 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
17042 QUIT twice.
ddb7ffee
LMI
17043 (smtpmail-try-auth-methods): Require user name and password from
17044 auth-source.
396f7c9d 17045
8998d1b3
MR
170462011-06-22 Martin Rudalics <rudalics@gmx.at>
17047
17048 * window.el (display-buffer-default-specifiers)
17049 (display-buffer-alist): Remove entries for pop-up-frame-alist.
17050 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 17051 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
17052
17053 * frame.el (pop-up-frame-alist, pop-up-frame-function)
17054 (special-display-frame-alist, special-display-popup-frame):
17055 Remove duplicate declarations. These are now in window.el.
17056
4ea31e07
LMI
170572011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17058
c9d29fb8
SM
17059 * mail/smtpmail.el (smtpmail-via-smtp):
17060 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
17061 server supports it. SMTP servers that support STARTTLS commonly
17062 require it.
17063
17064 * net/network-stream.el (network-stream-open-starttls): Support
17065 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 17066 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 17067
95f41d9a
LMI
17068 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
17069 upgrades with `open-network-stream', and rely solely on
17070 auth-source for all credentials. Big changes throughout the file,
17071 but in particular:
c9d29fb8
SM
17072 (smtpmail-auth-credentials): Remove.
17073 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
17074 (smtpmail-via-smtp): Check for servers saying they want AUTH after
17075 MAIL FROM, too.
95f41d9a 17076
c9d29fb8
SM
17077 * net/network-stream.el (network-stream-open-starttls):
17078 Provide support for client certificates both for external and built-in
4ea31e07
LMI
17079 STARTTLS.
17080 (auth-source): Require.
17081 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
17082 (network-stream-certificate): Change cert-cert to cert and
17083 cert-key to key.
4ea31e07 17084
065ec2c7
MA
170852011-06-21 Michael Albinus <michael.albinus@gmx.de>
17086
17087 * net/tramp-cache.el (top): Don't load the persistency file when
17088 "emacs -Q" has been called.
17089
cd93b359
DR
170902011-06-21 Tim Harper <timcharper@gmail.com>
17091
d8e4b68b
JB
17092 * term/ns-win.el (ns-initialize-window-system):
17093 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
17094 resource to NO as it is not yet supported by the NS port.
17095
ae9c0411
JB
170962011-06-21 Juanma Barranquero <lekktu@gmail.com>
17097
17098 * misc.el (list-dynamic-libraries--refresh): Compute header here...
17099 (list-dynamic-libraries): ...not here.
17100
7f3f739f
LL
171012011-06-21 Leo Liu <sdl.web@gmail.com>
17102
17103 * subr.el (sha1): Implement sha1 using secure-hash.
17104
327c8fb1
MR
171052011-06-21 Martin Rudalics <rudalics@gmx.at>
17106
17107 * window.el (display-buffer-alist): In default value do not
17108 enforce searching a window on any but the selected frame.
17109 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
17110 (display-buffer-select-window): Remove function.
17111 (display-buffer-in-window): When a window on another frame gets
17112 reused, do not select it any more but just raise its frame if
17113 necessary (Bug#8851) and (Bug#8856).
17114 (display-buffer-normalize-options): Handle pop-up-frames related
17115 options more faithfully.
17116 (pop-to-buffer): Don't rely on `display-buffer' selecting the
17117 window if it is on another frame.
c9d29fb8
SM
17118 (display-buffer-alist, display-buffer-default-specifiers):
17119 Don't make new frame unsplittable by default.
9e9de014
MR
17120 (display-buffer-normalize-argument): Fix doc-string typo and use
17121 'same-frame-other-window instead of 'other-window when associating
17122 with display-buffer-macro-specifiers.
327c8fb1 17123
7cf3f556
VB
171242011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
17125
17126 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
17127 New functions.
17128 (5x5-mode-map, 5x5-mode-menu): Bind them.
17129 (5x5-draw-grid): Tweak the solver's rendering.
17130
60a406cf
SM
171312011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17132
17133 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
17134 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
17135
d8e4b68b 171362011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
17137
17138 * menu-bar.el: Use function variable instead of switch-to-buffer.
17139 (menu-bar-select-buffer-function): New variable.
60a406cf 17140 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 17141
478d6f95
SM
171422011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17143
17144 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
17145 variable's status.
17146
ca530739
JD
171472011-06-20 Jan Djärv <jan.h.d@swipnet.se>
17148
17149 * x-dnd.el (x-dnd-version-from-flags)
17150 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
17151 and long as number (Bug#8899).
17152 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
17153
bcd70d97
SM
171542011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
17155
60a406cf 17156 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
17157 (completion-try-completion, completion-all-completions): Compute the
17158 metadata argument if it's missing; make it optional (bug#8795).
17159
60a406cf 17160 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
17161 (widget-complete): Use new :completion-function property.
17162 (widget-completions-at-point): New function.
17163 (default): Use :completion-function instead of :complete.
60a406cf
SM
17164 (widget-default-completions): Rename from widget-default-complete;
17165 Rewrite.
bcd70d97
SM
17166 (widget-string-complete, widget-file-complete, widget-color-complete):
17167 Remove functions.
17168 (file, symbol, function, variable, coding-system, color):
17169 * international/mule-cmds.el (default-input-method, charset)
17170 (language-info-custom-alist):
17171 * cus-edit.el (face): Use new property :completions.
17172
17173 * progmodes/pascal.el (pascal-completions-at-point): New function.
17174 (pascal-mode): Use it.
17175 (pascal-mode-map): Use completion-at-point.
17176 (pascal-toggle-completions): Make obsolete.
17177 (pascal-complete-word, pascal-show-completions):
17178 * progmodes/octave-mod.el (octave-complete-symbol):
17179 Redefine as obsolete alias.
17180 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
17181 Signal absence of completion info for old Octave,
17182 (inferior-octave-complete): Redefine as obsolete alias.
17183 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
17184 (meta-completions-at-point): Rename from meta-complete-symbol and
17185 adapt it for use on completion-at-point-functions.
17186 (meta-common-mode): Use it.
17187 (meta-looking-at-backward, meta-match-buffer): Remove.
17188 (meta-complete-symbol): Redefine as obsolete alias.
17189 (meta-common-mode-map): Use completion-at-point.
17190 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
17191 (makefile-mode-map): Use completion-at-point.
17192 (makefile-completions-at-point): Rename from makefile-complete and
17193 adapt it for use on completion-at-point-functions.
17194 (makefile-mode): Use it.
17195 (makefile-complete): Redefine as obsolete alias.
17196
aebf69c8
DD
171972011-06-20 Deniz Dogan <deniz@dogan.se>
17198
17199 * net/rcirc.el: Delete trailing whitespaces once and for all.
17200
bfbbb27d
DC
172012011-06-20 Daniel Colascione <dan.colascione@gmail.com>
17202
17203 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
17204
d264a46b
CY
172052011-06-19 Chong Yidong <cyd@stupidchicken.com>
17206
4ca009e5
CY
17207 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
17208
d264a46b
CY
17209 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
17210
fbf5b3ce
MR
172112011-06-19 Martin Rudalics <rudalics@gmx.at>
17212
17213 * window.el (display-buffer-other-window-means-other-frame):
17214 Call display-buffer-normalize-alist.
17215 (display-buffer-normalize-specifiers-1): Rename to
17216 display-buffer-normalize-argument. New argument other-frame.
17217 Rewrite.
17218 (display-buffer-normalize-specifiers-2): Rename to
17219 display-buffer-normalize-options.
17220 (display-buffer-normalize-alist-1): New function.
17221 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
17222 display-buffer-normalize-alist.
17223 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
17224 (display-buffer-normalize-options-inhibit): New variable.
17225 (display-buffer-normalize-specifiers): Rewrite calling
17226 display-buffer-normalize-alist,
17227 display-buffer-normalize-argument, and
17228 display-buffer-normalize-options. Don't call the latter if
17229 display-buffer-normalize-options-inhibit is non-nil.
17230 (frame-auto-delete): New option.
17231 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
17232 (window-list-no-nils, window-state-ignored-parameters)
17233 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
17234 (window-state-put-1, window-state-put-2, window-state-put):
17235 New functions.
9a028c23
MR
17236 (display-buffer-normalize-options): Move special-display-p group
17237 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 17238
6d10d800
CY
172392011-06-18 Chong Yidong <cyd@stupidchicken.com>
17240
6420d28b
CY
17241 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
17242 groups (Bug#8776).
17243 (rx-submatch-n): New function.
17244 (rx): Document it.
17245
ddb8b596
CY
17246 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
17247 (Bug#8768).
17248
17249 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
17250
77080289
CY
17251 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
17252
61dfb316
CY
17253 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
17254 anytime existing face settings are present (Bug#8889).
17255
6d10d800
CY
17256 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
17257 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
17258 Remove unused argument.
17259
be3fb2b8
MR
172602011-06-18 Martin Rudalics <rudalics@gmx.at>
17261
bcd70d97
SM
17262 * window.el (display-buffer-default-specifiers):
17263 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
17264 pop-up-window-min-width, and another reuse-window specifier
17265 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
17266 (display-buffer-normalize-specifiers-2):
17267 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
17268 pop-up-windows is unset. Add a reuse-window specifier for the
17269 case popping up a new window fails.
17270 (special-display-popup-frame): Remove double quoting.
28dec25a 17271 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 17272
1c6d8c76
SM
172732011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
17274
17275 * shell.el (shell-completion-vars): Set pcomplete-termination-string
17276 according to comint-completion-addsuffix.
17277
17278 * pcomplete.el: Convert to lexical binding and fix bug#8819.
17279 (pcomplete-suffix-list): Mark as obsolete.
17280 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
17281 pcomplete-seen in the closure.
17282 (pcomplete-comint-setup): Setup completion-at-point as well.
17283 (pcomplete--entries): New function.
17284 (pcomplete--env-regexp): New var.
17285 (pcomplete-entries): Rewrite to work with partial-completion and
17286 without relying on pcomplete-suffix-list.
17287 (pcomplete-pare-list): Remove, unused.
17288
25aef8b8
MR
172892011-06-17 Martin Rudalics <rudalics@gmx.at>
17290
17291 * window.el (display-buffer-alist): Set pop-up-window-min-height
17292 and pop-up-window-min-width in default value. Reported by
17293 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
17294 other-window-means-other-frame.
17295 (display-buffer-macro-specifiers): Comment out entry for
17296 other-window specifier.
17297 (display-buffer-other-window-means-other-frame): New function.
17298 (display-buffer-normalize-specifiers-1): New arguments
17299 buffer-name and label. Treat other-window case specially.
17300 (display-buffer-normalize-specifiers-2): Treat other-window case
17301 specially.
17302 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
17303 (display-buffer-normalize-specifiers):
17304 Call display-buffer-normalize-specifiers-3.
25aef8b8 17305
dbad4f69
MR
173062011-06-17 Martin Rudalics <rudalics@gmx.at>
17307
17308 * window.el (same-window-p): Fix two typos introduced when
17309 adding with-no-warnings.
d1067961
MR
17310 (display-buffer-normalize-specifiers-1): Don't check
17311 pop-up-frames for 'unset initialization.
17312 (display-buffer-normalize-specifiers-2): Major rewrite using
17313 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
17314 (pop-up-frames, display-buffer-reuse-frames)
17315 (display-buffer-mark-dedicated): Don't initialize to 'unset.
17316 Suggested by David Engster <deng@randomsample.de>.
17317 (even-window-heights): Initialize to 'unset.
17318 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
17319 (display-buffer-macro-specifiers): Don't pop up a new frame in the
17320 other window case.
dbad4f69 17321
9b9c9e3a
MR
173222011-06-16 Martin Rudalics <rudalics@gmx.at>
17323
bcd70d97
SM
17324 * window.el (display-buffer-normalize-specifiers-1):
17325 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 17326 second argument of display-buffer (Bug#8865).
981d5c09
MR
17327 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
17328 (switch-to-buffer-other-window-same-frame)
17329 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
17330 Adams (Bug#8875).
9c2755e9
MR
17331 (display-buffer): Don't check noninteractive when calling
17332 display-buffer-pop-up-frame.
17333 (display-buffer-pop-up-frame): Never pop up a frame in
17334 noninteractive mode (Bug#8857).
67222e1d
MR
17335 (enlarge-window, shrink-window): Don't report an error when the
17336 window can't be resized as requested (Bug#8862).
9b9c9e3a 17337
2b75be67
SM
173382011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17339
9ffdd3ba
SM
17340 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
17341
cb581a67
SM
17342 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
17343
2b75be67
SM
17344 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
17345
8c0e3589
AM
173462011-06-15 Alan Mackenzie <acm@muc.de>
17347
cb581a67
SM
17348 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
17349 for declarators, disable knr checking to speed up for normal files.
17350 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 17351
b96e6cde
LMI
173522011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17353
4bba86e6
LMI
17354 * net/network-stream.el (open-network-stream): Add the keyword
17355 :always-query-capabilities for the case where you want to force a
17356 `plain' network connection, but the protocol still requires the
17357 capabilitiy command (i.e., SMTP and EHLO).
17358
2b75be67 17359 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
17360 consistency with other `-live-p' functions.
17361
efdcdbf8
SM
173622011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17363
17364 * window.el (same-window-buffer-names, same-window-regexps)
17365 (special-display-frame-alist, special-display-popup-frame)
17366 (special-display-function, special-display-buffer-names)
17367 (special-display-regexps, pop-up-frame-alist)
17368 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
17369 (pop-up-windows, split-window-preferred-function)
17370 (split-height-threshold, split-width-threshold, even-window-heights)
17371 (display-buffer-mark-dedicated): Don't encourage the use of
17372 display-buffer-alist from Elisp code.
17373
c5cde042
DN
173742011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
17375
17376 * progmodes/python.el (python-mode): Derive from prog-mode.
17377 * progmodes/ps-mode.el (ps-mode):
17378 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 17379 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
17380 * progmodes/ld-script.el (ld-script-mode): Likewise.
17381
baa1c9ab
MR
173822011-06-15 Martin Rudalics <rudalics@gmx.at>
17383
17384 * window.el (display-buffer-alist): Trim default value to avoid
17385 popping up a new frame (Bug#8857) or reusing an arbitrary window
17386 on another frame.
17387 (display-buffer): Do not fall back on popping up a new frame in
17388 batch mode (Bug#8857).
17389
c5dd5a51
CY
173902011-06-14 Chong Yidong <cyd@stupidchicken.com>
17391
17392 * cus-theme.el (describe-theme-1): Use custom-theme-p.
17393 (custom-theme-summary): New function.
17394 (customize-themes): Use it.
17395
d647b7c4
GM
173962011-06-13 Glenn Morris <rgm@gnu.org>
17397
17398 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
17399
9481c002
MR
174002011-06-13 Martin Rudalics <rudalics@gmx.at>
17401
357f93d2
MR
17402 * help.el (help-window): Remove variable.
17403 (help-window-point-marker, temp-buffer-max-height)
17404 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
17405 (help-print-return-message): Don't set help-window.
17406 (resize-temp-buffer-window): Rewrite cod eand doc-string.
17407 (help-window-setup-finish): Remove.
17408 (help-window-display-message, help-window-setup)
17409 (with-help-window): Major rewrite based on new
17410 display-buffer-window variable.
17411
17412 * help-mode.el (help-mode-finish): Remove help-window related
17413 code.
17414
17415 * view.el (view-exits-all-viewing-windows): Remove reference to
17416 view-return-to-alist in doc-string.
17417 (view-return-to-alist): Make obsolete.
17418 (view-buffer): Call pop-to-buffer-same-window and remove
17419 undo-window code.
17420 (view-buffer-other-window): Call pop-to-buffer-other-window and
17421 simplify code. Ignore second argument.
17422 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
17423 simplify code. Ignore second argument.
17424 (view-return-to-alist-update): Make obsolete.
17425 (view-mode-enter): Rename second argument to QUIT-RESTORE.
17426 Rewrite using quit-restore window parameters.
2b75be67
SM
17427 (view-mode-exit): Rename second argument to EXIT-ONLY.
17428 Rewrite using quit-restore-window.
357f93d2
MR
17429 (View-exit, View-exit-and-edit, View-leave, View-quit)
17430 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
17431 appropriate arguments.
17432 (view-end-message): Use quit-restore window parameter.
17433
9481c002
MR
17434 * window.el (display-buffer-function): Rewrite doc-string.
17435 (display-buffer-window, display-buffer-alist): New variables.
17436 (display-buffer-split-specifiers)
17437 (display-buffer-side-specifiers)
17438 (display-buffer-macro-specifiers): New constants.
17439 (display-buffer-even-window-sizes, display-buffer-set-height)
17440 (display-buffer-set-width, display-buffer-select-window)
17441 (display-buffer-in-window, display-buffer-reuse-window)
17442 (display-buffer-split-window-1, display-buffer-split-window)
17443 (display-buffer-split-atom-window, display-buffer-pop-up-window)
17444 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
17445 (display-buffer-in-side-window, normalize-buffer-to-display)
17446 (display-buffer-normalize-specifiers-1)
17447 (display-buffer-normalize-specifiers-2)
2b75be67
SM
17448 (display-buffer-normalize-specifiers, display-buffer-frame):
17449 New functions.
9481c002
MR
17450 (display-buffer): Major rewrite.
17451 (display-buffer-other-window, display-buffer-other-frame)
17452 (pop-to-buffer, switch-to-buffer-other-window)
17453 (switch-to-buffer-other-frame): Rewrite.
17454 (display-buffer-same-window, display-buffer-same-frame)
17455 (display-buffer-same-frame-other-window)
17456 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17457 (pop-to-buffer-other-window)
17458 (pop-to-buffer-same-frame-other-window)
17459 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
17460 (switch-to-buffer-other-window-same-frame): New functions.
17461 (same-window-p, special-display-p): Rewrite disabling warnings.
17462 Make obsolete.
17463 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17464 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
17465 Make obsolete
17466 (same-window-buffer-names, same-window-regexps)
17467 (special-display-frame-alist, special-display-popup-frame)
17468 (special-display-function, special-display-buffer-names)
17469 (special-display-regexps, pop-up-frame-alist)
17470 (pop-up-frame-function, split-window-preferred-function)
17471 (split-height-threshold, split-width-threshold)
17472 (even-window-heights): Make obsolete.
17473
9db51aca
GM
174742011-06-12 Glenn Morris <rgm@gnu.org>
17475
17476 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 17477 Misc simplifications.
9db51aca 17478
39cffb44
MR
174792011-06-12 Martin Rudalics <rudalics@gmx.at>
17480
17481 * window.el (window-safely-shrinkable-p): Restore function which
17482 was inadvertently removed in change from 2011-06-11. Declare as
17483 obsolete.
17484
2b75be67
SM
17485 * calendar/calendar.el (calendar-generate-window):
17486 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
17487 window-safely-shrinkable-p.
17488
a8955be7
GM
174892011-06-12 Glenn Morris <rgm@gnu.org>
17490
17491 * progmodes/fortran.el (fortran-mode-syntax-table):
17492 * progmodes/f90.el (f90-mode-syntax-table):
17493 Set % to punctuation. (Bug#8820)
17494 (f90-find-tag-default): Remove, no longer needed.
17495
f0d4059d
DC
174962011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17497
17498 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17499
1100a63c
CY
175002011-06-11 Chong Yidong <cyd@stupidchicken.com>
17501
17502 * image.el (image-animated-p): Return animation delay in seconds.
17503 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17504 (image-animate-timeout): Remove DELAY argument. Don't assume
17505 every subimage has the same delay; get it from image-animated-p.
17506 (image-animate): Caller changed.
17507
def722bf
MA
175082011-06-11 Michael Albinus <michael.albinus@gmx.de>
17509
17510 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17511 to ignored backtrace functions.
17512
0a2bb1a9
GM
175132011-06-11 Glenn Morris <rgm@gnu.org>
17514
17515 * calendar/appt.el (appt-disp-window-function): Doc fix.
17516 (appt-check): Handle overlapping appointments. (Bug#8337)
17517
6198ccd0
MR
175182011-06-11 Martin Rudalics <rudalics@gmx.at>
17519
17520 * window.el (window-tree-1, window-tree): New functions, moving
17521 the latter to window.el.
17522 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17523 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17524 (bw-refresh-edges): Remove.
17525 (balance-windows-1, balance-windows-2): New functions.
17526 (balance-windows): Rewrite in terms of window tree functions,
17527 balance-windows-1 and balance-windows-2.
17528 (bw-adjust-window): Remove.
17529 (balance-windows-area-adjust): New function with functionality of
17530 bw-adjust-window but using resize-window.
2b75be67
SM
17531 (set-window-text-height): Rewrite doc-string.
17532 Use normalize-live-window and resize-window.
17533 (enlarge-window-horizontally, shrink-window-horizontally):
17534 Rename argument to DELTA.
6198ccd0
MR
17535 (window-buffer-height): New function.
17536 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17537 Rewrite using new window resize routines.
2b75be67
SM
17538 (kill-buffer-and-window, mouse-autoselect-window-select):
17539 Use ignore-errors instead of condition-case.
6198ccd0
MR
17540 (quit-window): Call delete-frame instead of delete-windows-on
17541 for the only buffer on frame.
17542
9397e56f
MR
175432011-06-10 Martin Rudalics <rudalics@gmx.at>
17544
17545 * loadup.el (top-level): Load window before files for the sake
17546 of replace-buffer-in-windows.
17547
17548 * files.el (read-buffer-to-switch)
17549 (switch-to-buffer-other-window)
2b75be67
SM
17550 (switch-to-buffer-other-frame, display-buffer-other-frame):
17551 Move to window.el.
9397e56f
MR
17552
17553 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17554 (previous-buffer): Move to window.el.
17555
17556 * bindings.el (unbury-buffer): Move to window.el.
17557
17558 * window.el (delete-other-windows-vertically): Move after
17559 definition of delete-other-windows.
17560 (other-window, delete-windows-on, replace-buffer-in-windows):
17561 Move here from window.c.
17562 (record-window-buffer, unrecord-window-buffer)
17563 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17564 (switch-to-next-buffer): New functions.
17565 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17566 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
17567 (previous-buffer): Move here from simple.el.
17568 Call switch-to-prev-buffer.
9397e56f
MR
17569 (bury-buffer): Move here from buffer.c. Switch to previous
17570 buffer when window cannot be deleted.
17571 (unbury-buffer): Move here from bindings.el.
17572 (ctl-x-map): Move binding for other-window from window.c to
17573 here.
17574 (read-buffer-to-switch, switch-to-buffer-other-window)
17575 (switch-to-buffer-other-frame): Move here from files.el.
17576 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
17577 (switch-to-buffer): Move here from buffer.c.
17578 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 17579
562dd5e9
MR
175802011-06-10 Martin Rudalics <rudalics@gmx.at>
17581
17582 * window.el (window-min-height, window-min-width): Move here
17583 from window.c. Add defcustoms and rewrite doc-strings.
17584 (resize-mini-window, resize-window): New functions.
17585 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17586 Move here from window.c.
17587 (maximize-window, minimize-window): New functions.
17588 (delete-window, delete-other-windows, split-window): Move here
17589 from window.c.
17590 (window-split-min-size): New function.
17591 (split-window-keep-point): Mention split-window-above-each-other
17592 instead of split-window-vertically.
2b75be67 17593 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
17594 Rename split-window-vertically to split-window-above-each-other
17595 and provide defalias for old definition.
17596 (split-window-side-by-side, split-window-horizontally):
17597 Rename split-window-horizontally to split-window-side-by-side
17598 and provide defalias for the old definition.
562dd5e9
MR
17599 (ctl-x-map): Move bindings for delete-window,
17600 delete-other-windows and enlarge-window here from window.c.
17601 Replace bindings for split-window-vertically and
17602 split-window-horizontally by bindings for
17603 split-window-above-each-other and split-window-side-by-side.
17604
17605 * cus-start.el (all): Remove entries for window-min-height and
17606 window-min-width. Add entries for window-splits and
17607 window-nest.
17608
f0da764a
GM
176092011-06-09 Glenn Morris <rgm@gnu.org>
17610
80675c21
GM
17611 * calendar/appt.el (appt-mode-line): New function.
17612 (appt-check, appt-disp-window): Use it.
17613
f0da764a
GM
17614 * files.el (hack-one-local-variable-eval-safep):
17615 Allow minor-modes with explicit +/-1 arguments.
17616
59f623b7
TZ
176172011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17618
17619 * term/xterm.el (xterm): Add defgroup.
17620 (xterm-extra-capabilities): Add defcustom to supply known xterm
17621 capabilities, skip querying them, or query them (default).
17622 (terminal-init-xterm): Use it.
17623 (terminal-init-xterm-modify-other-keys): New function to set up
17624 modifyOtherKeys support to simplify `terminal-init-xterm'.
17625
9aab8e0d
MR
176262011-06-09 Martin Rudalics <rudalics@gmx.at>
17627
17628 * window.el (resize-window-reset, resize-window-reset-1)
17629 (resize-subwindows-skip-p, resize-subwindows-normal)
17630 (resize-subwindows, resize-other-windows, resize-this-window)
17631 (resize-root-window, resize-root-window-vertically)
17632 (window-deletable-p, window-or-subwindow-p)
17633 (frame-root-window-p): New functions.
17634
e8b08aee
GM
176352011-06-09 Glenn Morris <rgm@gnu.org>
17636
17637 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17638 (ange-ftp-get-files): Use it.
17639
254c37a5
AK
176402011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17641
17642 * mail/sendmail.el (mail-recover-1, mail-recover):
17643 * files.el (recover-file, recover-session):
17644 Handle dired-listing-switches not being just a single short option.
17645
35d7dbd3
GM
176462011-06-09 Glenn Morris <rgm@gnu.org>
17647
17648 * calendar/appt.el (appt-display-message, appt-disp-window):
17649 Handle lists of appointments.
17650
387522b2
MR
176512011-06-08 Martin Rudalics <rudalics@gmx.at>
17652
2b75be67
SM
17653 * window.el (one-window-p): Move down in code.
17654 Rewrite doc-string.
17655 (window-current-scroll-bars): Rewrite doc-string.
17656 Normalize live window argument.
387522b2
MR
17657 (walk-windows, get-window-with-predicate, count-windows):
17658 Rewrite doc-string. Use window-list-1.
17659 (window-in-direction-2, window-in-direction, get-mru-window):
17660 New functions.
17661
d8e4b68b 176622011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
17663
17664 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17665 Doc fix (Bug#8713).
17666
176672011-06-08 Chong Yidong <cyd@stupidchicken.com>
17668
17669 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17670
176712011-06-08 Juanma Barranquero <lekktu@gmail.com>
17672
17673 * loadhist.el (unload-feature-special-hooks):
17674 Add `comint-output-filter-functions'.
17675
0de12c52
IK
176762011-06-08 Ivan Kanis <gnu@kanis.fr>
17677
17678 * calendar/appt.el (appt-check): Move some initializations into the let.
17679
f3d1777e
MR
176802011-06-08 Martin Rudalics <rudalics@gmx.at>
17681
17682 * window.el (window-height): Defalias to window-total-height.
17683 (window-width): Defalias to window-body-width.
17684
18af70d0
CY
176852011-06-07 Chong Yidong <cyd@stupidchicken.com>
17686
17687 * image-mode.el (image-toggle-animation): New command.
17688 (image-mode-map): Bind it to RET.
17689 (image-mode): Update message.
17690 (image-toggle-display-image): Avoid a spurious cache flush.
17691 (image-transform-rotation): Doc fix.
17692 (image-transform-properties): Return quickly in the normal case.
17693 (image-animate-loop): Rename from image-animate-max-time.
17694
2b75be67 17695 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
17696 (create-animated-image): Remove unnecessary function.
17697 (image-animate): Rename from image-animate-start. New arg.
2b75be67 17698 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
17699 (image-animate-timer): Use car-safe.
17700 (image-animate-timeout): Rename argument.
17701
190b47e6
MR
177022011-06-07 Martin Rudalics <rudalics@gmx.at>
17703
17704 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
17705 window.c. Rename first argument to ALL-FRAMES.
17706 Rephrase doc-strings.
17707 (get-buffer-window-list): Rewrite using window-list-1.
17708 Rephrase doc-string.
a1511caf
MR
17709 (window-safe-min-height, window-safe-min-width): New constants.
17710 (window-size-ignore, window-min-size, window-min-size-1)
17711 (window-sizable, window-sizable-p, window-size-fixed-1)
17712 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17713 (window-max-delta-1, window-max-delta, window-resizable)
17714 (window-resizable-p, window-total-height, window-total-width)
17715 (window-body-width): New functions.
17716 (window-full-height-p, window-full-width-p): Rewrite using
17717 window-total-size.
17718 (window-body-height): Rewrite using window-body-size.
190b47e6 17719
85cc1f11
MR
177202011-06-06 Martin Rudalics <rudalics@gmx.at>
17721
17722 * window.el (window-right, window-left, window-child)
17723 (window-child-count, window-last-child, window-any-p)
17724 (normalize-live-buffer, normalize-live-frame)
17725 (normalize-any-window, normalize-live-window)
17726 (window-iso-combination-p, window-iso-combined-p)
17727 (window-iso-combinations)
17728 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17729 (windows-with-parameter, window-with-parameter)
17730 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
17731 (window-atom-check, window-side-check, window-check):
17732 New functions.
85cc1f11
MR
17733 (ignore-window-parameters, window-sides, window-sides-vertical)
17734 (window-sides-slots): New variables.
17735 (window-size-fixed): Move down in code. Minor doc-string fix.
17736
e7156492
AS
177372011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17738
17739 * comint.el (comint-dynamic-complete-as-filename)
17740 (comint-dynamic-complete-filename): Correctly call
17741 completion-in-region.
17742
7e821d0d
DD
177432011-06-05 Deniz Dogan <deniz@dogan.se>
17744
17745 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17746 in last change.
17747
ac09b8a1
DD
177482011-06-05 Deniz Dogan <deniz@dogan.se>
17749
17750 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17751 (rcirc): Use it to prompt for encryption.
17752
34699b85
RW
177532011-06-05 Roland Winkler <winkler@gnu.org>
17754
17755 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17756 (bibtex-search-entries): New command bound to C-c C-a.
17757 (bibtex-display-entries): New function.
17758
004dedd3
RW
177592011-06-05 Roland Winkler <winkler@gnu.org>
17760
17761 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17762 (bibtex-insert-kill): After yanking insert newline if necessary.
17763 (bibtex-initialize): Call bibtex-string-files-init only once.
17764 (bibtex-mode): Do not call easy-menu-add.
17765 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17766 (bibtex-yank): Set arg properly if nil.
17767
022fe7ce
RW
177682011-06-05 Roland Winkler <winkler@gnu.org>
17769
2b75be67
SM
17770 * textmodes/bibtex.el (bibtex-search-entry-globally):
17771 New variable.
022fe7ce
RW
17772 (bibtex-search-entry): Use it.
17773
b7c3692a
RW
177742011-06-05 Roland Winkler <winkler@gnu.org>
17775
17776 * textmodes/bibtex.el (bibtex-entry-format): New option
17777 sort-fields.
17778 (bibtex-format-entry, bibtex-reformat): Honor this option.
17779 (bibtex-parse-entry): Return fields in proper order.
17780
8eda563d
JB
177812011-06-05 Juanma Barranquero <lekktu@gmail.com>
17782
17783 * doc-view.el (doc-view-remove-if): Move computation of result out
17784 of `dolist' to silence misleading lexical-binding warning.
17785
7dbe3dbc
CY
177862011-06-04 Chong Yidong <cyd@stupidchicken.com>
17787
17788 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17789 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17790
0c33dd17
MA
177912011-06-04 Michael Albinus <michael.albinus@gmx.de>
17792
17793 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17794 "SunOS 5.10".
17795
f8f91c2b
MA
177962011-06-04 Michael Albinus <michael.albinus@gmx.de>
17797
17798 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17799 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17800 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17801 (tramp-parse-putty):
17802 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17803 (tramp-completion-function-alist-ssh)
17804 (tramp-completion-function-alist-telnet)
17805 (tramp-completion-function-alist-su)
17806 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17807 cookie.
17808
17809 * net/tramp-ftp.el:
17810 * net/tramp-sh.el:
17811 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17812 load "tramp.el" `tramp-set-completion-function'.
17813
e17d9003
SM
178142011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17815
17816 * shell.el: Require and use pcomplete.
17817 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17818 (shell-completion-vars): Set pcomplete-default-completion-function.
17819
6c4cab03
DD
178202011-06-04 Deniz Dogan <deniz@dogan.se>
17821
17822 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17823 `memq' (Bug#8799).
17824
ea9fafe0
SM
178252011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17826
17827 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17828
b3e945d3
JB
178292011-06-02 Juanma Barranquero <lekktu@gmail.com>
17830
17831 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17832 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17833 * vc/log-view.el (log-view-beginning-of-defun):
17834 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17835 (smerge-refine-forward, smerge-refine-chopup-region):
17836 Silence warning for unused `dotimes' counter variables.
17837
7d520089
SM
178382011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17839
17840 * net/tramp.el (tramp-with-progress-reporter): Rename from
17841 with-progress-reporter. Use `declare'.
17842 * net/tramp-smb.el:
17843 * net/tramp-sh.el:
17844 * net/tramp-gvfs.el: Update all uses.
17845
a1c2400f
JB
178462011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17847
17848 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17849 buffer isn't killed before making it current.
17850
2403c841
SM
178512011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17852
17853 Silence various byte-compiler warnings.
17854 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17855 `access-type' and new obsolescence format.
17856 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17857 new format.
17858 (byte-compile-check-variable): New `access-type' argument.
17859 Only warn if the access-type is obsolete.
17860 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17861 (byte-compile-variable-set): Adjust callers.
17862 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17863 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17864 setting it as obsolete.
17865 * simple.el (minibuffer-completing-symbol):
17866 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17867 access as obsolete.
17868 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17869 obsolete yet.
17870 * international/quail.el (quail-mouse-choose-completion): Remove unused
17871 code referring to obsolete var.
17872 (quail-choose-completion-string): Remove.
17873 * server.el (server-clients-with, server-kill-buffer-query-function)
17874 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17875 * proced.el (proced-send-signal):
17876 * emacs-lisp/lisp.el (lisp-complete-symbol):
17877 Replace completion-annotate-function with completion-extra-properties.
17878
2462470b
SM
178792011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17880
fb5b2591
SM
17881 * simple.el (goto-line): Use read-number.
17882 (overriding-map-is-bound): Remove.
17883 (saved-overriding-map): Change default.
17884 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17885 Take the map as argument.
17886 (universal-argument, negative-argument, digit-argument): Use it.
17887 (restore-overriding-map): Adjust.
17888 (do-auto-fill): Use fill-forward-paragraph.
17889 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17890
fd6fa53f
SM
17891 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17892 (minibuffer-inactive-mode): New major mode.
17893 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17894 the *Messages* buffer" hack.
17895 (mouse-popup-menubar): Don't burp if the event is a normal key.
17896
2462470b
SM
17897 Miscellaneous tweaks.
17898 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17899 lexical scoping as in subr.el's dolist and dotimes.
17900 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17901 Silence compiler warning.
17902 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17903 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17904 * international/ccl.el (ccl-compile): Trivial simplification.
17905 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17906 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17907 `printflag' argument.
17908 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17909 Purecopy the whole obsolescence data.
17910
108bf785
LL
179112011-06-01 Leo Liu <sdl.web@gmail.com>
17912
17913 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17914 improve doc-string as suggested by Marco Pessotto
17915 <melmothx@gmail.com>.
17916 (rcirc-print): Fix last change.
17917
30a23501
SM
179182011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17919
17920 * minibuffer.el (complete-with-action): Return nil for the metadata and
17921 boundaries of non-functional tables.
17922 (completion-table-dynamic): Return nil for the metadata.
17923 (completion-table-with-terminator): Add default case, using
17924 complete-with-action.
17925 (completion--metadata): New function.
17926 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17927 to try and avoid pathological performance problems.
17928 (completion--embedded-envvar-table): Return `category' metadata.
17929
bcd54f83
LMI
179302011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17931
17932 * subr.el (process-alive-p): New tiny convenience function.
17933
e227544d
SM
179342011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17935
17936 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17937 content but also its previous major mode.
17938
e8296fdc
HE
179392011-05-31 Helmut Eller <eller.helmut@gmail.com>
17940
4d61f28d 17941 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
17942 *Backtrace* buffer when we exit with C-M-c.
17943
620c53a6
SM
179442011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17945
17946 * minibuffer.el: Add metadata method to completion tables.
17947 (completion-category-overrides): New defcustom.
17948 (completion-metadata, completion--field-metadata)
17949 (completion-metadata-get, completion--styles)
17950 (completion--cycle-threshold): New functions.
17951 (completion-try-completion, completion-all-completions):
17952 Add `metadata' argument to choose completion-styles.
17953 (completion--do-completion): Use metadata to choose cycling.
17954 (completion-all-sorted-completions): Use metadata for sorting.
17955 Remove :completion-cycle-penalty which is not needed any more.
17956 (completion--try-word-completion): Add `metadata' argument.
17957 (minibuffer-completion-help): Check metadata for annotation function
17958 and sorting.
17959 (completion-file-name-table): Return `category' metadata.
17960 (minibuffer-completing-file-name): Make obsolete.
17961 * simple.el (minibuffer-completing-symbol): Make obsolete.
17962 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17963 completion-try-completion.
17964
1257e755
SM
179652011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17966
17967 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17968
3767e706
LL
179692011-05-30 Leo Liu <sdl.web@gmail.com>
17970
17971 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
17972 (rcirc-print): Decode all incoming messages (bug#8744).
17973 (rcirc-decode-coding-system): Allow value nil for automatic coding
17974 system detection.
3767e706 17975
d1a5d56a
GM
179762011-06-01 Glenn Morris <rgm@gnu.org>
17977
17978 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17979
e8cbec34
CY
179802011-05-29 Chong Yidong <cyd@stupidchicken.com>
17981
17982 * image.el (image-animate-max-time): Allow nil and t values.
17983 Default to nil.
17984 (create-animated-image): Doc fix.
17985 (image-animate-start): Remove second arg; just use
17986 image-animate-max-time.
17987 (image-animate-timeout): Doc fix. Args changed.
17988
17989 * image-mode.el (image-toggle-display-image): Ensure that the
17990 image spec passed to the animate timer is the same object as in
58179cce 17991 the buffer's display property (Bug#6981).
e8cbec34
CY
17992 (image-transform-properties): Doc fix.
17993
17994 * image.el (image-animate-max-time): Default to nil.
17995
159daf87
MR
179962011-05-29 Martin Rudalics <rudalics@gmx.at>
17997
17998 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17999 entire buffer list (Bug#8184).
18000
d66c4c7c
CY
180012011-05-29 Chong Yidong <cyd@stupidchicken.com>
18002
18003 * image.el (imagemagick-types-inhibit)
18004 (imagemagick-register-types): Doc fix.
18005
80aec780
DD
180062011-05-29 Deniz Dogan <deniz@dogan.se>
18007
18008 * net/rcirc.el (rcirc): Use the user's stored encryption method by
18009 default.
18010
1dd3c2d9
CY
180112011-05-29 Chong Yidong <cyd@stupidchicken.com>
18012
18013 * select.el: Don't perform clipboard-manager saving in hooks;
18014 leave the hooks empty.
18015
60e56523
LL
180162011-05-28 Leo Liu <sdl.web@gmail.com>
18017
18018 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
18019 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
18020 (occur-edit-mode): New major mode (Bug#8463).
18021 (occur-after-change-function): New function.
18022 (occur-engine): Give Occur tags a read-only property.
18023
2b1e1a22
KR
180242011-05-28 Kevin Ryde <user42@zip.com.au>
18025
18026 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
18027
5d344e88
CY
180282011-05-28 Chong Yidong <cyd@stupidchicken.com>
18029
8e6ca83d
CY
18030 * bindings.el (help-echo): Make the initial non-indicator dash
18031 empty on graphical terminals (Bug#7295).
18032
5d344e88
CY
18033 * files.el (auto-mode-alist): Move config rule after the
18034 in-stripping one (Bug#8547).
18035
bfbbace7
CY
18036 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
18037
fbeba6e2
CY
18038 * startup.el (normal-splash-screen): Remove gratuitous mode-line
18039 setting (Bug#8740).
18040
60ed8c72
AA
180412011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
18042
4ac619f0
AA
18043 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
18044 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
18045 (Bug#8539).
60ed8c72 18046
23db196e
CY
180472011-05-28 Chong Yidong <cyd@stupidchicken.com>
18048
18049 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
18050
5012f24c
DK
180512011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
18052
18053 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
18054 (hs-hide-block-at-point, hs-find-block-beginning)
18055 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
18056 (Bug#8279).
18057
6a639b16
GM
180582011-05-28 Glenn Morris <rgm@gnu.org>
18059
18060 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
18061
d43eaf2c
CY
180622011-05-28 Chong Yidong <cyd@stupidchicken.com>
18063
5199bde1
CY
18064 * help-fns.el (describe-function-1): If the function is a derived
18065 major mode, print the parent mode.
18066
d43eaf2c
CY
18067 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
18068 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
18069
423428a8
SM
180702011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
18071
0ff8e1ba 18072 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 18073 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
18074 * progmodes/etags.el (tags-completion-at-point-function):
18075 * info-look.el (info-lookup-completions-at-point): Mark as
18076 non-exclusive.
18077 (info-complete): Adjust accordingly.
18078
423428a8
SM
18079 * info-look.el: Convert to lexical-binding and completion-at-point.
18080 (info-lookup-completions-at-point): New function.
18081 (info-complete): Use it and completion-in-region.
18082
b74aa22b
DA
180832011-05-28 Drew Adams <drew.adams@oracle.com>
18084
18085 * isearch.el: Let M-e start with point at the first mismatched char.
18086 (isearch-fail-pos): New function.
18087 (isearch-edit-string): Use it.
18088
66e2e71d
DK
180892011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18090
18091 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18092
b1890b0f 180932011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
18094
18095 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
18096 traversal functions for avl-trees.
18097 (avl-tree--stack): New struct.
18098 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
18099 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
18100 (avl-tree--do-enter): Add optional `updatefun' arg.
18101 Change return value.
eb95d01d 18102 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
18103 (avl-tree--do-delete): Add `test' and `nilflag' args.
18104 Change return value.
eb95d01d
TC
18105 (avl-tree-member): Add optional `nilflag'
18106 (avl-tree-member-p): New function.
18107 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
18108 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
18109 (avl-tree-stack-empty-p): New functions.
18110
3769ddcf
TC
18111 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
18112 avl-tree--del-balance1 and make it work both ways.
18113 (avl-tree--del-balance2): Remove.
18114 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
18115 make it work both ways.
18116 (avl-tree--enter-balance2): Remove.
18117 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
18118 New macros.
18119 (avl-tree--mapc, avl-tree-map): Add direction argument.
18120
eb95d01d 181212011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
18122
18123 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
18124
a9f737ee
CY
181252011-05-27 Chong Yidong <cyd@stupidchicken.com>
18126
18127 * select.el: Support clipboard managers with built-in function
18128 x-clipboard-manager-save, via delete-frame-functions and
18129 kill-emacs-hook.
18130 (xselect-convert-to-targets): Add MULTIPLE target to list.
18131 (xselect-convert-to-save-targets): New function.
18132
c92a1e54
KH
181332011-05-27 Kenichi Handa <handa@m17n.org>
18134
18135 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
18136 let-binding rfc2047-encode-encoded-words to nil.
18137
e145f188
GM
181382011-05-27 Glenn Morris <rgm@gnu.org>
18139
5ec8a862
GM
18140 * mail/emacsbug.el: Don't require url-util.
18141
4b29d9fb
GM
18142 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
18143
e145f188
GM
18144 * files.el (set-auto-mode):
18145 Also respect mode: entries at the end of the file. (Bug#8586)
18146
7d15102b
GM
181472011-05-26 Glenn Morris <rgm@gnu.org>
18148
98f593b8
GM
18149 * files.el (hack-local-variables-prop-line, hack-local-variables):
18150 Downcase mode names, as seems to be traditional.
27b48e63 18151 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 18152
7d15102b
GM
18153 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
18154 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
18155
51d5b4ec
JD
181562011-05-25 Julien Danjou <julien@danjou.info>
18157
18158 * textmodes/rst.el (rst-define-level-faces): Do not define face
18159 symbol if it is already defined.
18160
91513f63
VB
181612011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
18162
18163 * play/5x5.el (5x5-new-game, 5x5-randomize):
18164 Reset 5x5-solver-output to nil when a new grid is cast.
18165 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
18166 these debugging traces, as defmacro breaks the compiled code.
18167
4d90d6d0
DK
181682011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18169
18170 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18171
e1b90ef6
LL
181722011-05-24 Leo Liu <sdl.web@gmail.com>
18173
18174 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
18175 (vc-bzr-sha1): Adapt.
18176
d8e4b68b 18177 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
18178
18179 * bindings.el: Provide sha1 feature.
18180
db0406bb 181812011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
18182
18183 * mail/sendmail.el: Require `rfc2047'.
18184 (mail-insert-from-field): Do not perform RFC2047 encoding.
18185 (mail-encode-header): New function.
18186 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
18187 buffer to the return value of select-message-coding-system.
18188 Call mail-encode-header.
b8d747b9
KH
18189
18190 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
18191
db0406bb 181922011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 18193
4d90d6d0
DK
18194 * mail/supercite.el (sc-default-cite-frame):
18195 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 18196
eb8a5e9b
GM
181972011-05-24 Glenn Morris <rgm@gnu.org>
18198
f8630703
GM
18199 * progmodes/python.el (brm-menu): Declare.
18200
8831bbed
GM
18201 * emulation/viper.el (viper-set-hooks): Declare.
18202
eb8a5e9b
GM
18203 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
18204 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
18205 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
18206 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
18207 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
18208 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
18209
a2a25d24
SM
182102011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
18211
18212 Add an :exit-function for completion-at-point.
18213
18214 * minibuffer.el (completion--done): New fun.
18215 (completion--do-completion): Use it. New arg `expect-exact'.
18216 (minibuffer-complete, minibuffer-complete-word): Don't output message,
18217 since completion--do-completion does it for us now.
18218 (minibuffer-force-complete): Use completion--done and
18219 completion--replace. Handle sole-completion case with more care.
18220 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
18221 (completion-extra-properties): New var.
18222 (completion-annotate-function): Make obsolete.
18223 (minibuffer-completion-help): Adjust accordingly.
18224 Use completion-list-insert-choice-function.
18225 (completion-at-point, completion-help-at-point):
18226 Bind completion-extra-properties.
18227 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
18228 * simple.el (completion-list-insert-choice-function): New var.
18229 (completion-setup-function): Preserve it.
18230 (choose-completion): Pay attention to it, shuffle the code a bit.
18231 (choose-completion-string): New arg `insert-function'.
18232
18233 * textmodes/bibtex.el: Convert to lexical binding.
18234 (bibtex-mode-map): Use completion-at-point.
18235 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
18236 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
18237 (bibtex-complete): Define as obsolete alias.
18238 (bibtex-complete-internal): Remove.
18239 (bibtex-format-entry): Remove unused sub-group in regexp.
18240 * shell.el (shell--command-completion-data)
18241 (shell-environment-variable-completion):
18242 * pcomplete.el (pcomplete-completions-at-point):
18243 * comint.el (comint--complete-file-name-data): Use :exit-function
18244 instead of completion-table-with-terminator so it also works for
18245 choose-completion.
18246
e44e373d
SM
182472011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18248
4f91a816
SM
18249 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
18250
782fc819
SM
18251 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
18252 (bug#8710).
18253
e44e373d
SM
18254 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
18255
381987c3
KM
182562011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
18257
18258 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
18259 customization variable and implement: If non-nil, auto-fill will
18260 be inhibited while on topic's header line.
18261
b776bc70
VB
182622011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
18263
18264 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 18265 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
18266 always have a solution in grid size = 5 cases.
18267 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
18268 (5x5-solver-output, 5x5-log-buffer): New vars.
18269 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
18270 Make these variables buffer local to achieve 5x5 multi-session-ness.
18271 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
18272 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
18273 (5x5-solve-suggest): New funs.
18274 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
18275 randomize a grid so that we ensure that there is always a solution.
18276 (5x5-make-random-grid): Allow other movement than flipping.
18277
7de88b6e
KR
182782011-05-23 Kevin Ryde <user42@zip.com.au>
18279
18280 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 18281 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
18282 advice and passes PREDICATE.
18283
b1ef1257
SM
182842011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18285
bbca48fe
SM
18286 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
18287 byte-compile-lambda if it's actually a lambda.
18288
b1ef1257
SM
18289 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
18290 Fix function quoting. Use backquote better.
18291
92a9cc65
YS
182922011-05-22 Yuanle Song <sylecn@gmail.com>
18293
18294 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
18295 matching (Bug#8516).
18296
f0fb8059
JA
182972011-01-22 Jari Aalto <jari.aalto@cante.net>
18298
18299 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
18300 different face (Bug#8178).
18301
d5b44c93
CY
183022011-05-22 Chong Yidong <cyd@stupidchicken.com>
18303
18304 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
18305 defface (Bug#8144).
18306
79106a44
SM
183072011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
18308
9c848d8a
SM
18309 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
18310 funcall as well (bug#8712). Warn when performing those conversions.
18311 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
18312
79106a44
SM
18313 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
18314
88dfa756
GM
183152011-05-22 Glenn Morris <rgm@gnu.org>
18316
18317 * files.el (hack-local-variables-prop-line): Small simplifications.
18318 (hack-local-variables, hack-local-variables-prop-line):
18319 If MODE-ONLY, return the mode, rather than just `t'.
18320
b7cf2c79
SM
183212011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
18322
18323 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
18324
3f1a8558
GM
183252011-05-21 Glenn Morris <rgm@gnu.org>
18326
7e4ccca3
GM
18327 * files.el (hack-local-variables-prop-line, hack-local-variables):
18328 If only interested in the mode, don't bother doing the other stuff.
18329
637d46ca
GM
18330 * image-mode.el (image-after-revert-hook):
18331 Redraw all frames on which the image is visible. (Bug#8567)
18332
973d955b
GM
18333 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
18334
3f1a8558
GM
18335 * wid-edit.el (widget-checklist-match-inline):
18336 Fix 2011-04-19 change. (Bug#8649)
18337
96479927
SM
183382011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
18339
1dcf791f
SM
18340 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
18341 Also allow singlespace after single-letter capitals followed by a dot.
18342
96479927
SM
18343 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
18344 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
18345
35fd0881
N
183462011-05-20 Nix <nix@esperi.org.uk>
18347
18348 * files.el (basic-save-buffer-2):
18349 Fix handling of break-hardlink-on-save with non-existent files.
18350
82745640
DD
183512011-05-19 Deniz Dogan <deniz@dogan.se>
18352
18353 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 18354 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 18355
4a720484
GM
183562011-05-19 Glenn Morris <rgm@gnu.org>
18357
d1f21341
GM
18358 * progmodes/f90.el (f90-type-def-re):
18359 Handle "type, bind(c)". (Bug#8691)
18360
4a720484
GM
18361 * emacs-lisp/autoload.el (batch-update-autoloads):
18362 Set autoload-excludes by parsing loadup.el rather than Makefiles.
18363
2fb0a219
MA
183642011-05-18 Michael Albinus <michael.albinus@gmx.de>
18365
18366 * net/tramp.el (tramp-process-actions): Set "first-password-request"
18367 property for the correct connection in case of multihops.
18368
e565dd37
GM
183692011-05-18 Glenn Morris <rgm@gnu.org>
18370
c2571358 18371 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
18372 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
18373
e565dd37
GM
18374 Rationalize calendar handling of day and month abbrev-arrays.
18375 * calendar/calendar.el (calendar-customized-p): New function.
18376 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
18377 (calendar-day-name-array, calendar-month-name-array): Doc fix.
18378 Add :set function.
18379 (calendar-abbrev-length, calendar-day-abbrev-array)
18380 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
18381 (calendar-day-abbrev-array, calendar-month-abbrev-array):
18382 Elements may no longer be nil.
18383 (calendar-day-name, calendar-month-name):
18384 Update for changed nature of abbrev arrays.
18385 * calendar/diary-lib.el (diary-name-pattern):
18386 Update for changed nature of abbrev arrays.
18387 (diary-mark-entries-1): Update calendar-make-alist calls.
18388 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
18389 * calendar/cal-html.el (cal-html-day-abbrev-array):
18390 Simply inherit from calendar-day-abbrev-array.
18391
1d99a745
SM
183922011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
18393
18394 * progmodes/grep.el (grep-mode): Disable default
18395 compilation-directory-matcher setting (bug#8684).
18396
7c1d9aa0
MA
183972011-05-17 Michael Albinus <michael.albinus@gmx.de>
18398
18399 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
18400 instead of "head" and "tail". There were problems with SunOS 5.9,
18401 and it performs better.
18402
3952e9d8
GM
184032011-05-17 Glenn Morris <rgm@gnu.org>
18404
2dd12e7f
GM
18405 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
18406
e4157b9c
GM
18407 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
18408 Replace obsolete function.
18409
8e249bbd
GM
18410 * shell.el (pcomplete-parse-arguments-function): Declare.
18411
3952e9d8
GM
18412 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
18413 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
18414 (appt-check): Doc fixes.
18415 (appt-disp-window-function, appt-delete-window-function):
18416 Remove needless special case in custom :type.
18417 (appt-display-count): Default to 0, not nil.
18418 (appt-check): Reset appt-display-count to 0, not nil.
18419
c71a0d48 184202011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 18421
c71a0d48
GM
18422 * progmodes/python.el (python-font-lock-keywords):
18423 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 18424
31d55be9
SM
184252011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
18426
18427 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
18428
3bfacb2f
KR
184292011-05-16 Kevin Ryde <user42@zip.com.au>
18430
18431 * info-look.el (makefile-automake-mode): New setups, looking in
18432 automake manual, then makefile-mode.
18433 (makefile-mode): Remove automake manual, have it just in
18434 makefile-automake-mode since there's various things different or
18435 not relevant to plain make.
18436 (makefile-mode): Remove "other-modes" non-existent automake-mode,
18437 believe a hypothetical automake-mode would go to makefile-mode,
18438 not the other way around.
18439
c8e83751
CY
184402011-05-15 Chong Yidong <cyd@stupidchicken.com>
18441
5e9e35cd
CY
18442 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
18443 hunk-end tags (Bug#8672).
18444
c8e83751
CY
18445 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
18446 vc-annotate-show-diff-revision-at-line (Bug#8671).
18447
50b23e5a
GM
184482011-05-14 Glenn Morris <rgm@gnu.org>
18449
7210a739
GM
18450 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18451 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
18452 (change-log-font-lock-keywords): Also handle multiple author lines
18453 with leading tabs. (Bug#8644)
7210a739 18454
4691905a
GM
18455 * calendar/appt.el (appt-check): Rename some local variables.
18456 Some simplification/reordering.
18457
50b23e5a
GM
18458 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
18459 (feedmail-sendmail-f-doesnt-sell-me-out)
18460 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18461 (feedmail-debug-sit-for, feedmail-queue-express-hook)
18462 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
18463 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
18464 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
18465 (feedmail-binmail-gnulinuxish-template):
18466 Rename from feedmail-binmail-linuxish-template.
18467 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
18468 Use insert-buffer-substring.
18469
215cda7c
BC
184702011-05-14 Bill Carpenter <bill@carpenter.org>
18471
18472 * mail/feedmail.el (feedmail-patch-level): Increase.
18473 (feedmail-debug): New custom group.
18474 (feedmail-confirm-outgoing-timeout)
18475 (feedmail-sendmail-f-doesnt-sell-me-out)
18476 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18477 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18478 (feedmail-sender-line, feedmail-from-line)
18479 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 18480 (feedmail-spray-this-address)
215cda7c
BC
18481 (feedmail-spray-address-fiddle-plex-list)
18482 (feedmail-queue-use-send-time-for-date)
18483 (feedmail-queue-use-send-time-for-message-id)
18484 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18485 (feedmail-buffer-eating-function):
18486 Doc fixes.
18487 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18488 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18489 (feedmail-message-action-scroll-down): New functions.
18490 (feedmail-queue-directory, feedmail-queue-draft-directory):
18491 Use expand-file-name.
18492 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18493 Remove C-v help entry.
18494 (feedmail-queue-buffer-file-name): New variable.
18495 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18496 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18497 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18498 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18499 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18500 (feedmail-message-action-toggle-spray)
18501 (feedmail-run-the-queue-no-prompts)
18502 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18503 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18504 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18505 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18506 (feedmail-envelope-deducer, feedmail-fiddle-from)
18507 (feedmail-fiddle-sender, feedmail-default-date-generator)
18508 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18509 (feedmail-fiddle-spray-address)
18510 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18511 (feedmail-fiddle-list-of-fiddle-plexes)
18512 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18513 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18514 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18515 Change default. Doc fix.
18516 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18517 (feedmail-binmail-linuxish-template): New constant.
18518 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18519 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18520 (feedmail-send-it): Add debug call.
18521 Use feedmail-queue-buffer-file-name, and
18522 feedmail-send-it-immediately-wrapper.
18523 (feedmail-message-action-send): Add debug call.
18524 Use feedmail-send-it-immediately-wrapper.
18525 (feedmail-queue-express-to-queue): Add debug call.
18526 Run feedmail-queue-express-hook.
18527 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18528 (feedmail-message-action-help-blat):
18529 Rename from feedmail-queue-send-edit-prompt-help-first.
18530 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18531 Check line-endings. Handle errors better.
18532 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18533 Doc fix. Add debug call.
18534 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18535 Use feedmail-queue-send-edit-prompt-inner.
18536 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18537 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18538 from feedmail-queue-send-edit-prompt.
18539 (feedmail-queue-send-edit-prompt-help)
18540 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18541 (feedmail-tidy-up-slug): Add debug call.
18542 Respect feedmail-queue-slug-suspect-regexp.
18543 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18544 (feedmail-dump-message-to-queue): Add debug call.
18545 Expand queue-directory.
18546 (feedmail-dump-message-to-queue): Change message slightly.
18547 Use feedmail-say-chatter.
18548 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18549 (feedmail-send-it-immediately-wrapper): New function.
18550 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18551 Insert empty string rather than newline. Handle full-frame case.
18552 Use catch/throw. Use feedmail-say-chatter.
18553 (feedmail-fiddle-from): Try mail-host-address.
18554 (feedmail-default-message-id-generator): Doc fix.
18555 Bind system-time-locale. Handle missing end.
18556 (feedmail-fiddle-x-mailer): Add debug call.
18557 Handle feedmail-x-mailer-line being nil.
18558 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18559 Add debug call. Use buffer-substring-no-properties.
18560 (feedmail-say-debug, feedmail-say-chatter): New functions.
18561 (feedmail-find-eoh): Give an explicit error.
18562
42c7e61e
UJ
185632011-05-13 Ulf Jasper <ulf.jasper@web.de>
18564
c2571358 18565 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 18566 family from helvetica to sans.
c2571358 18567 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18568 etc/images/newsticker.
18569
c2571358 18570 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
18571 family from helvetica to sans.
18572
18573 * net/newst-plainview.el (newsticker-new-item-face)
18574 (newsticker-old-item-face, newsticker-immortal-item-face)
18575 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 18576 (newsticker-statistics-face): Change default family from
42c7e61e 18577 helvetica to sans.
c2571358 18578 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18579 etc/images/newsticker.
18580
5d3385a0
JB
18581 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18582 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
18583 auto-marking.
18584
8497a297
DV
185852011-05-13 Didier Verna <didier@xemacs.org>
18586
18587 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
18588 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18589 TODO entries.
8497a297
DV
18590 (lisp-lambda-list-keyword-parameter-indentation)
18591 (lisp-lambda-list-keyword-parameter-alignment)
18592 (lisp-lambda-list-keyword-alignment): New customizable user options.
18593 (lisp-indent-defun-method): Improve docstring.
18594 (extended-loop-p): Fix comment.
18595 (lisp-indent-lambda-list-keywords-regexp): New variable.
18596 (lisp-indent-lambda-list): New function.
18597 (lisp-indent-259): Use it.
18598 (lisp-indent-defmethod): Support for more than one
18599 method qualifier and properly indent methods lambda-lists.
18600 (defgeneric): Provide a missing common-lisp-indent-function property.
18601
f278f87f
SM
186022011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18603
18604 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18605 bounds for the empty string (bug#8667).
18606
5233edd7
GM
186072011-05-13 Glenn Morris <rgm@gnu.org>
18608
5237a44f
GM
18609 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18610
8340026c 18611 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 18612 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 18613
5233edd7 18614 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 18615 (appt-time-msg-list): Doc fix.
a5464014 18616 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 18617
92d10796
AS
186182011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18619
18620 * progmodes/ld-script.el (ld-script-keywords)
18621 (ld-script-builtins): Update keywords list.
18622
914a0ae1
SM
186232011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18624
c89be45f
SM
18625 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18626
914a0ae1
SM
18627 * shell.el (shell-completion-vars): New function.
18628 (shell-mode):
18629 * simple.el (read-shell-command): Use it.
18630 (blink-matching-open): No need for " [...]" in minibuffer-message.
18631
98dc3df3
GM
186322011-05-12 Glenn Morris <rgm@gnu.org>
18633
18634 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18635 (appt-check): Simplify.
18636
d2fc7e3d 186372011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 18638
4d61f28d 18639 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
18640 literal "/dev/null".
18641
d2fc7e3d 186422011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
18643
18644 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18645 Fix typo.
18646
d2fc7e3d 186472011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 18648
3f254caa
SM
18649 * progmodes/which-func.el (which-function):
18650 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
18651 which might not be defined (Bug#8260).
18652
d45885f7
GM
186532011-05-12 Glenn Morris <rgm@gnu.org>
18654
18655 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18656 Let byte-compile-initial-macro-environment always take precedence.
18657
488086f4
SM
186582011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18659
18660 * net/rcirc.el: Add support for SSL/TLS connections.
18661 (rcirc-server-alist): New field `encryption'.
18662 (rcirc): Check `encryption' settings.
18663 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18664 Merge make-local-variable into `set'.
18665 (rcirc--connection-open-p): New function.
18666 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18667 the process is not a network process (e.g. running gnutls-cli).
18668 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18669 Make rcirc-(en|de)code-coding-system local here.
18670 (rcirc-mode): Merge make-local-variable into `set'.
18671 (rcirc-parent-buffer): Make permanent buffer-local.
18672 (rcirc-multiline-minor-mode): Don't do it here.
18673 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18674 there's no server buffer.
18675
7d3b9d44
GM
186762011-05-11 Glenn Morris <rgm@gnu.org>
18677
f64049c6
GM
18678 * newcomment.el (comment-kill): Prefix "unused" local.
18679
93c9df73
GM
18680 * term/w32console.el (get-screen-color): Declare.
18681
7d3b9d44
GM
18682 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18683 Handle symbol elements of byte-compile-initial-macro-environment.
18684
9e2dd53f
LL
186852011-05-10 Leo Liu <sdl.web@gmail.com>
18686
488086f4
SM
18687 * bookmark.el (bookmark-bmenu-mode-map):
18688 Bind bookmark-bmenu-search to `/'.
8b340240 18689
9e2dd53f 18690 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
18691 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18692 (Footnote-unicode): New function.
18693 (footnote-style-alist): Add unicode style to the list.
18694 (footnote-style): Doc fix.
9e2dd53f 18695
79b70037
GM
186962011-05-10 Jim Meyering <meyering@redhat.com>
18697
18698 Fix doubled-word typos.
18699 * international/quail.el (quail-insert-kbd-layout): and and -> and
18700 * kermit.el: and and -> and
18701 * net/ldap.el (ldap-search-internal): to to -> to
18702 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18703 * progmodes/js.el (js-mode): and and -> and
18704 * textmodes/artist.el (artist-move-to-xy): at at -> at
18705 (artist-draw-region-trim-line-endings): if if -> if
18706 And Safetyc -> Safety.
18707 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18708
b8f82dc1 187092011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 18710 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
18711
18712 * files.el (hack-one-local-variable-eval-safep):
18713 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18714
4f99f44b
GM
187152011-05-10 Glenn Morris <rgm@gnu.org>
18716
18717 * calendar/diary-lib.el (diary-list-entries-hook)
18718 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18719 (diary-nongregorian-marking-hook, diary-list-entries)
18720 (diary-include-other-diary-files, diary-mark-entries)
18721 (diary-mark-included-diary-files): Doc fixes.
18722
84f29e6b
JB
187232011-05-09 Juanma Barranquero <lekktu@gmail.com>
18724
18725 * misc.el: Require tabulated-list.el during compilation.
18726
9bedd73a
CY
187272011-05-09 Chong Yidong <cyd@stupidchicken.com>
18728
488086f4
SM
18729 * progmodes/compile.el (compilation-start):
18730 Run compilation-filter-hook for the async case too.
9bedd73a
CY
18731 (compilation-filter-hook): Doc fix.
18732
797c735c
DD
187332011-05-09 Deniz Dogan <deniz@dogan.se>
18734
18735 * wdired.el: Remove outdated installation comment. Fix usage
18736 comment.
18737
5f4b1dfe
JB
187382011-05-09 Juanma Barranquero <lekktu@gmail.com>
18739
18740 * misc.el: Implement new command `list-dynamic-libraries'.
18741 (list-dynamic-libraries--loaded-only-p): New variable.
18742 (list-dynamic-libraries--refresh): New function.
18743 (list-dynamic-libraries): New command.
18744
4c44026c
CY
187452011-05-09 Chong Yidong <cyd@stupidchicken.com>
18746
488086f4
SM
18747 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18748 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
18749 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18750 higher priority to avoid clobbering by gnu.
18751
027f966d
CY
187522011-05-08 Chong Yidong <cyd@stupidchicken.com>
18753
18754 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18755 if the face has existing theme settings (Bug#8454).
18756
085f5d7d
CY
187572011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18758
488086f4
SM
18759 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18760 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 18761
2a86a00c
RS
18762 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18763 special file names `.' and `..' (Bug#8259).
18764
d9c54a06
CY
187652011-05-08 Chong Yidong <cyd@stupidchicken.com>
18766
488086f4
SM
18767 * progmodes/grep.el (grep-mode-font-lock-keywords):
18768 Remove buffer-changing entries.
d9c54a06
CY
18769 (grep-filter): New function.
18770 (grep-mode): Add it to compilation-filter-hook.
18771
18772 * progmodes/compile.el (compilation-filter-hook)
18773 (compilation-filter-start): New defvars.
18774 (compilation-filter): Call compilation-filter-hook prior to
18775 updating the process mark.
18776
c4662635
SM
187772011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18778
18779 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18780
b0512a1d
EZ
187812011-05-07 Eli Zaretskii <eliz@gnu.org>
18782
605c9376
EZ
18783 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18784 mailclient-send-it even if window-system is nil. (Bug#8595)
18785
c4662635
SM
18786 * term/w32console.el (terminal-init-w32console):
18787 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
18788 background-mode. (Bug#8597)
18789
d1dc2cc2
SM
187902011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18791
18792 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18793 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18794 New functions.
18795 (defgeneric, eieio--defmethod): Use them.
18796 (eieio-defgeneric): Remove.
18797 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18798
915d1300
GM
187992011-05-07 Glenn Morris <rgm@gnu.org>
18800
a3961c3e
GM
18801 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18802 Use let rather than let*.
18803 (timeclock-find-discrep): Remove unused local.
18804
314347b9
GM
18805 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18806
915d1300
GM
18807 * calendar/appt.el (appt-time-msg-list): Doc fix.
18808
275b59b0
NF
188092011-05-06 Noah Friedman <friedman@splode.com>
18810
18811 * apropos.el (apropos-print-doc): Only use
18812 emacs-lisp-docstring-fill-column when it is bound to an integer,
18813 per that variable's documentation.
18814
6c19f744
SM
188152011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18816
18817 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 18818 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 18819
60f884b2
GM
188202011-05-06 Glenn Morris <rgm@gnu.org>
18821
5006e634
GM
18822 * calendar/appt.el (appt-message-warning-time): Doc fix.
18823 (appt-warning-time-regexp): New option.
18824 (appt-make-list): Respect appt-message-warning-time.
18825
548d0a63
GM
18826 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18827 New options.
18828 (diary-add-to-list): Strip comments from the displayed string.
18829 (diary-mode): Set comment-start and comment-end.
18830
60f884b2
GM
18831 * vc/diff-mode.el (smerge-refine-subst): Declare.
18832 (diff-refine-hunk): Don't require smerge-mode when compiling.
18833
989681bb
JB
188342011-05-06 Juanma Barranquero <lekktu@gmail.com>
18835
18836 * simple.el (list-processes): Return nil as the docstring says.
18837
a6bc05e1
MA
188382011-05-05 Michael Albinus <michael.albinus@gmx.de>
18839
18840 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18841 to "".
18842 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18843 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18844 determining of binary transfer. (Bug#7383)
18845
23c22e9a
MA
188462011-05-05 Michael Albinus <michael.albinus@gmx.de>
18847
c4662635
SM
18848 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18849 Fix port computation bug. (Bug#8618)
23c22e9a 18850
0bff894f
GM
188512011-05-05 Glenn Morris <rgm@gnu.org>
18852
b8296902
GM
18853 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18854
1f522ce8
GM
18855 * simple.el (shell-dynamic-complete-functions)
18856 (comint-dynamic-complete-functions): Declare.
18857
cf5bee67
GM
18858 * net/network-stream.el (gnutls-negotiate):
18859 * simple.el (tabulated-list-print): Fix declarations.
18860
18861 * progmodes/gud.el (syntax-symbol, syntax-point):
18862 Remove unnecessary and incorrect declarations.
18863
0bff894f 18864 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 18865 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 18866
9869b3ae
SM
188672011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18868
18869 Fix earlier half-done eieio-defmethod change (bug#8338).
18870 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18871 Streamline and change calling convention.
18872 (defmethod): Adjust accordingly and simplify.
18873 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18874 new eieio--defmethod.
18875 (slot-boundp): Minor CSE simplification.
18876
9c1d5ac5
MZ
188772011-05-05 Milan Zamazal <pdm@zamazal.org>
18878
18879 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18880 (glasses-make-readable): Use glasses-separate-capital-groups.
18881
455c834e
JB
188822011-05-05 Juanma Barranquero <lekktu@gmail.com>
18883
18884 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18885 (warning-series): Doc fix.
18886 (display-warning): Don't try to create the buffer if we just found it.
18887
9ed7c8cb
CY
188882011-05-04 Chong Yidong <cyd@stupidchicken.com>
18889
18890 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18891 (autoload-find-generated-file): New function.
18892 (generate-file-autoloads): Bind generated-autoload-file to
18893 buffer-file-name.
9869b3ae
SM
18894 (update-file-autoloads, update-directory-autoloads):
18895 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
18896 output file (Bug#7989).
18897 (batch-update-autoloads): Doc fix.
18898
0898ca10
JB
188992011-05-04 Juanma Barranquero <lekktu@gmail.com>
18900
18901 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18902
31dfb76c
GM
189032011-05-04 Glenn Morris <rgm@gnu.org>
18904
f330b642
GM
18905 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18906 function, so it follows changes in calendar-date-style.
18907 (diary-fancy-date-matcher): New function.
18908 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18909 (diary-fancy-font-lock-fontify-region-function):
18910 Use diary-fancy-date-pattern as a function.
18911
31dfb76c
GM
18912 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18913 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18914
48e79d6a
TZ
189152011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18916
18917 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18918 instead of positional arguments. Allow :keylist and :crlfiles
18919 arguments.
18920 (open-gnutls-stream): Call it.
18921
18922 * net/network-stream.el (network-stream-open-starttls): Adjust to
18923 call `gnutls-negotiate' with :process and :hostname arguments.
18924
dd5a5ee0
SM
189252011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18926
ef80fc09
SM
18927 * minibuffer.el (completion--message): New function.
18928 (completion--do-completion, minibuffer-complete)
18929 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18930 (completion--do-completion): Don't ignore completion-auto-help when in
18931 icomplete-mode.
18932
dd5a5ee0
SM
18933 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18934 internal encoding (e.g. tibetan zero is not whitespace).
18935 (global-whitespace-mode): Prefer save-current-buffer.
18936 (whitespace-trailing-regexp): Remove useless save-match-data.
18937 (whitespace-empty-at-bob-regexp): Minor simplification.
18938
b7d22a83
CY
189392011-05-03 Chong Yidong <cyd@stupidchicken.com>
18940
18941 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18942
5192af46
AM
189432011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18944
18945 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 18946 Use `concat' to create string for insertion.
5192af46 18947
5767d190
SM
189482011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18949
18950 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18951 Avoid open-line which runs post-self-insert-hook.
18952 (bibtex-fill-entry): Remove unused `end' var.
18953
bf242939
AM
189542011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18955
5767d190
SM
18956 * textmodes/ispell.el (ispell-add-per-file-word-list):
18957 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 18958
25666126
LL
189592011-05-03 Leo Liu <sdl.web@gmail.com>
18960
18961 * isearch.el (isearch-yank-pop): New command.
5767d190 18962 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
18963 (isearch-forward): Mention it.
18964
52d3c2d0
SM
189652011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18966
1bcace58
SM
18967 * simple.el (minibuffer-complete-shell-command): Remove.
18968 (minibuffer-local-shell-command-map): Use completion-at-point.
18969 (read-shell-command): Setup completion vars here instead.
18970 (read-expression-map): Bind TAB to symbol completion.
18971
52d3c2d0
SM
18972 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18973 error directly rather via storing it into `results'.
18974
35813471
LL
189752011-05-02 Leo Liu <sdl.web@gmail.com>
18976
18977 * vc/diff.el: Fix description.
18978
e793a940
LMI
189792011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18980
18981 * server.el (server-eval-at): New function.
18982
8de66e05
LMI
189832011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18984
18985 * net/network-stream.el (open-network-stream): Take a :nowait
18986 parameter and pass it on to `make-network-process'.
18987 (network-stream-open-plain): Ditto.
18988
dcb79f20
AS
189892011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18990
18991 * faces.el (face-spec-set-match-display): Don't match toolkit
18992 options on terminal frames.
18993
14a7fbd8
SM
189942011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18995
7eabc1be
SM
18996 * progmodes/pascal.el: Use lexical binding.
18997 (pascal-mode-map): Remove author preferences.
18998
14a7fbd8
SM
18999 * pcomplete.el (pcomplete-std-complete): Don't abuse
19000 completion-at-point.
19001
50f84510
JB
190022011-04-28 Juanma Barranquero <lekktu@gmail.com>
19003
6e087a44
JB
19004 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
19005 removing code that has been dead since 1991 or so.
19006
50f84510
JB
19007 * startup.el (command-line): When warning about "_emacs", use a
19008 delayed warning to allow the user to filter it out.
19009
0ba690bd
DD
190102011-04-28 Deniz Dogan <deniz@dogan.se>
19011
19012 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
19013 user has not joined.
19014
08abfaad
SM
190152011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19016
19017 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
19018 aren't any completions at point.
19019
638f053a
JB
190202011-04-28 Juanma Barranquero <lekktu@gmail.com>
19021
19022 * subr.el (display-delayed-warnings): New function.
19023 (delayed-warnings-hook): New variable.
19024
8fff8daa
SM
190252011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19026
08abfaad
SM
19027 * minibuffer.el (completion-at-point, completion-help-at-point):
19028 Don't presume that a given completion-at-point-function will always
19029 use the same calling convention.
19030
8fff8daa
SM
19031 * pcomplete.el (pcomplete-completions-at-point):
19032 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
19033 pcomplete-seen is non-nil.
19034 (pcomplete-comint-setup): Also recognize the new comint/shell
19035 completion functions.
19036 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
19037 pcomplete-seen is non-nil.
19038
841a1577 190392011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 19040
841a1577 19041 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 19042 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 19043 the first character in the entry. This allows for code to add its
211ec907
UJ
19044 own uid to the entry.
19045 (icalendar--convert-float-to-ical): Add export of
19046 `diary-float'-entries save for those with the optional DAY
19047 argument.
19048
2a782793
DC
190492011-04-27 Daniel Colascione <dan.colascione@gmail.com>
19050
19051 * subr.el (shell-quote-argument): Use alternate escaping strategy
19052 when we spot a variable reference in a string.
19053
0438ce91
DC
190542011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19055
19056 * cus-start.el (all): Define customization for debug-on-event.
19057
841a1577 190582011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
19059
19060 * subr.el (shell-quote-argument): Escape correctly under Windows.
19061
d090ed6c
SM
190622011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19063
19064 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
19065
bfd31217
MA
190662011-04-25 Michael Albinus <michael.albinus@gmx.de>
19067
d090ed6c
SM
19068 * net/tramp.el (tramp-process-actions): Add POS argument.
19069 Delete region between POS and (pos).
bfd31217 19070
d090ed6c
SM
19071 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19072 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
19073 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
19074
19075 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
19076 position in `tramp-process-actions' call.
19077
19078 * net/trampver.el: Update release number.
19079
e92f3bd3
SM
190802011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19081
850256b5
SM
19082 * custom.el (defcustom): Obey lexical-binding.
19083
e92f3bd3
SM
19084 Fix octave-inf completion problems reported by Alexander Klimov.
19085 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
19086 Inherit from octave-mode-syntax-table.
19087 (inferior-octave-mode): Set info-lookup-mode.
19088 (inferior-octave-completion-at-point): New function.
19089 (inferior-octave-complete): Use it and completion-in-region.
19090 (inferior-octave-dynamic-complete-functions): Use it as well, and use
19091 comint-filename-completion.
19092 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
19093 symbol elements which shouldn't be word elements.
19094 (octave-font-lock-keywords, octave-beginning-of-defun)
19095 (octave-function-header-regexp): Adjust regexps accordingly.
19096 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
19097
cd22b309
JB
190982011-04-25 Juanma Barranquero <lekktu@gmail.com>
19099
19100 * net/gnutls.el (gnutls-errorp): Declare before first use.
19101
8b492194
TZ
191022011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
19103
19104 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
19105 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 19106 default trustfile exists before going to use it. Add missing
5a5fa834 19107 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
19108 Reported by Claudio Bley <claudio.bley@gmail.com>.
19109 (open-gnutls-stream): Add usage example.
19110
19111 * net/network-stream.el (network-stream-open-starttls): Give host
19112 parameter to `gnutls-negotiate'.
19113 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 19114 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 19115
841a1577 191162011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 19117
cd22b309
JB
19118 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
19119 Use correct match group (bug#8438).
05842630 19120
3ba7869c
CY
191212011-04-24 Chong Yidong <cyd@stupidchicken.com>
19122
512e3ae1
CY
19123 * emacs-lisp/package.el (package-built-in-p): Fix typo.
19124 (package-menu--generate): New arg specifying packages to show.
19125 (package-menu-refresh, package-menu-execute, list-packages):
19126 Callers changed.
19127 (package-show-package-list): New function, replacing deleted
19128 package--list-packages (renamed because it is non-internal).
19129
19130 * finder.el (finder-list-matches): Use package-show-package-list
19131 instead of deleted package--list-packages.
19132
e92f3bd3
SM
19133 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
19134 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
19135 (vc-annotate-mode-map): Bind it to RET.
19136
7031be6d
UR
191372011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
19138
19139 * progmodes/etags.el (next-file): Don't use set-buffer to change
19140 buffers (Bug#8478).
19141
4ef177aa
CY
191422011-04-24 Chong Yidong <cyd@stupidchicken.com>
19143
c8d173eb
CY
19144 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
19145
4ef177aa
CY
19146 * apropos.el (apropos-label-face): Avoid variable-pitch face.
19147 (apropos-accumulator): Doc fix.
19148 (apropos-function, apropos-macro, apropos-command)
19149 (apropos-variable, apropos-face, apropos-group, apropos-widget)
19150 (apropos-plist): Add face property.
19151 (apropos-symbols-internal): Fix indentation.
19152 (apropos-print): Simplify help, and recognize apropos-multi-type.
19153 (apropos-print-doc): Use button-type-get to extract the button's
19154 face property. Fill docstring (Bug#8352).
19155
4ffd0d6b 191562011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
19157
19158 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
19159
c6c32125 19160 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 19161 (mpuz-mode-map): Use mapc.
c6c32125
JB
19162 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
19163 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
19164 Fix typos in docstrings.
19165
58d468b4
JB
19166 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
19167 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
19168
6470c3c6
JB
19169 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
19170
4ffd0d6b 191712011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
19172
19173 * minibuffer.el (completion--do-completion): Avoid the "Next char
19174 not unique" prompt if icomplete-mode is enabled (Bug#5849).
19175
3ad8bad0
CY
19176 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
19177 mouse-2 into unread-command-events, it is interpreted correctly.
19178
71d73c9c 19179 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 19180 (image-toggle-display): Doc fix.
71d73c9c 19181
841a1577 191822011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 19183
4ffd0d6b
GM
19184 * textmodes/page.el (what-page): Use line-number-at-pos to
19185 calculate line number (Bug#6825).
6e1dbaa9 19186
c2fb1b60
JB
191872011-04-22 Juanma Barranquero <lekktu@gmail.com>
19188
19189 * eshell/esh-mode.el (find-tag-interactive): Declare function.
19190 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
19191 Pass argument NO-DEFAULT to `find-tag-interactive'.
19192
e02f48d7
JB
191932011-04-22 Juanma Barranquero <lekktu@gmail.com>
19194
19195 Lexical-binding cleanup.
19196
19197 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
19198 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
19199 * progmodes/ada-prj.el (ada-prj-initialize-values)
19200 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
19201 (ada-prj-show-value):
19202 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
19203 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
19204 (antlr-invalidate-context-cache, antlr-options-menu-filter)
19205 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
19206 * progmodes/bug-reference.el (bug-reference-push-button):
19207 * progmodes/fortran.el (fortran-line-length):
19208 * progmodes/glasses.el (glasses-change):
19209 * progmodes/octave-mod.el (octave-fill-paragraph):
19210 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
19211 (python-pdbtrack-grub-for-buffer, python-sentinel):
19212 * progmodes/sql.el (sql-save-connection):
19213 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
19214 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
19215 Mark unused parameters.
19216
19217 * progmodes/compile.el (compilation--flush-directory-cache)
19218 (compilation--flush-parse, compile-internal): Mark unused parameters.
19219 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
19220 (compilation-next-error-function): Remove unused variable `timestamp'.
19221
19222 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
19223 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
19224
19225 * progmodes/dcl-mode.el (dcl-end-of-command):
19226 Remove unused variable `start'.
19227 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
19228 (dcl-option-value-basic, dcl-option-value-offset)
19229 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
19230 Mark unused parameters.
19231 (dcl-save-local-variable): Remove unused variable `val'.
19232 (mode): Declare.
19233
19234 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
19235 Mark unused parameters.
19236 (delphi-ignore-changes): Move before first use.
19237 (delphi-charset-token-at): Remove unused variable `start'.
19238 (delphi-else-start): Remove unused variable `if-count'.
19239 (delphi-comment-block-start, delphi-comment-block-end):
19240 Remove unused variable `kind'.
19241 (delphi-indent-line): Remove unused variable `new-point'.
19242
19243 * progmodes/ebrowse.el (ebrowse-files-list)
19244 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
19245 Mark unused parameters. Don't quote `lambda'.
19246 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
19247 Don't quote `lambda'.
19248 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
19249 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
19250 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
19251 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
19252 Use `ignore-errors'.
19253 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
19254 (ebrowse-view/find-file-and-search-pattern)
19255 (ebrowse-view/find-member-declaration/definition):
19256 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
19257 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
19258 Rename parameter PREFIX-ARG to PREFIX.
19259 (ebrowse-tags-read-name): Remove unused variables `start' and
19260 `member-info'.
19261 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
19262 to `tags-file'.
19263
19264 * progmodes/etags.el (local-find-tag-hook): Declare.
19265 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
19266 Mark unused parameters.
19267
19268 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
19269 (executable-interpret): Mark unused parameter.
19270
19271 * progmodes/flymake.el (flymake-process-sentinel)
19272 (flymake-after-change-function)
19273 (flymake-create-temp-with-folder-structure)
19274 (flymake-get-include-dirs-dot): Mark unused parameters.
19275 (flymake-safe-delete-directory): Remove unused variable `err'.
19276
19277 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
19278 (speedbar-timer-fn, speedbar-line-text)
19279 (speedbar-change-expand-button-char, speedbar-delete-subblock)
19280 (speedbar-center-buffer-smartly): Declare functions.
19281 (gdb-find-watch-expression): Remove unused variable `array'.
19282 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
19283 (gdb-starting): Mark unused parameters.
19284 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
19285 (gdb-table-string): Remove unused variable `res'.
19286 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
19287 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
19288 (gdb-display-buffer): Remove unused variable `cur-size'.
19289
19290 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
19291 allow lexical-binding compilation.
19292 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
19293 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
19294 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
19295 Mark unused parameters.
19296 (gud-gdb-marker-filter): Remove unused variable `match'.
19297 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
19298 lambda expressions and funcall them, instead of using `fset'.
19299
19300 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
19301 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
19302
19303 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
19304 variable `header-beg'; use `let'.
19305
19306 * progmodes/icon.el (indent-icon-exp): Remove unused variables
19307 `restart', `last-sexp' and `at-do'.
19308
19309 * progmodes/js.el (js--debug): Mark unused parameter.
19310 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
19311 (js--splice-into-items): Remove unused variable `item'.
19312 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
19313
19314 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
19315 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
19316 (makefile-complete): Remove unused variable `try'.
19317 (makefile-fill-paragraph, makefile-match-function-end):
19318 Mark unused parameters.
19319
19320 * progmodes/octave-inf.el (inferior-octave-complete):
19321 Remove unused variable `proc'.
19322 (inferior-octave-output-digest): Mark unused parameter.
19323
19324 * progmodes/perl-mode.el (perl-calculate-indent):
19325 Remove unused variable `err'.
19326
19327 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
19328 (prolog-indent-line): Mark unused parameters.
19329 (prolog-indent-line): Remove unused variable `beg'.
19330
19331 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
19332 (reporter-dont-compact-list): Declare.
19333
19334 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
19335 Remove unused variable `char'.
19336 (sh-debug): Mark unused parameter.
19337 (sh-get-indent-info): Remove unused variable `start'.
19338 (sh-calculate-indent): Remove unused variable `var'.
19339
19340 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
19341 (simula-electric-keyword): Remove unused variable `null'.
19342 (simula-search-backward, simula-search-forward): Remove unused
19343 variables `begin' and `end'.
19344
19345 * progmodes/vera-mode.el (vera-guess-basic-syntax):
19346 Remove unused variable `pos'.
19347 (vera-electric-tab, vera-comment-uncomment-region):
19348 Mark unused parameters.
19349 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
19350
7ede3b65
CY
193512011-04-22 Chong Yidong <cyd@stupidchicken.com>
19352
19353 * emacs-lisp/package.el (package--builtins, package-alist)
19354 (package-load-descriptor, package-built-in-p, package-activate)
19355 (define-package, package-installed-p)
19356 (package-compute-transaction, package-buffer-info)
19357 (package--push): Doc fix. Distinguish more clearly between
19358 version strings and version lists.
19359
121656e9
JB
193602011-04-21 Juanma Barranquero <lekktu@gmail.com>
19361
19362 Lexical-binding cleanup.
19363
19364 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
19365 (5x5-make-mutate-best):
19366 * play/fortune.el (fortune-in-buffer):
19367 * play/gomoku.el (gomoku-init-display):
19368 * play/solitaire.el (solitaire, solitaire-do-check):
19369 * play/tetris.el (tetris-default-update-speed-function):
19370 Mark unused parameters.
19371
19372 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
19373 (bubbles--shift): Remove unused variable `char-org'.
19374 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
19375 (bubbles--show-images): Remove unused variable `char'.
19376
19377 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
19378 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
19379 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
19380 (decipher-analyze-buffer): Use ?\s.
19381 (decipher-make-checkpoint): Remove unused variable `mapping'.
19382
19383 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
19384
19385 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
19386 Remove unused variable `result'; use `let'.
19387
19388 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
19389 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
19390 (gametree-children-shown-p, gametree-compute-reduced-score):
19391 Use `ignore-errors'.
19392
19393 * play/handwrite.el (ps-lpr-switches): Declare.
19394 (handwrite): Remove unused variables `pmin' and `lastp'.
19395
19396 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
19397
19398 * play/landmark.el (landmark-init-display)
19399 (landmark-update-naught-weights): Mark unused parameters.
19400 (landmark-y): Remove unused variable `noise'. Simplify.
19401 (landmark-human-plays): Remove unused variable `score'.
19402
19403 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
19404 (mpuz-try-proposal): Remove unused variable `game'.
19405
19406 * play/zone.el (life-patterns): Declare.
19407
80f499c7
JB
194082011-04-20 Juanma Barranquero <lekktu@gmail.com>
19409
19410 * vc/vc.el (ediff-vc-internal): Declare function.
19411
024ff170
SM
194122011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19413
c0a193ea
SM
19414 * shell.el: Use lexical-binding and std completion UI.
19415 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
19416 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
19417 comint-preoutput-filter-functions rather than on
19418 comint-output-filter-functions.
19419 (shell-command-completion, shell--command-completion-data)
19420 (shell-filename-completion, shell-environment-variable-completion)
19421 (shell-c-a-p-replace-by-expanded-directory): New functions.
19422 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
19423 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
19424 (shell-dynamic-complete-environment-variable): Use them.
19425 (shell-dynamic-complete-as-environment-variable)
19426 (shell-dynamic-complete-as-command): Remove.
19427 (shell-match-partial-variable): Match past point.
19428 * comint.el: Clean up use of completion-at-point-functions.
19429 (comint-completion-at-point): New function.
19430 (comint-mode): Use it completion-at-point-functions.
19431 (comint-dynamic-complete): Make it obsolete.
19432 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
19433 (comint-c-a-p-replace-by-expanded-history): New function.
19434 (comint-dynamic-complete-functions)
19435 (comint-replace-by-expanded-history): Use it.
19436 * minibuffer.el (completion-table-with-terminator): Allow dynamic
19437 termination strings. Try harder to avoid second try-completion.
19438 (completion-in-region-mode-map): Disable bindings that don't work yet.
19439
2dbaa080
SM
19440 * comint.el: Use lexical-binding. Require CL.
19441 (comint-dynamic-complete-functions): Use comint-filename-completion.
19442 (comint-completion-addsuffix): Tweak custom type.
19443 (comint-filename-completion, comint--common-suffix)
19444 (comint--common-quoted-suffix, comint--table-subvert)
19445 (comint--complete-file-name-data): New functions.
19446 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
19447 (comint-dynamic-list-filename-completions): Use them.
19448 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 19449
2dbaa080
SM
19450 * minibuffer.el (completion-in-region-mode):
19451 Keep completion-in-region-mode--predicate global.
19452 (completion-in-region--postch):
19453 Assume completion-in-region-mode--predicate is not null.
19454
c79a6f38
SM
19455 * progmodes/flymake.el (flymake-start-syntax-check-process):
19456 Obey `dir'. Simplify.
19457
024ff170
SM
19458 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
19459 we're in VC after all.
19460
1c6c854e
CS
194612011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
19462
19463 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 19464 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
19465 (vc-version-diff): Use vc-diff-build-argument-list-internal.
19466
bed7f140
SM
194672011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19468
332e62ab
SM
19469 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
19470 add sanity check.
19471
bed7f140
SM
19472 * obsolete/erc-hecomplete.el: Make obsolete.
19473 * obsolete/: Standardize obsolescence info in the header.
19474
f195c582
GM
194752011-04-20 Glenn Morris <rgm@gnu.org>
19476
19477 * calendar/solar.el (solar-horizontal-coordinates):
19478 Use the longitude argument rather than `calendar-longitude'.
19479 (solar-date-next-longitude): Remove unused locals.
19480
cb79b8c0
VJL
194812011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19482
19483 * whitespace.el: New version 13.2.1.
19484
194852011-04-20 felix <EmacsWiki> (tiny change)
19486
d8e4b68b 19487 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
19488 switching between major modes on a file.
19489
602ea69d
SM
194902011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19491
19492 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19493 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19494 multi-line comments as well.
19495
06b60517
JB
194962011-04-19 Juanma Barranquero <lekktu@gmail.com>
19497
19498 Lexical-binding cleanup.
19499
19500 * arc-mode.el (archive-mode-revert):
19501 * cmuscheme.el (scheme-interactively-start-process):
19502 * custom.el (custom-initialize-delay):
19503 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19504 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19505 * emacs-lock.el (emacs-lock-clear-sentinel):
19506 * ezimage.el (defezimage):
19507 * follow.el (follow-avoid-tail-recenter):
19508 * fringe.el (set-fringe-mode-1):
19509 * generic-x.el (bat-generic-mode-compile):
19510 * help-mode.el (help-info-variable, help-do-xref)
19511 (help-mode-revert-buffer):
19512 * help.el (view-emacs-todo):
19513 * iswitchb.el (iswitchb-completion-help):
19514 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19515 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19516 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19517 * locate.el (locate-update):
19518 * longlines.el (longlines-encode-region)
19519 (longlines-after-change-function):
19520 * outline.el (outline-isearch-open-invisible):
19521 * ps-def.el (declare-function, charset-dimension, char-width)
19522 (encode-char):
19523 * ps-mule.el (ps-mule-plot-string):
19524 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19525 (recentf-edit-list-select, recentf-edit-list-validate)
19526 (recentf-open-files-action):
19527 * rect.el (delete-whitespace-rectangle-line)
19528 (rectangle-number-line-callback):
19529 * register.el (window-configuration-to-register)
19530 (frame-configuration-to-register):
19531 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19532 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19533 (xselect-convert-to-targets, xselect-convert-to-delete)
19534 (xselect-convert-to-filename, xselect-convert-to-charpos)
19535 (xselect-convert-to-lineno, xselect-convert-to-colno)
19536 (xselect-convert-to-os, xselect-convert-to-host)
19537 (xselect-convert-to-user, xselect-convert-to-class)
19538 (xselect-convert-to-name, xselect-convert-to-integer)
19539 (xselect-convert-to-atom, xselect-convert-to-identity):
19540 * subr.el (declare, ignore, process-kill-without-query)
19541 (text-clone-maintain):
19542 * terminal.el (te-get-char, te-tic-sentinel):
19543 * tool-bar.el (tool-bar-make-keymap):
19544 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19545 * type-break.el (type-break-mode, type-break-noninteractive-query):
19546 * view.el (View-back-to-mark):
19547 * wid-browse.el (widget-browse-action, widget-browse-widget)
19548 (widget-browse-widgets, widget-browse-sexp):
19549 * widget.el (define-widget-keywords):
19550 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19551 Mark unused parameters.
19552
19553 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19554 (align-areas): Remove unused variable `look'.
19555 (align-region): Remove unused variables `real-end' and `pos-list'.
19556
19557 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19558
19559 * bindings.el (mode-line-modified, mode-line-remote):
19560 Mark unused parameters.
19561 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19562
19563 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19564 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19565
19566 * comint.el (comint-history-isearch-pop-state)
19567 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19568 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19569 (comint-substitute-in-file-name): Doc fix.
19570
19571 * completion.el (cmpl-statistics-block): Mark unused parameter.
19572 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19573 (save-completions-to-file, load-completions-from-file):
19574 Remove unused local variable `e'.
19575
19576 * composite.el (compose-chars): Remove unused variable `len'.
19577 (lgstring-insert-glyph): Remove unused variable `g'.
19578 (compose-glyph-string): Remove unused variables `ascent',
19579 `descent', `lbearing' and `rbearing'.
19580 (compose-glyph-string-relative): Remove unused variables
19581 `lbearing', `rbearing' and `wadjust'.
19582 (compose-gstring-for-graphic): Remove unused variables `header',
19583 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19584 (compose-gstring-for-terminal): Remove unused variables `header'
19585 and `nchars'. Use `let', not `let*'.
19586
19587 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19588 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19589 (Custom-buffer-done, custom-buffer-create-internal)
19590 (custom-browse-visibility-action, custom-browse-group-tag-action)
19591 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19592 (widget-magic-mouse-down-action, custom-toggle-parent)
19593 (custom-add-parent-links, custom-toggle-hide-variable)
19594 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19595 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19596 (custom-face-menu-create, custom-variable-menu-create, get)
19597 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19598 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19599 (customize-apropos): Remove unused variable `tests'.
19600 (custom-group-value-create): Remove unused variable `hidden-p'.
19601 (sort-fold-case): Declare.
19602
19603 * cus-theme.el (custom-reset-standard-faces-list)
19604 (custom-reset-standard-variables-list): Declare.
19605 (customize-create-theme, custom-theme-revert, custom-theme-write)
19606 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19607 Mark unused parameters.
19608
19609 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19610
19611 * delim-col.el (delimit-columns-max): Move defvar before first use.
19612
19613 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 19614 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
19615
19616 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19617 (auto-insert): Declare.
19618 (desktop-restore-file-buffer): Rename desktop-* parameters;
19619 mark unused ones.
19620 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19621 (desktop-buffer): Rename desktop-* parameters.
19622
19623 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19624 (dframe-reposition-frame-xemacs, dframe-help-echo)
19625 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19626 Mark unused parameters.
19627
19628 * dired-aux.el (backup-extract-version-start, overwrite-query)
19629 (overwrite-backup-query, rename-regexp-query)
19630 (rename-non-directory-query): Declare.
19631 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19632 (dired-add-entry): Remove unused variable `orig-file-name'.
19633 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19634 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19635 `dired-copy-preserve-time' directly.
19636 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19637 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19638
19639 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19640 (dired-virtual-revert, dired-make-relative-symlink):
19641 Mark unused parameters.
19642 (manual-program): Declare.
19643 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19644 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19645 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19646
19647 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19648
19649 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19650
19651 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19652 Declare.
19653
19654 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19655
19656 * electric.el (Electric-command-loop): Rename parameter
19657 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19658
19659 * expand.el (expand-in-literal): Remove unused variable `here'.
19660
19661 * facemenu.el (facemenu-add-new-color):
19662 Remove unused variable `docstring'.
19663
19664 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19665 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19666 (face-attr-construct): Mark unused parameter. Doc fix.
19667 (read-color): Remove unused variable `hex-string'.
19668
19669 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19670 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19671 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19672 (display-buffer-other-frame): Remove unused variable `old-window'.
19673 (kill-buffer-hook): Declare.
19674 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19675 Mark unused parameters.
19676 (after-find-file): Pass 1 to `auto-save-mode', not t.
19677
19678 * files-x.el (auto-insert): Declare.
19679 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19680
19681 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 19682 variable `buf'. Mark unused parameter.
06b60517
JB
19683 (find-lisp-insert-directory): Mark unused parameter.
19684
19685 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19686 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19687 (format-common-tail): Remove, unused.
19688 (format-deannotate-region): Remove unused variable `loc'.
19689 (format-annotate-region): Remove unused variable `p'.
19690 (format-annotate-single-property-change): Remove unused variables
19691 `default' and `tail'.
19692
19693 * forms.el (read-file-filter): Declare.
19694 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19695
19696 * frame.el (frame-creation-function-alist): Mark unused parameter.
19697 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19698
19699 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19700 Remove unused parameters.
19701 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19702 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19703
19704 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19705 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19706 (hfy-prepare-tag-map): Mark unused parameters.
19707 (htmlfontify-buffer): Use `called-interactively-p'.
19708
19709 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19710 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19711 (ibuffer-do-occur): Mark unused parameters.
19712 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19713 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19714
19715 * ibuffer.el: Don't quote `lambda'.
19716 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19717 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19718 Mark unused parameters.
19719
19720 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19721 (ido-completing-read): Mark unused parameters.
19722 (ido-copy-current-word): Mark unused parameters;
19723 remove unused variable `name'.
19724 (ido-sort-merged-list): Remove unused parameter `dirs'.
19725
19726 * ielm.el (ielm-input-sender): Mark unused parameter.
19727 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19728 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19729 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19730 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19731 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19732
19733 * image-dired.el (image-dired-display-thumbs): Remove unused
19734 variables `curr-file' and `count'.
19735 (image-dired-remove-tag): Remove unused variable `start'.
19736 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19737 variable `curr-file'
19738 (image-dired-rotate-original): Remove unused variable `temp-file'.
19739 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19740 Remove unused variable `file'.
19741 (image-dired-gallery-generate): Remove unused variable `curr'.
19742 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19743
19744 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19745
19746 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19747
19748 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19749
19750 * isearch.el (minibuffer-history-symbol): Declare.
19751 (isearch-edit-string): Remove unused variable `err'.
19752 (isearch-message-prefix, isearch-message-suffix):
19753 Mark unused parameters.
19754
19755 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19756
19757 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19758
19759 * makesum.el (double-column): Remove unused variable `cnt'.
19760
19761 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19762 (ido-ignore-item-temp-list): Declare.
19763
19764 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19765 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19766 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19767 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19768 `mouse-col-delta'.
19769
19770 * mouse-sel.el (mouse-extend-internal):
19771 Remove unused variable `orig-window-frame'.
19772
19773 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19774 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19775 Move declarations before first use.
19776 (pcomplete-opt): Mark unused parameters; doc fix.
19777
19778 * proced.el (proced-revert): Mark unused parameter.
19779 (proced-send-signal): Remove unused variable `err'.
19780
19781 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19782 Rename parameter PREFIX-ARG to ARG.
19783 (ps-basic-plot-string, ps-basic-plot-whitespace):
19784 Mark unused parameters.
19785
19786 * replace.el (replace-count): Define.
19787 (occur-revert-function): Mark unused parameters.
19788 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19789 (isearch-case-fold-search, isearch-string): Declare.
19790 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19791 bind `case-fold-search'. Remove unused variables `beg' and `end',
19792 and simplify.
19793 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19794 COUNT and bind `replace-count'.
19795 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19796 to COUNT.
19797
19798 * savehist.el (print-readably, print-string-length): Declare.
19799
19800 * shadowfile.el (shadow-expand-cluster-in-file-name):
19801 Remove unused variable `cluster'.
19802 (shadow-copy-file): Remove unused variable `i'.
19803 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19804 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19805 (shadow-define-literal-group, shadow-define-regexp-group)
19806 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19807
19808 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19809 (shell): Use `called-interactively-p'.
19810 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19811
19812 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19813 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19814 (delete-backward-char): Remove unused variable `ocol'.
19815 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19816 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19817 (event-apply-hyper-modifier, event-apply-shift-modifier)
19818 (event-apply-control-modifier, event-apply-meta-modifier):
19819 Mark unused parameters.
19820 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19821 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19822
19823 * speedbar.el (speedbar-ignored-directory-expressions)
19824 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19825 (speedbar-find-file, speedbar-dir-follow)
19826 (speedbar-directory-buttons-follow, speedbar-tag-find)
19827 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19828 (speedbar-buffers-line-directory, speedbar-buffer-click):
19829 Mark unused parameters.
19830 (speedbar-tag-file): Remove unused variable `mode'.
19831 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19832
19833 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19834
19835 * talk.el (talk): Remove unused variable `display'.
19836
19837 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19838 (tar-write-region-annotate): Mark unused parameter.
19839
19840 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19841 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19842 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19843 warning by another.
19844
19845 * time-stamp.el (time-stamp-string-preprocess):
19846 Remove unused variable `require-padding'.
19847
19848 * tree-widget.el (widget-glyph-enable): Declare.
19849 (tree-widget-action): Mark unused parameter.
19850
19851 * w32-fns.el (x-get-selection): Mark unused parameter.
19852 (autoload-make-program, generated-autoload-file): Declare.
19853
19854 * wdired.el (wdired-revert): Mark unused parameters.
19855 (wdired-xcase-word): Remove unused variable `err'.
19856
19857 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19858 (whitespace-help-scroll): Remove unused variable `data-help'.
19859
19860 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19861 (widget-image-insert, widget-after-change, default)
19862 (widget-default-format-handler, widget-default-notify)
19863 (widget-default-prompt-value, widget-info-link-action)
19864 (widget-url-link-action, widget-function-link-action)
19865 (widget-variable-link-action, widget-file-link-action)
19866 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19867 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19868 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19869 (widget-insert-button-action, widget-delete-button-action, visibility)
19870 (widget-documentation-link-action, widget-documentation-string-action)
19871 (widget-const-prompt-value, widget-regexp-match, symbol)
19872 (widget-coding-system-prompt-value)
19873 (widget-key-sequence-value-to-external, sexp)
19874 (widget-sexp-value-to-internal, character, vector, cons)
19875 (widget-choice-prompt-value, widget-boolean-prompt-value)
19876 (widget-color--choose-action): Mark unused parameters.
19877 (widget-item-match-inline, widget-choice-match-inline)
19878 (widget-checklist-match, widget-checklist-match-inline)
19879 (widget-group-match): Rename parameter VALUES to VALS.
19880 (widget-field-value-set): Remove unused variable `size'.
19881 (widget-color-action): Remove unused variables `value' and `start'.
19882
19883 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 19884 variable `dir'. Doc fix.
06b60517
JB
19885 (windmove-find-other-window): Don't pass it.
19886
19887 * window.el (count-windows): Mark unused parameter.
19888 (bw-adjust-window): Remove unused variable `err'.
19889
19890 * woman.el (woman-file-name): Remove unused variable `default'.
19891 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19892 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19893 (global-font-lock-mode): Declare.
19894 (woman-decode-region): Mark unused parameter.
19895 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19896
19897 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19898 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19899 (x-dnd-handle-moz-url): Remove unused variable `title'.
19900 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19901
19902 * xml.el (xml-parse-tag, xml-parse-attlist):
19903 Remove unused variable `pos'.
19904
bc4f7f3d
GM
199052011-04-19 Glenn Morris <rgm@gnu.org>
19906
19907 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19908 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19909 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19910 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19911 * calendar/cal-html.el (cal-html-insert-minical):
19912 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19913 (calendar-mark-date-pattern):
19914 Prefix "unused" locals.
19915
19916 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19917 optional argument `style'.
19918
19919 * calendar/appt.el (appt-make-list):
19920 * calendar/cal-china.el (calendar-chinese-date-string):
19921 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19922 (diary-hebrew-yahrzeit):
19923 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19924 * calendar/calendar.el (calendar-generate-window):
19925 * calendar/time-date.el (time-to-days):
19926 Remove unused local variables.
19927
16a43933
CY
199282011-04-18 Chong Yidong <cyd@stupidchicken.com>
19929
19930 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19931 glyphless-char-display table.
19932 (tabulated-list-glyphless-char-display): New var.
19933
7eed1860
SS
199342011-04-18 Sam Steingold <sds@gnu.org>
19935
19936 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19937 to acknowledgments.
19938
4d2d1ccd
GM
199392011-04-17 Glenn Morris <rgm@gnu.org>
19940
19941 * calendar/diary-lib.el (diary-sexp-entry):
19942 * calendar/holidays.el (holiday-sexp):
19943 Set debug-on-error rather than the removed stack-trace-on-error.
19944
239da61d
GM
199452011-04-16 Glenn Morris <rgm@gnu.org>
19946
19947 * progmodes/f90.el: Use lexical-binding.
19948 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19949
8b05752a
SM
199502011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19951
daca8ba5
SM
19952 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19953 (mail-mode): Setup mailalias completion here instead.
19954 * mail/mailalias.el: Use lexical-binding.
19955 (pattern, mailalias-done): Declare dynamic.
19956 (mail-completion-at-point-function): New function, from mail-complete.
19957 (mail-complete): Use it.
19958 (mail-completion-expand): New function.
19959 (mail-get-names): Use it.
19960 (mail-directory, mail-directory-process, mail-directory-stream):
19961 Don't use `pattern' for lexically bound arg.
19962
6f542485
SM
19963 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19964
037e7c3f
SM
19965 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19966 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19967 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19968
8b05752a
SM
19969 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19970 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19971 (byte-interactive-p): Define them again, for use when inlining
19972 old code.
19973
49093f60
JB
199742011-04-15 Juanma Barranquero <lekktu@gmail.com>
19975
19976 * loadup.el: Use `string-to-number', not `string-to-int'.
19977
b5b8e7de
SM
199782011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19979
19980 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19981 gud-gdb-complete-command.
19982 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19983 (gud-gdb-completion-at-point): New function.
19984 (gud-gdb-completions): Remove.
19985
f42efeb5
MA
199862011-04-14 Michael Albinus <michael.albinus@gmx.de>
19987
49093f60
JB
19988 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19989 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19990 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19991 whether `executable-find' is bound.
f42efeb5
MA
19992
19993 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19994
e240cc21
SM
199952011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19996
19997 * minibuffer.el (completion-in-region-mode-predicate)
19998 (completion-in-region-mode--predicate): New vars.
19999 (completion-in-region, completion-in-region--postch)
20000 (completion-in-region-mode): Use them.
20001 (completion--capf-wrapper): Also return the hook function.
20002 (completion-at-point, completion-help-at-point):
20003 Adjust and provide a predicate.
c2bd2ab0
SM
20004
20005 Preserve arg names for advice of subr and lexical functions (bug#8457).
20006 * help-fns.el (help-function-arglist): Consolidate the subr and
20007 new-byte-code cases. Add argument `preserve-names' to extract names
20008 from the docstring when needed.
20009 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
20010 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
20011 (ad-arglist): Use help-function-arglist's new arg.
20012 (ad-definition-type): Use cond.
20013
c183f693
JB
200142011-04-13 Juanma Barranquero <lekktu@gmail.com>
20015
06641a47
JB
20016 * autorevert.el (auto-revert-handler):
20017 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
20018 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
20019 Don't quote lambda.
20020
c183f693
JB
20021 * image-mode.el (image-transform-set-scale):
20022 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
20023
1e3b6001
G
200242011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20025
20026 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 20027 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
20028 Upgrades via gnutls-cli are too slow to be done opportunistically.
20029
2d6af8dd
JB
200302011-04-12 Juanma Barranquero <lekktu@gmail.com>
20031
20032 * dframe.el (dframe-current-frame): Remove spurious quote.
20033
c0749a51
GM
200342011-04-12 Glenn Morris <rgm@gnu.org>
20035
088d0d61
GM
20036 * calendar/cal-tex.el (cal-tex-end-document):
20037 Try to automatically use latin1 input if needed.
20038
c0749a51
GM
20039 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
20040 Don't try to cons a mark onto an empty element.
20041
5c90fde0
LL
200422011-04-11 Leo Liu <sdl.web@gmail.com>
20043
20044 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
20045 buffers.
20046 (ido-kill-buffer-at-head): Support killing virtual buffers.
20047
369e974d
CY
200482011-04-10 Chong Yidong <cyd@stupidchicken.com>
20049
20050 * minibuffer.el (completion-show-inline-help): New var.
20051 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
20052 (minibuffer-force-complete, minibuffer-complete-word):
20053 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
20054
20055 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
20056 to avoid interference from inline help (Bug#5849).
20057
37f1c930
LL
200582011-04-10 Leo Liu <sdl.web@gmail.com>
20059
099c39a4
JB
20060 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20061 Fix typo.
37f1c930 20062
a32d4040
CY
200632011-04-09 Chong Yidong <cyd@stupidchicken.com>
20064
20065 * image-mode.el (image-toggle-display-image): Signal an error if
20066 not in Image mode.
20067 (image-transform-mode, image-transform-resize)
20068 (image-transform-set-rotation): Doc fix.
daca8ba5 20069 (image-transform-set-resize): Delete.
a32d4040
CY
20070 (image-transform-set-scale, image-transform-fit-to-height)
20071 (image-transform-fit-to-width): Handle image-toggle-display-image
20072 and image-transform-resize directly.
20073
099c39a4 200742011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
20075
20076 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
20077 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
20078 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
20079 (doc-view-mode-map): Add bindings for the new functions.
20080
099c39a4 200812011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 20082
4d61f28d 20083 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
20084 Fix typo in docstring.
20085
3726838a
EZ
200862011-04-08 Eli Zaretskii <eliz@gnu.org>
20087
04f33f1e
EZ
20088 * files.el (file-size-human-readable): Produce one digit after
20089 decimal, like "ls -lh" does.
20090
20091 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
20092 the file size representation.
20093
3726838a
EZ
20094 * simple.el (list-processes): If async subprocesses are not
20095 available, error out with a clear error message.
20096
cbb59342
CY
200972011-04-08 Chong Yidong <cyd@stupidchicken.com>
20098
20099 * help.el (help-form-show): New function, to be called from C.
20100 Put help-form output in a buffer named differently than *Help*.
20101
e3971c44
EZ
201022011-04-08 Eli Zaretskii <eliz@gnu.org>
20103
20104 * files.el (file-size-human-readable): New function.
20105
20106 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
20107 computing the representation inline. Don't require `cl'.
20108
12544bbe
GM
201092011-04-08 Glenn Morris <rgm@gnu.org>
20110
a1de6c6a
GM
20111 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
20112
3c4671f4
GM
20113 * net/browse-url.el (browse-url-firefox):
20114 Test system-type, not system-configuration.
20115
b605679c
GM
20116 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
20117 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
20118 Use log-edit-empty-buffer-p. (Bug#7598)
20119
56442f0c
GM
20120 * net/rlogin.el (rlogin-process-connection-type): Simplify.
20121 (rlogin-mode-map): Initialize in the defvar.
20122 (rlogin): Use ignore-errors.
20123
12544bbe
GM
20124 * replace.el (occur-mode-map): Some fixes for menu items.
20125
eb237b0f
AH
201262011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
20127
20128 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
20129
7d668f2c
CY
201302011-04-06 Chong Yidong <cyd@stupidchicken.com>
20131
e67a13ab
CY
20132 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
20133 issuing unused warnings.
20134
20135 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
20136 macro directly.
20137
7d668f2c
CY
20138 * simple.el: Lisp reimplement of list-processes. Based on an
20139 earlier reimplementation by Leo Liu, but using tabulated-list.el.
20140 (process-menu-mode): New major mode.
20141 (list-processes--refresh, list-processes):
20142 (process-menu-visit-buffer): New functions.
20143
20144 * files.el (save-buffers-kill-emacs): Don't assume any return
20145 value of list-processes, which is undocumented anyway.
20146
a83ec3c9
CY
201472011-04-06 Chong Yidong <cyd@stupidchicken.com>
20148
20149 * emacs-lisp/tabulated-list.el: New file.
20150
e91a96fe
CY
20151 * emacs-lisp/package.el: Use Tabulated List mode.
20152 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
20153 (package-menu-mode): Derive from tabulated-list-mode. Set up the
20154 table format using Tabulated List mode variables.
20155 (package--push): New macro, replacing package-list-maybe-add.
20156 (package-menu--generate): Use package--push. Renamed from
20157 package--generate-package-list.
20158 (package-menu-refresh, list-packages): Use it.
daca8ba5 20159 (package-menu--print-info): Rename from package-print-package.
e91a96fe 20160 Return insertion data instead of inserting it directly.
099c39a4
JB
20161 (package-menu-describe-package, package-menu-execute):
20162 Use tabulated-list-get-id.
e91a96fe
CY
20163 (package-menu-mark-delete, package-menu-mark-install)
20164 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
20165 (package-menu-mark-obsolete-for-deletion):
20166 Use tabulated-list-put-tag.
e91a96fe
CY
20167 (package--list-packages, package-menu-revert)
20168 (package-menu-get-package, package-menu-get-version)
20169 (package-menu-sort-by-column): Functions deleted.
20170 (package-menu-package-list, package-menu-sort-key): Vars deleted.
20171 (package-menu--status-predicate, package-menu--version-predicate)
20172 (package-menu--name-predicate)
20173 (package-menu--description-predicate): Handle arguments in the
20174 Tabulated List format.
20175 (package-list-packages-no-fetch): Call list-packages.
20176
3e214b50
JB
201772011-04-06 Juanma Barranquero <lekktu@gmail.com>
20178
20179 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 20180 (after-find-file): Don't bind it.
3e214b50
JB
20181 (revert-buffer-in-progress-p): New variable.
20182 (revert-buffer): Bind it.
20183 Pass nil for `after-find-file-from-revert-buffer'.
20184
20185 * saveplace.el (save-place-find-file-hook): Use new variable
20186 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
20187
3f0f1700
GM
201882011-04-06 Glenn Morris <rgm@gnu.org>
20189
c0274801
GM
20190 * Makefile.in (AUTOGEN_VCS): New variable.
20191 (autoloads): Use $AUTOGEN_VCS.
20192
3f0f1700
GM
20193 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
20194 * calendar/calendar.el (calendar-mode-map):
20195 Check for toolkit scroll bars. (Bug#8305)
20196
41ea9e48
CY
201972011-04-05 Chong Yidong <cyd@stupidchicken.com>
20198
20199 * minibuffer.el (completion-in-region--postch)
20200 (completion-in-region-mode): Remove unnecessary messages.
20201
6194c800
JB
202022011-04-05 Juanma Barranquero <lekktu@gmail.com>
20203
33256f14
JB
20204 * font-lock.el (font-lock-refresh-defaults):
20205 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
20206 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
20207
6194c800
JB
20208 * info.el (Info-directory-list, Info-read-node-name-2)
20209 (Info-split-parameter-string): Doc fixes.
20210 (Info-virtual-nodes): Reflow docstring.
20211 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
20212 (Info-apropos-toc-nodes, info-finder, Info-get-token)
20213 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
20214 Fix typos in docstrings.
20215 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
20216 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
20217 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
20218 (Info-restore-desktop-buffer): Mark unused parameters.
20219 (Info-directory-find-file, Info-directory-find-node)
20220 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
20221 (Info-virtual-index-find-node, Info-apropos-find-file)
20222 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 20223 Mark unused parameters; fix typos in docstrings.
6194c800
JB
20224 (Info-virtual-index): Remove unused local variable `nodename'.
20225
b87a8200 202262011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 20227
b87a8200
DD
20228 * net/rcirc.el: Update my e-mail address.
20229 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 20230
3b2ff876
CY
202312011-04-05 Chong Yidong <cyd@stupidchicken.com>
20232
20233 * startup.el (command-line): Save the cursor's theme-face
20234 directly, instead of using face-override-spec.
20235
20236 * custom.el (load-theme): Minor optimization in assigning faces.
20237
8d17e7ca
JB
202382011-04-04 Juanma Barranquero <lekktu@gmail.com>
20239
20240 * help-fns.el (describe-variable): Complete all variables having
20241 documentation, including keywords.
20242 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
20243
2fbc1934
JB
202442011-04-04 Juanma Barranquero <lekktu@gmail.com>
20245
20246 Convert to lexical-binding.
20247
20248 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
20249 (bs--get-marked-string, bs--get-modified-string)
20250 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
20251 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
20252 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
20253
20254 * ehelp.el (electric-help-execute-extended)
20255 (electric-help-ctrl-x-prefix):
20256 * hexl.el (hexl-revert-buffer-function):
20257 * linum.el (linum-after-change, linum-after-scroll):
20258 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
20259
20260 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
20261
74f50695
DU
202622011-04-04 Daiki Ueno <ueno@unixuser.org>
20263
20264 * epa-dired.el:
20265 * epa-mail.el:
20266 * epa-hook.el:
20267 * epa-file.el:
20268 * epa.el:
20269 * epg.el: Use lexical binding.
20270
c11325f7
CY
202712011-04-03 Chong Yidong <cyd@stupidchicken.com>
20272
0d9e9a12
CY
20273 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
20274
c11325f7 20275 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
20276 dictionary case for flyspell-mark-duplications-exceptions.
20277 Use regexp matching for languages.
c11325f7
CY
20278 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
20279 default dictionary (Bug#7926).
20280
da91b5f2
CY
202812011-04-02 Chong Yidong <cyd@stupidchicken.com>
20282
099c39a4
JB
20283 * emacs-lisp/package.el (package--with-work-buffer):
20284 Recognize https URLs.
da91b5f2 20285
099c39a4
JB
20286 * net/network-stream.el: Move from gnus/proto-stream.el.
20287 Change prefix to network-stream throughout.
da91b5f2
CY
20288 (open-protocol-stream): Merge into open-network-stream, leaving
20289 open-protocol-stream as an alias. Handle nil BUFFER args.
20290
20291 * subr.el (open-network-stream): Move to net/network-stream.el.
20292
afa8e9f6
GM
202932011-04-02 Glenn Morris <rgm@gnu.org>
20294
1d2e369d
GM
20295 * find-dired.el (find-exec-terminator): New option.
20296 (find-ls-option): Test for -ls support.
20297 (find-ls-subdir-switches): Test for -b in find-ls-option.
20298 (find-dired, find-grep-dired): Doc fixes.
20299 (find-dired): Use find-exec-terminator.
20300
8abb7da8 20301 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
20302 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
20303 (find-name-arg): Remove purecopy.
8abb7da8 20304
f3ca7378
GM
20305 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
20306 (grep-compute-defaults): Check for `-exec COMMAND +' support.
20307 Set grep-find-use-xargs, grep-find-command, and grep-find-template
20308 accordingly. Don't add the null-device if not needed.
20309
afa8e9f6
GM
20310 * files.el (save-some-buffers): Doc fix.
20311
35eae264
EZ
203122011-04-02 Eli Zaretskii <eliz@gnu.org>
20313
20314 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
20315
26b51db5
JB
203162011-04-01 Juanma Barranquero <lekktu@gmail.com>
20317
20318 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
20319 Use `dolist' rather than `mapcar'.
20320
7200d79c
SM
203212011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
20322
03408648 20323 Add lexical binding.
7200d79c 20324
03408648
SM
20325 * subr.el (apply-partially): Use new closures rather than CL.
20326 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
20327 (dolist, dotimes): Use slightly different expansion for lexical code.
20328 (functionp): Move to C.
20329 (letrec): New macro.
20330 (with-wrapper-hook): Use it and apply-partially instead of CL.
20331 (eval-after-load): Preserve lexical-binding.
20332 (save-window-excursion, with-output-to-temp-buffer): Turn them
20333 into macros.
7200d79c 20334
03408648
SM
20335 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
20336
20337 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
20338 than the arglist.
20339 (help-add-fundoc-usage): Don't add `Not documented'.
20340 (help-function-arglist): Handle closures, subroutines, and new
20341 byte-code-functions.
20342 (help-make-usage): Remove leading underscores.
20343 (describe-function-1): Handle closures.
20344 (describe-variable): Use special-variable-p for completion.
20345
20346 * files.el (lexical-binding): Declare safe.
f488fb65 20347
03408648
SM
20348 * emacs-lisp/pcase.el: Don't use destructuring-bind.
20349 (pcase--memoize): Rename from pcase-memoize. Change weakness.
20350 (pcase): Add `let' pattern.
20351 Change memoization so it actually works.
20352 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
20353 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
20354 <let>: New case.
f488fb65 20355
03408648
SM
20356 * emacs-lisp/macroexp.el: Use lexical binding.
20357 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
20358 Don't convert ' to #' without checking that it's indeed quoting
20359 a lambda.
20360
20361 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 20362 Use eval-sexp-add-defvars.
03408648
SM
20363 (eval-sexp-add-defvars): New fun.
20364
20365 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
20366
20367 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
20368 Don't autoload.
20369 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
20370 than the internal `byte-compile-lambda'.
20371 (defmethod): Don't hide code under quotes.
20372 (eieio-defmethod): New `code' argument.
20373
20374 * emacs-lisp/eieio-comp.el: Remove.
20375
20376 * emacs-lisp/edebug.el (edebug-eval-defun)
20377 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
20378 (edebug-toggle): Avoid `eval'.
20379
20380 * emacs-lisp/disass.el (disassemble-internal): Handle new
20381 `closure' objects.
20382 (disassemble-1): Handle new byte codes.
20383
20384 * emacs-lisp/cl.el (pushnew): Silence warning.
20385
20386 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
20387 (cl-byte-compile-throw): Remove.
20388 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
20389
20390 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
20391 closures.
20392
20393 * emacs-lisp/cconv.el: New file.
20394
20395 * emacs-lisp/bytecomp.el: Use lexical binding instead of
20396 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
20397 (byte-compile-initial-macro-environment):
20398 Handle declare-function here.
20399 (byte-compile--lexical-environment): New var.
20400 (byte-stack-ref, byte-stack-set, byte-discardN)
20401 (byte-discardN-preserve-tos): New lap codes.
20402 (byte-interactive-p): Don't use any more.
20403 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
20404 New macros.
20405 (byte-compile-lapcode): Use them and handle new lap codes.
20406 (byte-compile-obsolete): Remove.
20407 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
20408 (byte-compile-arglist-warn): Check late def of inlinable funs.
20409 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
20410 since they should have been expanded by now.
20411 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
20412 (byte-compile-from-buffer): Remove unused second arg.
20413 (byte-compile-preprocess): New function.
20414 (byte-compile-toplevel-file-form): New function to distinguish
20415 file-form calls from outside from file-form calls from hunk-handlers.
20416 (byte-compile-file-form): Simplify.
20417 (byte-compile-file-form-defsubst): Remove.
20418 (byte-compile-file-form-defmumble): Simplify now that
20419 byte-compile-lambda always returns a byte-code-function.
20420 (byte-compile): Preprocess.
20421 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
20422 Remove, not used any more.
20423 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
20424 (byte-compile-make-args-desc): New funs.
20425 (byte-compile-lambda): Handle lexical functions. Always return
20426 a byte-code-function.
20427 (byte-compile-reserved-constants): New var, to make up room for
20428 closed-over variables.
20429 (byte-compile-constants-vector): Obey it.
20430 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
20431 (byte-compile-macroexpand-declare-function): New function.
20432 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
20433 byte-code-functions.
20434 (byte-compile-form): Check obsolescence here.
20435 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
20436 (byte-compile-variable-ref): Remove.
20437 (byte-compile-dynamic-variable-op): New fun.
20438 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20439 (byte-compile-variable-set): New funs.
20440 (byte-compile-discard): Add 2 args.
20441 (byte-compile-stack-ref, byte-compile-stack-set)
20442 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
20443 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
20444 macroexpand-all instead.
20445 (byte-compile-quote-form): Remove.
20446 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
20447 (byte-compile-bind, byte-compile-unbind): New funs.
20448 (byte-compile-let): Handle let* and lexical binding.
20449 (byte-compile-let*): Remove.
20450 (byte-compile-catch, byte-compile-unwind-protect)
20451 (byte-compile-track-mouse, byte-compile-condition-case):
20452 Handle a new :fun-body form, used for lexical scoping.
20453 (byte-compile-save-window-excursion)
20454 (byte-compile-with-output-to-temp-buffer): Remove.
20455 (byte-compile-defun): Simplify.
20456 (byte-compile-stack-adjustment): New fun.
20457 (byte-compile-out): Use it.
20458 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
20459
20460 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
20461 handler any more.
20462
20463 * emacs-lisp/byte-opt.el: Use lexical binding.
20464 (byte-inline-lapcode): Remove (to bytecomp).
20465 (byte-compile-inline-expand): Pay attention to inlining to/from
20466 lexically bound code.
20467 (byte-compile-unfold-lambda): Don't handle byte-code-functions
20468 any more.
20469 (byte-optimize-form-code-walker): Don't handle save-window-excursion
20470 any more and don't call compiler-macros.
20471 (byte-compile-splice-in-already-compiled-code): Remove.
20472 (byte-code): Don't inline any more.
20473 (disassemble-offset): Receive `bytes' as argument rather than via
20474 dynamic scoping.
20475 (byte-compile-tag-number): Declare before first use.
20476 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20477 `return' even if make-spliceable.
20478 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20479 obsolete interactive-p.
20480 (byte-optimize-lapcode): Optimize new lap-codes.
20481 Don't trip up on new form of `byte-constant' lap code.
20482
20483 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20484
20485 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20486
20487 * custom.el (custom-initialize-default, custom-declare-variable):
20488 Use `defvar'.
20489
20490 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20491 New variables.
20492 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20493 (COMPILE_FIRST): Add macroexp and cconv.
20494 * makefile.w32-in: Mirror changes in Makefile.in.
20495
20496 * vc/cvs-status.el:
20497 * vc/diff-mode.el:
20498 * vc/log-edit.el:
20499 * vc/log-view.el:
20500 * vc/smerge-mode.el:
20501 * textmodes/bibtex-style.el:
090bd7cb 20502 * textmodes/css-mode.el:
03408648
SM
20503 * startup.el:
20504 * uniquify.el:
da91b5f2
CY
20505 * minibuffer.el:
20506 * newcomment.el:
20507 * reveal.el:
20508 * server.el:
20509 * mpc.el:
20510 * emacs-lisp/smie.el:
20511 * doc-view.el:
20512 * dired.el:
03408648
SM
20513 * abbrev.el: Use lexical binding.
20514
0f0c1f27
EZ
205152011-04-01 Eli Zaretskii <eliz@gnu.org>
20516
20517 * info.el (info-display-manual): New function.
20518
c82b2579
SM
205192011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20520
20521 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20522
221ddf68
TH
205232011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20524
20525 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 20526 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 20527
cba6e77e
GM
205282011-03-31 Glenn Morris <rgm@gnu.org>
20529
e040639f
GM
20530 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20531
cba6e77e
GM
20532 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20533
6d0f1c9e
CS
205342011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20535
20536 * progmodes/python.el (python-default-interpreter)
20537 (python-python-command-args, python-jython-command-args)
20538 (python-which-shell, python-which-args, python-which-bufname)
20539 (python-file-queue, python-comint-output-filter-function)
20540 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20541 variables and functions.
20542
3e2d70fd
SM
205432011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20544
20545 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20546 (completion-in-region-mode): New minor mode.
20547 (completion-in-region): Use it.
20548 (completion-in-region--data, completion-in-region-mode-map): New vars.
20549 (completion-in-region--postch): New function.
20550 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20551 New vars.
20552 (completion--capf-wrapper): New function.
20553 (completion-at-point): Use it to track well-behavedness of
20554 hook functions.
20555 (completion-help-at-point): New command.
20556
f3e4086c
JM
205572011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20558
20559 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20560 syntax class to search for whitespace on a single line
20561 (Message-ID: <4D938140.4030905@redhat.com>).
20562
eb7ffc14
LL
205632011-03-30 Leo Liu <sdl.web@gmail.com>
20564
20565 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20566 New commands.
20567 (edit-abbrevs-map): Bind them here.
20568 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20569
d806ab68
KM
205702011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20571
20572 * allout.el (allout-hide-by-annotation, allout-flag-region):
20573 Reduce possibility of overlay leakage by making them volatile.
20574
20575 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20576 hash is not shared between buffers. Mode initialization is
20577 responsible for giving it a useful starting value.
20578 (allout-item-span): Reduce possibility of overlay leakage by
20579 making them volatile.
20580 (allout-widgets-count-buttons-in-region): Add diagnostic function
20581 for tracking down button overlay leaks.
20582
ea622834
LL
205832011-03-29 Leo Liu <sdl.web@gmail.com>
20584
20585 * ido.el (ido-read-internal): Use the default history var
20586 minibuffer-history if no HISTORY is specified.
20587
b62f8267
G
205882011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20589
03408648
SM
20590 * net/imap.el (imap-shell-open, imap-process-connection-type):
20591 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
20592 Kerberos, SSL, other subprocesses.
20593
947b6566
LL
205942011-03-28 Leo Liu <sdl.web@gmail.com>
20595
20596 * abbrev.el (abbrev-table-empty-p): New function.
20597 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20598 nonempty ones. (Bug#5937)
20599
5ffb62aa
JD
206002011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20601
20602 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20603
7a097943
LL
206042011-03-27 Leo Liu <sdl.web@gmail.com>
20605
20606 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20607 for foreground and background colors.
20608 (ansi-color-make-color-map): Adapt.
20609
c5b40130
LL
206102011-03-25 Leo Liu <sdl.web@gmail.com>
20611
1f48f7d2
LL
20612 * midnight.el (midnight-time-float): Remove. Note it calculates
20613 the microsecond component incorrectly and seconds-to-time does the
20614 same job.
625897ec 20615 Remove redundant (require 'timer).
1f48f7d2 20616
c5b40130
LL
20617 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20618 (ido-completions): Remove unused arguments. (Bug#8329)
20619
d86d2721
SM
206202011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20621
20622 * minibuffer.el (completion--flush-all-sorted-completions):
20623 Remove itself from hook.
20624 (completion-at-point): Let the functions perform the completion
20625 immediately and return nil or t.
20626 * comint.el (comint-dynamic-complete-functions): Now identical to
20627 completion-at-point-functions.
20628 (comint-dynamic-list-input-ring): Remove unused var `index'.
20629 (comint--match-partial-filename, comint--unquote&expand-filename):
20630 New funs, split from comint-match-partial-filename.
20631 (comint-dynamic-complete): Use completion-at-point.
20632 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20633
e8974c48
DA
206342011-03-24 Drew Adams <drew.adams@oracle.com>
20635
20636 * thingatpt.el: Support `defun'.
20637
def71b5e
LL
206382011-03-23 Leo Liu <sdl.web@gmail.com>
20639
cb5af48e
LL
20640 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20641
def71b5e
LL
20642 * help-mode.el (help-mode-finish): Tweak regexp.
20643
927c53e7
GM
206442011-03-23 Glenn Morris <rgm@gnu.org>
20645
18d05bed
GM
20646 * eshell/esh-opt.el (eshell-eval-using-options):
20647 Do not bind unused local variable `eshell-option-stub'.
20648
927c53e7
GM
20649 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20650
9d0da923
JB
206512011-03-22 Juanma Barranquero <lekktu@gmail.com>
20652
20653 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20654 keymap variable in `with-no-warnings' to avoid a warning when the
20655 keymap has been already `defconst'ed.
20656
4b978a67
LL
206572011-03-22 Leo Liu <sdl.web@gmail.com>
20658
20659 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20660 encode all chars in abbrevs; otherwise use emacs-mule or
20661 utf-8-emacs. (Bug#8308)
20662
5fd62452
JB
206632011-03-22 Juanma Barranquero <lekktu@gmail.com>
20664
0b1596c6
JB
20665 * simple.el (backward-delete-char-untabify):
20666 Avoid warning about using `delete-backward-char'.
20667
5fd62452
JB
20668 * image.el (image-type-file-name-regexps): Make it variable.
20669 `imagemagick-register-types' modifies it, and the user may want
20670 to add new extensions for known image types.
20671 (imagemagick-register-types): Throw error if not using ImageMagick.
20672
0b4e93f1
LL
206732011-03-22 Leo Liu <sdl.web@gmail.com>
20674
20675 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20676 located before rcirc-prompt-end-marker.
20677 (rcirc-complete): Error if point is not after rcirc prompt.
20678 Handle the case when table is nil.
9882e214 20679 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 20680
fccee4ab
CY
206812011-03-22 Chong Yidong <cyd@stupidchicken.com>
20682
20683 * custom.el (custom--inhibit-theme-enable): Make it affect only
20684 custom-theme-set-variables and custom-theme-set-faces.
20685 (provide-theme): Ignore custom--inhibit-theme-enable.
20686 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20687 (custom-enabling-themes): Delete variable.
d86d2721
SM
20688 (enable-theme): Accept only loaded themes as arguments.
20689 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
20690 (custom-enabled-themes): Forbid themes from setting this.
20691 Eliminate use of custom-enabling-themes.
20692 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 20693
af896da6
LL
206942011-03-21 Leo Liu <sdl.web@gmail.com>
20695
20696 * ido.el (ido-read-internal): Add ido-selected to history instead
20697 of user input.
20698
78f64af0
SM
206992011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20700
20701 * subr.el (deferred-action-list, deferred-action-function):
20702 Mark obsolete.
20703
b16ac1ec
LL
207042011-03-21 Leo Liu <sdl.web@gmail.com>
20705
810f7698
LL
20706 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20707 change on 2011-02-13 (bug#8309).
20708
b16ac1ec
LL
20709 * minibuffer.el (read-file-name-function): Change default value.
20710 (read-file-name--defaults): Rename from read-file-name-defaults.
20711 (read-file-name-default): Rename from read-file-name.
20712 (read-file-name): Call read-file-name-function.
20713
4e05e67e
GM
207142011-03-21 Glenn Morris <rgm@gnu.org>
20715
20716 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20717 Doc fixes.
20718
4359915b
CY
207192011-03-21 Chong Yidong <cyd@stupidchicken.com>
20720
20721 * cus-theme.el: Add missing provide statement.
20722 (customize-create-theme): Extract theme value correctly.
20723 (custom-theme-visit-theme): Autoload.
20724 (customize-create-theme): Prompt before inserting default faces.
20725
1fe275ee
JB
207262011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20727
20728 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20729 units and musical notes.
20730
cd394be1 207312011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
20732
20733 * ido.el (ido-read-internal): Use completing-read-default.
20734 (ido-completing-read): Fix compatibility with completing-read.
20735
7d476bde
CO
207362011-03-20 Christian Ohler <ohler@gnu.org>
20737
20738 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20739 (ert-delete-all-tests): Use `called-interactively-p' rather than
20740 `interactive-p'.
20741 (ert--make-xrefs-region): Respect END.
20742
fe0fb33e
CY
207432011-03-19 Chong Yidong <cyd@stupidchicken.com>
20744
ff854b0b
CY
20745 * dired-aux.el (dired-create-directory): Signal an error if the
20746 directory already exists (Bug#8246).
20747
fe0fb33e
CY
20748 * facemenu.el (list-colors-display): Call list-faces-display
20749 inside with-help-window.
20750 (list-colors-print): Use display property to align the final
20751 column, instead of checking window-width.
20752
576bce32
EZ
207532011-03-19 Eli Zaretskii <eliz@gnu.org>
20754
4d61f28d 20755 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
20756 windows-nt systems.
20757 (emerge-protect-metachars): Quote correctly for ms-dos and
20758 windows-nt systems.
20759
89c41d68 207602011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
20761
20762 * info.el (info-initialize): Replace all uses of `:' with
20763 path-separator for compatibility with non-Unix systems.
20764 Cache quoting of path-separator. (Bug#8258)
20765
b14e3e21 207662011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
20767
20768 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20769 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20770 (mouse-avoidance-mode): Fix typos in docstrings.
20771
4525ce3e
CY
207722011-03-19 Chong Yidong <cyd@stupidchicken.com>
20773
20774 * startup.el (package-subdirectory-regexp): Move from package.el.
20775 Omit \\` and \\', and let callers add them.
20776
20777 * emacs-lisp/package.el (package-strip-version)
20778 (package-load-all-descriptors): Add \\` and \\' to
20779 package-subdirectory-regexp before using it.
20780 (package-untar-buffer): New arg DIR; ensure that file untars only
20781 into this expected directory. Remove superfluous delete-region.
20782 (package-unpack): Caller changed.
20783 (package-tar-file-info): Use package-subdirectory-regexp.
20784
a904a09a 207852011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 20786
a904a09a
SM
20787 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20788 diff-mode-shared-map (bug#8284).
20789 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
20790
207912011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20792
20793 * calendar/time-date.el (format-seconds): Use assoc instead of
20794 assoc-string, since assoc-string doesn't exist in XEmacs.
20795
171fc304
JB
207962011-03-17 Juanma Barranquero <lekktu@gmail.com>
20797
20798 * custom.el (custom-known-themes): Reflow docstring.
20799 (custom-theme-load-path): Fix typo in docstring.
20800 (load-theme): Fix typo in error message.
20801 (custom-available-themes, custom-variable-theme-value):
20802 Use `let', not `let*'.
20803
d71990a1
JB
208042011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20805
20806 * calc/README: Mention inclusion of musical notes.
20807
20808 * calc/calc-units.el (calc-lu-quant): Rename from
20809 `calc-logunits-quantity'.
20810 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20811 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20812 (calc-db): Rename from `calc-dblevel'.
20813 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20814 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20815 (calc-np): Rename from `calc-nplevel'.
20816 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20817 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20818 (calc-lu-plus): Rename from `calc-logunits-add'.
20819 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20820 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20821 (calc-lu-minus): Rename from `calc-logunits-sub'.
20822 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20823 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20824 (calc-lu-times): Rename from `calc-logunits-mul'.
20825 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20826 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20827 (calc-lu-divide): Rename from `calc-logunits-div'.
20828 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20829 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20830
20831 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20832 functions being autoloaded.
20833
20834 * calc/calc.el (calc-lu-power-reference): Rename from
20835 `calc-logunits-power-reference'.
20836 (calc-lu-field-reference): Rename from
20837 `calc-logunits-field-reference'.
20838
7a71b18d
GM
20839 * calc/calc-help.el (calc-l-prefix-help):
20840 Mention musical note functions.
d71990a1 20841
40c2934b
SM
208422011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20843
20844 * minibuffer.el (completion-all-sorted-completions):
20845 Use :completion-cycle-penalty text property if present.
20846
b0911414
KM
208472011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20848
20849 * allout.el (allout-yank-processing): Adjust for new rebulleting
20850 regime so bullet being yanked is used without prompting the user
20851 for a choice.
20852
8a05b668
JB
208532011-03-16 Juanma Barranquero <lekktu@gmail.com>
20854
20855 * startup.el (command-line): Warn the user that _emacs is deprecated.
20856
5ba5fb81
JB
208572011-03-16 Juanma Barranquero <lekktu@gmail.com>
20858
20859 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20860 (delphi-verbose, delphi-comment-face, delphi-string-face)
20861 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20862 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20863 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20864 (delphi-new-comment-line, delphi-font-lock-defaults)
20865 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20866 Fix typos in docstrings.
20867
2dab465b
KM
208682011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20869
5ba5fb81 20870 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
20871 Invert the roles of character and string values for INSTEAD, so a
20872 string is used for the more common case of a defaulting prompt.
20873
0adf5618
SM
208742011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20875
20876 * progmodes/ruby-mode.el (ruby-backward-sexp):
20877 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20878 * play/gamegrid.el (gamegrid-make-face):
20879 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20880 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20881 * notifications.el (notifications-notify):
20882 * net/xesam.el (xesam-search-engines):
20883 * net/quickurl.el (quickurl-list-insert):
20884 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20885
d72700e5
CY
208862011-03-15 Chong Yidong <cyd@stupidchicken.com>
20887
20888 * startup.el (command-line): Update package subdirectory regexp.
20889
49c5410a
SM
208902011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20891
c6eee9aa
SM
20892 * allout.el (allout-abbreviate-flattened-numbering)
20893 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20894
49c5410a
SM
20895 * subr.el (read-char-choice): Only show the cursor after the prompt,
20896 not after the answer.
20897
047b2bb9
KR
208982011-03-15 Kevin Ryde <user42@zip.com.au>
20899
20900 * help-fns.el (variable-at-point): Skip leading quotes, if any
20901 (bug#8253).
20902
0a57d256
SM
209032011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20904
20905 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20906 warning message.
20907
77c992bc
MA
209082011-03-14 Michael Albinus <michael.albinus@gmx.de>
20909
20910 * shell.el (shell): When called interactively, offer to change the
20911 shell file name on remote hosts.
20912
eebc475d
TZ
209132011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20914
20915 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20916 integration for LDAP parameters. The host, base, user or binddn,
20917 and secret tokens can be specified in a netrc file, for instance.
20918 This is optional because an `auth-source' parameter must be
20919 specified in the search attributes.
20920
9d05d1ba
JB
209212011-03-13 Juanma Barranquero <lekktu@gmail.com>
20922
20923 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20924
09d9db2c
GM
209252011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20926
20927 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20928 into declaration. Remove redundant and harmful binding.
20929
209302011-03-12 Eli Zaretskii <eliz@gnu.org>
20931
20932 * files.el (file-ownership-preserved-p): Pass `integer' as an
20933 explicit 2nd argument to `file-attributes'. If the file's owner
20934 is the Administrators group on Windows, and the current user is
20935 Administrator, consider that a match.
20936
20937 * server.el (server-ensure-safe-dir): Consider server directory
20938 safe on MS-Windows if its owner is the Administrators group while
20939 the current Emacs user is Administrator. Use `=' to compare
20940 numerical UIDs, since they could be integers or floats.
20941
219bd536
JB
209422011-03-12 Juanma Barranquero <lekktu@gmail.com>
20943
20944 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20945
f3afd36b
MA
209462011-03-12 Michael Albinus <michael.albinus@gmx.de>
20947
20948 Sync with Tramp 2.2.1.
20949
20950 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20951
20952 * net/trampver.el: Update release number.
20953
3aaaa6f1
SM
209542011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20955
94642599
SM
20956 * progmodes/compile.el (compilation--previous-directory): Fix up
20957 various nil/dead-marker mismatches (bug#8014).
20958 (compilation-directory-properties, compilation-error-properties):
20959 Don't call it at a position past the one we're about to change.
20960
3aaaa6f1
SM
20961 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20962 Disable obsolescence warnings in the file that declares it.
20963
14239447
KM
209642011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20965
099c39a4
JB
20966 * allout-widgets.el (allout-widgets-tally):
20967 Initialize allout-widgets-tally as a hash table rather than nil to
20968 prevent mode-line redisplay warnings. Also, clarify the module
20969 description and fix a comment typo.
14239447 20970
135e287c
JB
209712011-03-11 Juanma Barranquero <lekktu@gmail.com>
20972
20973 * help-fns.el (describe-variable): Don't complete keywords.
20974 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20975
ffbf300e
CY
209762011-03-10 Chong Yidong <cyd@stupidchicken.com>
20977
ba08b241
CY
20978 * emacs-lisp/package.el (package-version-join): Impose a standard
20979 string representation for pre/alpha/beta version lists.
20980 (package-unpack-single): Standardize the directory name by passing
20981 it through package-version-join.
20982 (package-strip-rcs-id): Accept any version string that does not
20983 signal an error in version-to-list.
ffbf300e 20984
f346fd6b
MA
209852011-03-10 Michael Albinus <michael.albinus@gmx.de>
20986
20987 * simple.el (delete-trailing-whitespace): Return nil for the
20988 benefit of `write-file-functions'.
20989
ccb55d27
GM
209902011-03-10 Glenn Morris <rgm@gnu.org>
20991
5ceaac0c
GM
20992 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20993
02da65ff
GM
20994 * vc/vc-git.el (vc-git-program): New option.
20995 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20996 (vc-git--call): Use it.
20997
b2f603cc
GM
20998 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20999
5772caab
GM
21000 * cus-edit.el (Custom-newline): If no button at point, look
21001 for a subgroup button at start-of-line. (Bug#2298)
21002
ccb55d27
GM
21003 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
21004
ec6ecaed
JD
210052011-03-10 Julien Danjou <julien@danjou.info>
21006
21007 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
21008 `cursor-type' is nil.
21009
9d5aa01d
JB
210102011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
21011
21012 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
21013
b6a5875b
KM
210142011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
21015
7a71b18d 21016 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
21017 preserves the existing header prefix, rebulleting it if necessary,
21018 rather than replacing it. This is necessary for proper operation
21019 of cooperative addons like allout-widgets.
1154d12e
JB
21020 (allout-make-topic-prefix, allout-rebullet-heading):
21021 Change SOLICIT arg to INSTEAD, and interpret additionally a string
21022 value as alternate bullet to be used, instead of prompting the user
21023 for a bullet character.
b6a5875b 21024
ee545c35
MA
210252011-03-09 Michael Albinus <michael.albinus@gmx.de>
21026
d86d2721
SM
21027 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21028 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
21029 `tramp-default-port'.
21030
c47971d7
DD
210312011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
21032
21033 * net/rcirc.el (rcirc-handler-001): Remove useless
21034 with-rcirc-process-buffer.
21035 (rcirc-check-auth-status): Swap arguments to string-match.
21036
13522cb4
GM
210372011-03-09 Glenn Morris <rgm@gnu.org>
21038
0be6f4f1
GM
21039 * shell.el (shell-mode):
21040 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
21041
13522cb4
GM
21042 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
21043 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
21044
515de2e3
CY
210452011-03-08 Chong Yidong <cyd@stupidchicken.com>
21046
21047 * emacs-lisp/package.el (package-refresh-contents)
21048 (package-menu-execute): Use condition-case-no-debug.
21049
b511b994
MA
210502011-03-08 Michael Albinus <michael.albinus@gmx.de>
21051
21052 * simple.el (shell-command-to-string): Use `process-file'.
21053
21054 * emacs-lisp/package.el (package-tar-file-info): Handle also
21055 remote files.
21056
d86d2721
SM
21057 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21058 Use `equal' for upload base check.
b511b994 21059
25bbfb31
AM
210602011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
21061
21062 * textmodes/texinfo.el (texinfo-environments):
21063 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
21064
be996521
GM
210652011-03-08 Glenn Morris <rgm@gnu.org>
21066
e9c8529f
GM
21067 * cus-start.el (cursor-in-non-selected-windows):
21068 Fix :set quoting oddness. (Bug#8192)
21069
be996521
GM
21070 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
21071 in some setf expressions. (Bug#2159)
21072
2bb5649e
CY
210732011-03-08 Chong Yidong <cyd@stupidchicken.com>
21074
21075 * custom.el (custom-available-themes): Return themes in
21076 alphabetical order.
21077
33383987 21078See ChangeLog.15 for earlier changes.
e3d51b27
MR
21079
21080;; Local Variables:
21081;; coding: utf-8
e3d51b27
MR
21082;; End:
21083
acaf905b 21084 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
21085
21086 This file is part of GNU Emacs.
21087
21088 GNU Emacs is free software: you can redistribute it and/or modify
21089 it under the terms of the GNU General Public License as published by
21090 the Free Software Foundation, either version 3 of the License, or
21091 (at your option) any later version.
21092
21093 GNU Emacs is distributed in the hope that it will be useful,
21094 but WITHOUT ANY WARRANTY; without even the implied warranty of
21095 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21096 GNU General Public License for more details.
21097
21098 You should have received a copy of the GNU General Public License
21099 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.