Document cal-html-holidays
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
6a088630
MR
12012-10-08 Martin Rudalics <rudalics@gmx.at>
2
3 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
4 the minibuffer window (Bug#10851).
5
8dbce54c
FEG
62012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
7
8 Enhancements on forward-sexp movement.
9 * progmodes/python.el (python-nav-beginning-of-statement)
10 (python-nav-end-of-statement): Return point-marker.
11 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
12 (python-info-current-symbol)
13 (python-info-statement-starts-block-p): Rename from
14 python-info-beginning-of-block-p.
15 (python-info-statement-ends-block-p): Rename from
16 python-info-end-of-block-p.
17 (python-info-beginning-of-statement-p)
18 (python-info-end-of-statement-p)
19 (python-info-beginning-of-block-p, python-info-end-of-block-p):
20 New functions.
21
5acd2b3e
SM
222012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
23
24 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
25 frame-selected-windows.
26
795b1482
SM
272012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
28
29 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
30 (read-passwd): Remove a few more potential sources of leaks.
31
f27c99dc
FEG
322012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
33
34 * progmodes/python.el (inferior-python-mode)
795b1482 35 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
36 variables copied from parent buffer.
37
fcacb558
JD
382012-10-07 Jan Djärv <jan.h.d@swipnet.se>
39
40 * term/ns-win.el (ns-read-file-name): Update declaration to match
41 nsfns.m.
42 (ns-respond-to-change-font): Change fontsize separatly so we are sure
43 it is set when font is acted upon.
44
be0d5bae
FEG
452012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
46
47 Enhancements to indentation.
48 * progmodes/python.el (python-indent-context): Give priority to
49 inside-string context. Make comments indentation markers.
50 (python-indent-region): Do not mess with strings, unless it's the
51 enclosing set of quotes.
52
13af0d10
SM
532012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
54
662a9d0e
SM
55 * window.el (internal--before-save-selected-window)
56 (internal--after-save-selected-window): New functions extracted from
57 save-selected-window. Make sure we return the `alist' we construct.
58 (save-selected-window): Use them.
59
60 * textmodes/tex-mode.el (tex-recenter-output-buffer):
61 Use with-selected-window.
62
13af0d10
SM
63 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
64 forms that define macros (bug#12593).
65
6aa75fb6
KH
662012-10-07 Kenichi Handa <handa@gnu.org>
67
13af0d10
SM
68 * international/mule-conf.el (compound-text-with-extensions):
69 Add :mime-charset property as x-ctext.
6aa75fb6 70
78d876b9
SM
712012-10-07 Stefan Merten <smerten@oekonux.de>
72
73 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
74 (rst-indent-literal-normal, rst-indent-literal-minimized)
75 (rst-indent-comment): Correct :version tag.
557337e9 76 (rst-official-cvs-rev): Correct version string.
78d876b9 77
99a1e701
GM
782012-10-07 Glenn Morris <rgm@gnu.org>
79
80 * mail/rmailmm.el (rmail-mime-process-multipart):
81 Do not confuse a multipart message with an epilogue
82 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
83
08f18c3d
FEG
842012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
85
86 Fix shell output retrieval and comint-prompt-regexp init.
87 * progmodes/python.el (inferior-python-mode):
88 (python-shell-make-comint): Fix initialization of
89 comint-prompt-regexp from copied file local variables.
90 (python-shell-fetched-lines): Remove var.
91 (python-shell-output-filter-in-progress): Rename from
92 python-shell-fetch-lines-in-progress.
93 (python-shell-output-filter-buffer): Rename from
94 python-shell-fetch-lines-string.
95 (python-shell-fetch-lines-filter): Delete function.
96 (python-shell-output-filter): New function.
97 (python-shell-send-string-no-output): Use them.
98
82ed3ab4
GM
992012-10-07 Glenn Morris <rgm@gnu.org>
100
1595ecfa
GM
101 * hi-lock.el (hi-lock-process-phrase):
102 Try to make it less fragile. (Bug#7161)
103
82ed3ab4
GM
104 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
105
f1f4dba0
GM
1062012-10-06 Glenn Morris <rgm@gnu.org>
107
addc11ed 108 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
109 non-existent mode `help'.
110 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 111
460042b8
GM
112 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
113 (reftex-create-bibtex-footer): Fix custom types.
114
67667c70
GM
115 * progmodes/sh-script.el (sh-indent-after-continuation):
116 Add explicit :group.
117
18dec750
GM
118 * textmodes/rst.el (rst-preferred-decorations)
119 (rst-shift-basic-offset): Clarify obsolescence versions.
120
d1a1c7e6
GM
121 * profiler.el (profiler): Add missing group :version tag.
122 * avoid.el (mouse-avoidance-banish-position):
123 * proced.el (proced-renice-command):
124 * calc/calc.el (calc-ensure-consistent-units):
125 * calendar/icalendar.el (icalendar-import-format-uid):
126 * net/tramp.el (tramp-save-ad-hoc-proxies):
127 * progmodes/bug-reference.el (bug-reference-bug-regexp):
128 * progmodes/flymake.el (flymake-error-bitmap)
129 (flymake-warning-bitmap, flymake-fringe-indicator-position):
130 * progmodes/sh-script.el (sh-indent-after-continuation):
131 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
132 (verilog-before-save-font-hook, verilog-after-save-font-hook):
133 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
134 (vhdl-array-index-record-field-in-sensitivity-list)
135 (vhdl-indent-comment-like-next-code-line):
136 * textmodes/reftex-vars.el (reftex-ref-style-alist)
137 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
138 (reftex-cite-key-separator, reftex-create-bibtex-header)
139 (reftex-create-bibtex-footer):
140 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
141 (rst-indent-literal-normal, rst-indent-literal-minimized)
142 (rst-indent-comment): Add missing custom :version tags.
143
ef35abb4
GM
144 * calendar/timeclock.el (timeclock-modeline-display):
145 Add missing obsolete alias for renamed user option.
146
d1aae614
GM
147 * strokes.el (strokes-modeline-string):
148 * emulation/crisp.el (crisp-mode-modeline-string):
149 * eshell/esh-mode.el (eshell-status-in-modeline):
150 Aliases to defcustoms must come before the defcustom.
151
f1f4dba0
GM
152 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
153 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
154 (cal-tex-cursor-week-monday): Doc fixes.
155 (cal-tex-cursor-week2-summary): Doc fix.
156 Rename from cal-tex-cursor-week-at-a-glance.
157
158 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
159 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
160
161 * calendar/calendar.el (calendar-mode-map):
162 Add cal-tex-cursor-week2-summary.
163
d39109c3
SM
1642012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
165
685f87b0
SM
166 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
167
d39109c3
SM
168 * subr.el (read-passwd-map): New var.
169 (read-passwd): Use `read-string' again.
170 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
171
5694896d
J
1722012-10-06 Jambunathan K <kjambunathan@gmail.com>
173
174 * register.el (append-to-register, prepend-to-register):
175 Deactivate mark, as does `copy-to-register' (bug#12389).
176
9414dd8d
CY
1772012-10-06 Chong Yidong <cyd@gnu.org>
178
179 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
180
2b89bca4
KH
1812012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
182
183 * international/characters.el: Fix simple mistake ((car chars) ->
184 elt), delete duplicated code.
185
d5acb99a
GM
1862012-10-06 Glenn Morris <rgm@gnu.org>
187
188 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
189
123ec157
JS
1902012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
191
192 * color.el (color-hsl-to-rgb): Fix incorrect results for
193 small and large hue values. (Bug#12559)
194
7fa36ccb
FEG
1952012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
196
197 Enhancements to docstring formatting when filling paragraphs.
198 * progmodes/python.el (python-fill-docstring-style): Rename from
199 python-fill-string-style. Added new style.
200 (python-fill-string): Use new style. Better checks for
201 docstrings.
202
d8788e1e
GM
2032012-10-05 Glenn Morris <rgm@gnu.org>
204
204f3953
GM
205 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
206
d8788e1e
GM
207 * color.el (color-name-to-rgb, color-rgb-to-hex)
208 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
209 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
210 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
211 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
212
8d956cef
GM
213 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
214
e8757f09 2152012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
216
217 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
218 to get the correct size across symlinks.
219
e8757f09
GM
220 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
221
0e2ae83d
JL
2222012-10-04 Juri Linkov <juri@jurta.org>
223
224 * replace.el (query-replace-interactive): Declare obsolete.
225 (query-replace-read-from): Add the last incremental search string
226 to the list of default values accessible via M-n.
227 (map-query-replace-regexp): Use `read-regexp'.
228 (query-replace, query-replace-regexp, query-replace-regexp-eval)
229 (map-query-replace-regexp, replace-string, replace-regexp):
230 Fix docstrings to replace mentions of `query-replace-interactive'
231 with alternatives. (Bug#12526)
232
93cacb6d
JL
2332012-10-04 Juri Linkov <juri@jurta.org>
234
235 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
236 (dired-pop-to-buffer): Declare obsolete.
237 (dired-mark-pop-up): Doc fix.
238
fc345011
FEG
2392012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
240
241 Allow user to set docstring style for fill-paragraph.
242 * progmodes/python.el
243 (python-fill-comment-function, python-fill-string-function)
244 (python-fill-decorator-function, python-fill-paren-function):
245 Remove :safe for defcustoms.
246 (python-fill-string-style): New defcustom
5694896d 247 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
248 (python-fill-string): Honor python-fill-string-style settings.
249
6bab5d8b
MR
2502012-10-04 Martin Rudalics <rudalics@gmx.at>
251
252 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
253 after setting its buffer (Bug#10805).
254
a1a9f411
FEG
2552012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
256
257 Fix cornercase for string syntax.
258 * progmodes/python.el (python-syntax-propertize-function):
259 Simplify and enhance the regexp for unescaped quotes. Now it also
260 matches quotes in weird situations like the single quote in
261 "something\"'".
262 (python-syntax-stringify): Simplify num-quotes detecting code.
263
05e153a6
GM
2642012-10-03 Glenn Morris <rgm@gnu.org>
265
266 * help-macro.el (three-step-help):
267 Revert 2012-09-29 change. (Bug#12567)
268
2e566ecb
MR
2692012-10-03 Martin Rudalics <rudalics@gmx.at>
270
96ef9ccd
MR
271 * menu-bar.el (kill-this-buffer): Don't do anything when
272 `menu-frame' is not alive or visible (Bug#8184).
273
2e566ecb
MR
274 * emacs-lisp/debug.el (debug): When quitting the debugger window
275 restore current buffer (Bug#12502).
276
a96e1cb7
CY
2772012-10-02 Chong Yidong <cyd@gnu.org>
278
5694896d
J
279 * progmodes/hideif.el (hif-lookup, hif-defined):
280 Handle semantic-c-takeover-hideif.
a96e1cb7 281
b3ecad33
PE
2822012-10-02 Paul Eggert <eggert@cs.ucla.edu>
283
284 Change sampling interval units from ms to ns.
285 * profiler.el (profiler-sampling-interval): Change units
286 from ms to ns, multiplying the default by 1000000 so that
287 it remains 1 ms.
288 (profiler-report-cpu-line-format): Give enough room for
289 the maximum counters on 64-bit hosts.
290 (profiler-report-render-calltree-1): Call them "CPU samples",
291 not "Time (ms)", since they are not milliseconds now (and
292 never really were).
293
8cb51b66 2942012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 295
5694896d
J
296 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
297 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 298
fd795bf4
CY
2992012-10-02 Chong Yidong <cyd@gnu.org>
300
301 * emacs-lisp/eieio.el: Restore Version header.
302
fe0a74f9
SM
3032012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
304
6be9197e
SM
305 * vc/diff-mode.el (diff--auto-refine-data): New var.
306 (diff-hunk): Use it to delay refinement.
307 (diff-mode): Remove overlays when we turn off font-lock.
308
18486139
SM
309 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
310 (table-initialize-table-fixed-width-mode)
311 (table-set-table-fixed-width-mode): Remove functions.
312 (table-command-list): Move initialization into declaration.
313 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
314 (table-with-cache-buffer): Use `declare'.
315 (table-span-cell): Simplify via CSE.
316 (table-fixed-width-mode): Use define-minor-mode.
317 (table-call-interactively, table-funcall, table-apply): Remove.
318 (table-function): New function, to replace them.
319
d83ef976
SM
320 * bookmark.el (bookmark-search-pattern): Remove var.
321 (bookmark-read-search-input): Remove function.
322 (bookmark-bmenu-search): Reimplement using a minibuffer.
323
cd386662
SM
324 * faces.el (modeline): Remove obsolete face name.
325
fe0a74f9
SM
326 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
327 and give a non-nil default value.
328 (add-change-log-entry): Simplify accordingly.
329
9f7b98f8
DG
3302012-10-01 Dmitry Gutov <dgutov@yandex.ru>
331
332 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
333 (vc-git-log-edit-toggle-amend): New function.
334 (vc-git-log-edit-toggle-signoff): New function.
335 (vc-git-log-edit-mode): New major mode.
336 (vc-git-log-edit-mode-map): Keymap for it.
337 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
338
339 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
340 header names.
341 (log-edit-toggle-header): New function.
342 (log-edit-extract-headers): Accept function values in HEADERS alist.
343
62a81506
CY
3442012-10-01 David Engster <deng@randomsample.de>
345
346 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
347 from symbol property and change message to be more consistent with
348 Emacs proper.
349 (eieio-describe-generic): Add filename for each implementation.
350 Fix indices for generic and normal methods.
351 (eieio-method-def, eieio-class-def): New buttons.
352 (eieio-help-find-method-definition)
353 (eieio-help-find-class-definition): New functions.
354 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
355 class, constructor and method definitions.
356
357 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
358 information in symbol property.
359 (scoped-class): Remove.
360 (eieio-slot-name-index, call-next-method): Check if it is bound.
361
3622012-10-01 Leo P. White <lpw25@cam.ac.uk>
363
364 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
365 (eieio-custom-mode): New major mode.
366 (eieio-customize-object): Use it.
367
3682012-10-01 Eric Ludlam <zappo@gnu.org>
369
370 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
371 specifying the expected class, and whether subclassing is allowed.
372 (eieio-persistent-convert-list-to-object):
373 (eieio-persistent-validate/fix-slot-value)
374 (eieio-persistent-slot-type-is-class-p): New functions.
375 (eieio-named::slot-missing): Doc fix.
376
377 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
378 Stop using unused publd variable.
379
380 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
381 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
382 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
383 (eieio-speedbar-handle-click): Do not specify a class for the
384 method. Fixes method invocation order problems with EDE.
385
375e49d4
SM
3862012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
387
388 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
389 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
390
16ce6ccd
KF
3912012-10-01 Karl Fogel <kfogel@red-bean.com>
392
393 * bookmark.el (bookmark-version-control): Give tags in the
394 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
395 (bookmark-write-file): Bind `print-circle' to `t' to allow
396 circular custom bookmark types. (Bug#12503)
16ce6ccd 397
19e54a4d
PE
3982012-10-01 Paul Eggert <eggert@cs.ucla.edu>
399
86ec63ba
PE
400 Revert the FOLLOW-SYMLINKS change for file-attributes.
401 * files.el (remote-file-name-inhibit-cache, after-find-file):
402 * time.el (display-time-file-nonempty-p): Undo last change.
403
19e54a4d
PE
404 * profiler.el (profiler-sampling-interval): Change default back to 1.
405 See Stefan Monnier in
406 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
407
0478776b
FEG
4082012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
409
410 Shell output catching a la gud-gdb.
411 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
412 (python-shell-fetch-lines-string, python-shell-fetched-lines):
413 New Vars.
0478776b
FEG
414 (python-shell-fetch-lines-filter): New function.
415 (python-shell-send-string-no-output): Use them.
416
c22bac2c
TM
4172012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
418
419 * profiler.el (profiler-sampling-interval): Rename from
420 profiler-sample-interval.
421 (profiler-sampling-interval): Default to 10.
422 (profiler-find-profile): New command (was profiler-find-log).
423 (profiler-find-profile-other-window): New command.
424 (profiler-find-profile-other-frame): New command.
425 (profiler-profile): Introduce API-level data structure.
426
e7a2937b
PE
4272012-09-30 Paul Eggert <eggert@cs.ucla.edu>
428
429 file-attributes has a new optional arg FOLLOW-SYMLINKS.
430 * files.el (remote-file-name-inhibit-cache):
431 * time.el (display-time-file-nonempty-p): Use it.
432 * files.el (after-find-file): Don't chase links before calling
433 file-exists-p, as file-exists-p already does the right thing.
434
4f595e15
RA
4352012-09-30 Ralf Angeli <angeli@caeruleus.net>
436
437 Merge from standalone RefTeX repository.
438
439 The following ChangeLog entries are shortened versions of the
440 original ones with file paths adapted. A not so strongly edited
441 version of the original ChangeLog can be found in the commit log.
442
443 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
444 (reftex-arg-cite): Use `reftex-cite-key-separator'.
445 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
446
447 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
448 that entries with whitespace at various places are found.
449 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
450 Include @String definitions in the resulting bib file. Add header
451 and footer defined in `reftex-create-bibtex-header' and
452 `reftex-create-bibtex-footer'.
453 (reftex-do-citation): Make it possible again to insert
454 non-existent entries. Save match data when asking for optional
455 arguments. Return all keys, not just the first one.
456 (reftex-all-used-citation-keys): Fix regexp to correctly extract
457 all citations in the same line.
458 (reftex-parse-bibtex-entry): Accept additional optional argument
459 `raw' and keep quotes or braces if it is non-nil. Match fields
460 containing hyphens besides word constituents.
461 (reftex-get-string-refs): New function.
462 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
463 and ask if it should be reread in case it did.
464 (reftex-pop-to-bibtex-entry)
465 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
466 entries with spaces or tabs in front of arguments.
467 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
468 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
469 Match entries containing numbers and symbol constituents.
470 (reftex-do-citation, reftex-figure-out-cite-format):
471 Use `reftex-cite-key-separator'.
4f595e15
RA
472
473 * textmodes/reftex-dcr.el: Move provide statement to end of file.
474 (reftex-mouse-view-crossref): Explain why point is set.
475
476 * textmodes/reftex-global.el: Whitespace changes.
477
478 * textmodes/reftex-index.el: Move provide statement to end of
479 file.
480 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
481 (reftex-index-visit-phrases-buffer): Set marker when visiting
482 buffer. This allows for returning from the phrases file to the
483 file one was just editing instead of the file where the last
484 phrases was added from.
485 (reftex-index-phrases-syntax-table): New variable. Give ?\"
486 punctuation syntax as it usually is not used as string quote in
487 TeX-related modes and may occur unmatched. The change also
488 prevents fontification of quoted content.
489 (reftex-index-phrases-mode): Use it.
490
375e49d4
SM
491 * textmodes/reftex-parse.el (reftex-parse-from-file):
492 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
493 (reftex-parse-from-file): Use beginning of match instead of end as
494 bound.
495
496 * textmodes/reftex-ref.el: Adapt creation of
497 `reftex-<package>-<macro>' functions to new structure of
498 `reftex-ref-style-alist'.
375e49d4
SM
499 (reftex-reference): Use `reftex-ref-style-list' function.
500 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
501 reference macro if `reftex-ref-macro-prompt' is non-nil.
502 (reftex-reference): Pass refstyle to `reftex-format-special'.
503 Determine reference macro by looking at
375e49d4
SM
504 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
505 Use only one special format function.
4f595e15
RA
506 (reftex-varioref-vref, reftex-fancyref-fref)
507 (reftex-fancyref-Fref): Remove definitions. The functions are now
508 generated from `reftex-ref-style-alist'.
509 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
510 Remove.
511 (reftex-format-special): New function.
512
513 * textmodes/reftex-sel.el
514 (reftex-select-cycle-ref-style-internal): Adapt to new structure
515 of `reftex-ref-style-alist'. Remove code for testing macro type.
516 (reftex-select-toggle-varioref)
517 (reftex-select-toggle-fancyref): Remove.
518 (reftex-select-cycle-ref-style-internal)
519 (reftex-select-cycle-ref-style-forward)
520 (reftex-select-cycle-ref-style-backward): New functions.
521 (reftex-select-label-map): Use `v' and `V' for general cycling
522 through reference styles. Add `p' for switching between number
523 and page reference types.
524
375e49d4
SM
525 * textmodes/reftex-toc.el (reftex-re-enlarge):
526 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
527 the horizontal version throws an error even if the parameter is 0.
528
529 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
530 (reftex-plug-into-AUCTeX): Doc fix.
531 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
532 string. Adapt to new name.
533 (reftex-ref-style-alist): Change structure so that it is not
534 possible to use multiple different package names within a style.
375e49d4
SM
535 Remove the symbols for symbols for macro type distinction.
536 Add characters for macro selection.
4f595e15
RA
537 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
538 (reftex-create-bibtex-footer): New variables.
539 (reftex-format-ref-function): Mention third argument of special
540 format function.
375e49d4
SM
541 (reftex-ref-style-alist, reftex-ref-style-default-list):
542 New variables.
4f595e15
RA
543 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
544 to new implementation. Mark as obsolete. Add compatibility code
545 for honoring the variable values in case they are set.
375e49d4
SM
546 (reftex-cite-format-builtin, reftex-bibliography-commands):
547 Add support for ConTeXt.
548 (reftex-format-ref-function, reftex-format-cite-function):
549 Fix custom type.
4f595e15
RA
550 (reftex-cite-key-separator): New variable.
551
552 * textmodes/reftex.el (reftex-syntax-table-for-bib)
553 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
554 `reftex-syntax-table' because parens have to retain their paren
555 syntax in order for parsing of BibTeX entries like @book(...) to
556 work.
557 (reftex-in-comment): Do not error out if `comment-start-skip' is
558 not set. Deal correctly with escaped comment characters.
375e49d4
SM
559 (reftex-tie-multifile-symbols): Add doc string.
560 Initialize `reftex-ref-style-list'.
4f595e15
RA
561 (reftex-untie-multifile-symbols): Add doc string.
562 (reftex-add-index-macros): Doc fix.
563 (reftex-ref-style-activate, reftex-ref-style-toggle)
564 (reftex-ref-style-list): New functions.
565 (reftex-mode-menu): Use them. Adapt to new structure of
566 `reftex-ref-style-alist'.
567 (reftex-select-with-char): Kill the RefTeX Select buffer when
568 done.
569 (reftex-remove-if): New function.
570 (reftex-erase-all-selection-and-index-buffers)
571 (reftex-mode-menu): Reference styles are now computed from
572 `reftex-ref-style-alist'. Fix typo.
573 (reftex-report-bug): New function.
574 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
575 algorithms with O(n log n). Introduce optional argument SORT (not
576 yet used).
577
440ba395
FEG
5782012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
579
580 Enhancements for triple-quote string syntax.
375e49d4
SM
581 * progmodes/python.el (python-syntax-propertize-function):
582 Match both quote cases in one regexp.
440ba395
FEG
583 (python-syntax-stringify): Handle matches properly.
584
4c478e6b
JL
5852012-09-30 Juri Linkov <juri@jurta.org>
586
587 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 588 to nil around the call to `insert' to prevent
4c478e6b
JL
589 directory time modification by lock_file. (Bug#2295)
590 * tar-mode.el (tar-summarize-buffer): Idem.
591
d80d54b2
JL
5922012-09-30 Juri Linkov <juri@jurta.org>
593
594 * facemenu.el (list-colors-sort): Add option "Luminance".
595 (list-colors-sort-key): Implement it.
596
597 * vc/diff-mode.el (diff-refine-removed):
598 * vc/ediff-init.el (ediff-fine-diff-A):
599 * vc/smerge-mode.el (smerge-refined-removed):
600 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
601
d7e642cc
JD
6022012-09-30 Jan Djärv <jan.h.d@swipnet.se>
603
604 * term/ns-win.el (x-file-dialog): New function.
605
ee41332b
JB
6062012-09-30 Juanma Barranquero <lekktu@gmail.com>
607
608 * ido.el (ido-max-directory-size): Default to nil; the current
609 default is small for POSIX systems, and impractical on Windows 7
610 now that lstat returns directory sizes for NTFS.
611
5938d519
MR
6122012-09-30 Martin Rudalics <rudalics@gmx.at>
613
614 In buffer display functions handle window-height/window-width
615 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
616 * window.el (window--display-buffer): New argument ALIST.
617 Obey window-height and window-width alist entries.
618 (window--try-to-split-window): New argument ALIST.
619 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
620 changed and window-combination-limit equals `window-size'.
621 (display-buffer-in-atom-window)
622 (display-buffer-in-major-side-window)
623 (display-buffer-in-side-window, display-buffer-same-window)
624 (display-buffer-reuse-window, display-buffer-pop-up-frame)
625 (display-buffer-pop-up-window, display-buffer-below-selected)
626 (display-buffer-at-bottom, display-buffer-in-previous-window)
627 (display-buffer-use-some-window): Adjust all callers of
628 window--display-buffer and window--try-to-split-window.
629 (fit-frame-to-buffer): New option.
630 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
631 is non-nil.
632 (display-buffer-in-major-side-window): Evaluate window-height /
633 window-width alist entries.
634
635 * help.el (temp-buffer-resize-frames)
636 (temp-buffer-resize-regexps): Remove options.
637 (temp-buffer-resize-mode): Adjust doc-string.
638 (resize-temp-buffer-window): Don't consult
639 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
640 temp-buffer-resize-frames.
641
375e49d4
SM
642 * dired.el (dired-mark-pop-up):
643 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
644 entry.
645
c4c0c2df
CY
6462012-09-30 Chong Yidong <cyd@gnu.org>
647
48de8b12
CY
648 * server.el (server-host): Document the security implications.
649 (server-auth-key): Doc fix.
650
651 * startup.el (initial-buffer-choice): Doc fix.
652
653 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
654
a97dc380
CY
655 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
656 restriction change.
657
d39d3c8e
CY
658 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
659
c4c0c2df
CY
660 * help-fns.el (help-fns--obsolete): Fix last change.
661
98a5e33b
SM
6622012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
663
34cf6f39
SM
664 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
665 (minor-mode-map-alist): Remove redundant code.
666
e01c13fe
SM
667 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
668 visited in a buffer.
669 (cvs-insert-visited-file): New function.
670 (find-file-hook): Use it.
671
672 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
673
02661b3a
SM
674 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
675 chose face.
676 (log-edit-empty-buffer-p): Don't require a space after a header.
677
43711d4b
SM
678 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
679
38a30d64
SM
680 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
681
4ffb41a9
SM
682 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
683 a proper minor-mode.
684
98a5e33b
SM
685 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
686
de82e29b
GM
6872012-09-29 Glenn Morris <rgm@gnu.org>
688
5cc2e639
GM
689 * winner.el (winner-mode): Remove variable (let define-minor-mode
690 handle it).
691 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
692 Doc fixes.
693 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
694 (winner-mode): Use define-minor-mode.
695
7bd302eb
GM
696 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
697 the full definition in loaddefs, rather than duplicating it.
698
2923922f 699 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 700
0e3e4156
GM
701 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
702 (inferior-lisp-program, inferior-lisp-load-command)
703 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 704 No need to autoload defcustoms.
0e3e4156 705
de82e29b
GM
706 * hippie-exp.el (hippie-expand-try-functions-list)
707 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
708 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
709 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 710 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
711 * progmodes/vhdl-mode.el (vhdl-line-expand):
712 Explicitly load hippie-exp, so it does not get autoloaded
713 while hippie-expand-try-functions-list is let-bound.
714
e60b51ab
GM
7152012-09-28 Glenn Morris <rgm@gnu.org>
716
277f0cfa
GM
717 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
718
e60b51ab
GM
719 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
720 Only "cl.el" counts as cl these days.
721
53baf48a
JL
7222012-09-28 Juri Linkov <juri@jurta.org>
723
724 Display archive errors in the echo area instead of inserting
725 to the file buffer.
726
727 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
728 to STDERR-TEST that can be a regexp matching a successful output.
729 Create a temporary file and redirect stderr to it. Search for
730 STDERR-TEST in the stderr output and display it in the echo area
731 if no match is found.
732 (archive-extract-by-file): New function like
733 `archive-extract-by-stdout' but extracting archives to files
734 and looking for successful matches in stdout. Function body is
735 mostly copied from `archive-rar-extract'.
736 (archive-rar-extract): Use `archive-extract-by-file'.
737 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
738
9c1228c3
LL
7392012-09-28 Leo Liu <sdl.web@gmail.com>
740
375e49d4
SM
741 * pcomplete.el (pcomplete-show-completions):
742 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 743
9c1228c3
LL
744 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
745
7f457c06
SM
7462012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
747
3df749b0
SM
748 * type-break.el: Use lexical-binding.
749 (type-break-mode): Use define-minor-mode.
750
7f457c06
SM
751 * emacs-lisp/pcase.el (pcase--mark-used): New.
752 (pcase--u1): Use it (bug#12512).
753
754 * custom.el (load-theme): Set buffer-file-name so the load is recorded
755 in load-history with the right file name.
756
c00ebc98
TH
7572012-09-28 Tassilo Horn <tsdh@gnu.org>
758
759 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
760 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
761 (doc-view-get-bounding-box): Make bounding box slicing work for
762 ODF and DVI documents.
763
96fb7170
GM
7642012-09-28 Glenn Morris <rgm@gnu.org>
765
766 * type-break.el (type-break-mode, type-break-interval)
767 (type-break-good-rest-interval, type-break-keystroke-threshold):
768 No need to autoload.
769 (type-break-good-rest-interval, type-break-keystroke-threshold):
770 Add :set-after.
771
5bc93c67
CY
7722012-09-28 Chong Yidong <cyd@gnu.org>
773
774 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
775 Add :version tag.
776
9cad61d6
SM
7772012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
778
e28e67b3 779 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 780
daee954c
GM
7812012-09-27 Glenn Morris <rgm@gnu.org>
782
a88324d4
GM
783 * faces.el (x-display-name): Declare (for without-x builds).
784
8e5064e5
GM
785 * linum.el (linum-format): Don't autoload it. Improve :type.
786
cc1783c2
GM
787 * progmodes/tcl.el: Don't require outline when compiling.
788 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
789 * textmodes/sgml-mode.el: Don't require outline when compiling.
790 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
791
48c339f2
GM
792 * term.el (term-ansi-reset):
793 Try setting term-ansi-face-already-done to nil. (Bug#11785)
794
daee954c
GM
795 * vc/vc.el (vc-next-action): Only gripe about committing read-only
796 files for RCS and SCCS. (Bug#9781)
797
b7f42161
CY
7982012-09-27 Chong Yidong <cyd@gnu.org>
799
800 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
801 change; value should be t.
802
a2e770db
SM
8032012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
804
83600dc8
SM
805 * image-mode.el: Use lexical-binding.
806 (image-mode-winprops): Use t to stand for the window of
807 a buffer that's not displayed.
808 * doc-view.el (doc-view-new-window-function): Handle the new
809 t in winprops.
810 (doc-view-enlarge): Make it a real nop if the size is not changed.
811 (doc-view-display): Handle the case where the buffer is not (yet?)
812 displayed in any window.
813 (doc-view-saved-settings): New var.
814 (doc-view-mode): Use it.
815 (doc-view-fallback-mode): Set it.
816
a2e770db
SM
817 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
818 Set lexical-binding.
819 (minibuffer-eldef-shorten-default): New var.
820 (minibuffer-default-in-prompt-regexps): Use it for new default.
821 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
822
e3b60857
JB
8232012-09-26 Juanma Barranquero <lekktu@gmail.com>
824
825 * international/uni-bidi.el:
826 * international/uni-category.el:
827 * international/uni-name.el:
828 * international/uni-numeric.el: Regenerate.
829
3a880af4
SM
8302012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
831 Stefan Monnier <monnier@iro.umontreal.ca>
832
833 * profiler.el: New file.
834
07b1a5fb
SM
8352012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
836
837 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
838 (testcover-reinstrument): Simplify with CSE.
839
42019c2e
JB
8402012-09-26 Juanma Barranquero <lekktu@gmail.com>
841
842 * window.el (temp-buffer-window-setup): Fix typo in docstring.
843
179f044b
WS
8442012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
845
846 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
847 (verilog-auto-input, verilog-auto-insert-lisp)
848 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
849 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
850 (verilog-auto-unused, verilog-auto-wire)
851 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
852 newline. Reported by Andrew Jones.
853 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
854 Reported by Brad Dobbie.
07b1a5fb
SM
855 (verilog-batch-delete-trailing-whitespace):
856 Create verilog-batch-delete-trailing-whitespace.
857 Reported by Brad Dobbie.
179f044b
WS
858 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
859 parameters from another module. Reported by Dan Katz.
860 (verilog-auto, verilog-auto-assign-modport)
861 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
862 AUTOINOUTMODPORT for UVM interface module shell generation.
863 Reported by Brad Dobbie.
864 (verilog-auto-inst-interfaced-ports): Make default nil, as more
865 standard behavior.
866 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
867 Reported by Matt Martin.
868
9c52dd5a
MR
8692012-09-25 Martin Rudalics <rudalics@gmx.at>
870
871 * window.el (window--resize-child-windows): When resizing child
872 windows proportionally, process them in reverse order to
873 preserve the "when splitting a window the new one gets the odd
874 line" behavior.
875 (window--resize-root-window-vertically): When resizing the
876 minibuffer window try to affect only windows at the bottom of the
877 frame. (Bug#12419)
878
863666eb
CY
8792012-09-25 Chong Yidong <cyd@gnu.org>
880
881 * subr.el (declare): Doc fix.
882
883 * help-fns.el (help-fns--obsolete): Handle macros properly.
884
59f7af81
CY
8852012-09-25 Chong Yidong <cyd@gnu.org>
886
887 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
888 this function obsolete.
889
890 * calendar/cal-x.el (calendar-two-frame-setup)
891 (calendar-only-one-frame-setup, calendar-one-frame-setup):
892 * calendar/calendar.el (american-calendar, european-calendar)
893 (calendar-for-loop):
894 * comint.el (comint-dynamic-simple-complete)
895 (comint-dynamic-complete-as-filename, comint-unquote-filename):
896 * desktop.el (desktop-load-default):
897 * dired-x.el (dired-omit-here-always)
898 (dired-hack-local-variables, dired-default-directory):
899 * emacs-lisp/derived.el (derived-mode-class):
900 * emacs-lisp/timer.el (timer-set-time-with-usecs):
901 * emacs-lock.el (toggle-emacs-lock):
902 * epa.el (epa-display-verify-result):
903 * epg.el (epg-sign-keys, epg-start-sign-keys)
904 (epg-passphrase-callback-function):
905 * eshell/esh-util.el (eshell-for):
906 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
907 (eshell-add-to-window-buffer-names):
908 * files.el (locate-file-completion):
909 * imenu.el (imenu-example--create-c-index)
910 (imenu-example--create-lisp-index)
911 (imenu-example--lisp-extract-index-name)
912 (imenu-example--name-and-position):
913 * international/mule-cmds.el (princ-list):
914 * international/mule-diag.el (decode-codepage-char):
915 * international/mule-util.el (detect-coding-with-priority):
916 * iswitchb.el (iswitchb-read-buffer):
917 * mail/mailalias.el (mail-complete):
918 * mail/sendmail.el (mail-sent-via):
919 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
920 (mouse-major-mode-menu):
921 * password-cache.el (password-read-and-add):
922 * pcomplete.el (pcomplete-parse-comint-arguments):
923 * progmodes/sh-script.el (sh-maybe-here-document):
924 * replace.el (query-replace-regexp-eval):
925 * savehist.el (savehist-load):
926 * simple.el (choose-completion-delete-max-match):
927 * term.el (term-dynamic-simple-complete):
928 * vc/ediff-init.el (ediff-check-version):
929 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
930 * vc/vc.el (vc-diff-switches-list):
931 * view.el (view-return-to-alist-update): Likewise.
932
933 * subr.el (eval-next-after-load, makehash, insert-string)
934 (assoc-ignore-representation, assoc-ignore-case): Use declare to
935 mark obsolete.
936 (mode-line-inverse-video): Variable deleted.
937
938 * international/mule-util.el (string-to-sequence): Remove.
939
940 * calendar/calendar.el (calendar-version):
941 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
942 (icalendar-convert-diary-to-ical):
943 * cus-edit.el (custom-mode):
944 * ansi-color.el (ansi-color-unfontify-region):
945 * international/latin1-disp.el (latin1-char-displayable-p):
946 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
947 * progmodes/which-func.el (which-func-update-1):
948 Use define-obsolete-function-alias.
59f7af81
CY
949
950 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
951 * net/newst-treeview.el (newsticker-groups-filename):
952 Fix incorrect obsolescence declaration.
59f7af81
CY
953
954 * allout.el (allout-passphrase-hint-string): Likewise.
955 (allout-init): Use a declare form to mark obsolete.
956
957 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
958 this applies to functions.
959
960 * iswitchb.el (iswitchb-read-buffer): Move code of
961 iswitchb-define-mode-map here, and delete that obsolete function.
962
963 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
964 font-lock-reference-face.
965
cca96c97
GM
9662012-09-25 Glenn Morris <rgm@gnu.org>
967
b06eeda8
GM
968 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
969 Doc fixes.
970
cca96c97
GM
971 * eshell/em-term.el (eshell-term-name):
972 Default to term-term-name. (Bug#12485)
973
dc4f818b
FEG
9742012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
975
cca96c97
GM
976 * progmodes/python.el (python-shell-send-buffer): Better handling
977 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 978
289c24bd
GM
9792012-09-24 Glenn Morris <rgm@gnu.org>
980
981 * eshell/esh-cmd.el (eshell-find-alias-function):
982 Tighten up file-name regexp. (Bug#12499)
983
8fb8b88f
FEG
9842012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
985
986 Enhancements for triple-quote string syntax.
987 * progmodes/python.el (python-quote-syntax): Remove.
988 (python-syntax-propertize-function): New value.
07b1a5fb
SM
989 (python-syntax-count-quotes, python-syntax-stringify):
990 New functions.
8fb8b88f 991
6c27f0f8
CY
9922012-09-24 Chong Yidong <cyd@gnu.org>
993
a5f2b6ec
CY
994 * mail/supercite.el (sc-version): Remove obsolete function.
995 (sc-describe): Don't mark as obsolete, since it is bound.
996 (sc-submit-bug-report): Remove.
997
998 * vc/log-edit.el (cvs-changelog-full-paragraphs)
999 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
1000 (log-edit-require-final-newline)
1001 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
1002
1003 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1004 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1005 * vc/vc.el (vc-checkout-carefully): Likewise.
1006
1007 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1008 (emerge-version): Remove.
1009
1010 * progmodes/compile.el (compile-internal): Remove.
1011 (compilation-parse-errors-function): Fix typo.
1012
1013 * international/mule.el (set-char-table-default): Remove.
1014 (set-coding-priority, make-coding-system, generic-char-p)
1015 (charset-list, charset-bytes, charset-id): Use declare to mark
1016 functions as obsolete.
1017
1018 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1019 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1020 * vc/vc-hooks.el (vc-default-registered): Don't use
1021 vc-master-templates.
1022
07b1a5fb
SM
1023 * font-lock.el (font-lock-reference-face):
1024 Use define-obsolete-variable-alias.
6c27f0f8
CY
1025
1026 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1027 * calendar/calendar.el (calendar-font-lock-keywords):
1028 * calendar/diary-lib.el (diary-font-lock-keywords)
1029 (diary-fancy-font-lock-keywords):
1030 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1031 * textmodes/reftex-index.el (reftex-insert-index):
1032 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1033 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1034 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1035 * progmodes/prolog.el (prolog-font-lock-keywords):
1036 * progmodes/idlwave.el (idlwave-idl-keywords):
1037 * progmodes/ada-mode.el (ada-font-lock-keywords):
1038 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1039
bcc0adbf
GM
10402012-09-24 Glenn Morris <rgm@gnu.org>
1041
1042 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1043
095bb823
FEG
10442012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1045
1046 * progmodes/python.el (python-indent-line): More consistent cursor
1047 movement behavior.
1048
70efc5c9
SM
10492012-09-23 Stefan Merten <smerten@oekonux.de>
1050
1051 * textmodes/rst.el: Fix compiler warning.
1052
2f438239
RW
10532012-09-23 Roland Winkler <winkler@gnu.org>
1054
07b1a5fb
SM
1055 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1056 Transcribe also LaTeX hyphenation.
2f438239
RW
1057 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1058 bibtex-reformat-previous-options.
1059
936ad041
RW
10602012-09-23 Roland Winkler <winkler@gnu.org>
1061
1062 * proced.el (proced-renice-command): New variable.
1063 (proced-marked-processes): New function.
1064 (proced-with-processes-buffer): New macro.
1065 (proced-send-signal): Use them.
1066 (proced-renice): New command bound to r.
1067
6fab0274
RW
10682012-09-23 Roland Winkler <winkler@gnu.org>
1069
1070 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1071 ibuffer-saved-filter-groups has one element, shortcut the call of
1072 completing-read. (Bug#12331)
1073
9a930676
CY
10742012-09-23 Chong Yidong <cyd@gnu.org>
1075
1076 * bindings.el (mode-line-toggle-read-only):
1077 * bs.el (bs-toggle-readonly):
1078 * buff-menu.el (Buffer-menu-toggle-read-only):
1079 * dired.el (dired-toggle-read-only):
1080 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1081
d07ff9db
CY
10822012-09-23 Chong Yidong <cyd@gnu.org>
1083
1084 * image.el (image-type-available-p): Adapt to init-image-library
1085 argument changes.
1086
51c4474e
JL
10872012-09-22 Juri Linkov <juri@jurta.org>
1088
1089 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1090 `dired-toggle-read-only'. (Bug#12462)
1091
43bf5e8e
MR
10922012-09-22 Martin Rudalics <rudalics@gmx.at>
1093
1094 * subr.el (temp-output-buffer-show): New function.
1095 (with-output-to-temp-buffer): Call temp-output-buffer-show
1096 instead of internal-temp-output-buffer-show.
1097
c88b867f
CY
10982012-09-22 Chong Yidong <cyd@gnu.org>
1099
3df47cd5
CY
1100 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1101 (Bug#12462).
1102
c88b867f
CY
1103 * repeat.el (repeat): Doc fix (Bug#12348).
1104
1105 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1106 (Bug#10909).
1107
1108 * simple.el (shell-command-on-region): Doc fix.
3171e303 1109 (read-only-mode): Doc fix.
c88b867f 1110
df9685f3
EZ
11112012-09-22 Eli Zaretskii <eliz@gnu.org>
1112
1113 * emacs-lisp/timer.el (run-with-idle-timer)
1114 (timer-activate-when-idle): Warn against reinvoking an idle timer
1115 from within its own timer action. (Bug#12447)
1116
8e17c9ba
MR
11172012-09-22 Martin Rudalics <rudalics@gmx.at>
1118
1119 * cus-start.el (window-combination-limit): Add new optional
1120 values.
1121 * window.el (temp-buffer-window-show)
1122 (window--try-to-split-window): Handle new values of
1123 window-combination-limit (Bug#1806).
1124 (split-window): Test window-combination-limit for t instead of
1125 non-nil.
1126 (display-buffer-at-bottom): New buffer display action function.
1127 * help.el (temp-buffer-resize-regexps): New option.
1128 (temp-buffer-resize-mode): Rewrite doc-string.
1129 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 1130 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 1131
48a24920
SM
11322012-09-22 Stefan Merten <smerten@oekonux.de>
1133
70efc5c9 1134 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
1135 (rst-official-version)
1136 (rst-package-emacs-version-alist): Sync with official version
1137 V1.4.0.
1138 (rst-faces-defaults, rst-set-level-default)
1139 (rst-level-face-max, rst-level-face-base-color)
1140 (rst-level-face-base-light, rst-level-face-format-light)
1141 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1142 (rst-adornment-faces-alist): Match new setup.
1143 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1144 (rst-level-5, rst-level-6): New faces.
1145
82f8cd94
CY
11462012-09-22 Chong Yidong <cyd@gnu.org>
1147
1148 * simple.el (undo): Handle indirect buffers (Bug#8207).
1149
acfa068f 11502012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
1151
1152 IDO: Disable match re-ordering for buffer switching.
2bc9406c 1153 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
1154 (ido-set-matches-1): Use it. (Bug#2042)
1155
acfa068f 11562012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
1157
1158 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1159 Fix 2011-05-17 change. (Bug#12418)
1160
acfa068f 11612012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
1162
1163 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
1164
acfa068f 11652012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
1166
1167 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
1168 Be more robust about locating simple.el.
1169
acfa068f 11702012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
1171
1172 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
1173
acfa068f
CY
11742012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
1175
1176 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
1177
41a97e6f
JL
11782012-09-20 Juri Linkov <juri@jurta.org>
1179
eb2deaff
JL
1180 * replace.el (query-replace-read-from): Use `read-regexp' instead
1181 of `read-from-minibuffer' when `regexp-flag' is non-nil.
1182 (occur-read-primary-args): Use `read-regexp' instead of
1183 `read-string'.
1184 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
1185 `read-from-minibuffer'.
1186 * isearch.el (isearch-occur): Use `read-regexp' instead of
1187 `read-string'.
1188 * dired.el (dired-read-regexp): Use `read-regexp' instead of
1189 `read-from-minibuffer'.
1190 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
1191 of `read-string'. (Bug#7567)
1192
5825610b
JL
1193 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
1194 and allow accepting a list of strings prepended to a list of
1195 standard default values. Doc fix. (Bug#12321)
1196
eebbf404
JL
1197 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
1198
41a97e6f
JL
1199 * replace.el (read-regexp): Don't add ": " when PROMPT already
1200 ends with a colon and space. (Bug#12321)
1201
c9e452d3
TH
12022012-09-20 Tassilo Horn <tsdh@gnu.org>
1203
1204 * doc-view.el (doc-view-display): Better fix for the cl-assertion
1205 error.
1206
ee97deee
SM
12072012-09-20 Stefan Merten <smerten@oekonux.de>
1208
70efc5c9 1209 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
1210 Fixes feature request bug#11711.
1211 (rst-mode): Create `imenu-create-index-function'.
1212 (rst-get-stripped-line): Delete after refactoring.
1213 (rst-section-tree, rst-section-tree-rec)
1214 (rst-section-tree-point): Refactor and document properly.
1215 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
1216 (rst-imenu-convert-cell, rst-imenu-create-index):
1217 New function.
ee97deee 1218
f490dab9
SM
12192012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1220
95b9712e
SM
1221 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
1222 (macroexp--expand-all): Use it.
1223 (macroexp--funcall-and-return): Remove by folding it into its sole
1224 caller (macroexp--warn-and-return).
1225 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
1226 Use macroexp--obsolete-warning.
1227
f490dab9
SM
1228 * calc/calc.el: Fix last change by removing the whole chunk, since it
1229 was only needed back when Calc was not bundled.
1230
96e8d411
MR
12312012-09-20 Martin Rudalics <rudalics@gmx.at>
1232
1233 * emacs-lisp/debug.el (debug): Restore assignment to
1234 debugger-old-buffer removed on 2012-09-08.
1235
0876a82d
JL
12362012-09-20 Juri Linkov <juri@jurta.org>
1237
1238 * dired-aux.el (dired-diff): Remove (require 'diff) since
1239 `diff-latest-backup-file' is now autoloaded.
1240
9f7c28f0
CY
12412012-09-20 Chong Yidong <cyd@gnu.org>
1242
1243 * vc/diff.el (diff-latest-backup-file): Autoload.
1244
7a04bee9
SM
12452012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1246
e6f0a80d
SM
1247 * calc/calc.el: Remove redundant autoload shape check.
1248 (sel-mode): Don't defvar.
1249 (calc-get-stack-element): Add `sel-mode' arg instead.
1250 (calc-top, calc-top-list): Pass it this additional argument.
1251 * calc/calc-store.el (calc-store-map):
1252 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
1253 (calc-map-equation, calc-outer-product, calc-inner-product):
1254 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
1255
7a04bee9
SM
1256 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
1257
12734222
JL
12582012-09-19 Juri Linkov <juri@jurta.org>
1259
1260 * dired-aux.el (dired-diff): Add (require 'diff) because
1261 `diff-latest-backup-file' is not autoloaded.
1262 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
1263 of `dired-get-filename' to t to not report error when there is
1264 no default file on the current line.
1265
46624b4f
SM
12662012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1267
ce97595b
SM
1268 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
1269 macroexp--eval-if-compile.
1270 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
1271 (macroexp--expand-all): Use them (bug#12371).
1272
46624b4f
SM
1273 * doc-view.el (doc-view-guess-paper-size)
1274 (doc-view-scale-bounding-box): Fix unbound `caddr'.
1275
db8a5a18
TH
12762012-09-19 Tassilo Horn <tsdh@gnu.org>
1277
1278 New feature: set optimal slice from BoundingBox information.
1279 * doc-view.el (doc-view-mode-map): Add keybinding.
1280 (doc-view-menu): Add menu entry.
1281 (doc-view-set-slice): Adapt docstring.
1282 (doc-view-get-bounding-box, doc-view-guess-paper-size)
1283 (doc-view-scale-bounding-box)
1284 (doc-view-set-slice-from-bounding-box): New functions.
1285 (doc-view-paper-sizes): New defvar.
1286
69f6644c
GM
12872012-09-19 Glenn Morris <rgm@gnu.org>
1288
35f5b19d
GM
1289 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
1290 (byte-compile-log-warning): Autoload. (Bug#12371)
1291
69f6644c
GM
1292 * calendar/calendar.el (calendar-american-month-header)
1293 (calendar-european-month-header, calendar-iso-month-header)
1294 (calendar-month-header): New options.
1295 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
1296 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
1297
e543ae91
JD
12982012-09-19 Jan Djärv <jan.h.d@swipnet.se>
1299
1300 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
1301
2fd5e67d
JL
13022012-09-18 Juri Linkov <juri@jurta.org>
1303
1304 * dired-aux.el (dired-diff): Restore original functionality of
1305 getting the default value, but keep new feature of using the
1306 latest existing backup file (`diff-latest-backup-file').
1307
42917e79
JL
13082012-09-18 Juri Linkov <juri@jurta.org>
1309
1310 * dired.el (dired-mark): If the region is active in Transient Mark
1311 mode, mark all files in the active region. Doc fix.
1312 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
1313 Doc fix. (Bug#10624)
1314
20f70ede
JL
13152012-09-18 Juri Linkov <juri@jurta.org>
1316
1317 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
1318 attributes for M-n are pulled from the file at point.
1319 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
1320 Suggested by Drew Adams. (Bug#10624)
1321
32fb8162
DG
13222012-09-18 Dmitry Gutov <dgutov@yandex.ru>
1323
1324 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
1325 whitespace after "end".
1326 (ruby-do-end-to-brace): Collapse block to one line if it fits
1327 within fill-column.
1328
37ab5092
MR
13292012-09-18 Martin Rudalics <rudalics@gmx.at>
1330
1331 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
1332 value.
1333 (debug): Don't remove debugger window when debugger is expected
1334 to be back.
1335
ed1f0bd3
CY
13362012-09-18 Chong Yidong <cyd@gnu.org>
1337
1338 * custom.el (defface): Doc fix.
1339
1340 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
1341
a11035b8
MB
13422012-09-18 Martin Blais <blais@furius.ca> (tiny change)
1343
1344 * progmodes/compile.el (compilation-start): Use compilation-always-kill
1345 to initialize query-on-exit; then test that instead (bug#12288).
1346
64f6a736
SM
13472012-09-17 Stefan Merten <smerten@oekonux.de>
1348
70efc5c9 1349 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
1350 (rst-defcustom-testcover, rst-testcover-add-compose)
1351 (rst-testcover-add-1value): New functions.
1352 (rst-portable-mark-active-p): Replace by `use-region-p'.
1353 (rst-update-section, rst-classify-adornment)
1354 (rst-find-title-line): Mark `1value' forms.
1355 (rst-classify-adornment): Remove superfluous form.
1356 (rst-update-section, rst-get-adornments-around)
1357 (rst-adornment-complete-p, rst-get-next-adornment)
1358 (rst-adjust, rst-promote-region)
1359 (rst-display-adornments-hierarchy, rst-straighten-adornments)
1360 (rst-find-pfx-in-region, rst-section-tree-rec)
1361 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
1362 (rst-toc-node, rst-toc, rst-forward-section)
1363 (rst-iterate-leftmost-paragraphs)
1364 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
1365 (rst-bullet-list-region)
1366 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
1367 (rst-compile-find-conf, rst-compile)
1368 (rst-repeat-last-character): Fix style.
1369
580bd868
CY
13702012-09-17 Chong Yidong <cyd@gnu.org>
1371
1372 * comint.el (comint--complete-file-name-data): Don't add a space
1373 if the status is `sole'; that adds a gratuitous space in the
1374 completion-cycling case (Bug#12092).
1375
1376 * pcomplete.el (pcomplete-completions-at-point): Likewise.
1377
69de3ec6
RS
13782012-09-17 Richard Stallman <rms@gnu.org>
1379
0dee970c
RS
1380 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
1381 only in the mime-shown mode, not in raw mode.
1382 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 1383 mime processing. (Bug#12305)
0dee970c 1384
6b250df6
GM
1385 * mail/rmail.el (rmail-retry-failure):
1386 Turn off mime processing first. (Bug#12037)
acb1c47b 1387
69de3ec6
RS
1388 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
1389
d079ee5f
CY
13902012-09-17 Chong Yidong <cyd@gnu.org>
1391
1392 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
1393 (shell-dynamic-complete-functions): Convert to defcustom.
1394 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
1395
865fe16f
CY
1396 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
1397 * comint.el (comint-prompt-read-only):
1398 * custom.el (defcustom):
1399 * hi-lock.el (hi-lock-mode):
1400 * ibuffer.el (ibuffer-formats):
1401 * ielm.el (ielm-prompt-read-only):
1402 * novice.el (disable-command):
1403 * saveplace.el (toggle-save-place):
1404 * speedbar.el (speedbar-supported-extension-expressions):
1405 * startup.el (auto-save-list-file-prefix, init-file-user)
1406 (after-init-hook, inhibit-startup-echo-area-message):
1407 * strokes.el (strokes-help):
1408 * time-stamp.el (time-stamp):
1409 * calendar/calendar.el (calendar, diary-file):
1410 * calendar/diary-lib.el (diary-mail-entries, diary)
1411 (diary-list-entries-hook):
1412 * calendar/holidays.el (holidays, calendar-holidays):
1413 * calendar/lunar.el (lunar-phases):
1414 * calendar/solar.el (sunrise-sunset):
1415 * emulation/edt.el (edt-load-keys):
1416 * emulation/viper.el (viper-mode):
1417 * eshell/em-alias.el (eshell-command-aliases-list):
1418 * eshell/esh-util.el (eshell-convert-numeric-arguments):
1419 * international/ogonek.el (ogonek-information):
1420 * net/tramp-cmds.el (tramp-bug):
1421 * net/quickurl.el (quickurl-reread-hook-postfix):
1422 * play/decipher.el (decipher-font-lock-keywords):
1423 * progmodes/cc-styles.el (c-set-style):
1424 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
1425 * progmodes/inf-lisp.el (inferior-lisp-prompt):
1426 * progmodes/octave-mod.el (octave-mode):
1427 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
1428 * progmodes/verilog-mode.el (verilog-read-defines):
1429 * textmodes/two-column.el (2C-mode): Likewise.
1430
48093eb9
KY
14312012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
1432
1433 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
1434 that holds many addresses.
1435
c584eaf9
CY
14362012-09-16 Chong Yidong <cyd@gnu.org>
1437
40d70ecb
CY
1438 * align.el (align-areas): Call the indication function with
1439 positions instead of markers for arguments (Bug#12343).
1440
1667e065
CY
1441 * files.el (parse-colon-path): Use split-string (Bug#12351).
1442
fdc2806d 1443 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 1444 (display-buffer-function): Mark as obsolete.
fdc2806d 1445
f1be615c 1446 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
1447 values similar to font-lock-keywords (Bug#12136).
1448 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
1449 (compilation-error-regexp-alist): Doc fix.
1450
f40a9709
GM
14512012-09-15 Glenn Morris <rgm@gnu.org>
1452
72aa16e1
GM
1453 * version.el (emacs-bzr-version-bzr): New function.
1454 (emacs-bzr-get-version): Add optional EXTERNAL argument.
1455
82375160
GM
1456 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
1457 checkouts, check the parent dirstate matches the branch.
1458 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
1459 empty string.
1460
f40a9709
GM
1461 * version.el (emacs-bzr-version): Doc fix.
1462 (emacs-bzr-version-dirstate): New function.
1463 (emacs-bzr-get-version): For lightweight checkouts, if the parent
1464 is local try and check that it matches the branch. If not, just
1465 use dirstate information. (Bug#12441)
1466
cb26b7f5
JL
14672012-09-14 Juri Linkov <juri@jurta.org>
1468
1469 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
1470 (Bug#12399)
1471
2de39f08
SM
14722012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1473
0fb3cb7c
SM
1474 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
1475
2de39f08
SM
1476 * emacs-lisp/edebug.el: Miscellaneous cleanup.
1477 Remove obsolete byte-compiler hack that tried to silence some warnings.
1478 (edebug-submit-bug-report): Remove.
1479 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
1480 Remove aliases, use the un-prefixed name instead.
1481 (edebug-pop-to-buffer): Consider other frames.
1482 (edebug-original-read):: Make it more obvious that it's always defined.
1483 (edebug--make-form-data-entry, edebug--form-data-name)
1484 (edebug--form-data-begin, edebug--form-data-end): Rename from the
1485 single-dashed name, and implement with cl-defstruct.
1486 (edebug-set-form-data-entry): Use the standard accessors.
1487 (edebug-make-top-form-data-entry): Use push.
1488 (edebug-no-match): Drop useless `funcall'.
1489 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
1490 to functions.
1491 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
1492 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
1493 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
1494 (easy-menu-define, with-custom-print): Remove redundant specs.
1495 (edebug-outside-overriding-local-map)
1496 (edebug-outside-overriding-terminal-local-map): Remove, unused.
1497 (edebug--display): Bind unread-command-events directly to nil rather
1498 than binding it to unread-command-events and later setting it to nil.
1499 (edebug--display): Kill edebug-eval-buffer here...
1500 (edebug--recursive-edit): ...rather than here.
1501 Bind standard-output and standard-input.
1502 (edebug-eval): Check cl-macroexpand-all is fboundp.
1503 (edebug-temp-display-freq-count): Fix last change.
1504
1505 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
1506 * subr.el (noreturn, 1value): Add `debug' spec.
1507 * emacs-lisp/advice.el: Require cl-lib.
1508 (ad-copy-tree): Remove, use copy-tree instead.
1509 (ad-dolist): Remove use dolist or cl-dolist instead.
1510 (ad-do-return): Remove, use cl-return instead.
1511 (defadvice): Add `debug' spec.
1512
5b68b333
JL
15132012-09-13 Juri Linkov <juri@jurta.org>
1514
1515 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
1516 (Bug#12399)
1517
b9800ec4
GM
15182012-09-13 Glenn Morris <rgm@gnu.org>
1519
6a2e6868
GM
1520 * calc/calc.el (math-compose-expr):
1521 * calc/calc-ext.el (math-compose-expr):
1522 * progmodes/cc-defs.el (cl-macroexpand-all):
1523 * progmodes/cc-langs.el (delete-duplicates, mapcan)
1524 (cl-macroexpand-all): Update declarations.
1525
b9800ec4
GM
1526 * vc/vc.el: No need to require ediff.
1527 (ediff-load-version-control): Declare.
1528 (ediff-vc-internal): Fix declaration.
1529 (vc-version-ediff): Require ediff.
1530
c18e885b
PE
15312012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1532
1533 Use a more backwards-compatible timer format (Bug#12430).
1534 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
1535 being right after USECS, as that better supports old code that
1536 inadvisedly looked directly at the timer vector.
1537
d607d303
KH
15382012-09-13 Kenichi Handa <handa@gnu.org>
1539
1540 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
1541 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
1542 `coding-priority' property of these language environment.
1543
72eac303
PE
15442012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1545
1546 Fix glitches caused by addition of psec to timers (Bug#12430).
1547 * image.el (image-animate-timer):
1548 * time.el (display-time-world-timer):
1549 Use timer--function and timer--args rather than raw access to
1550 timer vector.
1551
2168fe4f
GM
15522012-09-13 Glenn Morris <rgm@gnu.org>
1553
1554 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
1555 If not compiling a file, try using load-file-name.
1556
bd8d6108
SM
15572012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1558
c0c54fbd
SM
1559 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
1560 Fix last change.
1561 (edebug-update-eval-list): Use `push'.
1562
bd8d6108
SM
1563 * emacs-lisp/edebug.el: Use lexical-binding.
1564 Remove the "edebug-" prefix from non-dynamically-scoped variables.
1565 Mark unused args with underscore.
1566 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
1567 (edebug-form-data): Use defvar-local.
1568 (edebug-make-before-and-after-form, edebug-make-after-form):
1569 Use backquote.
1570 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
1571 Not dynamically scoped any more.
1572 (edebug--enter-trace): Add arguments `function' and `args'.
1573 Rename from edebug-enter-trace.
1574 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
1575 (edebug--update-coverage): Add `after-index' and `value' args.
1576 Rename from edebug-update-coverage.
1577 (edebug-slow-after): Call it accordingly.
1578 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
1579 edebug-recursive-edit.
1580 (edebug--display): Call it accordingly. Add args `value',
1581 `offset-index', and `arg-mode'. Rename from edebug-display.
1582 (edebug-debugger, edebug): Call it accordingly.
1583 (edebug-eval-display-list): Use dolist.
1584
a9f9d9de
JL
15852012-09-12 Juri Linkov <juri@jurta.org>
1586
1587 * info.el (Info-search): Don't check for isearch-mode and
1588 isearch-regexp before let-binding search-spaces-regexp to
1589 Info-search-whitespace-regexp.
1590 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
1591 search-whitespace-regexp if isearch-lax-whitespace or
1592 isearch-regexp-lax-whitespace is non-nil.
1593 (Info-mode): Don't set local variable search-whitespace-regexp.
1594 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
1595
bfeae2cf
SM
15962012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1597
1598 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
1599 (debugger-env-macro): Remove support for unread-command-char.
1600
1601 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
1602 the temporary map re-appearing on emulation-mode-map-alists.
1603
1604 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
1605 since 22.1.
1606
1607 * ehelp.el (with-electric-help): Accept functions in
1608 electric-help-form-to-execute.
1609 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
1610 And replace unread-command-char -> unread-command-events.
1611
fbbcaf1b
MA
16122012-09-12 Michael Albinus <michael.albinus@gmx.de>
1613
1614 Sync with Tramp 2.2.6.
1615
1616 * net/tramp.el (tramp-accept-process-output): Don't use
1617 JUST-THIS-ONE in the XEmacs case.
1618
1619 * net/trampver.el: Update release number.
1620
4dece104
MR
16212012-09-12 Martin Rudalics <rudalics@gmx.at>
1622
bfeae2cf
SM
1623 * emacs-lisp/debug.el (debugger-previous-window-height):
1624 New variable.
4dece104
MR
1625 (debug): When debugger-jumping-flag is non-nil try to restore
1626 height of debugger window. (Bug#8789)
1627
45b82ad0
SM
16282012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1629
60c49c0f
SM
1630 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
1631 overriding-local-map and pre/post-command-hook here.
1632 (edebug-recursive-edit): Do it here instead (bug#12345).
1633 (edebug-outside-unread-command-char): Remove all uses of
1634 unread-command-char.
1635
45b82ad0
SM
1636 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
1637 inhibit-debugger is bound instead.
1638
baa26ea0
BG
16392012-09-11 Bastien Guerry <bzg@gnu.org>
1640
1641 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 1642 (Bug#12346)
baa26ea0 1643
04e8abfa
BG
16442012-09-11 Bastien Guerry <bzg@gnu.org>
1645
96d03571 1646 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 1647 (Bug#12347)
96d03571
BG
1648
16492012-09-11 Bastien Guerry <bzg@gnu.org>
1650
fc0c31f8 1651 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 1652
04e082b0
MM
16532012-09-10 Michael R. Mauger <mmaug@yahoo.com>
1654
1655 * progmodes/sql.el: Version 3.1
1656 (sql-db2-escape-newlines): New variable.
1657 (sql-escape-newlines-filter): Use it.
1658
399a361b
JB
16592012-09-10 Juanma Barranquero <lekktu@gmail.com>
1660
1661 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
1662
0780c517
DN
16632012-09-10 Dan Nicolaescu <dann@gnu.org>
1664
45b82ad0
SM
1665 * vc/diff-mode.el (diff-mode-menu):
1666 Bind diff-remove-trailing-whitespace.
0780c517 1667
9b851e25
SM
16682012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1669
1670 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
1671 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
1672 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
1673 (eval-sexp-add-defvars): Don't skip defvars in column >0.
1674 (eval-defun-2): Remove bogus interactive spec.
1675 (lisp-indent-line): Remove redundant whole-exp code, now done in
1676 indent-according-to-mode.
1677 (save-match-data): Remove redundant indent data.
1678
1679 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
1680 Use `declare'.
1681
3231d532
JL
16822012-09-09 Juri Linkov <juri@jurta.org>
1683
1684 * replace.el (replace-regexp-lax-whitespace): New defcustom.
1685 (replace-lax-whitespace, query-replace-regexp)
1686 (query-replace-regexp-eval, replace-regexp): Doc fix.
1687 (perform-replace, replace-highlight): Let-bind
1688 isearch-lax-whitespace to replace-lax-whitespace and
1689 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
1690
1691 * isearch.el (isearch-query-replace): Let-bind
1692 replace-lax-whitespace to isearch-lax-whitespace and
1693 replace-regexp-lax-whitespace to
1694 isearch-regexp-lax-whitespace. (Bug#10885)
1695
70fe8236
SM
16962012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
1697
1698 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
1699
8ed43f15
AM
17002012-09-09 Alan Mackenzie <acm@muc.de>
1701
70fe8236
SM
1702 * progmodes/cc-engine.el (c-state-cache-init):
1703 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
1704 (c-record-parse-state-state):
1705 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 1706
bfabf70a
AS
17072012-09-09 Andreas Schwab <schwab@linux-m68k.org>
1708
1709 * register.el (register-separator): Rename from
1710 separator-register. All uses changed. Doc fix.
1711 (register): Fix version.
1712
011474aa
CY
17132012-09-09 Chong Yidong <cyd@gnu.org>
1714
1715 * replace.el (query-replace-map): Bind four new symbols for
1716 requesting window scrolling.
1717
1718 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
1719 query-replace-map (Bug#8948).
1720
1721 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
1722
1723 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
1724 since they are now in query-replace-map.
1725
1726 * window.el (scroll-other-window-down): Make the arg optional.
1727
a8b7cd8d
CY
17282012-09-09 Chong Yidong <cyd@gnu.org>
1729
1730 * files.el (hack-local-variables-confirm): Use quit-window to kill
1731 the *Local Variables* buffer.
1732
c3268831
DG
17332012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1734
1735 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
1736 not just expect to be at its beginning. Adjust callees.
1737 Succeed when do-end block has no space before the pipe character.
1738 (ruby-brace-to-do-end): When the original block is one-liner,
1739 convert to multiline. Reindent the result.
1740
0979429b
J
17412012-09-08 Jambunathan K <kjambunathan@gmail.com>
1742
1743 * register.el (register): New group.
27359e99 1744 (separator-register): New user option.
0979429b
J
1745 (increment-register): Route it to `append-to-register', if
1746 register contains text. Implication is that `C-x r +' can now be
1747 used for appending to a text register (bug#12217).
1748 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 1749 `separator-register'.
0979429b 1750
ace2989a
AM
17512012-09-08 Alan Mackenzie <acm@muc.de>
1752
1753 AWK Mode: make auto-newline work when there's "==" in the pattern.
1754 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
1755 correctly.
0979429b
J
1756 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
1757 Test more rigorously for "=" token.
ace2989a 1758
616c6c36
DG
17592012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1760
0979429b
J
1761 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
1762 Only fail when reached LIMIT.
616c6c36 1763
35d98877
CY
17642012-09-08 Chong Yidong <cyd@gnu.org>
1765
1766 * dired.el (dired-mode-map): Don't bind M-=.
1767
1768 * dired-aux.el (dired-diff): Use backup file as default.
1769
1715f2db
DA
17702012-09-08 Drew Adams <drew.adams@oracle.com>
1771
1772 * subr.el (add-to-history): Fix delete usage (Bug#12314).
1773
6dcef6ec
CY
17742012-09-08 Chong Yidong <cyd@gnu.org>
1775
1776 * subr.el (syntax-after, syntax-class): Doc fix.
1777
fa2bcf43
MR
17782012-09-08 Martin Rudalics <rudalics@gmx.at>
1779
1780 * window.el (display-buffer-in-previous-window): New buffer
1781 display action function.
1782
1783 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
1784 (debugger-previous-window): New variable.
1785 (debug): Rewrite using display-buffer-in-previous-window,
1786 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
1787
daac280a
SM
17882012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1789
1790 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
1791
9dd40b00
MM
17922012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
1793
daac280a
SM
1794 * progmodes/python.el (python-shell-send-string):
1795 When default-directory is remote, create temp file on remote
9dd40b00
MM
1796 filesystem.
1797 (python-shell-send-file): When file is remote, pass local view of
1798 file paths to remote Python interpreter. (Bug#12340)
1799
145823ec
CY
18002012-09-07 Chong Yidong <cyd@gnu.org>
1801
cee2e90d
CY
1802 * window.el (switch-to-buffer): Doc fix (Bug#12181).
1803
0d7eb2ea
CY
1804 * files.el (after-find-file): Don't fail on a read-only buffer if
1805 require-final-newline is `visit' or `visit-save' (Bug#11156).
1806
145823ec
CY
1807 * subr.el (read-char-choice): Allow quitting via ESC ESC.
1808
daac280a
SM
1809 * userlock.el (ask-user-about-supersession-threat):
1810 Use read-char-choice (Bug#12093).
145823ec 1811
74c582e6
CY
18122012-09-07 Chong Yidong <cyd@gnu.org>
1813
e5c2edf7
CY
1814 * subr.el (buffer-narrowed-p): New function.
1815
1816 * ses.el (ses-widen):
1817 * simple.el (count-words--buffer-message):
1818 * net/browse-url.el (browse-url-of-buffer): Use it
1819
1820 * simple.el (count-words-region): Don't signal an error if there
1821 is a non-nil prefix arg and the mark is not set.
c640e87d 1822
74c582e6
CY
1823 * help.el (describe-key-briefly): Allow the message to be seen
1824 when invoked from the minibuffer (Bug#7014).
1825
d81ceaaf
DG
18262012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1827
1828 * progmodes/ruby-mode.el (ruby-end-of-defun)
1829 (ruby-beginning-of-defun): Simplify, allow indentation before
1830 block beginning and end keywords.
8f06acce
DG
1831 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
1832 (ruby-end-of-defun): Expect that the point is at the beginning of
1833 the defun.
d81ceaaf 1834
d458ef98
SM
18352012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1836
1837 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
1838 (bug#12367).
1839 (cl--make-usage-args): Strip _ from argument names.
1840
20367d28
RS
18412012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1842
1843 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
1844 obsolete alias speedbar-key-map.
1845 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
1846 (vhdl-index-menu-init): Don't use obsolete variable
1847 font-lock-maximum-size.
1848
3424a4f6
CY
18492012-09-06 Chong Yidong <cyd@gnu.org>
1850
1851 * frame.el (window-system-version): Mark as obsolete.
1852
fcbfbdea
CY
1853 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
1854 of obsolete variable speedbar-key-map.
1855
826b3235
JL
18562012-09-06 Juri Linkov <juri@jurta.org>
1857
1858 * replace.el (replace-lax-whitespace): New defcustom.
1859 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1860 (replace-string, replace-regexp): Mention it in docstrings.
1861 (perform-replace, replace-highlight): Let-bind
1862 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
1863 to the values of replace-lax-whitespace and regexp-flag.
1864 Don't let-bind search-whitespace-regexp. (Bug#10885)
1865
1866 * isearch.el (isearch-query-replace): Let-bind
1867 replace-lax-whitespace instead of let-binding
1868 replace-search-function and replace-re-search-function.
1869 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
1870 and isearch-regexp-lax-whitespace to lazy-highlight variables.
1871 (isearch-toggle-symbol): Set isearch-regexp to nil
1872 in isearch-word mode (like in isearch-toggle-word).
1873
1ec5e41d
JL
18742012-09-06 Juri Linkov <juri@jurta.org>
1875
1876 * replace.el (replace-search-function)
1877 (replace-re-search-function): Set default values to nil.
1878 (perform-replace): Let-bind isearch-related variables based on
1879 replace-related values, call `isearch-search-fun' and let-bind
1880 the result to `search-function'. Remove code that sets
1881 `search-function' and `search-string' separately for
1882 `delimited-flag'.
1883 (replace-highlight): Add new argument `delimited-flag' and
1884 rename other arguments to the names used in `perform-replace'.
1885 Let-bind `isearch-word' to the argument `delimited-flag'.
1886 (Bug#10885, bug#10887)
1887
0ba2d4b6
DG
18882012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1889
1890 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
1891 ruby-beginning-of-indent, simplify, allow all keywords to have
1892 indentation before them.
1893 (ruby-beginning-of-indent): Adjust for above. Search until the
1894 found point is not inside a string or comment.
1895 (ruby-font-lock-keywords): Allow symbols to start with "@"
1896 character, give them higher priority than variables.
1897 (ruby-syntax-propertize-function)
1898 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
1899 matchers. Expression expansions are not comments when inside a
1900 string, and there comment syntax status is irrelevant.
1901 (ruby-match-expression-expansion): New function. Check that
1902 expression expansion is inside a string, and it's not escaped.
1903 (ruby-font-lock-keywords): Use it.
1904
ef654460
MR
19052012-09-05 Martin Rudalics <rudalics@gmx.at>
1906
1907 * help.el (temp-buffer-max-height): New default value.
1908 (temp-buffer-resize-frames): New option.
1909 (resize-temp-buffer-window): Optionally resize frame.
1910
1911 * window.el (fit-frame-to-buffer-bottom-margin): New option.
1912 (fit-frame-to-buffer): New function.
1913
7e570fbf 19142012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
1915
1916 * emulation/cua-rect.el (cua--init-rectangles):
1917 * textmodes/picture.el (picture-mode-map):
1918 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
1919 like forward-char and backward-char. (Bug#12317)
1920
7e570fbf 19212012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
1922
1923 * progmodes/flymake.el (flymake-warning-re): New variable.
1924 (flymake-parse-line): Use it.
1925
7e570fbf 19262012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
1927
1928 * calendar/holidays.el (holiday-christian-holidays):
1929 Rename an entry. (Bug#12289)
1930
7e570fbf 19312012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
1932
1933 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
1934 (bug#12222).
1935
972debf2
SM
19362012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1937
1938 * loadup.el: Load macroexp. Remove hack.
1939 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
1940 (macroexp--expand-all): Use it to get better warnings.
1941 (macroexp--backtrace, macroexp--trim-backtrace-frame)
1942 (internal-macroexpand-for-load): New functions.
1943 (macroexp--pending-eager-loads): New var.
1944 (emacs-startup-hook): New hack to replace one in loadup.el.
1945 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
1946 (cl--compiler-macro-cXXr): Move to top, before they can be used.
1947 (cl-psetf): Simplify.
1948 (cl-defstruct): Add indent rule.
1949
8ce192e3
LI
19502012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
1951
1952 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
1953 over `user-mail-address' for the SMTP MAIL FROM envelope.
1954 (smtpmail-via-smtp): Ditto.
1955
6578b4d8
DG
19562012-09-04 Dmitry Gutov <dgutov@yandex.ru>
1957
1958 * progmodes/ruby-mode.el: Clean up keybindings.
1959 (ruby-mode-map): Don't bind ruby-electric-brace,
1960 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
1961 backward-kill-word, reindent-then-newline-and-indent.
1962 (ruby-mark-defun): Remove.
1963 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
1964 (ruby-mode): Set local beginning-of-defun-function and
1965 end-of-defun-function values.
1966
c5e28e39
MR
19672012-09-03 Martin Rudalics <rudalics@gmx.at>
1968
1969 * window.el (temp-buffer-window-setup-hook)
1970 (temp-buffer-window-show-hook): New hooks.
1971 (temp-buffer-window-setup, temp-buffer-window-show)
1972 (with-temp-buffer-window): New functions.
972debf2
SM
1973 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
1974 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
1975
1976 * help.el (temp-buffer-resize-mode): Fix doc-string.
1977 (resize-temp-buffer-window): New optional argument WINDOW.
1978
1979 * files.el (recover-file, save-buffers-kill-emacs):
1980 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
1981
73406194
MA
19822012-09-02 Michael Albinus <michael.albinus@gmx.de>
1983
1984 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
1985 remote definition of `default-directory', ensure we can connect.
1986
63dd1c6f
JL
19872012-09-02 Juri Linkov <juri@jurta.org>
1988
1989 Toggle whitespace matching mode with M-s SPC.
1990 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
1991
1992 * isearch.el (search-whitespace-regexp): Doc fix.
1993 Remove cons cell customization.
1994 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
1995 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
1996 New variables.
1997 (isearch-forward, isearch-forward-regexp): Doc fix.
1998 (isearch-toggle-lax-whitespace): New command.
1999 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2000 (re-search-forward-lax-whitespace)
2001 (re-search-backward-lax-whitespace): New functions.
2002 (isearch-whitespace-regexp): Remove function.
2003 (isearch-query-replace): Let-bind replace-search-function and
2004 replace-re-search-function.
2005 (isearch-occur): Let-bind search-spaces-regexp according to the
2006 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2007 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2008 condition for C-q SPC.
2009 (isearch-search-fun-default): Use new functions mentioned above.
2010 (isearch-search-forward, isearch-search-backward): Remove functions.
2011 (isearch-search): Don't let-bind search-spaces-regexp.
2012 (isearch-lazy-highlight-space-regexp): Remove variable.
2013 (isearch-lazy-highlight-lax-whitespace)
2014 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2015 (isearch-lazy-highlight-new-loop): Use them.
2016 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2017
af7dda05
CY
20182012-09-02 Chong Yidong <cyd@gnu.org>
2019
2020 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2021
d67d3afd
GM
20222012-09-02 Glenn Morris <rgm@gnu.org>
2023
2024 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2025
69678719
GM
20262012-09-01 Glenn Morris <rgm@gnu.org>
2027
2028 * term.el: Tidy up menu definitions.
2029 (term-mode-map): Use easymenu for In/Out, Complete menus.
2030 (term-pager-break-map): Initialize in the defvar.
2031 (term-terminal-menu, term-signals-menu): Define with easymenu.
2032 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2033 (term-pager-menu): New, extracted from term-process-pager.
2034 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2035 (term-update-mode-line): Propertize line/char and page items.
2036 (term-process-pager): Move keymap initialization elsewhere.
2037
78dd6ab1
MR
20382012-09-01 Martin Rudalics <rudalics@gmx.at>
2039
2040 * window.el (switch-to-prev-buffer): Handle additional values of
2041 BURY-OR-KILL argument. Don't switch in minibuffer window.
2042 (switch-to-next-buffer): Don't switch in minibuffer window.
2043 (quit-restore-window): New function based on quit-window.
2044 Handle additional values of former KILL argument.
2045 (quit-window): Call quit-restore-window with appropriate
2046 interpretation of KILL argument.
2047 (display-buffer-below-selected): New buffer display action
2048 function.
2049
3d10e134
SM
20502012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2051
2052 * minibuffer.el (completion-at-point-functions): Complete docstring
2053 (bug#12254).
2054
0e23ef9d
PE
20552012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2056
2057 Better seed support for (random).
2058 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2059 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2060 * play/mpuz.el, play/tetris.el, play/zone.el:
2061 * calc/calc-comb.el (math-init-random-base):
2062 * play/blackbox.el (bb-init-board):
2063 * play/life.el (life):
2064 * server.el (server-use-tcp):
2065 * type-break.el (type-break):
2066 Remove unnecessary call to (random t).
2067 * net/sasl.el (sasl-unique-id-function):
2068 Change (random t) to (random), now that the latter is more random.
2069 * play/life.el (life-initialized): Remove no-longer-needed var.
2070
862382df
MR
20712012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2072
2073 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2074 Consider frame's buffer predicate when choosing the buffer.
2075 (Bug#12081)
2076
262a66e1
RS
20772012-08-30 Richard Stallman <rms@gnu.org>
2078
2079 * simple.el (special-mode-map): Delete binding for `z'.
2080
f17e1d00
AS
20812012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2082
2083 * progmodes/compile.el (compilation-always-kill): Doc fix.
2084
24777832
CY
20852012-08-30 Chong Yidong <cyd@gnu.org>
2086
2087 * window.el (display-buffer-reuse-frames): Make the obsolescence
2088 message more informative.
2089
69ba1f04
GM
20902012-08-30 Glenn Morris <rgm@gnu.org>
2091
2092 * paren.el (show-paren-delay):
2093 Add a :set function. Doc fix. (Bug#12297)
2094
f0019ede
MB
20952012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2096
2097 * progmodes/compile.el (compilation-always-kill): New var.
2098 (compilation-start): Use it.
2099
35e62fc9
SM
21002012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2101
af070a1c
SM
2102 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2103 * files.el (read-only-mode): Move to simple.el.
2104
35e62fc9
SM
2105 * files.el (read-only-mode): New minor mode.
2106 (toggle-read-only): Use it and mark obsolete.
2107 (find-file--read-only):
2108 * vc/vc.el (vc-next-action, vc-checkout):
2109 * vc/vc-cvs.el (vc-cvs-checkout):
2110 * obsolete/vc-mcvs.el (vc-mcvs-update):
2111 * ffap.el (ffap--toggle-read-only): Update callers.
2112
c2c43c23
MA
21132012-08-29 Michael Albinus <michael.albinus@gmx.de>
2114
2115 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
2116 remote shell scripts.
2117 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
2118
2119 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2120 "/usr/local/sbin".
2121
9fba804b
SM
21222012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2123
2124 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2125
eada0861 21262012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 2127
806f0cc7
LL
2128 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2129 completion-at-point. (Bug#12220)
2130
3bb213b9
LL
2131 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2132
22ab32ef
LL
2133 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2134
eada0861 21352012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 2136
19c17fc1
CY
2137 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2138 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 2139
eada0861 21402012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
2141
2142 * progmodes/hideif.el (hif-compress-define-list):
2143 Fix typo. (Bug#11951)
2144
eada0861 21452012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
2146
2147 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2148 buffer local setting.
2149
27d6c5a8
LL
2150 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2151 rcirc-encode-coding-system.
2152
eada0861 21532012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
2154
2155 * net/rcirc.el (rcirc-split-message): New function.
2156 (rcirc-send-message): Use it. (Bug#12051)
2157
d44688e4
JL
21582012-08-28 Juri Linkov <juri@jurta.org>
2159
2160 * info.el (Info-fontify-node): Hide empty lines at the end of
2161 the node. (Bug#12272)
2162
34f10d41
MR
21632012-08-27 Drew Adams <drew.adams@oracle.com>
2164
2165 * dired.el (dired-pop-to-buffer): Make window start at beginning
2166 of buffer (Bug#12281).
2167
77f1f99c
CY
21682012-08-26 Chong Yidong <cyd@gnu.org>
2169
2170 * window.el (special-display-regexps, special-display-frame-alist)
2171 (special-display-buffer-names, special-display-function)
2172 (display-buffer-reuse-frames): Mark as obsolete.
2173
2174 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2175
2176 * help.el (help-print-return-message): Don't treat
2177 display-buffer-reuse-frames specially.
2178
d97af5a0
CY
21792012-08-26 Chong Yidong <cyd@gnu.org>
2180
9fba804b
SM
2181 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2182 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
2183 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2184 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2185 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2186 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2187 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2188 the functions directly with gdb-display-buffer-other-frame-action.
2189 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2190 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2191 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2192 (gdb-display-registers-buffer): Define directly.
2193 (def-gdb-display-buffer): Macro deleted.
2194 (gdb-display-buffer): Remove second and third args, callers don't
2195 use them. Defer to the default display-buffer behavior, apart
2196 from making windows dedicated.
2197 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2198
2199 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2200
2201 * window.el (display-buffer-pop-up-frame): Handle a
2202 pop-up-frame-parameters alist entry.
2203 (display-buffer): Document it.
2204
dd7ffad6
CY
22052012-08-26 Chong Yidong <cyd@gnu.org>
2206
2207 * isearch.el (search-whitespace-regexp): Make string and nil
2208 values apply to both ordinary and regexp search. Allow a cons
2209 cell value to distinguish between the two.
2210 (isearch-whitespace-regexp, isearch-search-forward)
2211 (isearch-search-backward): New functions.
2212 (isearch-occur, isearch-search-fun-default, isearch-search)
2213 (isearch-lazy-highlight-new-loop): Use them.
2214 (isearch-forward, isearch-forward-regexp): Doc fix.
2215
4c47bd1e
CY
22162012-08-26 Chong Yidong <cyd@gnu.org>
2217
2218 * faces.el (help-argument-name): Always inherit from italic
2219 (Bug#12213).
2220
9aba119d
MR
22212012-08-25 Martin Rudalics <rudalics@gmx.at>
2222
2223 * window.el (window--even-window-heights): Even heights when
2224 WINDOW and the selected window form a vertical combination.
2225 (display-buffer-use-some-window): Provide that window used gets
2226 sized back by quit-window. (Bug#11880) and (Bug#12091)
2227
ca5256ad
PE
22282012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2229
2230 Fix file time stamp problem with bzr and CVS (Bug#12001).
2231 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2232 in the file's time stamp, since the version control system loses
2233 that information.
2234
d1c0d176
JL
22352012-08-22 Juri Linkov <juri@jurta.org>
2236
2237 * info.el (Info-fontify-node): Hide the suffix of the
2238 Info file name in the header line. (Bug#12187)
2239
141562ff
GM
22402012-08-22 Glenn Morris <rgm@gnu.org>
2241
2242 * calendar/cal-tex.el (cal-tex-weekly-common):
2243 Restore leading blank page.
2244
61a48e19 22452012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
2246
2247 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
2248 the region under `shift-select-mode'. (Bug#12231)
2249
22502012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
2251
2252 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2253 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2254 gives details on why the space is never needed.
2255
ea95074e
MR
22562012-08-22 Martin Rudalics <rudalics@gmx.at>
2257
9fba804b
SM
2258 * window.el (walk-window-tree, window-with-parameter):
2259 New optional argument MINIBUF to control whether these functions
ea95074e
MR
2260 should run on the minibuffer window.
2261 (window-at-side-list): Don't operate on minibuffer window.
2262 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
2263 (window--size-ignore): Rename to window--size-ignore-p.
2264 Update callers.
caceae25
MR
2265 (display-buffer-in-atom-window, window--major-non-side-window)
2266 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
2267 (delete-side-window, display-buffer-in-side-window):
2268 New functions.
caceae25
MR
2269 (window--side-check, window-deletable-p, delete-window)
2270 (delete-other-windows, split-window): Handle side windows and
2271 atomic windows appropriately.
2272 (window--display-buffer): Call display-buffer-record-window also
2273 when the window buffer did not change.
ea95074e 2274
80a51fa0
CS
22752012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2276
2277 * help-fns.el (help-fns--key-bindings):
2278 Abbreviate non-symbol remap targets. (Bug#12174)
2279
fbb6300b
MR
22802012-08-22 Martin Rudalics <rudalics@gmx.at>
2281
2282 * dired.el (dired-mark-remembered): Don't clobber point.
2283 (Bug#11795)
2284
2b2c0794
GM
22852012-08-22 Glenn Morris <rgm@gnu.org>
2286
2287 * progmodes/bug-reference.el (bug-reference): New custom group.
2288 (bug-reference-bug-regexp): Make it a defcustom.
2289
37219830
DU
22902012-08-22 Daiki Ueno <ueno@unixuser.org>
2291
2292 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2293 (js-paren-indent-offset, js-square-indent-offset)
2294 (js-curly-indent-offset): Add :safe (Bug#12257).
2295
94e0e559
EC
22962012-08-22 Edward O'Connor <hober0@gmail.com>
2297
2298 * json.el (json-key-format): Add error properties.
2299 (json-encode-key): New function.
2300 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2301 Use json-encode-key.
2302
da485f5e
GM
23032012-08-22 Glenn Morris <rgm@gnu.org>
2304
2305 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2306 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2307 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2308 Update for above change.
2309
c6cc78b8
AS
23102012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2311
2312 * cus-face.el (custom-face-attributes): Fix customize type for the
2313 :underline attribute. (Bug#11805)
2314
5481664a
MR
23152012-08-21 Martin Rudalics <rudalics@gmx.at>
2316
2317 * window.el (window-point-1, set-window-point-1): Remove.
2318 (window-in-direction, record-window-buffer)
2319 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
2320 (window--state-get-1, display-buffer-record-window):
2321 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
2322 window-point and set-window-point respectively.
2323
6d74698e
GM
23242012-08-21 Glenn Morris <rgm@gnu.org>
2325
b7fa2691
GM
2326 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2327 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2328 Use it.
2329
52f56d5a
GM
2330 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2331 (cal-tex-shortday): New function.
2332 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2333 (cal-tex-cursor-filofax-daily): Use the above.
2334
9f1ee09e
GM
2335 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2336 New functions.
2337 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2338 (cal-tex-cursor-filofax-week): Use them.
2339
79858159
GM
2340 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2341 New constants.
2342 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2343 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2344
d346b2b4
GM
2345 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2346 (cal-tex-end-document): Don't rely on buffer name.
2347
b2403709
GM
2348 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2349 Use cal-tex-vspace.
2350 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2351 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
2352 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2353 Use cal-tex-arg.
b2403709 2354
1cebb5c0
GM
2355 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2356 (cal-tex-cursor-week, cal-tex-cursor-week2)
2357 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2358 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2359 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2360 (cal-tex-insert-preamble, cal-tex-b-document)
2361 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2362 Improve cal-tex-cmd usage.
2363
c68cd5d4
GM
2364 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2365 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2366 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2367 (cal-tex-weekly-paper): New function.
2368 (cal-tex-cursor-week, cal-tex-cursor-week2)
2369 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2370 (cal-tex-cursor-day): Use it.
2371
9dca4801
GM
2372 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2373 (cal-tex-cursor-filofax-week): Remove leading blank page.
2374
1941e134
GM
2375 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2376 Add autoload cookie. For now at least, don't use color, since
2377 no other cal-tex function does.
2378
6d74698e
GM
2379 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2380 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2381 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2382
64cde199
JL
23832012-08-21 Juri Linkov <juri@jurta.org>
2384
2385 * info.el (Info-file-attributes): New variable.
2386 (info-insert-file-contents): Add file attributes to
2387 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2388 `Info-toc-nodes' when previous modtime of the Info file is less
2389 than new modtime.
2390 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2391 of info.el. (Bug#12230)
2392
32757648
GM
23932012-08-20 Glenn Morris <rgm@gnu.org>
2394
2395 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2396 * calendar/holidays.el (calendar-holiday-list):
2397 Report errors with display-warning rather than beep'n'sleep.
2398
a32fbbcf
MA
23992012-08-20 Michael Albinus <michael.albinus@gmx.de>
2400
2401 * net/tramp.el (tramp-accept-process-output): Accept only output
2402 from PROC. Otherwise, process filters and sentinels might be
2403 confused. (Bug#12145)
2404
a05731a0
CY
24052012-08-20 Chong Yidong <cyd@gnu.org>
2406
2407 * descr-text.el (describe-text-properties-1): Use overlays-in to
2408 report on empty overlays (Bug#3322).
2409
36e8d1eb
GM
24102012-08-20 Glenn Morris <rgm@gnu.org>
2411
3d300447
GM
2412 * mail/rmailout.el (rmail-output-read-file-name):
2413 Trap and report errors in rmail-output-file-alist elements.
2414
36e8d1eb
GM
2415 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2416 since most non-font-lock faces are not also variables).
2417
b96e5814
ER
24182012-08-20 Edward Reingold <reingold@iit.edu>
2419
2420 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2421 New function. (Bug12160)
2422
7cef3569
GM
24232012-08-19 Glenn Morris <rgm@gnu.org>
2424
2425 * mail/rmailout.el (rmail-output-read-file-name):
2426 Fix previous change (when the alist is nil or does not match).
2427
17975d7f
CY
24282012-08-19 Chong Yidong <cyd@gnu.org>
2429
2430 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2431 (Bug#12228).
2432
2170b1bd
CY
24332012-08-18 Chong Yidong <cyd@gnu.org>
2434
2435 * simple.el (yank-handled-properties): New defcustom.
2436 (yank-excluded-properties): Add font-lock-face and category.
2437 (yank): Doc fix.
2438
9fba804b
SM
2439 * subr.el (remove-yank-excluded-properties):
2440 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
2441 and category is now done this way, instead of being hard-coded.
2442 (insert-for-yank-1): Remove font-lock-face handling.
2443 (yank-handle-font-lock-face-property)
2444 (yank-handle-category-property): New function.
2445
ee218151
GM
24462012-08-17 Glenn Morris <rgm@gnu.org>
2447
2448 * mail/rmailout.el (rmail-output-read-file-name):
2449 Check rmail-output-file-alist against the full message body
2450 in the correct rmail buffer. (Bug#12214)
2451
4a6bc3fd
MA
24522012-08-17 Michael Albinus <michael.albinus@gmx.de>
2453
9fba804b
SM
2454 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2455 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 2456
383dcbf9
CY
24572012-08-17 Chong Yidong <cyd@gnu.org>
2458
2459 * mouse.el (mouse-appearance-menu): If x-select-font returns a
2460 font spec, set the font directly (Bug#3228).
2461
998c4a6a
MR
24622012-08-17 Martin Rudalics <rudalics@gmx.at>
2463
2464 * window.el (delete-window): Fix last fix.
2465
52162052
MR
24662012-08-16 Martin Rudalics <rudalics@gmx.at>
2467
2468 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
2469 (window-child, window-child-count, window-last-child)
2470 (window-normalize-window, window-combined-p)
2471 (window-combinations, window-atom-root, window-min-size)
2472 (window-sizable, window-sizable-p, window-size-fixed-p)
2473 (window-min-delta, window-max-delta, window--resizable)
2474 (window--resizable-p, window-resizable, window-total-size)
2475 (window-full-height-p, window-full-width-p, window-body-size)
2476 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2477 (minimize-window, window-deletable-p, delete-window)
2478 (delete-other-windows, set-window-buffer-start-and-point)
2479 (next-buffer, previous-buffer, split-window, balance-windows-2)
2480 (set-window-text-height, window-buffer-height)
2481 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
2482 (truncated-partial-width-window-p): Minor code adjustments.
2483 In doc-strings state whether the argument window has to denote a
85c2386b 2484 live, valid or any window.
52162052 2485
1c308380
PS
24862012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
2487
2488 * progmodes/subword.el (subword-forward-function)
2489 (subword-backward-function, subword-forward-regexp)
2490 (subword-backward-regexp): New variables.
2491 (subword-forward, subword-forward-internal, subword-backward-internal):
2492 Use new variables, eg so that different "word" definitions
2493 can be easily used. (Bug#11411)
2494
94c9ece1
SM
24952012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2496
2497 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2498 for composite selectors.
2499 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2500 operation just because we can't find a previous revision.
2501
f2045622
CY
25022012-08-15 Chong Yidong <cyd@gnu.org>
2503
2504 * frame.el (set-frame-font): Accept font objects.
2505
582db660
SM
25062012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2507
2508 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2509
2f29c200
WJ
25102012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
2511
456e62c2
WJ
2512 * man.el (Man-overstrike-face, Man-underline-face)
2513 (Man-reverse-face): Remove variables.
2514 (Man-overstrike, Man-underline, Man-reverse): New faces.
2515 (Man-fontify-manpage): Use them instead of the variables.
2516 (Man-cleanup-manpage): Comment change.
2517 (Man-ansi-color-map): New variable.
2518 (Man-fontify-manpage): Use it.
2519 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
2520
2f29c200
WJ
2521 Implement ANSI SGR parameters 22-27 (bug#12146).
2522 * ansi-color.el (ansi-colors): Doc fix.
2523 (ansi-color-context, ansi-color-context-region): Doc fix.
2524 (ansi-color--find-face): New function.
2525 (ansi-color-apply, ansi-color-apply-on-region): Use it.
2526 Rename the local variable `face' to `codes' since it is now a list of
2527 ansi codes. Doc fix.
2528 (ansi-color-get-face): Remove.
2529 (ansi-color-parse-sequence): New function, derived from
2530 ansi-color-get-face.
2531 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
2532 codes 22-27.
2533
b4f5e9df
SM
25342012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
2535
2536 * subr.el (read-passwd): Allow use from a minibuffer.
2537
ba025fbd
EZ
25382012-08-14 Eli Zaretskii <eliz@gnu.org>
2539
2540 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
2541 inside comments and strings as identifiers.
2542
2543 * progmodes/gud.el (gud-tooltip-print-command): Quote the
2544 expression to evaluate. This allows to evaluate expressions with
2545 embedded whitespace.
2546 (gud-tooltip-tips): Add a blank before the newline in the
2547 message-box text, for the benefit of message-box emulation on
2548 MS-Windows.
2549
2550 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
2551 messages from GDB, pop them up in a tooltip to give feedback to
2552 user.
b4f5e9df
SM
2553 (gdb-tooltip-print-1): Quote the expression to evaluate.
2554 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
2555 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
2556 if the TTY name is nil or empty (which happens when communicating
2557 with the inferior via pipes, e.g. on MS-Windows).
2558 (gdb-internals): If GDB sends a "&\n" empty debugging message,
2559 don't send that to the GUD buffer.
2560
c548f821
GM
25612012-08-14 Glenn Morris <rgm@gnu.org>
2562
2563 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
2564 Optimize away setq-default with no args, as for setq. (Bug#12195)
2565
55802e4a
CY
25662012-08-14 Chong Yidong <cyd@gnu.org>
2567
4abcdac8
CY
2568 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
2569
55802e4a
CY
2570 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
2571 (Bug#12085).
2572
3c3cda1a
GM
25732012-08-14 Glenn Morris <rgm@gnu.org>
2574
2575 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
2576
e1873bd0
MA
25772012-08-14 Michael Albinus <michael.albinus@gmx.de>
2578
2579 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
2580 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2581 Use cached shell name.
2582
925411b4
FEG
25832012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2584
2585 * progmodes/python.el (python-shell-send-string):
3c3cda1a 2586 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 2587
e636fafe
DG
25882012-08-14 Dmitry Gutov <dgutov@yandex.ru>
2589
2590 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
2591 (ruby-percent-literal-beg-re): New constant.
2592 (ruby-syntax-general-delimiters-goto-beg): Rename to
2593 `ruby-syntax-enclosing-percent-literal', improve literal type check.
2594 (ruby-syntax-propertize-general-delimiters): Rename to
2595 `ruby-syntax-propertize-percent-literal', it's a shorter and more
2596 popular term. Adjust comments everywhere.
2597 (ruby-syntax-propertize-percent-literal): Only propertize when not
2598 inside a simple string or comment. When the literal is unclosed,
2599 leave the text after it unpropertized.
f063063a
DG
2600 (ruby-syntax-methods-before-regexp): New constant.
2601 (ruby-syntax-propertize-function): Use it to recognize regexps.
2602 Don't look at the text after regexp, just use the whitelist.
e636fafe 2603
e5b19827
AS
26042012-08-14 Andreas Schwab <schwab@linux-m68k.org>
2605
2606 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
2607 non-nil always load the compiled file if it exists. (Bug#12197)
2608
a9f6f311
CY
26092012-08-14 Chong Yidong <cyd@gnu.org>
2610
2611 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
2612 (hi-lock-set-pattern): When deciding whether to use font lock or
2613 overlays, look at font-lock-mode instead of font-lock-fontified
2614 (Bug#12168).
2615 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
2616 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
2617
7d806b1e
DU
26182012-08-14 Daiki Ueno <ueno@unixuser.org>
2619
2620 * subr.el (internal--after-with-selected-window): Fix typo
2621 (Bug#12193).
2622
5beed586
FEG
26232012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2624
2625 Use `completion-table-dynamic' for completion functions.
2626 * progmodes/python.el
2627 (python-shell-completion--do-completion-at-point)
e636fafe
DG
2628 (python-shell-completion--get-completions):
2629 Remove functions.
5beed586
FEG
2630 (python-shell-completion-complete-at-point): New function.
2631 (python-completion-complete-at-point): Use it.
2632
92cb3b04
J
26332012-08-13 Jambunathan K <kjambunathan@gmail.com>
2634
2635 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
2636 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
2637
89660017
SM
26382012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2639
3c98c962
SM
2640 * subr.el (function-get): Refine `autoload' arg so it can also
2641 autoload functions for gv.el (bug#12191).
2642 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
2643 autoloads macros.
2644
aa7c6dbe
SM
2645 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
2646 Prefer pcase-let over destructuring-bind.
2647 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
2648 Also, remove whitespace as we go, rather than after accumulating the
2649 various places.
2650
89660017
SM
2651 * subr.el (internal--before-with-selected-window)
2652 (internal--after-with-selected-window): Fix typo seleted->selected.
2653 (with-selected-window): Adjust callers.
2654 Reported by Dmitry Gutov <dgutov@yandex.ru>.
2655
31cd32c9
BG
26562012-08-13 Bastien Guerry <bzg@gnu.org>
2657
0fcd3d9f 2658 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
2659 enhancement. (Bug#12172)
2660
1b15d8ad
AS
26612012-08-13 Andreas Schwab <schwab@linux-m68k.org>
2662
31e54db0
AS
2663 * tar-mode.el (tar-header-data-end): Only ignore size for files of
2664 type 1-6.
2665 (tar-header-block-summarize, tar-get-descriptor): Handle pax
2666 extended headers.
2667
1b15d8ad
AS
2668 * files.el (hack-local-variables-filter): Remove useless eval.
2669
35cb9c06
MR
26702012-08-13 Martin Rudalics <rudalics@gmx.at>
2671
2672 * subr.el (with-selected-window): Fix last change.
2673
1439443b
SM
26742012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2675
2676 * subr.el (internal--before-with-seleted-window)
2677 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
2678 (with-selected-window): Use them, to replace dependency on
2679 tty-top-frame.
1439443b 2680
0d9e2599
NN
26812012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
2682
2683 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
2684 binding for `newline'.
2685 (ruby-move-to-block): When moving backward, stop at block opening,
2686 not indentation.
2687 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
2688 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
2689 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2690 `ruby-toggle-block'.
2691
ba10c48c
SM
26922012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2693
2694 * ibuffer.el (ibuffer-do-toggle-read-only):
2695 * dired.el (dired-toggle-read-only):
2696 * buff-menu.el (Buffer-menu-toggle-read-only):
2697 * bindings.el (mode-line-toggle-read-only):
2698 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
2699
9229c658
AS
27002012-08-12 Andreas Schwab <schwab@linux-m68k.org>
2701
2702 * descr-text.el (describe-char): Put the overlays over the
2703 "displayed as" character.
2704
0fd09128
JB
27052012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
2706
2707 * calc/calc-units.el (math-default-units-table): Give an
2708 initial value.
2709 (math-put-default-units): Add options to put composite units and
2710 unit systems in the default units table.
2711 (calc-convert-units): Send composite units to
2712 `math-put-default-units' when appropriate.
2713
9ff9402d 27142012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 2715
fbb5e336
GM
2716 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
2717
7aacaf15
GM
2718 * tutorial.el (help-with-tutorial):
2719 * emacs-lisp/copyright.el (copyright-update-directory):
2720 * emacs-lisp/autoload.el (autoload-find-generated-file)
2721 (autoload-find-file): Disable local eval: (for insurance).
2722
f40b9f10
GM
2723 * files.el (hack-local-variables-filter): If an eval: form is not
2724 known to be safe, and enable-local-variables is :safe, then ignore
2725 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 2726 This is CVE-2012-3479.
f40b9f10 2727
daa9f1a6
SM
27282012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2729
2730 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
2731 (rx-form): Simplify.
2732
9cd80478
DG
27332012-08-09 Dmitry Gutov <dgutov@yandex.ru>
2734
0d9e2599
NN
2735 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
2736 ?, _, and : are symbol constituents, ! is not (but kinda should be).
2737 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
2738 (ruby-syntax-propertize-function): Adjust for changes in
2739 `ruby-syntax-propertize-heredoc'.
2740
27412012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
2742
9cd80478
DG
2743 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
2744 binding (use `M-;' instead).
9cd80478 2745 (ruby-singleton-class-p): New function.
0d9e2599 2746 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 2747
d301b413
SM
27482012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2749
2750 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
2751
1530c98e
CY
27522012-08-10 Chong Yidong <cyd@gnu.org>
2753
2754 * progmodes/python.el (python-shell-get-process-name): Don't mess
2755 with same-window-buffer-names.
2756
2757 * eshell/eshell.el (eshell-add-to-window-buffer-names)
2758 (eshell-remove-from-window-buffer-names): Make obsolete.
2759 (eshell-buffer-name, eshell-unload-hook): Don't use them.
2760 (eshell): Just use pop-to-buffer-same-window instead.
2761
e1293765
CY
27622012-08-10 Chong Yidong <cyd@gnu.org>
2763
2764 * bindings.el: Bind M-= back to count-words-region.
2765
2766 * simple.el (count-words-region): Accept a prefix arg for acting
2767 on the entire buffer.
2768 (count-words--buffer-message): New helper function.
2769
e1894109
SM
27702012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2771
2772 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
2773 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
2774 (event-start, event-end): Use posn-at-point to return a more
2775 informative posn.
2776 (posnp): New function.
2777 * mouse.el (popup-menu-normalize-position): Use it.
2778
c69f56a2
MY
27792012-08-10 Masatake YAMATO <yamato@redhat.com>
2780
2781 * mouse.el (popup-menu-normalize-position): New function.
2782 (popup-menu): Use `popup-menu-normalize-position' to normalize
2783 the form for POSITION argument.
2784
2785 * term/x-win.el (x-menu-bar-open):
2786 Use the value returend from (posn-at-point) as position
2787 passed to `popup-menu'.
2788
31673780
JB
27892012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2790
2791 * calc/calccomp.el (math-compose-expr): Add extra argument
2792 indicating that parentheses should be put around products in
2793 denominators. Give multiplication precedence over division during
2794 composition.
2795
dab7711b
CY
27962012-08-09 Chong Yidong <cyd@gnu.org>
2797
dee4ef93
CY
2798 * man.el (Man-switches, Man-sed-command, Man-awk-command)
2799 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
2800 (Man-untabify-command, manual-program): Convert to defcustom
2801 (Bug#10429).
2802
73e2bbc5
CY
2803 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
2804
3e861c8a
CY
2805 * descr-text.el (describe-char): Don't insert extra newlines
2806 (Bug#10127).
2807
a9f5a649
CY
2808 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
2809 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
2810
dab7711b
CY
2811 * align.el (align-region): Delete temporary markers (Bug#10047).
2812 Plus some code cleanups.
2813
e0cc4efa
FEG
28142012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2815
2816 * progmodes/python.el (python-pdbtrack-tracked-buffer)
2817 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
2818 (python-shell-internal-last-output): Use make-local-variable
2819 instead of make-variable-buffer-local.
2820
489af14f
FEG
28212012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2822
2823 * progmodes/python.el: Enhancements to forward-sexp.
2824 (python-nav-forward-sexp): Rename from
2825 python-nav-forward-sexp-function.
c69f56a2
MY
2826 (python-nav--forward-sexp, python-nav--backward-sexp):
2827 New functions.
489af14f 2828
0fc50303
JB
28292012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2830
2831 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
2832 modes and simplification modes.
2833
5d65606a
SM
28342012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2835
2836 * delsel.el (delete-selection-pre-hook): Don't propagate the
2837 file-supersession signals (bug#12161).
2838
4250fdf5
SM
28392012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2840
2841 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
2842 (cl-map-extents): Add compatibility aliases (bug#12135).
2843
d9f9b465
MA
28442012-08-08 Michael Albinus <michael.albinus@gmx.de>
2845
2846 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
2847 tests by `ignore-error'.
2848 (tramp-find-shell): Open also a new shell, when cache is already
2849 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
2850
ce0fcefa
JL
28512012-08-08 Juri Linkov <juri@jurta.org>
2852
2853 * bookmark.el: Add `defaults' property to the bookmark record.
2854 (bookmark-current-buffer): Doc fix.
2855 (bookmark-make-record): Add `defaults' property with default values
2856 to the bookmark record.
2857 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
2858 with `bookmark-insert-current-bookmark'.
2859 (bookmark-set): Get `defaults' property from the bookmark record
2860 and use it in `read-from-minibuffer'.
2861 (bookmark-insert-current-bookmark): Remove function.
2862
2863 * info.el (Info-bookmark-make-record): Add `defaults' property
2864 with values of canonical Info node name, the current Info file
2865 name and the current Info node name. (Bug#12107)
2866
53fa8652
JL
28672012-08-08 Juri Linkov <juri@jurta.org>
2868
2869 * files.el (basic-save-buffer): Use `buffer-name' as the default
2870 of `read-file-name' when buffer is not visiting a file (bug#12128).
2871
242c0a95
JL
28722012-08-08 Juri Linkov <juri@jurta.org>
2873
2874 * info.el (Info-isearch-search): Doc fix.
2875 (Info-search): Change search-failed message from "initial node" to
2876 "end of node" (bug#12078).
2877 (Info-isearch-search): Change `isearch-string-state' to
2878 `isearch--state-string'.
2879
32ac3a6b
GM
28802012-08-08 Glenn Morris <rgm@gnu.org>
2881
2882 * language/persian.el: Remove file.
f8c1afd5 2883 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
2884 * loadup.el: Remove language/persian.
2885
2c2d9c9c
OF
28862012-08-08 Óscar Fuentes <ofv@wanadoo.es>
2887
2888 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
2889
2d79ec42
FEG
28902012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
2891
2892 * progmodes/python.el Fixed defsubst warning.
2893 (python-syntax-context) Rename from python-info-ppss-context.
2894 (python-syntax-context-type): Rename from
2895 python-info-ppss-context-type.
2896 (python-syntax-comment-or-string-p): Rename from
2897 python-info-ppss-comment-or-string-p.
2898
2bd255dd
JB
28992012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
2900
2901 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
2902
c395097f
AS
29032012-08-07 Andreas Schwab <schwab@linux-m68k.org>
2904
6125983e
AS
2905 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
2906 a defcustom that is quoted with backquote.
2907
4250fdf5
SM
2908 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
2909 Fix handling of interactive spec when the body uses return.
651eaf36
AS
2910 (math-do-arg-check, math-define-function-body): Use backquote forms.
2911 * calc/calc-ext.el (math-defcache): Likewise.
2912 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
2913 * allout.el (allout-new-exposure): Likewise.
2914 * calc/calcalg2.el (math-tracing-integral): Likewise.
2915 * info.el (Info-last-menu-item): Likewise.
2916 * emulation/vip.el (vip-loop): Likewise.
2917 * textmodes/artist.el (artist-funcall): Likewise.
2918 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
2919 Construct menu-item directly.
2920
4250fdf5
SM
2921 * progmodes/autoconf.el (font-lock-syntactic-keywords):
2922 Don't declare.
c395097f 2923
5fb50dd3
CY
29242012-08-07 Chong Yidong <cyd@gnu.org>
2925
2926 * simple.el (deactivate-mark): Preserve text properties when
2927 saving the primary selection (Bug#8384).
2928
54eea618
KR
29292012-08-07 Kevin Ryde <user42@zip.com.au>
2930
2931 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
2932 (woman-parse-numeric-value): On a bad .IP line, issue a warning
2933 and continue processing (Bug#12110).
2934
638eaeb9
SM
29352012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2936
2937 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
2938 syntax-propertize-function (bug#10095).
2939
ea376861
SM
29402012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2941
f91b35be
SM
2942 * help-fns.el (help-fns--key-bindings, help-fns--signature)
2943 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
2944 describe-function-1.
2945 (describe-function-1): Use them. Move compiler macro after sig.
2946 (help-fns--compiler-macro): Use function-get. Assume we're already in
2947 standard-output. Adjust layout to new call order.
2948
ea376861
SM
2949 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
2950 re-binding a symbol that has a symbol-macro (bug#12119).
2951
d5be7bd0
MB
29522012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
2953
2954 * language/persian.el: New file. (Bug#11812)
2955 * loadup.el: Add language/persian.el.
2956
90749b53
CY
29572012-08-06 Chong Yidong <cyd@gnu.org>
2958
2959 * window.el (window--maybe-raise-frame): New function.
2960 (window--display-buffer): Split off from here.
2961 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2962 (display-buffer-pop-up-window, display-buffer-use-some-window):
2963 Obey an inhibit-switch-frame action alist entry.
2964 (display-buffer): Update doc.
2965
2966 * replace.el (occur-after-change-function): Avoid losing focus by
2967 using the inhibit-switch-frame display parameter (Bug#12139).
2968
ba7b0154
FEG
29692012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
2970
2971 Make internal shell process buffer names start with space.
2972 * progmodes/python.el (python-shell-make-comint): Add optional
2973 argument INTERNAL.
2974 (run-python-internal): Use it.
2975 (python-shell-internal-get-or-create-process): Check for new
2976 internal buffer names.
2977
5eaeacb5
GM
29782012-08-06 Glenn Morris <rgm@gnu.org>
2979
e296d94b 2980 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
2981 Do less getting and setting of environment variables.
2982
b7ccbdc2
CY
29832012-08-05 Chong Yidong <cyd@gnu.org>
2984
777fe95e
CY
2985 * proced.el (proced): Add substitution string to docstring to
2986 trigger autoloading of the proced library on C-h f (Bug#1768).
2987
4250fdf5
SM
2988 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2989 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
2990
2991 * imenu.el (imenu-generic-expression): Move documentation here
2992 from imenu--generic-function.
2993 (imenu--generic-function): Refer to imenu-generic-expression.
2994
9e3b7800 29952012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
2996
2997 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
2998 indentation declaration.
2999 (viper-loop): Add indentation declaration (Bug#7025).
3000
e5d9c0d1
CY
30012012-08-05 Chong Yidong <cyd@gnu.org>
3002
f0422feb
CY
3003 * help-fns.el (describe-variable): Add hyperlink for
3004 directory-local variables files. Improve buffer-local and
3005 permanent-local reporting; suggested by MON KEY (Bug#6644).
3006
3007 * help-mode.el (help-dir-local-var-def): New button type.
3008
e5d9c0d1
CY
3009 * files.el (kill-buffer-hook): Provide a defvar.
3010
a4f2deaa
GM
30112012-08-05 Glenn Morris <rgm@gnu.org>
3012
3013 * eshell/esh-ext.el (eshell/addpath):
3014 Also update eshell-path-env. (Bug#12013)
3015
a9dd5754
CY
30162012-08-05 Chong Yidong <cyd@gnu.org>
3017
a4f2deaa 3018 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 3019
d014c740
CY
3020 * fringe.el (fringe-styles): Add docstring.
3021 (fringe--check-mode): New function.
3022 (set-fringe-mode, set-fringe-style): Use it.
3023 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3024
a9dd5754
CY
3025 * files.el (set-auto-mode): Fix invalid setq call.
3026
7c2dc8bd
SM
30272012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3028
3029 * isearch.el: Misc simplification; use defstruct.
3030 (isearch-mode-map): Dense maps now work like sparse ones.
3031 (isearch--state): New defstruct.
3032 (isearch-string-state, isearch-message-state, isearch-point-state)
3033 (isearch-success-state, isearch-forward-state)
3034 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3035 (isearch-wrapped-state, isearch-barrier-state)
3036 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3037 replaced by defstruct's accessors.
3038 (isearch--set-state): Rename from isearch-top-state and change
3039 calling convention.
3040 (isearch-push-state): Use new isearch--get-state.
3041 (isearch-toggle-word): Disable regexp when enabling word.
3042 (isearch-message-prefix): Remove unused arg _c-q-hack.
3043 (isearch-message-suffix): Remove unused arg _ellipsis.
3044
7fcc0070
AS
30452012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3046
3047 * simple.el (list-processes--refresh): For a server use :host or
3048 :local as the address.
97ad0769 3049 (list-processes): Doc fix.
7fcc0070 3050
a11035b8 30512012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
3052
3053 * lisp/mpc.el: Support password in host argument.
3054 (mpc--proc-connect): Parse and use new password element.
3055 Set mpc-proc variable instead of returning process.
3056 (mpc-proc): Adjust accordingly.
3057
6dad7178
EZ
30582012-08-03 Eli Zaretskii <eliz@gnu.org>
3059
18949c2f
EZ
3060 * whitespace.el (whitespace-display-mappings): Use Unicode
3061 codepoints, instead of emacs-mule codepoints. See
3062 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3063 for the details.
3064
6dad7178
EZ
3065 * files.el (file-truename): Don't skip symlink-chasing part on
3066 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
3067 Windows into the loop that recursively chases symlinks.
3068 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
3069 MS-DOS.
3070
385b0198
CY
30712012-08-03 Chong Yidong <cyd@gnu.org>
3072
6200f3c4
CY
3073 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3074
385b0198
CY
3075 * sort.el (sort-regexp-fields): Doc fix.
3076
b9e74744
TH
30772012-08-03 Tassilo Horn <tsdh@gnu.org>
3078
3079 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3080 labels regex position point at the expected place.
3081
41013cb4
MK
30822012-08-03 MON KEY <monkey@sandpframing.com>
3083
3084 * net/imap.el (imap-interactive-login, imap-authenticate)
3085 (imap-mailbox-lsub, imap-mailbox-list)
3086 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3087 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3088 (imap-parse-response): Doc fix.
3089
0ffee616
JT
30902012-08-03 João Távora <joaotavora@gmail.com>
3091
3092 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3093 if sexp scanning does not move point (Bug#5734).
3094
cfcc9cc8
TH
30952012-08-02 Tassilo Horn <tsdh@gnu.org>
3096
3097 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3098 Add listings, minted, and ctable packages.
3099 (reftex-label-alist-builtin): Move listings, minted, and ctable
3100 entries before LaTeX.
a01bbb84 3101 (reftex-label-alist): Docfix.
cfcc9cc8 3102
66ec2442
BG
31032012-08-02 Bastien Guerry <bzg@gnu.org>
3104
3105 * replace.el (occur): Fix docstring (bug#12122).
3106
837b365b
GM
31072012-08-02 Glenn Morris <rgm@gnu.org>
3108
3109 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3110
e098de97
PE
31112012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3112
3113 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3114 * international/mule-cmds.el: Create
3115 inactivate-current-input-method-function as an obsolete alias for
3116 deactivate-current-input-method-function. See Katsumi Yamaoka in
3117 <http://bugs.gnu.org/10150#46>.
3118
a0f95636
JB
31192012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3120
3121 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3122 of nested `if's.
3123
0d26d7c4
GM
31242012-08-01 Glenn Morris <rgm@gnu.org>
3125
3126 * progmodes/autoconf.el (autoconf-definition-regexp):
3127 Add AH_TEMPLATE, adjust submatch numbering.
3128 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3129 (autoconf-current-defun-function): Update for above change.
3130 (autoconf-current-defun-function): First skip to end of current word.
3131
b686ba06
RS
31322012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3133
3134 * calendar/cal-html.el (cal-html-insert-agenda-days):
3135 Fix typo. (Bug#12018)
3136
0d49da68
FEG
31372012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3138
3139 Shell processes: enhancements to startup and CEDET compatibility.
3140 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3141 (python-shell-make-comint): accept-process-output at startup.
3142 (run-python-internal): Set inferior-python-mode-hook to nil.
3143 (python-shell-internal-get-or-create-process): call sit-for.
3144 (python-preoutput-result): Add obsolete alias.
3145 (python-shell-internal-send-string): Use it.
3146 (python-shell-send-setup-code): Remove call to
3147 accept-process-output.
3148
f1a71c6e
AS
31492012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3150
3151 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3152 (Bug#12108)
3153
d2605269
JB
31542012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3155
3156 * calc-mode.el (calc-basic-simplification-mode): Rename from
3157 `calc-limited-simplification-mode'.
3158 (calc-alg-simplification-mode): New function.
fc0c31f8 3159 (calc-set-simplify-mode): Adjust message.
f1a71c6e 3160
d2605269
JB
3161 * calc.el (calc-set-mode-line): Adjust mode line display for
3162 basic simplification mode.
3163
3164 * calc-help.el (calc-m-prefix-help): Update help message.
3165
3166 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3167 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3168
a3827a43
BG
31692012-07-31 Bastien Guerry <bzg@gnu.org>
3170
3171 * man.el (man): Fix comment. (bug#12101)
3172
502e3f89
MR
31732012-07-31 Martin Rudalics <rudalics@gmx.at>
3174
3175 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3176 Don't return a non-nil value when no suitable buffer was found.
3177
d7714961
FEG
31782012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3179
3180 * progmodes/python.el (run-python-internal): Disable font lock for
3181 internal shells.
3182
1f45e27e
SM
31832012-07-30 Stefan Merten <smerten@oekonux.de>
3184
70efc5c9 3185 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
3186 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3187 (rst-official-version, rst-official-cvs-rev)
3188 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3189 (rst-mode-map): New key binding.
3190
0aee6912
PE
31912012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3192
3193 Update .PHONY listings in makefiles.
3194 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3195 autoloads, update-subdirs, updates, bzr-update, update-authors,
3196 compile-onefile, compile-calc, backup-compiled-files,
3197 compile-after-backup, compile-one-process, mh-autoloads,
3198 bootstrap-clean, distclean, maintainer-clean.
3199
9052f9f0
JB
32002012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3201
1823ac5a
JB
3202 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3203 (calc-set-mode-line): Don't display "AlgSimp ".
3204
3205 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3206 (calc-lim-simplify-mode): New function.
3207 (calc-set-simplify-mode): Default to 'alg.
3208 (calc-default-simplify-mode): Make algebraic simplifications
3209 the default.
3210
3211 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3212 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3213
8d7c7eed 3214 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
3215 indicate new simplification modes.
3216
1823ac5a
JB
3217 * calc/README: Mention new default simplification mode.
3218
9052f9f0
JB
3219 * calc/calc.el (math-normalize-error): New variable.
3220 (math-normalize): Set `math-normalize-error' to t
3221 when there's an error.
3222
3223 * calc/calc-alg.el (math-simplify): Don't simplify when
3224 `math-normalize' returns an error.
3225
20ba0cb4
EZ
32262012-07-29 Eli Zaretskii <eliz@gnu.org>
3227
3228 * international/mule-cmds.el (set-locale-environment): Revert last
3229 change, since display-graphic-p returns nil when this function is
3230 called during startup. Instead...
3231
3232 * term/w32console.el (terminal-init-w32console): ...setup the
3233 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3234
a5dcc929
JL
32352012-07-29 Juri Linkov <juri@jurta.org>
3236
3237 * simple.el (goto-line): Don't display default line number in the
3238 prompt because it should be displayed by `read-number' (bug#9952).
3239 Add the current line number to the defaults of `goto-line' to
3240 allow its easier modification by users with `M-n' (bug#9201).
3241
3242 * subr.el (read-number): Support multiple default values like in
3243 other minibuffer reading functions. Replace `read' with
3244 `string-to-number' for consistency with `number-to-string'.
3245
72b255c7
PE
32462012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3247
3248 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3249 * emulation/viper-init.el (viper-deactivate-input-method-action):
3250 Rename from viper-inactivate-input-method-action.
3251 (viper-deactivate-input-method):
3252 Rename from viper-inactivate-input-method.
3253 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3254 * international/mule-cmds.el (deactivate-input-method):
3255 Rename from inactivate-input-method.
3256 Also run input-method-deactivate-hook.
3257 (deactivate-current-input-method-function):
3258 Rename from inactivate-current-input-method-function.
3259 (input-method-deactivate-hook): New hook.
3260 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
3261 (inactivate-input-method): Mark obsolete.
3262
72b255c7
PE
3263 * international/quail.el (quail-activate):
3264 Also run quail-deactivate-hook.
3265 (quail-deactivate): Rename from quail-inactivate.
3266 * international/robin.el (robin-activate):
3267 Also run robin-deactivate-hook.
3268 (robin-deactivate): Rename from robin-inactivate.
3269
2549c068
CY
32702012-07-29 Chong Yidong <cyd@gnu.org>
3271
3272 * simple.el (indicate-copied-region): New function.
3273 (kill-ring-save): Split off from here.
3274
3275 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3276 (kill-rectangle): Set deactivate-mark to t on read-only error.
3277
3278 * register.el (copy-to-register, copy-rectangle-to-register):
3279 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
3280 (append-to-register, prepend-to-register): Call indicate-copied-region.
3281
32822012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
3283
3284 * simple.el (async-shell-command-buffer): New defcustom.
3285 (shell-command): Use it. (Bug#4719)
3286
01bd1b0d
EZ
32872012-07-28 Eli Zaretskii <eliz@gnu.org>
3288
3289 * international/mule-cmds.el (set-locale-environment): In a
3290 console session on MS-Windows, set up keyboard and terminal
3291 encoding from the OEM codepage, not the ANSI codepage.
3292 (Bug#12055)
3293
a55739d3
CY
32942012-07-28 Chong Yidong <cyd@gnu.org>
3295
3296 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3297 gdb-get-location.
3298
0e1a094f 32992012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
3300
3301 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3302 the alist (bug#12029).
3303
20329d73
EZ
33042012-07-28 Eli Zaretskii <eliz@gnu.org>
3305
3306 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3307 (compile-always, compile-first)
3308 ($(lisp)/calendar/cal-loaddefs.el)
3309 ($(lisp)/calendar/diary-loaddefs.el)
3310 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3311 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3312 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3313 instead of on update-subdirs.
3314 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3315
345a2258
CY
33162012-07-28 Chong Yidong <cyd@gnu.org>
3317
1eee6341
CY
3318 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3319 directory if vc-deduce-backend returns nil (Bug#7350).
3320
345a2258
CY
3321 * simple.el (delete-trailing-lines): New option.
3322 (delete-trailing-whitespace): Obey it (Bug#11879).
3323
049a0936
DE
33242012-07-28 David Engster <deng@randomsample.de>
3325
3326 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3327 Explanation of new 'symbol-qnames feature in doc-strings.
3328 (xml-maybe-do-ns): Return expanded names as plain symbols if
3329 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3330 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3331
aa81af71
FEG
33322012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3333
3334 Consistent completion in inferior python with emacs -nw.
3335 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3336 binding in inferior-python-mode-map with "\t".
3337 (python-shell-completion-complete-at-point)
3338 (python-completion-complete-at-point): Remove interactive spec.
3339
e827b1eb
JB
33402012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3341
3342 * calc/calccomp.el (math-compose-expr): Undo previous change.
3343
a90dfb95
FEG
33442012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3345
4250fdf5 3346 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
3347 run-python.
3348 (python-shell-make-comint): Fix pop-to-buffer call.
3349 (run-python): Autoload. New arg SHOW.
3350 (python-shell-get-or-create-process): Do not pop python process
3351 buffer.
3352
32770973 33532012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
3354
3355 * notifications.el (notifications-on-action-signal)
3356 (notifications-on-closed-signal): Use also the bus address for the map.
3357 (notifications-notify, notifications-close-notification)
fc0c31f8 3358 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 3359
86332df2
TH
33602012-07-27 Tassilo Horn <tsdh@gnu.org>
3361
4250fdf5
SM
3362 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3363 Add support for the lstlisting and minted environments, and for the
86332df2
TH
3364 ctable macro.
3365 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3366 labels written in keyvals syntax.
3367
ca1302a4
JB
33682012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3369
3370 * calc/calccomp.el (math-compose-expr): Use parentheses when
3371 there is a product in the denominator of a fraction.
3372
f8b91036
EZ
33732012-07-26 Eli Zaretskii <eliz@gnu.org>
3374
3375 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3376 ($(lisp)/calendar/diary-loaddefs.el)
3377 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
3378 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3379 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
3380 rewritten while the autoload files are built at the same time,
3381 which needs to load subdirs.el.
3382
c8e5a42c
MR
33832012-07-26 Martin Rudalics <rudalics@gmx.at>
3384
3385 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3386 (mouse-drag-line): Don't exit tracking when a switch-frame or
3387 switch-window event occurs (Bug#12006).
3388
670d85ea
SM
33892012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3390
3391 * mouse.el (popup-menu): Fix last change.
3392
7abaf5cc
SM
33932012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3394
3395 Autoload from Lisp with more care. Follow aliases when looking for
3396 function properties.
3397 * subr.el (autoloadp): New function.
3398 (symbol-file): Use it.
3399 (function-get): New function.
3400 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3401 autoload-do-load.
3402 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3403 (lisp-indent-function):
3404 * emacs-lisp/gv.el (gv-get):
3405 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3406 * emacs-lisp/byte-opt.el (byte-optimize-form):
3407 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3408 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3409 Use function-get.
3410 * emacs-lisp/cl.el: Don't propagate function properties any more.
3411
3412 * speedbar.el (speedbar-add-localized-speedbar-support):
3413 * emacs-lisp/disass.el (disassemble-internal):
3414 * desktop.el (desktop-load-file):
3415 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3416 (describe-function-1):
3417 * emacs-lisp/find-func.el (find-function-noselect):
3418 * emacs-lisp/elp.el (elp-instrument-function):
3419 * emacs-lisp/advice.el (ad-has-proper-definition):
3420 * apropos.el (apropos-safe-documentation, apropos-macrop):
3421 * emacs-lisp/debug.el (debug-on-entry):
3422 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3423 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3424 * calc/calc.el (name): Use autoloadp & autoload-do-load.
3425
b1364986
AA
34262012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
3427
3428 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3429 function, not an obsolete variable (Bug#12046).
3430
67ada220
AS
34312012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3432
3433 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
3434
f08088e3
CS
34352012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
3436
3437 * emacs-lisp/pp.el (pp-display-expression): Select old selected
3438 window only if it is still live (Bug#12034).
3439
8137e7b3
MR
34402012-07-25 Martin Rudalics <rudalics@gmx.at>
3441
3442 * subr.el (redirect-frame-focus): Add advertised calling
3443 convention (Bug#12030).
3444
09ae5da1
PE
34452012-07-25 Paul Eggert <eggert@cs.ucla.edu>
3446
3447 Prefer typical American spelling for "acknowledgment".
3448 * vc/add-log.el (change-log-acknowledgment): Rename from
3449 change-log-acknowledgement, with an alias for the old name.
3450
3cc5a3a8
JB
34512012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
3452
3453 * calc-alg.el (math-simplify-divide): Don't cross multiply
3454 in an equation when the lhs is a variable.
3455
b7af7f62
JD
34562012-07-24 Julien Danjou <julien@danjou.info>
3457
3458 * net/netrc.el (netrc-find-service-number, netrc-store-data):
3459 Remove, unused.
3460
ec1b09b1
EZ
34612012-07-23 Eli Zaretskii <eliz@gnu.org>
3462
3463 * startup.el (command-line): Don't display an empty user name in
3464 the error message about non-existent home directory, when
3465 init-file-user was set to an empty string. See
3466 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3467 for the details and context.
3468
b525fd8a
VB
34692012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
3470
3471 * ses.el (ses-cell-formula-aset): New macro.
3472 (ses-cell-references-aset): New macro.
3473 (ses-cell-p): New function.
3474 (ses-rename-cell): Do no longer rely on complex operations like
3475 ses-cell-set-formula or ses-set-cell to change the cell and handle
3476 the undo at the same time, but rather use lower level new macros
3477 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 3478 the undo directly. Refresh the mode line.
b525fd8a 3479
2c73e345
LL
34802012-07-21 Leo Liu <sdl.web@gmail.com>
3481
670d85ea
SM
3482 * progmodes/cc-cmds.el (c-defun-name):
3483 Use match-string-no-properties instead for consistency.
2c73e345 3484
542dfbde
LL
34852012-07-20 Leo Liu <sdl.web@gmail.com>
3486
3646bcd6
LL
3487 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3488 (Bug#7879)
3489
542dfbde
LL
3490 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3491
25721031
CY
34922012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3493
3494 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3495 * progmodes/bug-reference.el, misearch.el: Provide themselves
3496 (bug#11915).
3497
3498 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3499 of narrowed buffer (bug#11966).
3500
316e68a7
VB
35012012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
3502
3503 * ses.el (ses-rename-cell): Set new name also in reference list of
3504 cells of which the renamed cell depends.
3505
bbf0e7d9
MY
35062012-07-20 Masatake YAMATO <yamato@redhat.com>
3507
3508 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3509 to check whether menu-bar is shown or not. If not shown,
3510 show the menu-bar as a popup menu instead of using tmm.
3511 * mouse.el (popup-menu): Accept `point' as `position' argument.
3512
c28662a8
DG
35132012-07-20 Dmitry Gutov <dgutov@yandex.ru>
3514
3515 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
3516 up inside string symbol literal (bug#11923).
3517
87ab808f
EZ
35182012-07-20 Eli Zaretskii <eliz@gnu.org>
3519
3520 * startup.el (fancy-startup-text): Read the whole tutorial, not
3521 just its first 256 bytes. Prevents gibberish in display of the
3522 tutorial title.
3523
89dea803
DA
35242012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
3525
3526 Drop idle buffer compaction due to an absence of the
3527 proved efficiency.
3528 * compact.el: Remove.
3529
8a4e6db8
SS
35302012-07-19 Sam Steingold <sds@gnu.org>
3531
3532 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
3533 vc-bzr-pull & vc-bzr-merge-branch.
3534 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
3535 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
3536 for consistency with compilation-error-regexp-alist.
3537 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
3538 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
3539 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
3540 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
3541
5db81e33
SM
35422012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3543
3544 * emacs-lisp/chart.el: Use lexical-binding.
3545 (chart-emacs-storage): Don't hardcode the list of entries.
3546
5b835e1d
DA
35472012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3548
3549 Next round of tweaks caused by Fgarbage_collect changes.
3550 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
3551
9cd47b72
DA
35522012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3553
3554 Compact buffers when idle.
3555 * compact.el: New file.
3556
1d6fc0df
SM
35572012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3558
3559 * subr.el (eventp): Presume that if it looks vaguely like an event,
3560 it's an event (bug#10190).
3561
1d29cc7d
FEG
35622012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
3563
3564 Enhancements to ppss related code (thanks Stefan).
3565 * progmodes/python.el (python-indent-context)
3566 (python-indent-calculate-indentation, python-indent-dedent-line)
3567 (python-indent-electric-colon, python-nav-forward-block)
3568 (python-mode-abbrev-table)
1d6fc0df 3569 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
3570 for ppss context.
3571 (python-info-continuation-line-p): Cleanup.
3572 (python-info-ppss-context): Do not catch 'quote.
3573 (python-info-ppss-context-type)
3574 (python-info-ppss-comment-or-string-p): Simplify.
3575
d583cbe6
FEG
35762012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
3577
3578 * progmodes/python.el: Enhancements to eldoc support.
3579 (python-info-current-symbol): New function.
3580 (python-eldoc-at-point): Use python-info-current-symbol.
3581 (python-info-current-defun): Fix cornercase on first defun scan.
3582 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
3583 and signal error when no inferior python process is available.
3584
eceb6feb
DG
35852012-07-18 Dmitry Gutov <dgutov@yandex.ru>
3586
3587 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
3588 assume it's always t.
3589 (vc-git-registered): Remove caching, the function is only called
3590 once.
3591 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
3592
4c8ff0fe
CY
35932012-07-18 Chong Yidong <cyd@gnu.org>
3594
19fb7186
CY
3595 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
3596
9587c688
CY
3597 * simple.el (count-words): Report on narrowing (Bug#9959).
3598
0fe776a1
CY
3599 * bindings.el: Bind M-= to count-words.
3600
4c8ff0fe
CY
3601 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
3602
7f5331cc
MY
36032012-07-18 Masatake YAMATO <yamato@redhat.com>
3604
3605 * progmodes/sh-script.el (sh-imenu-generic-expression):
3606 Capture a function with `function' keyword and without parentheses
3607 like "function FOO" (bug#11856).
3608
2dc2a609
TH
36092012-07-18 Tassilo Horn <tassilo@member.fsf.org>
3610
3611 * window.el (split-window-sensibly): Make WINDOW argument
3612 optional.
3613
439f7677
CY
36142012-07-18 Chong Yidong <cyd@gnu.org>
3615
9aeb25a6
CY
3616 * subr.el (keyboard-translate): Doc fix (Bug#7261).
3617
439f7677
CY
3618 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
3619 and make C-x 8 RET exit isearch (Bug#11439).
3620
3621 * international/iso-transl.el: Move isearch-mode-map key
3622 definitions to isearch.el.
3623
12999ea8
SM
36242012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
3625
3626 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
3627 (eieio-defclass): Use gv-define-setter when possible.
3628
3ab6e069
DA
36292012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
3630
3631 Reflect recent changes in Fgarbage_collect.
3632 * emacs-lisp/chart.el (chart-emacs-storage): Change to
3633 reflect new format of data returned by Fgarbage_collect.
3634
0a60bc10
FEG
36352012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3636
3637 New utility functions + python-info-ppss-context fix (Bug#11910).
3638 * progmodes/python.el (python-info-beginning-of-block-statement-p)
3639 (python-info-ppss-comment-or-string-p): New functions.
3640 (python-info-ppss-context): Small fix for string check.
3641
6dafa0d5
JL
36422012-07-17 Juri Linkov <juri@jurta.org>
3643
3644 * dired-aux.el (dired-do-async-shell-command): Doc fix.
3645 (dired-do-async-shell-command): Don't add `*' at the end of the
3646 command (Bug#11815).
3647 (dired-do-shell-command): Doc fix.
3648 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
3649 Join the individual commands using either "&" or ";" as the
3650 separator depending on the values of these trailing characters.
3651 At the end re-add the trailing "&". (Bug#10598)
3652
3653 * simple.el (async-shell-command): Sync the interactive spec with
3654 `shell-command'. Doc fix.
3655 (shell-command): Doc fix.
3656
b19dd9d1
JL
36572012-07-17 Juri Linkov <juri@jurta.org>
3658
3659 * descr-text.el (describe-char): Fix format args. (Bug#10129)
3660
bcdc27d7 36612012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 3662
bcdc27d7 3663 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
3664 * progmodes/python.el (python-nav-beginning-of-statement):
3665 Rename from python-nav-statement-start.
bcdc27d7
FEG
3666 (python-nav-end-of-statement): Rename from
3667 python-nav-statement-end.
3668 (python-nav-beginning-of-block): Rename from
3669 python-nav-block-start.
3670 (python-nav-end-of-block): Rename from python-nav-block-end.
3671
191da00e
FEG
36722012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3673
7f5331cc
MY
3674 * progmodes/python.el (python-shell-send-string-no-output):
3675 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
3676 future interactions (Bug#11868).
3677
4dc7c8d5 36782012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 3679
88ecaf8f
SM
3680 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
3681
ef501ef0
SM
3682 * emacs-lisp/elint.el (elint-find-args-in-code):
3683 Use help-function-arglist, so as to handle lexical byte-code.
3684
aa7aaf8f
SM
3685 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
3686 change (bug#11826).
3687
45fd731c
SM
36882012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3689
2143fa32
SM
3690 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
3691 Avoid spuriously marking the buffer as modified because of c-is-sws.
3692
efc26dbe
SM
3693 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
3694 as not-a-comment (bug#11946).
3695
f5695c9a
SM
3696 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
3697 for uninterned vars.
3698
3699 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
3700 Use read-event since we don't really want to read chars but bytes.
3701
45fd731c
SM
3702 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
3703 $$..$$ but also $..$ using regexps (bug#11953).
3704 Use tex-verbatim for \url and \path.
3705 (tex-font-lock-keywords): Define as defconst like the others.
3706 (tex-common-initialization): Don't use font-lock-syntax-table any more.
3707
ddfc8813
RK
37082012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
3709
3710 * international/mule-cmds.el (ucs-insert): Make it an obsolete
3711 alias for insert-char.
3712
758e556a
FEG
37132012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3714
3715 * progmodes/python.el: Simplified imenu implementation.
3716 (python-nav-jump-to-defun): Remove command.
3717 (python-mode-map): Use `imenu' instead.
3718 (python-nav-list-defun-positions-cache)
3719 (python-imenu-include-defun-type, python-imenu-make-tree)
3720 (python-imenu-subtree-root-label, python-imenu-index-alist):
3721 Remove vars.
3722 (python-nav-list-defun-positions, python-nav-read-defun)
3723 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
3724 (python-imenu-make-tree, python-imenu-create-index):
3725 Remove functions.
758e556a
FEG
3726 (python-mode): Update to interact with imenu by setting
3727 `imenu-extract-index-name-function' only.
3728
032d23ab
FEG
37292012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3730
3731 * progmodes/python.el: Enhancements to navigation commands.
3732 (python-nav-backward-sentence)
3733 (python-nav-forward-sentence): Remove.
3734 (python-nav-backward-statement, python-nav-forward-statement)
3735 (python-nav-statement-start, python-nav-statement-end)
3736 (python-nav-backward-block, python-nav-forward-block)
3737 (python-nav-block-start, python-nav-block-end)
3738 (python-nav-forward-sexp-function)
3739 (python-info-current-line-comment-p)
3740 (python-info-current-line-empty-p): New functions.
3741 (python-indent-context): Use `python-nav-statement-start'.
3742
01795a1b
MA
37432012-07-16 Michael Albinus <michael.albinus@gmx.de>
3744
9328d9aa
MA
3745 * eshell/em-ls.el (eshell/ls): Use `apply'.
3746
3747 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
3748 multi-hops, instead of Tramp internals.
3749
01795a1b
MA
3750 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
3751
3752 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
3753 when F1 and F2 are located on different hosts.
3754
63408057
CY
37552012-07-14 Chong Yidong <cyd@gnu.org>
3756
3757 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
3758 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
3759 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
3760 (xterm-mouse--read-event-sequence-1000)
3761 (xterm-mouse--read-event-sequence-1006): New functions. For old
3762 mouse protocol, handle M-mouse-X events correctly.
3763 (xterm-mouse-event): New arg specifying mouse protocol.
3764 (turn-on-xterm-mouse-tracking-on-terminal)
3765 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
3766 sequence to toggle extended coordinates on newer XTerms.
3767 This appears to be harmless on terminals which do not support this.
63408057 3768
cd276f6e
LL
37692012-07-14 Leo Liu <sdl.web@gmail.com>
3770
28ca98ac
LL
3771 Add fringe bitmap indicators for flymake. (Bug#11253)
3772 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
3773 (flymake-make-overlay): New arg BITMAP.
3774 (flymake-error-bitmap, flymake-warning-bitmap)
3775 (flymake-fringe-indicator-position): New user variables.
3776
cd276f6e
LL
3777 * fringe.el: New bitmap exclamation-mark.
3778
04408072
JD
37792012-07-14 Jan Djärv <jan.h.d@swipnet.se>
3780
3781 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
3782 also (Bug#7879).
3783
b5cf7fc4
CY
37842012-07-14 Chong Yidong <cyd@gnu.org>
3785
3786 * electric.el (electric-pair-post-self-insert-function): Fix pair
3787 insertion in empty-region case (Bug#11520).
3788
be755c79
RT
37892012-07-14 Chong Yidong <cyd@gnu.org>
3790
45fd731c
SM
3791 * bindings.el: Consolidate ctl-x-r-map bindings.
3792 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
3793
3794 * rect.el, register.el: Move bindings to bindings.el.
3795
37962012-07-14 Reuben Thomas <rrt@sc3d.org>
3797
3798 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
3799
7f5b3198
AS
38002012-07-13 Andreas Schwab <schwab@linux-m68k.org>
3801
3802 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
3803
97662200
JB
38042012-07-13 Juanma Barranquero <lekktu@gmail.com>
3805
80185fed
JB
3806 * bindings.el (top): Use `mapc' instead of `mapcar'.
3807
97662200
JB
3808 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
3809
2bb1ae55
MA
38102012-07-13 Michael Albinus <michael.albinus@gmx.de>
3811
3812 * progmodes/sql.el (sql-comint): Suppress the check for program on
3813 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
3814 (Bug#11908)
3815
dea31bd3
CY
38162012-07-13 Chong Yidong <cyd@gnu.org>
3817
3818 * bindings.el: Assign a non-nil permanent-local property to
3819 per-buffer variables which lack a default value (Bug#11930).
3820
3821 * help-fns.el (describe-variable): In the "automatically becomes
3822 local" notice, take note of permanent-local variables.
3823
b68b3337
CY
38242012-07-13 Chong Yidong <cyd@gnu.org>
3825
3826 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
3827 to allow printing the message when called from Lisp.
3828
3829 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3830 Remove toggle-read-only.
3831
3832 * bs.el (bs-toggle-readonly):
45fd731c
SM
3833 * buff-menu.el (Buffer-menu-toggle-read-only):
3834 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
3835
3836 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
3837 Remove with-no-warnings around toggle-read-only.
3838 (ffap-read-only, ffap-read-only-other-window)
3839 (ffap-read-only-other-frame): Callers changed.
3840
3841 * help-mode.el: Don't require view package.
3842 (help-mode-finish): Set buffer-read-only instead of calling
3843 toggle-read-only.
3844
3845 * bindings.el (mode-line-toggle-read-only):
3846 * dired.el (dired-toggle-read-only):
3847 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
3848 with non-nil second arg.
3849
3850 * emacs-lisp/eieio-custom.el (eieio-customize-object):
3851 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
3852 directly.
3853
56bc1586
EZ
38542012-07-12 Eli Zaretskii <eliz@gnu.org>
3855
3856 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
3857 not incf.
3858
a464a6c7
SM
38592012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
3860
3861 More CL cleanups and reduction of use of cl.el.
3862 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
3863 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
3864 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
3865 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
3866 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
3867 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
3868 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
3869 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
3870 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
3871 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
3872 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
3873 * eshell/em-cmpl.el, eshell/em-banner.el:
3874 * calendar/parse-time.el: Use cl-lib.
3875 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
3876 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
3877 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
3878 * term/ns-win.el, term.el, shell.el, ps-samp.el:
3879 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
3880 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
3881 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
3882 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
3883 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
3884 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
3885 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
3886 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
3887 `lambda' rather than with `quote'.
3888 (eshell-do-opt): Adjust accordingly.
3889 (eshell-process-option): Simplify.
3890 * eshell/esh-var.el:
3891 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
3892 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
3893 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
3894 to `pcase--dontcare'.
3895 * emacs-lisp/cl.el (labels): Mark obsolete.
3896 (cl--letf, letf): Move to cl-lib.
3897 (cl--letf*, letf*): Remove.
3898 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
3899 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
3900 (cl-progv): Rewrite.
3901 (cl--letf, cl-letf): Move from cl.el.
3902 (cl-letf*): New macro.
3903 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
3904
7ad4afe1
MA
39052012-07-11 Michael Albinus <michael.albinus@gmx.de>
3906
3907 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
3908
9af57756
CY
39092012-07-11 Chong Yidong <cyd@gnu.org>
3910
3911 * vc/log-edit.el (log-edit-vc-backend): New variable.
3912 (log-edit): Doc fix.
3913
3914 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
3915 argument of log-edit to set up all local variables.
3916 (vc-start-logentry): New optional arg specifying VC backend.
3917
3918 * vc/vc.el (vc-checkin): Use it.
3919 (vc-deduce-fileset): Handle Log Edit buffers.
3920 (vc-diff): Make first argument optional too.
3921
3922 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
3923
8477cc7a
MA
39242012-07-10 Michael Albinus <michael.albinus@gmx.de>
3925
3926 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
3927 command, just in case. The function is not needed anymore.
3928 (eshell-external-command): Do not call `eshell-remote-command'.
3929
19faa8e8
SM
39302012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
3931
f58e0fd5
SM
3932 Reduce use of (require 'cl).
3933 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
3934 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
3935 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
3936 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
3937 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
3938 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
3939 * battery.el, avoid.el, abbrev.el: Use cl-lib.
3940 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
3941 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
3942 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
3943 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
3944 * calculator.el, autorevert.el, apropos.el: Don't require CL.
3945 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
3946 (byte-compile-unfold-bcf, byte-compile-check-variable):
3947 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
3948 (byte-compile-nilconstp):
3949 * emacs-lisp/autoload.el (make-autoload): Use pcase.
3950 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
3951
2519d43a
SM
3952 * emacs-lisp/gv.el (cond): Make it a valid place.
3953 (if): Simplify slightly.
3954
19faa8e8
SM
3955 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
3956 (pcase--self-quoting-p): New function.
3957 (pcase--u1): Use it.
3958
c4907a5e
GM
39592012-07-10 Glenn Morris <rgm@gnu.org>
3960
3961 * emacs-lisp/authors.el (authors-fixed-entries):
3962 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
3963
c4444d16
PE
39642012-07-09 Paul Eggert <eggert@cs.ucla.edu>
3965
3966 Rename configure.in to configure.ac (Bug#11603).
3967 * emacs-lisp/authors.el (authors-canonical-file-name):
3968 * progmodes/autoconf.el (autoconf-mode):
3969 Prefer configure.ac to configure.in.
3970
d75be97d
CY
39712012-07-08 Chong Yidong <cyd@gnu.org>
3972
01ac65bd
CY
3973 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
3974 Implement the mouse-1-click-follows-link handling properly.
3975
3976 * info.el (Info-link-keymap): Use follow-link mechanism for
3977 header-line links (Bug#374).
3978
d75be97d
CY
3979 * simple.el (deactivate-mark): Do not set the primary selection
3980 if another program has acquired it (Bug#11772).
3981
87a92845 39822012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
3983
3984 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
3985 (woman-decode-region): Replace escaped-escapes without destroying
3986 bold or underline (Bug#11552).
87a92845 3987 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 3988
621b9d6c
CY
39892012-07-07 Chong Yidong <cyd@gnu.org>
3990
3991 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
3992 (interprogram-cut-function, interprogram-paste-function):
3993 Mention that we typically mean the clipboard.
621b9d6c 3994
133a11fc
GM
39952012-07-06 Glenn Morris <rgm@gnu.org>
3996
0d27a45e
GM
3997 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
3998
133a11fc
GM
3999 * files.el (toggle-read-only): Restrict message to interactive use.
4000
07b151f1
MA
40012012-07-06 Michael Albinus <michael.albinus@gmx.de>
4002
4003 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4004
4005 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4006
211b896b
GM
40072012-07-06 Glenn Morris <rgm@gnu.org>
4008
50394322
GM
4009 * Makefile.in (compile-one-process): Rename from "recompile".
4010
211b896b
GM
4011 * Makefile.in (bzr-update): "compile" is the same as "recompile
4012 autoloads", but parallelizable, so use that instead.
4013
4737eec9
DG
40142012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4015
4016 * window.el (quit-window): Always restore window height when
8137e7b3 4017 it's saved in quit-restore parameter (Bug#11810).
4737eec9 4018
226c3633 40192012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
4020
4021 * simple.el (kill-whole-line): Doc tweak.
4022
226c3633 40232012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
4024
4025 * files.el (file-relative-name): Compare file names
4026 case-insensitively if on MS-Windows or MS-DOS, or if
4027 read-file-name-completion-ignore-case is non-nil. Don't use
4028 case-fold-search for this purpose. (Bug#11827)
4029
4dc7c8d5
SM
40302012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4031
4032 * calendar/cal-dst.el (calendar-current-time-zone):
4033 Return calendar-current-time-zone-cache if non-nil.
4034
40352012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 40362012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4037
19faa8e8
SM
4038 * calendar/cal-dst.el (calendar-current-time-zone):
4039 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4040
60198fc9
GM
40412012-07-06 Glenn Morris <rgm@gnu.org>
4042
4043 * Makefile.in (cvs-update): Remove old alias.
4044
957b3189
MA
40452012-07-05 Michael Albinus <michael.albinus@gmx.de>
4046
4047 Sync with Tramp 2.2.6-pre.
4048
4049 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4050 compatible declaration.
4051
19faa8e8
SM
4052 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4053 Protect `list-load-path-shadows' call.
957b3189
MA
4054
4055 * net/tramp-compat.el (top): Require packages, which aren't
4056 autoloaded anymore for XEmacs. Protect call of
4057 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4058 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4059 it hurts at least for SXEmacs.
4060 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4061 standard-value for `temporary-file-directory'.
4062
4063 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4064 Redirect stderr to /dev/null.
4065 (tramp-sh-handle-write-region): uid and gid can be floats.
4066 Reported by Russell Sim <russell.sim@gmail.com>.
4067 (tramp-sh-handle-vc-registered): Hide errors.
4068 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4069 and `start-file-process'.
4070 (tramp-maybe-open-connection): Check also whether `non-essential'
4071 is bound.
4072
566df3fc
CY
40732012-07-04 Chong Yidong <cyd@gnu.org>
4074
4075 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4076 (xml-parse-tag): Likewise, and avoid changing entity tables.
4077 (xml-syntax-table): Define from scratch, making sure not to give
4078 x2000 and other Unicode spaces whitespace syntax, since those are
4079 not spaces in XML.
4080 (xml-parse-fragment): Delete unused function.
4081 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4082 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4083 (xml-entity-ref, xml-pe-reference-re)
4084 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4085 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4086 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4087 (xml-entity-value-re): Use syntax references in regexps where
4088 possible; no need to define inside a let-binding.
4089 (xml-parse-dtd): Use xml-pe-reference-re.
4090 (xml-entity-or-char-ref-re): New defconst.
4091 (xml-parse-string, xml-substitute-special): Use it.
4092
30eabd7a
SM
40932012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4094
0781098a
SM
4095 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4096 (find-file--read-only): New function.
4097 (find-file-read-only, find-file-read-only-other-window)
4098 (find-file-read-only-other-frame): Use it.
4099 (insert-file-contents-literally): Don't `fset'.
4100 (get-free-disk-space): Use locate-dominating-file.
4101
b5771c0d
SM
4102 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4103 function is already compiled.
4104
30eabd7a
SM
4105 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4106
b4886f6e
MA
41072012-07-03 Michael Albinus <michael.albinus@gmx.de>
4108
4109 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4110 files on the same host.
4111
b9d82339
AS
41122012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4113
4114 * help-fns.el (describe-function-1): Only call
4115 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4116
a76e6535
CY
41172012-07-03 Chong Yidong <cyd@gnu.org>
4118
4119 * xml.el: Protect parser against XML bombs.
4120 (xml-entity-expansion-limit): New variable.
4121 (xml-parse-string, xml-substitute-special): Use it.
4122 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4123
b544fef2
GM
41242012-07-03 Glenn Morris <rgm@gnu.org>
4125
4126 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4127 Allow linking to specific messages in debbugs reports (eg 123#5).
4128
a7aef6f5
CY
41292012-07-02 Chong Yidong <cyd@gnu.org>
4130
4131 * xml.el: Fix entity and character reference expansion, allowing
4132 them to expand into markup as per XML spec.
4133 (xml-default-ns): New variable.
4134 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
4135 (xml-parse-region): Make first two arguments optional.
4136 Discard text properties.
4137 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4138 All callers changed.
a7aef6f5
CY
4139 (xml-parse-tag): Call xml-parse-tag-1. For backward
4140 compatibility, this function should not modify buffer contents.
4141 (xml-parse-tag-1): Fix opening-tag regexp.
4142 (xml-parse-string): Rewrite, handling entity and character
4143 references properly.
4144 (xml--entity-replacement-text): Signal an error if a parameter
4145 entity is undefined.
4146
3df31c9f
SM
41472012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4148
2b5208f1
SM
4149 * comint.el (comint-output-filter): Filter out repeated prompts.
4150
3df31c9f
SM
4151 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4152 and file-name-absolute-p.
4153 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4154 internal calls.
4155
e3ac1281
PE
41562012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4157
4158 Spelling fixes.
4159 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4160 Rename from byte-compile--refiy-function. All uses changed.
4161
fbf2e7ad
CY
41622012-07-01 Chong Yidong <cyd@gnu.org>
4163
4164 * xml.el (xml--parse-buffer): New function. Move most of
4165 xml-parse-region here.
4166 (xml-parse-region): Copy region into a temporary buffer, since
4167 parameter entity substitution requires changing buffer contents.
4168 Use xml--parse-buffer.
4169 (xml-parse-file): Use xml--parse-buffer.
4170 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 4171 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 4172
9bf0aa15
GM
41732012-06-30 Glenn Morris <rgm@gnu.org>
4174
bbce2853
GM
4175 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4176
9bf0aa15
GM
4177 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4178 Remove outdated and unnecessary dbus declarations.
4179
0d23c240
EZ
41802012-06-30 Eli Zaretskii <eliz@gnu.org>
4181
4182 * emacs-lisp/timer.el (timer-until): Subtract results of
4183 float-time, instead of taking float-time of the result of
4184 time-subtract, since float-time signals an error for negative time
4185 arguments.
4186
b3218de1
CY
41872012-06-30 Chong Yidong <cyd@gnu.org>
4188
4189 * xml.el (xml-*-re): Convert defvars into defconsts, and
4190 eval-and-compile them so eval-and-compile works on derivatives.
4191 (xml--entity-replacement-text): Use eval-and-comple.
4192
a40c87a0
MA
41932012-06-30 Michael Albinus <michael.albinus@gmx.de>
4194
4195 * vc/vc-git.el (vc-git-registered): Use cache property
4196 `git-registered'.
4197 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4198 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 4199 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 4200
ac87de97
DG
42012012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4202
4203 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 4204 removed (likely outside Emacs). (Bug#11757)
ac87de97 4205
ac10fe06
SM
42062012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4207
3df31c9f 4208 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 4209
7f3fbd5d
CY
42102012-06-30 Chong Yidong <cyd@gnu.org>
4211
4212 * xml.el: Implement XML parameter entities.
4213 (xml-parameter-entity-alist): New variable.
4214 (xml-parse-region, xml-parse-fragment): Preserve previous values
4215 of xml-entity-alist and xml-parameter-entity-alist, so that
4216 repeated calls on different documents do not change them.
4217 (xml-parse-tag): Fix doctype regexp.
4218 (xml--entity-replacement-text): New function.
4219 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4220 properly requires url retrieval which is unimplemented.
4221 (xml-escape-string): Doc fix.
4222
3cfbebba
SM
42232012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4224
4225 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4226
2af3565e
DA
42272012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4228
4229 * fringe.el (fringe-mode): Doc fix.
4230
929df0e7
MA
42312012-06-29 Michael Albinus <michael.albinus@gmx.de>
4232
4233 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4234 is non-nil.
4235 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4236 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4237
c8d3a25c 42382012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4239
c8d3a25c
GM
4240 * calendar/cal-dst.el (calendar-current-time-zone):
4241 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4242
c8d3a25c 42432012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
4244
4245 * progmodes/which-func.el (which-func-format):
4246 Add mouse-face. (Bug#11698)
4247
c8d3a25c
GM
42482012-06-29 Leo Liu <sdl.web@gmail.com>
4249
4250 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4251
42522012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4253
4254 * minibuffer.el (minibuffer-confirm-exit-commands):
4255 Add completion-at-point (bug#11725).
4256
42572012-06-29 Glenn Morris <rgm@gnu.org>
4258
4259 * progmodes/f90.el (f90-font-lock-keywords-2):
4260 Add some preprocessor elements. (Bug#10499)
4261
42622012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4263
4264 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4265 Use syntax-propertize (bug#11739).
4266
2badeec4
JB
42672012-06-28 Juanma Barranquero <lekktu@gmail.com>
4268
4269 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4270
ae4969c2
JD
42712012-06-28 Julien Danjou <julien@danjou.info>
4272
4273 * term.el (term-handle-colors-array): Use a set of new faces to
4274 color the terminal. Also uses :inverse-video property.
4275 (term-default-fg-color): Set to nil by default, deprecate in favor
4276 of `term-face'.
4277 (term-default-bg-color): Set to nil by default, deprecate in favor
4278 of `term-face'.
4279 (term-current-face): Use `term-face' by default.
4280 (term-bold-attribute): Variable deleted.
4281
1c9bd870
GM
42822012-06-28 Glenn Morris <rgm@gnu.org>
4283
4284 * simple.el (completion-list-mode-finish):
4285 Don't use toggle-read-only. (Since completion-list-mode has
4286 a special mode-class, it wasn't doing anything extra anyway.)
4287
c207708c
SM
42882012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4289
4290 Make inlining of other-mode interpreted functions work (bug#11799).
4291 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4292 (byte-compile): Use it to fix compilation of lexical-binding closures.
4293 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4294 function, if needed.
4295
3fd56834
SM
42962012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4297
04901786
SM
4298 * help-mode.el (help-make-xrefs): Don't just withstand
4299 cyclic-variable-indirection but any error in documentation-property.
4300
1ec4b7b2
SM
4301 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4302 memory use.
4303 * bindings.el (bindings--define-key): New function.
4304 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4305 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4306 * bindings.el: Use it to purecopy define-key bindings.
4307
e309e2a5
SM
4308 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4309
d5c6faf9
SM
4310 * emacs-lisp/cl.el (flet): Mark obsolete.
4311 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4312 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4313 * progmodes/js.el (js-c-fill-paragraph):
4314 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4315 (ebrowse-switch-member-buffer-to-derived-class):
4316 * play/5x5.el (5x5-solver): Use cl-flet.
4317
6e9590e2
SM
4318 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4319 (cl--symbol-function): New macro.
4320 (cl--letf, cl--letf*): Use it.
4321
3fd56834
SM
4322 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4323 Strip "toggle-" if any.
4324
35ff222c
GM
43252012-06-27 Glenn Morris <rgm@gnu.org>
4326
1ba6038a
GM
4327 * info.el (Info-default-directory-list): Move here from paths.el.
4328 * paths.el: Remove file, which is now empty.
4329 * loadup.el: No longer load "paths".
4330
0ea0e51b
GM
4331 * custom.el (custom-initialize-delay): Doc fix.
4332
35ff222c
GM
4333 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4334 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4335 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4336 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4337 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4338 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4339 * eshell/eshell.el (eshell-defgroup): Remove alias.
4340
c89926a5
CY
43412012-06-27 Chong Yidong <cyd@gnu.org>
4342
4343 * help.el (help-enable-auto-load): New variable.
4344
4345 * help-fns.el (help-fns--autoloaded-p): New function.
4346 (describe-function-1): Refer to a function as "autoloaded" if it
4347 was autoloaded at any time in the past. Perform autoloading if
4348 help-enable-auto-load is non-nil.
4349
cc06e7e7
EZ
43502012-06-26 Eli Zaretskii <eliz@gnu.org>
4351
4352 * makefile.w32-in (compile, compile-always): Depend on
4353 update-subdirs, not on subdirs.el. Otherwise, several different
4354 sub-targets of 'bootstrap' running in parallel could
4355 simultaneously write to subdirs.el, producing a garbled file.
4356
d2c32364
SS
43572012-06-26 Sam Steingold <sds@gnu.org>
4358
4359 * files.el (file-name-base): New convenience function.
0d14cc21
GM
4360 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4361 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4362 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4363 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4364 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
4365 * textmodes/tex-mode.el: Use it.
4366 Did not touch cedet and org because they are maintained elsewhere.
4367
5cf983b2
MR
43682012-06-26 Martin Rudalics <rudalics@gmx.at>
4369
4370 * calendar/calendar.el (calendar-exit): Don't try to delete or
4371 iconify last frame. See:
4372 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4373
8c4f2952
JD
43742012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
4375
4376 * server.el (server-process-filter): Remember dir in the
4377 process's `server-client-directory' properties.
4378
772b2e2c
CY
43792012-06-24 Chong Yidong <cyd@gnu.org>
4380
4381 * xml.el (xml-parse-tag): Correctly handle comment embedded in
4382 non-tag text.
4383
711b11e1
JB
43842012-06-23 Juanma Barranquero <lekktu@gmail.com>
4385
4386 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4387
dc5d230c
SM
43882012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4389
4390 * help-fns.el (describe-variable): Don't croak when doc is not found.
4391 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4392 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4393 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4394 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4395 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4396 ((lambda ..) ..).
4397 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4398
136e1c1d
CY
43992012-06-23 Chong Yidong <cyd@gnu.org>
4400
e8c1cabf
CY
4401 * info.el (Info-mouse-follow-link): Accept symbol values of
4402 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
4403 (Info-fontify-node): Use Info-link-keymap for all navigation
4404 buttons, with link-args property to perform the desired action.
4405 (Info-link-keymap): Doc fix.
4406 (Info-next-link-keymap, Info-prev-link-keymap)
4407 (Info-up-link-keymap): Delete now-unused keymaps.
4408
0e9e6c6a
CY
44092012-06-23 Chong Yidong <cyd@gnu.org>
4410
05e89fea
CY
4411 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4412
0e9e6c6a
CY
4413 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4414 system abbrevs.
4415
4416 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4417
e33c6771
SM
44182012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4419
b68581e2
SM
4420 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4421 (bug#11719).
4422
e33c6771
SM
4423 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4424 the requote function doesn't work properly (bug#11714).
4425
7117e105
GM
44262012-06-23 Glenn Morris <rgm@gnu.org>
4427
4428 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4429
36cec983
SM
44302012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4431
4432 Further GV/CL cleanups.
4433 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4434 gv-expander.
4435 (gv--defun-declaration): New function.
4436 (defun-declarations-alist): Use it.
4437 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4438 (gv-place): Autoload.
4439 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4440 original definition of dotimes and dolist.
4441 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4442 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4443 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4444 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4445 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4446 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4447 to the function's definition.
4448 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4449 * window.el:
4450 * files.el:
4451 * faces.el:
4452 * env.el: Don't use CL.
4453
d35af63c
PE
44542012-06-22 Paul Eggert <eggert@cs.ucla.edu>
4455
4456 Support higher-resolution time stamps (Bug#9000).
4457
4458 * calendar/time-date.el (with-decoded-time-value): New arg
4459 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
4460 (encode-time-value): New optional arg PICO. New type 3.
4461 (time-to-seconds) [!float-time]: Support the new picoseconds
4462 component if it's used.
4463 (seconds-to-time, time-subtract, time-add):
4464 Support ps-resolution time stamps as well.
4465
4466 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
4467 (timerp): Timer vectors now have length 9, not 8.
4468 (timer--time): Support new-style (4-part) time stamps.
4469 (timer-next-integral-multiple-of-time): Time stamps now have
4470 picosecond resolution, so take a bit more care about rounding.
4471 (timer-relative-time, timer-inc-time): New optional arg psecs.
4472 (timer-set-time-with-usecs): Set psecs to 0.
4473 (timer--activate): Check psecs component, too.
4474
4475 * proced.el (proced-time-lessp): Support ps-resolution stamps.
4476
ac77b21a
SM
44772012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4478
f143bfe3
SM
4479 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4480 Move the non-essential binding to the post/pre-command-hook where it is
4481 more obviously correct.
4482
ac77b21a
SM
4483 * subr.el (read-passwd): Don't use a history at all.
4484 * savehist.el (savehist-save): Remove password saved accidentally
4485 because of the above bug.
4486
76386c5a
BG
44872012-06-22 Bastien Guerry <bzg@gnu.org>
4488
4489 * files.el (toggle-read-only): Display a message telling whether
4490 the buffer is read-only or not (bug#11726).
4491
2ee3d7f0
SM
44922012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4493
4494 * emacs-lisp/gv.el: New file.
4495 * subr.el (push, pop): Extend to generalized variables.
4496 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4497 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4498 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
4499 gv-define-simple-setter, and gv-define-expander.
4500 Remove setf-methods defined in gv. Rename cl-setf -> setf.
4501 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4502 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4503 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
4504 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
4505 gv-letplace.
4506 (cl-defstruct): Don't define setf-method any more.
4507 * emacs-lisp/cl.el (flet): Don't autoload.
4508 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4509 (define-setf-expander, defsetf, define-modify-macro)
4510 (cl-struct-setf-expander): Move from cl-lib.el.
4511 * emacs-lisp/syntax.el:
4512 * emacs-lisp/ewoc.el:
4513 * emacs-lisp/smie.el:
4514 * emacs-lisp/cconv.el:
4515 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
4516 (timer--time): Use gv-define-simple-setter.
4517 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
4518 to avoid coding-system problems in subr.el. Adjust all users.
4519 (macroexp--maxsize, macroexp-small-p): New functions.
4520 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
4521 * scroll-bar.el (scroll-bar-mode):
4522 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4523 (normal-erase-is-backspace-mode): Don't use the `eq' place.
4524 * winner.el (winner-configuration, winner-make-point-alist)
4525 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
4526 * files.el (locate-file-completion-table): Avoid list*.
4527
c5695d1d
CY
45282012-06-22 Chong Yidong <cyd@gnu.org>
4529
4530 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
4531 (dired-create-files): Doc fix (Bug#11329).
4532 (dired-do-copy): Doc fix (Bug#11334).
4533 (dired-mark-read-string): Doc fix (Bug#11553).
4534
2ee3d7f0
SM
4535 * dired.el (dired-recursive-copies, dired-recursive-deletes):
4536 Doc fix (Bug#11326).
c5695d1d
CY
4537 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
4538 (dired-dwim-target): Doc fix.
4539
4540 * wdired.el (wdired-mode): Doc fix.
4541
89b5595a
GM
45422012-06-22 Glenn Morris <rgm@gnu.org>
4543
575db3f1
GM
4544 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
4545 (pcmpl-rpm-cache-stamp-file): New constant.
4546 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
4547 (pcmpl-rpm-packages): Optionally cache list of packages.
4548
a4c8dd51
GM
4549 * pcmpl-rpm.el (pcmpl-rpm): New group.
4550 (pcmpl-rpm-query-options): New option.
4551 (pcmpl-rpm-packages): No need to inline it.
4552 Use pcmpl-rpm-query-options.
4553
89b5595a
GM
4554 * calendar/calendar.el (calendar-in-read-only-buffer):
4555 Avoid some needless mode changes.
4556
e76f0800
CY
45572012-06-21 Chong Yidong <cyd@gnu.org>
4558
4559 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
4560 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 4561 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 4562
297a8f1d
CY
45632012-06-20 Chong Yidong <cyd@gnu.org>
4564
4565 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
4566
d34c18b1
DR
45672012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
4568
4569 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
4570 (bug#11201).
4571
32f7f28e
CY
45722012-06-20 Chong Yidong <cyd@gnu.org>
4573
4574 * term.el (term-window-width): Handle the case of a missing right
4575 fringe (Bug#8837).
4576 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
4577 (term-mode): Use define-derived-mode. Minor cleanups.
4578 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
4579 (term-move-columns, term-insert-char, term-emulate-terminal)
4580 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 4581
493c6688
MA
45822012-06-20 Michael Albinus <michael.albinus@gmx.de>
4583
d34c18b1
DR
4584 * net/ange-ftp.el (ange-ftp-get-passwd):
4585 Bind `enable-recursive-minibuffers'.
493c6688
MA
4586 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
4587
3f06ecf4
DR
45882012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
4589
4590 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
4591
68f12411
GM
45922012-06-19 Glenn Morris <rgm@gnu.org>
4593
4594 * progmodes/python.el (python-mode): Derive from prog-mode.
4595
b3820318
KG
45962012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
4597
4598 * emulation/edt.el (edt-default-menu-bar-update-buffers)
4599 (edt-user-menu-bar-update-buffers): New functions.
4600 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
4601
c6bf3022
CY
46022012-06-19 Chong Yidong <cyd@gnu.org>
4603
4604 * subr.el (with-selected-window): Preserve the selected window's
4605 terminal's top-frame (Bug#4702).
4606
4607 * window.el (save-selected-window): Likewise.
4608
25f09295
SM
46092012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4610
4611 * progmodes/python.el (python-rx-constituents): Move backquote.
4612 (python-skeleton-define, python-define-auxiliary-skeleton):
4613 Use `declare'.
4614
6b11952a
MA
46152012-06-18 Michael Albinus <michael.albinus@gmx.de>
4616
4617 * minibuffer.el (read-file-name-default): Revert the patch from
4618 2012-06-17.
4619
ee4b1330
SM
46202012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4621
4622 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
4623 (pcase--u1, pcase--q1): Don't use apply-partially.
4624
35647f79
GM
46252012-06-18 Glenn Morris <rgm@gnu.org>
4626
4627 * progmodes/python.el (python-proc, python-buffer)
4628 (python-send-receive, python-send-string): Fix obsolete versions.
4629
24b0cff0
MR
46302012-06-18 Martin Rudalics <rudalics@gmx.at>
4631
4632 * window.el (special-display-p): Completely remove stringp
4633 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
4634
29855149
MA
46352012-06-17 Michael Albinus <michael.albinus@gmx.de>
4636
4637 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
4638
4639 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
4640
4641 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
4642 * net/tramp-sh.el (tramp-maybe-open-connection):
4643 Throw if `non-essential' is non-nil.
4644
07463363
MR
46452012-06-17 Martin Rudalics <rudalics@gmx.at>
4646
4647 * window.el (special-display-p): Signal an error if BUFFER-NAME
4648 is not a string (Bug#11713).
4649
48d1354e
PE
46502012-06-17 Paul Eggert <eggert@cs.ucla.edu>
4651
4652 * progmodes/python.el (python-info-beginning-of-backslash):
4653 Rename from python-info-beginning-of-backlash, as a spelling fix.
4654
eb4a8a9a
CY
46552012-06-17 Chong Yidong <cyd@gnu.org>
4656
4657 * term.el (term-emulate-terminal): If term-check-size is called,
4658 move point to the process mark without resetting point (Bug#4635).
4659
ddfbf826 46602012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
4661
4662 * international/mule-cmds.el (mule-menu-keymap)
4663 (set-language-environment, set-locale-environment): Doc tweaks.
4664
9b0e3eba
AA
46652012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
4666
4667 * cus-face.el (custom-face-attributes): Add wave-style underline
4668 attribute.
4669 * faces.el (set-face-attribute): Update docstring to describe
4670 wave-style underline attribute.
4671
771e3eae
CY
46722012-06-16 Chong Yidong <cyd@gnu.org>
4673
4674 * term/xterm.el (terminal-init-xterm): Discard input before
4675 querying background mode (Bug#10959).
4676
7ae2ea10
SM
46772012-06-16 Stefan Merten <smerten@oekonux.de>
4678
4679 * textmodes/rst.el: Added and corrected some comments.
4680 (rst-re-alist-def): Improve symbol syntax.
4681 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
4682 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4683 (rst-official-version, rst-official-cvs-rev): Update version
4684 information.
7ae2ea10 4685
b6974efa
JB
46862012-06-15 Juanma Barranquero <lekktu@gmail.com>
4687
4688 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
4689 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
4690
8826d473
GM
46912012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
4692
4693 * progmodes/python.el: New python.el merge.
4694 (python-guess-indent): Obsolete var.
4695 (python-indent-guess-indent-offset): New defcustom.
4696 (python-indent): Obsolete var.
4697 (python-indent-offset): New defcustom.
4698 (python-python-command, python-jython-command): Delete var.
4699 (python-shell-interpreter): New defcustom.
4700 (python-pdbtrack-do-tracking-p): Delete var.
4701 (python-pdbtrack-activate): New defcustom.
4702 (python-use-skeletons): Obsolete var.
4703 (python-skeleton-autoinsert): New defcustom.
4704 (inferior-python-filter-regexp, python-continuation-offset)
4705 (python-honour-comment-indentation, python-indent-string-contents)
4706 (python-jython-packages, python-mode-hook)
4707 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
4708 (python-shell-prompt-alist)
4709 (python-source-modes): Delete defcustoms.
4710 (python-check-buffer-name, python-eldoc-setup-code)
4711 (python-eldoc-string-code, python-ffap-setup-code)
4712 (python-ffap-string-code, python-fill-comment-function)
4713 (python-fill-decorator-function, python-fill-paren-function)
4714 (python-fill-string-function, python-imenu-include-defun-type)
4715 (python-imenu-make-tree, python-imenu-subtree-root-label)
4716 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
4717 (python-shell-compilation-regexp-alist)
4718 (python-shell-completion-module-string-code)
4719 (python-shell-completion-pdb-string-code)
4720 (python-shell-completion-setup-code)
4721 (python-shell-completion-string-code)
4722 (python-shell-enable-font-lock, python-shell-exec-path)
4723 (python-shell-extra-pythonpaths)
4724 (python-shell-internal-buffer-name, python-shell-interpreter-args)
4725 (python-shell-process-environment)
4726 (python-shell-prompt-block-regexp)
4727 (python-shell-prompt-output-regexp)
4728 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
4729 (python-shell-send-setup-max-wait, python-shell-setup-codes)
4730 (python-shell-virtualenv-path): New defcustoms.
4731 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
4732 (inferior-python-mode-syntax-table, python--prompt-regexp)
4733 (python-buffer, python-command python-python-command)
4734 (python-default-template, python-imports, python-indent-index)
4735 (python-indent-list, python-indent-list-length)
4736 (python-mode-running, python-pdbtrack-is-tracking-p)
4737 (python-preoutput-continuation, python-preoutput-leftover)
4738 (python-preoutput-result, python-preoutput-skip-next-prompt)
4739 (python-prev-dir/file, python-recursing)
4740 (python-saved-check-command, python-version-checked)
4741 (python-which-func-length-limit)
4742 (view-return-to-alist): Delete vars.
4743 (python-check-custom-command, python-dotty-syntax-table)
4744 (python-imenu-index-alist, python-indent-current-level)
4745 (python-indent-dedenters, python-indent-levels)
4746 (python-nav-beginning-of-defun-regexp)
4747 (python-nav-list-defun-positions-cache)
4748 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
4749 (python-shell-internal-buffer)
4750 (python-skeleton-available): New vars.
4751 (def-python-skeleton): Delete macro.
4752 (python-skeleton-define): New macro.
4753 (python-define-auxiliary-skeleton, python-rx): New macros.
4754 (python-insert-class): Delete command.
4755 (python-skeleton-class): New command.
4756 (python-insert-def): Delete command.
4757 (python-skeleton-def): New command.
4758 (python-insert-for): Delete command.
4759 (python-skeleton-for): New command.
4760 (python-insert-if): Delete command.
4761 (python-skeleton-if): New command.
4762 (python-insert-try/except, python-insert-try/finally): Delete commands.
4763 (python-skeleton-try): New command.
4764 (python-insert-while): Delete command.
4765 (python-skeleton-while): New command.
4766 (python-backspace): Delete command.
4767 (python-indent-dedent-line-backspace): New command.
4768 (python-electric-colon): Delete command.
4769 (python-indent-electric-colon): New command.
4770 (python-guess-indent): Delete command.
4771 (python-indent-guess-indent-offset): New command.
4772 (python-shift-left): Delete command.
4773 (python-indent-shift-left): New command.
4774 (python-shift-right): Delete command.
4775 (python-indent-shift-right): New command.
4776 (python-find-function): Delete command.
4777 (python-nav-jump-to-defun): New command.
4778 (python-next-statement): Delete command.
4779 (python-nav-forward-sentence): New command.
4780 (python-previous-statement): Delete command.
4781 (python-nav-backward-sentence): New command.
4782 (python-fill-paragraph): Delete command.
4783 (python-fill-paragraph-function): New command.
4784 (python-send-buffer): Delete command.
4785 (python-shell-send-buffer): New command.
4786 (python-send-defun): Delete command.
4787 (python-shell-send-defun): New command.
4788 (python-send-region, python-send-region-and-go): Delete commands.
4789 (python-shell-send-region)
4790 (python-shell-switch-to-shell): New commands.
4791 (python-send-string): Delete command.
4792 (python-shell-send-string): New command.
4793 (python-switch-to-python): Delete command.
4794 (python-shell-switch-to-shell): New command.
4795 (python-describe-symbol): Delete command.
4796 (python-eldoc-at-point): New command.
4797 (python--set-prompt-regexp, python-args-to-list)
4798 (python-after-info-look, python-check-version)
4799 (python-check-comint-prompt, python-find-imports)
4800 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
4801 (python-unload-function, python-expand-template)
4802 (python-maybe-jython, python-preoutput-filter)
4803 (python-pdbtrack-get-source-buffer)
4804 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
4805 (python-pdbtrack-toggle-stack-tracking)
4806 (python-pdbtrack-track-stack-file, python-initial-text)
4807 (python-first-word, python-comment-line-p, python-send-command)
4808 (python-setup-brm, python-sentinel, python-set-proc)
4809 (python-skip-out, python-input-filter, python-outdent-p)
4810 (python-outline-level, python-backslash-continuation-line-p)
4811 (python-end-of-block, python-end-of-statement, python-mark-block)
4812 (python-beginning-of-block, python-beginning-of-statement)
4813 (python-blank-line-p, python-beginning-of-string)
4814 (python-open-block-statement-p): Delete functions.
4815 (python-indent-line, python-indent-line-1): Delete functions.
4816 (python-indent-line): New function.
4817 (python-indentation-levels): Delete function.
4818 (python-indent-calculate-levels): New function.
4819 (python-proc): Delete function.
4820 (python-shell-get-process): New function.
4821 (python-send-receive): Delete function.
4822 (python-shell-send-string-no-output): New function.
4823 (python-module-path): Delete function.
4824 (python-ffap-module-path): New function.
4825 (python-completion-at-point)
4826 (python-symbol-completions): Delete functions.
4827 (python-completion-complete-at-point): New function.
4828 (python-load-file): Delete function.
4829 (python-shell-send-file): New function.
4830 (python-calculate-indentation): Delete function.
4831 (python-indent-calculate-indentation): New function.
4832 (python-skip-comments/blanks): Delete function.
4833 (python-util-forward-comment): New function.
4834 (python-continuation-line-p): Delete function.
4835 (python-info-continuation-line-p): New function.
4836 (python-which-func, python-current-defun): Delete function.
4837 (python-info-current-defun): New function.
4838 (python-beginning-of-defun): Delete function.
4839 (python-nav-beginning-of-defun): New function.
4840 (python-close-block-statement-p)
4841 (python-block-end-p): Delete function.
4842 (python-info-closing-block): New function.
4843 (python-comint-output-filter-function)
4844 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
4845 (python-fill-comment, python-fill-decorator, python-fill-paren)
4846 (python-fill-string, python-imenu-make-element-tree)
4847 (python-imenu-make-tree, python-imenu-tree-assoc)
4848 (python-indent-context, python-indent-dedent-line)
4849 (python-indent-line-function)
4850 (python-indent-post-self-insert-function)
4851 (python-indent-toggle-levels)
4852 (python-info-assignment-continuation-line-p)
4853 (python-info-beginning-of-backlash)
4854 (python-info-block-continuation-line-p)
4855 (python-info-closing-block-message)
4856 (python-info-line-ends-backslash-p)
4857 (python-info-looking-at-beginning-of-defun)
4858 (python-info-ppss-context, python-info-ppss-context-type)
4859 (python-nav-list-defun-positions, python-nav-read-defun)
4860 (python-nav-sentence-end, python-nav-sentence-start)
4861 (python-pdbtrack-comint-output-filter-function)
4862 (python-pdbtrack-set-tracked-buffer)
4863 (python-shell-calculate-exec-path)
4864 (python-shell-calculate-process-environment)
4865 (python-shell-completion--do-completion-at-point)
4866 (python-shell-completion--get-completions)
4867 (python-shell-completion-complete-at-point)
4868 (python-shell-completion-complete-or-indent)
4869 (python-shell-get-or-create-process)
4870 (python-shell-get-process-name)
4871 (python-shell-internal-get-or-create-process)
4872 (python-shell-internal-get-process-name)
4873 (python-shell-internal-send-string, python-shell-make-comint)
4874 (python-shell-parse-command, python-shell-send-setup-code)
4875 (python-skeleton-add-menu-items)
4876 (python-util-clone-local-variables, python-util-position)
4877 (run-python-internal, python-indentation-levels)
4878 (python-nav-beginning-of-defun)
4879 (python-completion-complete-at-point): New functions.
4880 (run-python): Change arguments. New API requirements.
4881
4302f5ba
SM
48822012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4883
f38ea36d
SM
4884 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
4885 (bug#11649).
4886
4887 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
4888 (macroexp--expand-all): Use it.
4889
4302f5ba
SM
4890 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
4891 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
4892 Use `cl-function' instead.
4893
33377562
JB
48942012-06-14 Juanma Barranquero <lekktu@gmail.com>
4895
4896 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
4897 Suggested by Stefan Monnier while discussing bug#11657.
4898
54c5ba1a
SS
48992012-06-14 Sam Steingold <sds@gnu.org>
4900
4901 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
4902
f9f1b1fe
AS
49032012-06-14 Andreas Schwab <schwab@linux-m68k.org>
4904
4905 * play/doctor.el (doctor-doc): Remove parameter and use
4906 doctor-sent instead of sent.
4907 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
4908
a81068ba
SM
49092012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4910
5a315f9c
SM
4911 * files.el: Require cl-lib.
4912 (file-name-non-special): Replace case -> cl-case.
4913
4914 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
4915
a81068ba
SM
4916 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
4917 mapping from #' to function*.
4918
8cca9703
CY
49192012-06-13 Chong Yidong <cyd@gnu.org>
4920
4921 * mouse.el (mouse-drag-track): Do not set the mark if the user
4922 releases the mouse without selecting anything (Bug#11588).
4923
a12ac9d7
SM
49242012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4925
ccf1dc18
SM
4926 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
4927 as well (bug#11646).
4928
ef62b23d
SM
4929 * loadup.el: Count byte-code functions as well.
4930
c4c8444a
SM
4931 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
4932 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
4933
a12ac9d7
SM
4934 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
4935 (bug#11649). Add cl-defun and cl-defmacro.
4936
87e6e64f
DA
49372012-06-13 Drew Adams <drew.adams@oracle.com>
4938
4939 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4940 Fix last change.
4941
682cefaf
MA
49422012-06-13 Michael Albinus <michael.albinus@gmx.de>
4943
4944 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
4945 Otherwise, it blocks in batch mode.
4946
773e1f08
JB
49472012-06-13 Juanma Barranquero <lekktu@gmail.com>
4948
4949 * help-mode.el (bookmark-make-record-default): Declare.
4950
60057926
CY
49512012-06-13 Chong Yidong <cyd@gnu.org>
4952
4953 * emacs-lisp/package.el (list-packages): Compute a list of
4954 packages that are newly-available since the last list-packages
4955 invocation.
4956 (package-menu--new-package-list): New var.
4957 (package-menu--generate, package-menu--print-info)
4958 (package-menu--status-predicate, package-menu-mark-install):
4959 Handle new status label "new".
4960
ad4d226c
SM
49612012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4962
4963 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
4964 conversion to backquotes.
4965
f1a4e679
CY
49662012-06-12 Chong Yidong <cyd@gnu.org>
4967
4968 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
4969 Rename from gud-inhibit-global-bindings.
4970
4971 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
4972
4973 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
4974 hook from nxml-glyph-set-hook.
4975
4976 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
4977 declaration.
4978
4979 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
4980
4981 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
4982 Convert to defcustom.
4983
0c9e42b5
DA
49842012-06-12 Drew Adams <drew.adams@oracle.com>
4985
4986 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4987 New functions.
4988 (help-mode): Use them.
4989
09e06855
GM
49902012-06-11 Glenn Morris <rgm@gnu.org>
4991
4992 * progmodes/fortran.el (fortran-font-lock-keywords-3):
4993 Use preprocessor face for directives.
4994 (fortran-directive-re): Doc fix.
4995
71adb94b
SM
49962012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4997
2eb87922
SM
4998 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
4999 conversion to backquotes (bug#11652).
5000
71adb94b
SM
5001 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5002 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5003 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5004 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5005 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5006 (cl-ninth, cl-tenth): Mark them as inlinable.
5007 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5008 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5009 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5010 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5011 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5012 (cl-list*, cl-adjoin): Don't put an autoload manually.
5013 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5014 (cl--compiler-macro-list*): Add autoload cookie.
5015 (cl--compiler-macro-cXXr): New function.
2eb87922 5016
71adb94b
SM
5017 * help-fns.el (help-fns--compiler-macro): New function extracted from
5018 describe-function-1; follow aliases and use `compiler-macro' property.
5019 (describe-function-1): Use it.
5020
a6674402
CY
50212012-06-11 Chong Yidong <cyd@gnu.org>
5022
5023 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5024 is uninstalled, if imagemagick is installed.
5025
bb3faf5b
SM
50262012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5027
5028 * emacs-lisp/cl-lib.el: Use lexical-binding.
5029 (cl-map-extents, cl-maclisp-member): Remove.
5030 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5031 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5032 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5033 * emacs-lisp/cl-extra.el: Use lexical-binding.
5034 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5035 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5036 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5037 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5038 * emacs-lisp/cl-seq.el: Use lexical-binding.
5039 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5040 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5041 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5042 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5043 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5044 CL's internals.
5045
2fe4b125
MA
50462012-06-11 Michael Albinus <michael.albinus@gmx.de>
5047
5048 Sync with Tramp 2.2.6-pre.
5049
5050 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5051 `print-length' and `print-level' to nil, in order to avoid
5052 truncation. Reported by Christopher Schmidt
5053 <christopher@ristopher.com>.
5054
5055 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5056
5057 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5058 New defmacro.
5059 (tramp-compat-copy-directory): Add optional argument
5060 COPY-CONTENTS. It is not handled yet.
5061
5062 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5063 (tramp-ftp-file-name-p): Simplify.
5064
5065 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5066 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5067 connection vector.
5068
5069 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5070 (tramp-methods): Do not use `tramp-password-end-of-line'.
5071 (tramp-completion-function-alist-putty): Handle UNIX case.
5072 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5073 (tramp-do-file-attributes-with-stat)
5074 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5075 gid as real numbers. They could run out of integer range on cygwin.
5076 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5077 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
5078 (tramp-open-connection-setup-interactive-shell):
5079 Use `tramp-cleanup'. Move check for busyboxes ...
5080 (tramp-find-shell): ... here. Simplify implementation.
5081 Set "remote-shell" property also for alternative shells.
5082 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5083 If failing, a regular file would be written otherwise.
5084 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
5085 (tramp-find-inline-encoding): Cache the coding commands in the
5086 process cache. Apply test command on the remote side, if defined.
5087 (tramp-find-inline-compress): Cache the compress commands in the
5088 process cache.
5089 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5090 when requested. Handle hops.
5091 (tramp-current-connection): New defvar.
87e6e64f
DA
5092 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5093 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 5094 Handle user interrupt. (Bug#10187)
87e6e64f
DA
5095 (tramp-get-inline-compress, tramp-get-inline-coding):
5096 Read connection properties from the process cache.
2fe4b125
MA
5097
5098 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
5099 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5100 New defconsts.
2fe4b125
MA
5101 (tramp-smb-prompt): Extend for powershell prompt.
5102 (tramp-smb-file-name-handler-alist): Add handlers for
5103 `process-file', `shell-command' and `start-file-process'.
5104 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5105 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5106 (tramp-smb-file-name-p): Simplify.
5107 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5108 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5109 (tramp-smb-shell-quote-argument): New defuns.
5110 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5111 Implement using "tar". By this, time-stamps are preserved.
5112 (tramp-smb-handle-copy-file): Handle also the case of directories.
5113 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
5114 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5115 Use `tramp-get-connection-buffer').
2fe4b125
MA
5116 (tramp-smb-handle-rename-file): Use "rename", when source and
5117 target are on the same share.
87e6e64f
DA
5118 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5119 Use `tramp-smb-server-version'.
2fe4b125
MA
5120 (tramp-smb-wait-for-output): Remove prompt.
5121
5122 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
5123 (tramp-methods, tramp-rsh-end-of-line):
5124 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
5125 (tramp-save-ad-hoc-proxies): New defcustom.
5126 (tramp-completion-function-alist): Adapt docstring.
5127 (tramp-default-password-end-of-line): Remove defcustom.
5128 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5129 (tramp-user-regexp, tramp-file-name-regexp-unified)
5130 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5131 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5132 (tramp-remote-file-name-spec-regexp): New defconst.
5133 (tramp-file-name-structure): Extend structure for hops.
5134 (tramp-get-method-parameter): Move up.
5135 (tramp-file-name-p, tramp-dissect-file-name)
5136 (with-parsed-tramp-file-name): Handle hops.
5137 (tramp-file-name-hop): New defun.
5138 (tramp-make-tramp-file-name): New optional arg HOP.
5139 (tramp-message-show-progress-reporter-message): New defvar.
5140 (tramp-with-progress-reporter): Use it. We cannot use
5141 `tramp-message-show-message' here, because this suppresses also
5142 error buffers.
5143 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
5144 `tramp-message-show-message' is nil.
5145 Use `tramp-get-connection-buffer'.
2fe4b125
MA
5146 (tramp-cleanup): New defun.
5147 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5148 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5149 an error unchanged.
5150 (tramp-completion-handle-file-name-all-completions): Handle hops.
5151 Fix an error when called from ido.
5152 (tramp-completion-dissect-file-name): Use better local variable
5153 name. Add hop to the vector.
5154 (tramp-handle-insert-file-contents): Use progress-reporter for the
5155 whole scenario.
5156 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5157 to `t'.
5158 (tramp-check-for-regexp): Simplify search.
5159 (tramp-enter-password): Remove it. Move implementation ...
5160 (tramp-action-password): ... here.
5161 (tramp-mode-string-to-int, tramp-local-host-p)
5162 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
5163 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5164 Set tramp-autoload cookie.
2fe4b125
MA
5165
5166 * net/trampver.el: Update release number.
5167
51682012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5169 Michael Albinus <michael.albinus@gmx.de>
5170
5171 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5172 (tramp-parse-group, tramp-parse-file)
5173 (tramp-parse-shostkeys-sknownhosts): New defuns.
5174 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5175 (tramp-parse-shosts-group, tramp-parse-sconfig)
5176 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5177 (tramp-parse-sknownhosts, tramp-parse-hosts)
5178 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5179 Use them.
5180 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5181 (tramp-parse-putty-group): Don't narrow.
5182 (tramp-parse-putty): Make a loop.
5183 (tramp-file-name-handler): Catch the `suppress' signal.
5184
72834e10
CY
51852012-06-11 Chong Yidong <cyd@gnu.org>
5186
5187 * image.el (imagemagick-register-types): Put the ImageMagick entry
5188 at the end of image-type-file-name-regexps.
5189
a4712e11
JB
51902012-06-11 Johan Bockgård <bojohan@gnu.org>
5191
5192 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5193 (pcase, pcase-let*, pcase-dolist): Use them.
5194
82ad98e3
SM
51952012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5196
5197 * emacs-lisp/pcase.el (pcase--let*): New function.
5198 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5199 (pcase--expand): Use macroexp-let².
5200
f80efb86
SM
52012012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5202
5203 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5204 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5205 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5206 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5207 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5208 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5209
31ca4639 52102012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 5211
31ca4639
CY
5212 * mail/rmail.el (rmail-yank-current-message): Leave point at
5213 correct position. (Bug#11660)
94f0aa34 5214
31ca4639 52152012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 5216
31ca4639 5217 * allout-widgets.el: Fix code header.
9e1b8ec4 5218
31ca4639 52192012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 5220
f80efb86
SM
5221 * cus-edit.el (customize-changed-options-previous-release):
5222 Bump to 24.1.
31ca4639 5223
642b6d30
AS
52242012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5225
5226 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5227
4f5d2ba1
CY
52282012-06-09 Chong Yidong <cyd@gnu.org>
5229
5230 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5231
e75852fd
MR
52322012-06-09 Martin Rudalics <rudalics@gmx.at>
5233
5234 * window.el (special-display-popup-frame): Don't use
5235 window--display-buffer (Bug#11651).
5236
1e48e282
EZ
52372012-06-09 Eli Zaretskii <eliz@gnu.org>
5238
8a26b487
EZ
5239 Fix parallel builds: make sure loaddefs.el is not being written
5240 while Lisp files are compiled.
5241 (compile): Don't depend on 'mh-autoloads'.
5242 (compile-CMD, compile-SH): Depend on 'autoloads'.
5243 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5244
1e48e282
EZ
5245 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5246
6175e34b
CY
52472012-06-09 Chong Yidong <cyd@gnu.org>
5248
5249 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5250 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5251 Doc fixes (Bug#11225).
5252
d9857e53
SM
52532012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5254
5255 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5256 a function if there's a clear indication that it has a compiler-macro.
5257 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5258 (macro-declarations-alist): Add arglist to declaration functions.
5259 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5260 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5261 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5262 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5263 Also add autoload to find the compiler macro.
5264 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5265 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5266 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5267 (cl--compiler-macro-get): New functions, replacing calls to
5268 cl-define-compiler-macro.
5269 (cl-typep) [compiler-macro]: Use macroexp-let².
5270
f81298f8 52712012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
5272
5273 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5274 string properly, fixes Bug#11473.
5275
4b56d0fe
CY
52762012-06-08 Chong Yidong <cyd@gnu.org>
5277
5278 * faces.el (set-face-attribute): Doc fix.
5279 (modify-face): Don't use :bold and :italic.
5280 (error, warning, success): Tweak definitions.
5281
5282 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5283 (custom-modified, custom-set, custom-changed, custom-themed)
5284 (custom-saved, custom-button, custom-button-mouse)
5285 (custom-button-pressed, custom-state, custom-comment-tag)
5286 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5287 (custom-group-subtitle): Use new-style face specs.
5288 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5289 (custom-set-face, custom-changed-face, custom-saved-face)
5290 (custom-button-face, custom-button-pressed-face)
5291 (custom-documentation-face, custom-state-face)
5292 (custom-comment-face, custom-comment-tag-face)
5293 (custom-variable-tag-face, custom-variable-button-face)
5294 (custom-face-tag-face, custom-group-tag-face-1)
5295 (custom-group-tag-face): Remove obsolete face alias.
5296
5297 * epa.el (epa-validity-high, epa-validity-medium)
5298 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5299 (epa-field-name, epa-field-body):
5300 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5301 (font-lock-keyword-face, font-lock-builtin-face)
5302 (font-lock-function-name-face, font-lock-variable-name-face)
5303 (font-lock-type-face, font-lock-constant-face):
5304 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5305 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5306 * speedbar.el (speedbar-button-face, speedbar-file-face)
5307 (speedbar-directory-face, speedbar-tag-face)
5308 (speedbar-selected-face, speedbar-highlight-face)
5309 (speedbar-separator-face):
5310 * whitespace.el (whitespace-newline, whitespace-space)
5311 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5312 (whitespace-line, whitespace-space-before-tab)
5313 (whitespace-space-after-tab, whitespace-indentation)
5314 (whitespace-empty):
5315 * emulation/cua-base.el (cua-global-mark):
5316 * eshell/em-prompt.el (eshell-prompt):
5317 * net/newst-plainview.el (newsticker-new-item-face)
5318 (newsticker-old-item-face, newsticker-immortal-item-face)
5319 (newsticker-obsolete-item-face, newsticker-date-face)
5320 (newsticker-statistics-face, newsticker-default-face):
5321 * net/newst-reader.el (newsticker-feed-face)
5322 (newsticker-extra-face, newsticker-enclosure-face):
5323 * net/newst-treeview.el (newsticker-treeview-face)
5324 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5325 (newsticker-treeview-immortal-face)
5326 (newsticker-treeview-obsolete-face)
5327 (newsticker-treeview-selection-face):
5328 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5329 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5330 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5331 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5332 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5333 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5334 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5335 (mpuz-text):
5336 * progmodes/vera-mode.el (vera-font-lock-number)
5337 (vera-font-lock-function, vera-font-lock-interface):
5338 * textmodes/table.el (table-cell): Use new-style face specs, and
5339 don't use the old :bold and :italic attributes.
5340
5341 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5342 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5343 (ebrowse-member-class, ebrowse-progress): Likewise.
5344 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5345 (ebrowse-file-name-face, ebrowse-default-face)
5346 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5347 (ebrowse-progress-face): Remove obsolete faces.
5348
5349 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5350 Inherit from error and warning faces respectively.
5351
5352 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5353 Likewise.
f80efb86
SM
5354 (flyspell-incorrect-face, flyspell-duplicate-face):
5355 Remove obsolete aliases.
4b56d0fe 5356
03310646
MA
53572012-06-08 Michael Albinus <michael.albinus@gmx.de>
5358
5359 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5360 Avoid infloop.
5361
513749ee
SM
53622012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5363
5364 * startup.el (argv, argi): Make lexically scoped.
5365 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5366 * emacs-lisp/cl-macs.el: Use lexical-binding.
5367 Rename cl-bind-* to cl--bind-*.
5368 * files.el: Don't require `cl' since it doesn't use it.
5369 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5370
595ef4ad
JB
53712012-06-08 Juanma Barranquero <lekktu@gmail.com>
5372
5373 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5374 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5375 instead of calling external sort utility.
5376 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5377
e9f66fcb
EZ
53782012-06-08 Eli Zaretskii <eliz@gnu.org>
5379
5380 * descr-text.el (describe-char): Mention how to insert the
5381 character, if the current input method doesn't support it.
5382 See the discussion in this thread for the details:
5383 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5384
3d10db47
SS
53852012-06-08 Sam Steingold <sds@gnu.org>
5386
5387 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5388 XF86Back to previous-buffer.
5389 (minibuffer-local-map): Bind them to next-history-element and
5390 previous-history-element respectively.
5391 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5392 help-go-back respectively.
5393 * info.el (Info-mode-map): Bind them to Info-history-forward and
5394 Info-history-back respectively.
5395 These are the keys next to Up on the ThinkPad keyboard.
5396
de7e2b36
SM
53972012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5398
5399 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5400 * emacs-lisp/cl-macs.el: Provide itself.
5401 (cl--labels-convert-cache): New var.
5402 (cl--labels-convert): New function.
5403 (cl-flet, cl-labels): New implementation with new semantics, relying on
5404 lexical-binding.
5405 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5406 (cl-closure-vars, cl--function-convert-cache)
5407 (cl--function-convert): Move from cl-macs.el.
5408 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5409 rename by removing the "cl-" prefix.
5410 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5411
6fa6c4ae
SM
54122012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5413
5414 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5415 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5416 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5417 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5418 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5419 (cl-hash-table-count): Add old compatibility aliases.
5420
5421 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5422 Use macroexpand-all-environment instead.
5423 (cl--old-macroexpand): New var.
5424 (cl--sm-macroexpand): New function.
5425 (cl-symbol-macrolet): Use it during macro expansion.
5426 (cl--function-convert-cache): New var.
5427 (cl--function-convert): New function, extracted from
5428 cl-macroexpand-all.
5429 (cl-lexical-let): Use it.
5430
5431 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5432 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5433 (cl-member): Remove old alias.
5434
5435 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5436 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5437 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5438 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5439 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5440 (cl-macroexpand-cmacs): Remove var.
5441 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5442 Use macroexpand-all instead.
5443
4dd1c416
SM
54442012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5445
5446 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5447 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5448 (macroexp-copyable-p): New functions and macros.
5449 * emacs-lisp/edebug.el (edebug-unwrap):
5450 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5451 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5452 (pcase--let*): Remove.
5453 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5454 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
5455 macroexp-const-p instead.
5456 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5457
5458 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5459 instead of "cl-" for internal definitions. Use macroexp-const-p.
5460 (cl-old-bc-file-form): Remove var.
5461 (cl-const-exprs-p): Remove fun.
5462 (cl-labels, cl-macrolet): Use backquote.
5463 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
5464 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5465 (cl-define-setf-expander): Rename from cl-define-setf-method.
5466 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5467
5468 * international/mule-cmds.el: Don't require CL.
5469 (view-hello-file): Don't use `letf'.
5470
ed8bd4d7
SM
54712012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5472
7287f2f3
SM
5473 * tmm.el (tmm-prompt): Use string-prefix-p.
5474 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5475 (tmm-add-prompt): Use minibuffer-completion-help.
5476 (tmm-delete-map): Remove.
5477
ed8bd4d7
SM
5478 * subr.el (kbd): Make it its own function.
5479
7b4cdbf4
SM
54802012-06-07 Stefan Merten <smerten@oekonux.de>
5481
5482 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5483 Silence compiler warnings. Fix versions.
ed8bd4d7 5484 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 5485 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 5486 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
5487 (rst-package-emacs-version-alist): Correct Emacs version to
5488 represent major merge with upstream.
ed8bd4d7 5489 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 5490
2b48d721
GM
54912012-06-06 Glenn Morris <rgm@gnu.org>
5492
5493 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5494 Only print environment variables if set.
5495
fa779ab0
SM
54962012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5497
5498 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5499 (macroexp--cons): Rename from maybe-cons.
5500 (macroexp--accumulate): Rename from macroexp-accumulate.
5501 (macroexp--all-forms): Rename from macroexpand-all-forms.
5502 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5503 (macroexp--expand-all): Rename from macroexpand-all-1.
5504
628299e0
SS
55052012-06-06 Sam Steingold <sds@gnu.org>
5506
5507 * calendar/calendar.el (calendar-in-read-only-buffer):
5508 Call `special-mode' to enable the standard read-only keybindings.
5509
b7bb5838
SM
55102012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5511
5512 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
5513 with "loading" messages (bug#11635).
5514
dfb308ba
MA
55152012-06-06 Michael Albinus <michael.albinus@gmx.de>
5516
5517 * files.el (enable-remote-dir-locals): New option.
5518 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
5519
0372ee92
MA
5520 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5521 Ensure, that the temp directory is local.
5522
5523 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
5524 `temporary-file-directory'.
5525
eed0bb91
MA
5526 * progmodes/python.el (python-send-region): Ensure, that the
5527 temporary file is created also in the remote case.
5528
7a58f64d
GM
55292012-06-06 Glenn Morris <rgm@gnu.org>
5530
f7dd4e98
GM
5531 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
5532 (vc-rcs-update-changelog): Use it.
5533
090bd7cb 5534 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 5535
7a58f64d
GM
5536 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
5537 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
5538 (vc-sccs-diff): Replace use of the external vcdiff script.
5539
daed4003
GM
55402012-06-05 Glenn Morris <rgm@gnu.org>
5541
5542 * ledit.el: Move to obsolete/.
5543
48c455c7
SS
55442012-06-05 Sam Steingold <sds@gnu.org>
5545
ed9265fc 5546 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
5547 patch (Bug#11140).
5548
57a7d507
SM
55492012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5550
090bd7cb 5551 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 5552
53aacf21
SM
5553 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
5554 compiler-macro expansion.
5555
57a7d507
SM
5556 Add native compiler-macro support.
5557 * emacs-lisp/macroexp.el (macroexpand-all-1):
5558 Support compiler-macros directly. Properly follow aliases and apply
5559 the compiler macros more thoroughly.
5560 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
5561 macroexpand now properly follows aliases.
5562 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
5563 (cl-compiler-macroexpand): Use new prop.
5564 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
5565
5566 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
5567
51a5f9d8
MR
55682012-06-05 Martin Rudalics <rudalics@gmx.at>
5569
5570 * window.el (get-lru-window, get-mru-window, get-largest-window):
5571 New argument NOT-SELECTED to avoid picking the selected window.
5572 (window--display-buffer-1, window--display-buffer-2): Replace by
5573 new function window--display-buffer
5574 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
5575 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5576 Use window--display-buffer.
51a5f9d8
MR
5577 (display-buffer-use-some-window): Remove temporary dedication
5578 hack by calling get-lru-window and get-largest-window with
5579 NOT-SELECTED argument non-nil. Call window--display-buffer.
5580
08f9f738
GM
55812012-06-05 Glenn Morris <rgm@gnu.org>
5582
5583 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
5584 Replace external vcdiff script.
5585
e364a2b7
SM
55862012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5587
5588 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
5589
041df390
CY
55902012-06-04 Chong Yidong <cyd@gnu.org>
5591
e364a2b7
SM
5592 * image.el (imagemagick-types-inhibit): Revert last change.
5593 Add INFO and M.
47b36b94 5594 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 5595
7c1898a7
SM
55962012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5597
5598 * emacs-lisp/cl-lib.el: Rename from cl.el.
5599 * emacs-lisp/cl.el: New compatibility file.
5600 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
5601 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
5602 to obey the "cl-" prefix.
5603 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
5604
0c3461de
GM
56052012-06-03 Glenn Morris <rgm@gnu.org>
5606
1e266c88
GM
5607 * emacs-lisp/authors.el (authors-aliases): Addition.
5608
0c3461de
GM
5609 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
5610 Fix :version.
5611
d8a52e15
SM
56122012-06-03 Stefan Merten <smerten@oekonux.de>
5613
5614 * textmodes/rst.el: Add comments.
5615 (rst-transition, rst-adornment): New faces.
5616 (rst-adornment-faces-alist): Make default safe to reevaluate.
5617 Fixes
5618 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
5619 Improve customization tags.
5620 (rst-define-level-faces): Clarify meaning.
5621
5205d6f6
CY
56222012-06-03 Chong Yidong <cyd@gnu.org>
5623
5624 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
5625 (compilation-mode-line-run, compilation-mode-line-exit):
5626 New faces.
5205d6f6
CY
5627 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
5628
757ee657
JD
56292012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
5630
7c1898a7
SM
5631 * progmodes/which-func.el (which-func-update-ediff-windows):
5632 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 5633
5f2c76c6
CY
56342012-06-03 Chong Yidong <cyd@gnu.org>
5635
5636 * bindings.el: Remove explicit help text from format-mode-line.
5637 It is now supplied by mode-line-default-help-echo.
5638 (mode-line-front-space, mode-line-end-spaces)
5639 (mode-line-misc-info): New variables.
5640 (mode-line-modes, mode-line-position): Move the default value to
5641 the variable definition.
5642 (mode-line-default-help-echo): New defcustom.
383f7350
CY
5643 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
5644 (mode-line-modified-help-echo): New functions.
5645 (mode-line-mule-info, mode-line-modified): Use them.
5646 (mode-line-eol-desc, propertized-buffer-identification):
5647 Consistency fixes for help text.
cbe46e5f
CY
5648 (mode-line-coding-system-map): Allow using mouse-3 to invoke
5649 set-buffer-file-coding-system (Bug#289).
5650 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 5651
f2d6a3df
SM
56522012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5653
5654 * simple.el (execute-extended-command): Set real-this-command
5655 (bug#11506).
5656
37269466
CY
56572012-06-02 Chong Yidong <cyd@gnu.org>
5658
5659 Remove incorrect uses of "modeline" in comments, docstrings, and
5660 function/variable names (Bug#10329).
5661
5662 * cus-edit.el (mode-line):
5663 * dframe.el (dframe-mouse-hscroll):
5664 * emacs-lisp/re-builder.el:
5665 * emacs-lisp/easy-mmode.el (define-minor-mode):
5666 * frame.el (set-frame-name):
5667 * help.el (lookup-minor-mode-from-indicator):
5668 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
5669 * progmodes/cc-cmds.el (c-toggle-auto-newline)
5670 (c-toggle-hungry-state):
5671 * progmodes/antlr-mode.el (antlr-language-alist):
5672 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
5673 * progmodes/vhdl-mode.el (vhdl-mode):
5674 * progmodes/which-func.el (which-func, which-func-cleanup-function):
5675 * term/ns-win.el (ns-face-at-pos):
5676 * term/sup-mouse.el (sup-mouse-report):
5677 * textmodes/flyspell.el (flyspell-mode-line-string):
5678 * textmodes/ispell.el (ispell-highlight-face):
5679 * textmodes/reftex-global.el:
5680 * vc/vc-arch.el (vc-arch-mode-line-string):
5681 * vc/vc-cvs.el (vc-cvs-mode-line-string):
5682 * vc/vc-git.el (vc-git-mode-line-string):
5683 * vc/vc-hooks.el (vc-display-status)
5684 (vc-default-mode-line-string):
5685 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
5686
5687 * ansi-color.el (ansi-color-faces-vector): Change default faces.
5688
5689 * dired.el (dired-sort-set-mode-line): Rename from
5690 dired-sort-set-modeline. All callers changed.
5691
5692 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
5693 eshell-status-in-modeline.
5694
5695 * foldout.el (foldout-mode-line-string): Rename from
5696 foldout-modeline-string. All callers changed.
5697 (foldout-update-mode-line): Rename from foldout-update-modeline.
5698
5699 * subr.el (redraw-modeline): Make into obsolete alias.
5700
5701 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
5702 timeclock-modeline-display. Make old name an alias.
5703 (timeclock-update-mode-line): Likewise. All callers changed.
5704 (timeclock-mode-line-display): No need to check before using
5705 add-hook.
5706 (timeclock-relative, timeclock-day-over-hook)
5707 (timeclock-use-elapsed, timeclock-mode-string)
5708 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
5709
5710 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
5711 crisp-mode-modeline-string.
5712
5713 * play/solitaire.el (solitaire-build-mode-line): Rename from
5714 solitaire-build-modeline. All callers changed.
5715
5716 * play/zone.el (zone-hiding-mode-line): Rename from
5717 zone-hiding-modeline. All callers changed.
5718 (zone): Remove unusued `modeline-hidden-level' property.
5719
5720 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
5721 xscheme-modeline-initialize. All callers changed.
5722
5723 * strokes.el (strokes-lighter): Rename from
5724 strokes-modeline-string.
5725
5726 * textmodes/sgml-mode.el (html-face-tag-alist)
5727 (html-tag-face-alist): Use mode-line face instead of obsolete
5728 alias modeline.
5729
42152ee4
SM
57302012-06-02 Stefan Merten <smerten@oekonux.de>
5731
5732 * textmodes/rst.el: Always require `cl'.
4cf9b38d 5733 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 5734
95f520b5
CY
57352012-06-02 Chong Yidong <cyd@gnu.org>
5736
5737 * image.el (imagemagick-enabled-types): Rename from
5738 imagemagick-types-enable. Add many more types.
5739 (imagemagick-types-inhibit): Change default to nil.
5740 (imagemagick-filter-types): Caller changed.
5741
4a5f187a
SM
57422012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5743
03fef3e6
SM
5744 * emacs-lisp/cl-macs.el: Use backquotes.
5745 (cl-transform-function-property): Use eval-and-compile rather than
5746 abusing `require'.
5747 (defstruct): Use declare-function instead of with-no-warnings.
5748
4a5f187a
SM
5749 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
5750 (byte-compile-output-docform): Re-add the print-circle bindings.
5751 (byte-compile-fix-header): Use #$ just because it's shorter.
5752 (byte-compile-output-file-form): Remove defun/defmacro.
5753
bd56924f
MR
57542012-06-01 Martin Rudalics <rudalics@gmx.at>
5755
5756 * simple.el (choose-completion): Remove now obsolete binding for
5757 owindow.
5758
046e38ce
MA
57592012-06-01 Michael Albinus <michael.albinus@gmx.de>
5760
5761 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
5762 in order to avoid "Stack overflow in regexp matcher".
5763
32d72c2f
GM
57642012-05-31 Glenn Morris <rgm@gnu.org>
5765
5766 * image.el: For clarity, call imagemagick-register-types at
5767 top-level, rather than relying on a custom :initialize.
5768 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
5769 (imagemagick-filter-types): New function. (Bug#7406)
5770 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
5771 If disabling support, remove elements altogether rather
5772 than using an impossible regexp.
5773 (imagemagick-types-inhibit): Give it the default init function.
5774
dd41169b
SM
57752012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5776
4a5f187a
SM
5777 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
5778 Handle arbitrary file name lengths (Bug#11585).
dd41169b 5779
efc00ab1 57802012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
5781
5782 * desktop.el (desktop-read): Clear previous and next buffers for
5783 all windows and bury *Messages* buffer (bug#11556).
5784
500fcedc
SM
57852012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5786
5787 Add `declare' for `defun'. Align `defmacro's with it.
5788 * emacs-lisp/easy-mmode.el (define-minor-mode)
5789 (define-globalized-minor-mode): Don't autoload the var definitions.
5790 * emacs-lisp/byte-run.el: Use lexical-binding.
5791 (defun-declarations-alist, macro-declarations-alist): New vars.
5792 (defmacro, defun): Use them.
5793 (make-obsolete, define-obsolete-function-alias)
5794 (make-obsolete-variable, define-obsolete-variable-alias):
5795 Use `declare'.
5796 (macro-declaration-function): Mark obsolete.
5797 * emacs-lisp/autoload.el: Use lexical-binding.
5798 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
5799
6e8a1786
AM
58002012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5801
5802 * textmodes/ispell.el (ispell-with-no-warnings):
5803 Define as a macro.
500fcedc
SM
5804 (ispell-kill-ispell, ispell-change-dictionary):
5805 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
5806 `interactive-p'.
5807
61b108cc
SM
58082012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5809
5810 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
5811 (macro-declaration-function): Move var from C code.
5812 (macro-declaration-function): Define function with defalias.
5813 * emacs-lisp/macroexp.el (macroexpand-all-1):
5814 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
5815 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
5816 defun/defmacro any more.
5817 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
5818 Provide fallback for unknown arglist.
5819 (byte-compile-arglist-warn): Change calling convention.
5820 (byte-compile-output-file-form): Move print-vars binding.
5821 (byte-compile-output-docform): Simplify accordingly.
5822 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
5823 (byte-compile-defmacro-declaration): Remove.
5824 (byte-compile-file-form-defmumble): Generalize to defalias.
5825 (byte-compile-output-as-comment): Return byte-positions.
5826 Simplify callers accordingly.
5827 (byte-compile-lambda): Use `assert'.
5828 (byte-compile-defun, byte-compile-defmacro): Remove.
5829 (byte-compile-file-form-defalias):
5830 Use byte-compile-file-form-defmumble.
5831 (byte-compile-defalias-warn): Remove.
5832
6d3f7c2f
SM
58332012-05-29 Stefan Merten <smerten@oekonux.de>
5834
5835 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 5836 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
5837
5838 (rst-mode-abbrev-table): Merge definition.
5839 (rst-mode): Make sure `font-lock-defaults' is buffer local.
5840 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
5841
6dbaa1c7
UJ
58422012-05-29 Ulf Jasper <ulf.jasper@web.de>
5843
5844 * calendar/icalendar.el
5845 (icalendar-export-region): Export UID properly.
5846
d209e2fb 58472012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
5848 * calendar/icalendar.el (icalendar-import-format):
5849 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
5850 (icalendar-import-format-uid): New.
5851 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
5852 Export UID.
5853
6876a58d
SM
58542012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5855
5856 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
5857 different alternative patterns.
5858 (pcase-codegen): Be more careful to preserve identity.
5859 (pcase--u1): Don't forget to mark vars as used.
5860
5861 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
5862 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
5863 (byte-compile-from-buffer): ...rather than here.
5864
5865 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
5866 functions from byte-compile-function-environment.
5867
46b7967e
TN
58682012-05-29 Troels Nielsen <bn.troels@gmail.com>
5869
5870 * window.el (window-deletable-p): Avoid deleting the root window
5871 of a frame with an active minibuffer.
5872
69d565e2
MR
58732012-05-29 Martin Rudalics <rudalics@gmx.at>
5874
5875 * simple.el (choose-completion): Use quit-window (Bug#11567).
5876
a149fa51
CY
58772012-05-29 Chong Yidong <cyd@gnu.org>
5878
5879 * whitespace.el (whitespace-cleanup): Fix usage of
5880 whitespace-empty-at-bob-regexp (Bug#11492).
5881
2b311310
AH
58822012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5883
5884 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
5885 revert (Bug#11488).
5886
b9cb2387
JL
58872012-05-29 Juri Linkov <juri@jurta.org>
5888
5889 * isearch.el (isearch-mode-map): Bind `M-s _' to
5890 `isearch-toggle-symbol'. Bind `M-s c' to
5891 `isearch-toggle-case-fold'.
5892 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
5893 (isearch-forward): Add `M-s _' to the docstring.
5894 (isearch-forward-symbol, isearch-toggle-case-fold)
5895 (isearch-symbol-regexp): New functions. (Bug#11381)
5896
d5e61c1c
JL
58972012-05-29 Juri Linkov <juri@jurta.org>
5898
5899 * isearch.el (isearch-word): Add docstring. (Bug#11381)
5900 (isearch-occur, isearch-search-and-update): If `isearch-word' is
5901 a function, call it to get the regexp.
5902 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
5903 property `isearch-message-prefix' instead of the string "word ".
5904 (isearch-search-fun-default): For the case of `isearch-word',
5905 return a lambda that calls re-search-forward/re-search-backward
5906 with a regexp returned by `word-search-regexp' or by the function
5907 in `isearch-word'.
5908
8cbd80f7
JL
59092012-05-29 Juri Linkov <juri@jurta.org>
5910
5911 * isearch.el (isearch-search-fun-default): New function.
5912 (isearch-search-fun): Move default part to the new function
5913 `isearch-search-fun-default'.
5914 (isearch-search-fun-function): Set the default value to
5915 `isearch-search-fun-default'. (Bug#11381)
5916
5917 * comint.el (comint-history-isearch-end):
5918 Use `isearch-search-fun-default'.
5919 (comint-history-isearch-search): Use `isearch-search-fun-default'
5920 and remove spacial case for `isearch-word'.
5921 (comint-history-isearch-wrap): Remove spacial case for
5922 `isearch-word'.
5923
5924 * hexl.el (hexl-isearch-search-function):
5925 Use `isearch-search-fun-default'.
5926
5927 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
5928 Use `word-search-regexp' for `isearch-word'.
5929
5930 * misearch.el (multi-isearch-search-fun):
5931 Use `isearch-search-fun-default'.
5932
5933 * simple.el (minibuffer-history-isearch-search):
5934 Use `isearch-search-fun-default' and remove spacial case for
5935 `isearch-word'.
5936 (minibuffer-history-isearch-wrap): Remove spacial case for
5937 `isearch-word'.
5938
5939 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
5940 Remove spacial case for `isearch-word'.
5941 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
5942
85c8c5b6
AM
59432012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5944
5945 Decrease XEmacs incompatibilities.
5946 * textmodes/flyspell.el (flyspell-check-pre-word-p):
5947 Use `string-match'.
5948 (flyspell-delete-region-overlays): Use alternative definition for
5949 XEmacs.
5950 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
5951 (flyspell-word): Use `process-kill-without-query' if XEmacs.
5952 (flyspell-mode-on): Use `interactive-p' if XEmacs.
5953 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
5954 `define-obsolete-face-alias' under XEmacs, but old method.
5955
5956 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
5957 `with-no-warnings' definition or Emacs alias.
5958 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
5959 (ispell-word): Do not use `region-p' if XEmacs.
5960
8cab9efc
AM
59612012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5962
5963 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
5964 Check for `ispell-dictionary-base-alist' instead of full
5965 `ispell-dictionary-alist'.
5966 (ispell-init-process): Show spellchecker when starting new Ispell
5967 process.
5968
fda91268
RZ
59692012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5970
5971 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
5972 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
5973
694ea8e3
JB
59742012-05-27 Juanma Barranquero <lekktu@gmail.com>
5975
5976 * version.el (motif-version-string, gtk-version-string)
5977 (ns-version-string): Declare.
5978
e4d4f539
JL
59792012-05-27 Juri Linkov <juri@jurta.org>
5980
5981 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
5982 after the `eval-defun-1' specialcaseing
5983 like in `edebug-eval-defun' (bug#10181).
5984
5985 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
5986 like in `eval-defun-1'.
5987
33017faf 59882012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 5989
fda91268
RZ
5990 * mail/sendmail.el (mail-yank-region):
5991 Recognize rmail-yank-current-message in addition to insert-buffer.
5992 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
5993 a *mail* buffer created through rmail-start-mail with sendmail as
5994 mail-user-agent.
5995
33017faf
GM
59962012-05-27 Chong Yidong <cyd@gnu.org>
5997
5998 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
5999 Default to 256 (Bug#11267).
6000
6001 * help.el (describe-mode): Doc fix.
6002
04188bb9
GM
60032012-05-26 Glenn Morris <rgm@gnu.org>
6004
38264cc9
GM
6005 * w32-fns.el (w32-init-info): Remove.
6006 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6007
eb7afdad
GM
6008 * info.el (info-initialize): For self-contained NS builds, put the
6009 included info/ directory at the front. (Bug#2791)
6010
04188bb9
GM
6011 * paths.el (Info-default-directory-list): Make it a defcustom,
6012 mainly so that we can use custom-initialize-delay.
6013
a179e3f7
SM
60142012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6015
43416392
SM
6016 * subr.el (buffer-has-markers-at): Mark obsolete.
6017
a179e3f7 6018 * subr.el (lambda): Use declare.
43416392 6019
a179e3f7
SM
6020 * emacs-lisp/lisp-mode.el (lambda):
6021 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6022
34a008d9
AH
60232012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6024
6025 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6026
0a3b289f
GM
60272012-05-26 Glenn Morris <rgm@gnu.org>
6028
6029 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6030
758c81e8
GM
60312012-05-25 Glenn Morris <rgm@gnu.org>
6032
f9f334f0
GM
6033 * paths.el: Remove no-byte-compile.
6034 * loadup.el: No need to load paths.el uncompiled.
6035
87eb79c2
GM
6036 * image.el (imagemagick-types-inhibit): Doc fix.
6037
758c81e8
GM
6038 * version.el: Remove no-byte-compile and associated formatting.
6039 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6040 is ancient code from when there was an "inc-vers.el".
6041
e7e85dc0
SM
60422012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6043
6044 * progmodes/gdb-mi.el: Minor style changes.
6045 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6046 Turn into minor modes.
6047 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6048 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6049 (gdb-shell): Remove unneeded let-binding.
6050 (gdb-get-many-fields): Eliminate O(n²) behavior.
6051
f31237a4
EZ
60522012-05-25 Eli Zaretskii <eliz@gnu.org>
6053
6054 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6055 platforms that don't link in fontset.c.
6056
bc1b21bb
JL
60572012-05-25 Juri Linkov <juri@jurta.org>
6058
6059 Use the same diff color scheme as in modern VCSes (bug#10181).
6060
6061 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6062 to avoid confusion with `diff-added' that now uses green colors.
6063 (diff-removed): Use shades of red.
6064 (diff-added): Use shades of green.
6065 (diff-changed): Leave just the yellow color.
6066 (diff-use-changed-face): New variable.
6067 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6068 how to highlight context diff changes.
6069 (diff-refine-change): Use shades of yellow.
6070 (diff-refine-removed): New face that uses shades of red.
6071 (diff-refine-added): New face that uses shades of green.
6072 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6073 `diff-refine-removed' in the call to `smerge-refine-subst'
6074 depending on the value of `diff-use-changed-face'.
6075
6076 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6077 (smerge-other): Use shades of green.
6078 (smerge-base): Use shades of yellow.
6079 (smerge-refined-change): Empty face.
6080 (smerge-refined-removed): New face that uses shades of red.
6081 (smerge-refined-added): New face that uses shades of green.
6082 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6083 args `props-r' and `props-a', and use them. Doc fix.
6084 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6085 on its value use different faces `smerge-refined-change',
6086 `smerge-refined-removed', `smerge-refined-added' in the call to
6087 `smerge-refine-subst'.
6088
6089 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6090 Add face condition `min-colors 88' with shades of red.
6091 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6092 `min-colors 88' with shades of green.
6093 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6094 `min-colors 88' with shades of yellow.
6095
6df9112c
GM
60962012-05-24 Glenn Morris <rgm@gnu.org>
6097
ead5edc0
GM
6098 * paths.el (prune-directory-list, remote-shell-program): Move to...
6099 * files.el (prune-directory-list, remote-shell-program): ...here.
6100 For the latter, delay initialization, prefer ssh, just search PATH.
6101
f18b81e6
GM
6102 * paths.el (term-file-prefix): Move to faces.el (the only user).
6103 * faces.el (term-file-prefix): Move here, make it a defcustom.
6104
ee2f89a6
GM
6105 * paths.el (news-directory, news-path, news-inews-program):
6106 Move to gnus/nnspool.el.
61a583ca 6107
f8815e4c
GM
6108 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6109
c8f3b42c
GM
6110 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6111 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6112 Make the latter a defcustom, with a delayed initialization.
6113
6df9112c
GM
6114 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6115 These were deleted from Gnus itself late 2010.
6116
5dadff36
JB
61172012-05-22 Juanma Barranquero <lekktu@gmail.com>
6118
9e1701c6
JB
6119 * progmodes/which-func.el (which-func-ff-hook):
6120 Check against user-error, not error.
6121
bd7239f5 6122 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
6123 cl-specs.el, which no longer exists.
6124
3290526d
GM
61252012-05-22 Glenn Morris <rgm@gnu.org>
6126
6127 * info.el (info-emacs-bug): New command.
6128 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6129 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6130
ff0c3cfb
GM
61312012-05-21 Glenn Morris <rgm@gnu.org>
6132
6133 * makefile.w32-in (update-subdirs-SH):
6134 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6135
5814f126
SM
61362012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6137
a52c0aa0
SM
6138 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6139
5814f126
SM
6140 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6141 Simplify Maven regexp, and make sure the file can't start with a space
6142 (bug#11517).
6143
b847032c
GM
61442012-05-21 Glenn Morris <rgm@gnu.org>
6145
6146 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6147 Scrap superfluous subshells.
6148
3858bfe7
SM
61492012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6150
6151 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6152 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6153
d14b0029
JB
61542012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6155
6156 * calc/calc.el (calc-ensure-consistent-units): New variable.
6157
a52c0aa0
SM
6158 * calc/calc-units.el (math-consistent-units-p)
6159 (math-check-unit-consistency): New functions.
6160 (calc-quick-units, calc-convert-units):
6161 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6162 is non-nil.
d14b0029
JB
6163 (calc-extract-units): Fix typo.
6164
60c4db3a
SM
61652012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6166
77f3b62e
SM
6167 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6168
60c4db3a
SM
6169 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6170 (flyspell-default-deplacement-commands): Don't spell check after
6171 repeated window/frame switches (e.g. triggered by mouse-movement).
6172 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6173 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6174 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6175 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6176 Remove unused vars.
6177 (flyspell-get-casechars, flyspell-get-not-casechars):
6178 Simplify; Don't bother removing a ] just to add it back.
6179 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6180
d209e2fb 61812012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
6182
6183 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6184 New functions.
bd7239f5 6185 (math-function-table): Add support for more C functions.
b1a10716 6186
3f1b25b5
AM
61872012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6188
090bd7cb
JB
6189 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6190 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6191 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 6192
b581bb5c
SM
61932012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6194
6195 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6196 their respective macro declarations.
6197 * skeleton.el (define-skeleton):
6198 * progmodes/compile.el (define-compilation-mode):
6199 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6200 (define-ibuffer-filter):
6201 * emacs-lisp/generic.el (define-generic-mode):
6202 * emacs-lisp/easy-mmode.el (define-minor-mode)
6203 (define-globalized-minor-mode):
6204 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6205 * emacs-lisp/byte-run.el (defsubst):
6206 * custom.el (deftheme): Add doc-string metadata.
6207
70b8ef8f
SM
62082012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6209
6210 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6211
b1198e17
SM
62122012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6213
9abdc45d
SM
6214 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6215
b1198e17
SM
6216 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6217 * emacs-lisp/cl-macs.el: Idem.
6218 * emacs-lisp/cl-specs.el: Remove.
6219
4735906a
SM
62202012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6221
6222 Minor renaming of internal CL functions and variables.
6223 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6224 (cl--position): Rename from cl-position.
6225 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6226 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6227 (cl--random-state): Rename from *random-state*.
6228
ac348012
SM
62292012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6230
6231 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6232 parens around the arg list (bug#11499).
6233
a0a79cde
JL
62342012-05-17 Juri Linkov <juri@jurta.org>
6235
6236 * isearch.el (word-search-regexp, word-search-backward)
6237 (word-search-forward, word-search-backward-lax)
6238 (word-search-forward-lax): Move functions from search.c
6239 (bug#10145, bug#11381).
6240
65034a51
AM
62412012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6242
090bd7cb
JB
6243 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6244 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6245 Delay for otherchars as for normal word components.
65034a51 6246
1a72a195
SM
62472012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6248
6249 * minibuffer.el (completion--sifn-requote): Fix last change.
6250 (minibuffer-local-must-match-filename-map):
6251 Move define-obsolete-variable-alias before its var.
6252
fdb058c2
SM
62532012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6254
c41045e6
SM
6255 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6256
036dfb8b
SM
6257 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6258 behavior.
6259 (completion--string-equal-p): New function.
6260 (completion--twq-all): Use it to get better assertion failure data.
6261
2473256d
SM
6262 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6263 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6264 (shell--requote-argument): New functions.
6265 (shell-completion-vars): Use them.
6266 (shell--parse-pcomplete-arguments): Rename from
6267 shell-parse-pcomplete-arguments.
6268 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6269 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6270 Obey comint-file-name-quote-list.
6271
fdb058c2
SM
6272 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6273 (smie-indent-keyword): Use it.
6274
51fa99f1
SM
62752012-05-14 Stefan Merten <smerten@oekonux.de>
6276
6277 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6278
e18afed7 62792012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
6280
6281 * net/rlogin.el (rlogin-mode-map): Fix last change.
6282
e18afed7 62832012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
6284
6285 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6286 the following \r\n using a single `process-send-string', since the
6287 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 6288 with two `process-send-string's (Bug#11444).
8633b1f4 6289
e18afed7 62902012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 6291
fdb058c2
SM
6292 * shell.el (shell-parse-pcomplete-arguments):
6293 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 6294
2d21d7f6
WJ
62952012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6296
e18afed7 6297 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
6298 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6299 (image-transform-width, image-transform-fit-width): New functions.
6300 (image-transform-properties): Use them.
6301 (image-transform-check-size): New function.
6302 (image-toggle-display-image): Use it (for testing).
6303 (image-transform-set-rotation): Reduce angle mod 360.
6304 Delete obsolete comment.
6305
7102e6d0
WJ
63062012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6307
6308 * image-mode.el: Fix scaling (bug#11399).
6309 (image-transform-resize): Doc fix.
6310 (image-transform-properties): Default scale is 1 and height should
6311 be an integer.
6312
06bc5e6e
SM
63132012-05-13 Johan Bockgård <bojohan@gnu.org>
6314
6315 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6316 than hard-coding `car', to fix misbehavior when moving forward.
6317
0ae03b6a
CY
63182012-05-13 Chong Yidong <cyd@gnu.org>
6319
6320 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6321 (tabulated-list-entries, tabulated-list-padding)
6322 (tabulated-list-sort-key): Make permanent-local.
6323
6324 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6325 (electric-buffer-list): Put electric buffer menu
6326 command descriptions in this docstring, instead of the docstring
6327 of electric-buffer-menu-mode. Code cleanups.
6328 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6329 Electric-buffer-menu-mode.
6330 (electric-buffer-update-highlight): Minor code cleanup.
6331
205a7391
MA
63322012-05-13 Michael Albinus <michael.albinus@gmx.de>
6333
6334 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6335 (Bug#11447)
6336
e5bd0a28
SM
63372012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6338
6339 Move define-obsolete-variable-alias before the var's definition.
6340 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6341 * tooltip.el (tooltip-hook):
6342 * textmodes/reftex-toc.el (reftex-toc-map):
6343 * textmodes/reftex-sel.el (reftex-select-label-map)
6344 (reftex-select-bib-map):
6345 * textmodes/reftex-index.el (reftex-index-map)
6346 (reftex-index-phrases-map):
6347 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6348 * progmodes/meta-mode.el (meta-mode-map):
6349 * novice.el (disabled-command-hook):
6350 * loadhist.el (unload-hook-features-list):
6351 * frame.el (blink-cursor):
6352 * files.el (find-file-not-found-hooks, write-file-hooks)
6353 (write-contents-hooks):
6354 * emulation/tpu-edt.el (GOLD-map):
6355 * emacs-lock.el (emacs-lock-from-exiting):
6356 * emacs-lisp/generic.el (generic-font-lock-defaults):
6357 * emacs-lisp/chart.el (chart-map):
6358 * dos-fns.el (register-name-alist):
6359 * dired-x.el (dired-omit-files-p):
6360 * desktop.el (desktop-enable):
6361 * cus-edit.el (custom-mode-hook):
6362 * buff-menu.el (buffer-menu-mode-hook):
6363 * bookmark.el (bookmark-read-annotation-text-func)
6364 (bookmark-exit-hooks):
6365 * allout.el (allout-mode-deactivate-hook)
6366 (allout-exposure-change-hook, allout-structure-added-hook)
6367 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6368 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6369 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6370 comes before the corresponding variable's definition.
6371
ac59c2f6
CY
63722012-05-12 Chong Yidong <cyd@gnu.org>
6373
6374 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
6375 (Buffer-menu-mouse-select): Restore function (Bug#11459).
6376 (Buffer-menu-mode-map): Bind it.
6377 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 6378
dee6c9a3
SM
63792012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6380
2171cea5
SM
6381 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
6382 (prolog-upper-case-string, prolog-lower-case-string)
6383 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6384 (prolog-use-smie, prolog-smie-grammar): New vars.
6385 (prolog-smie-forward-token, prolog-smie-backward-token)
6386 (prolog-smie-rules): New funs.
6387 (prolog-comment-indent): Remove.
6388 (prolog-mode-variables): Use default comment indentation instead.
6389 Setup SMIE.
6390 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6391 (prolog-mode): Don't call them any more.
6392 (prolog-electric-colon, prolog-electric-dash)
6393 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6394
aa0382bd
SM
6395 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6396
dbacb4bd
SM
6397 * minibuffer.el (completion--twq-all): Again, allow case differences.
6398
13bdd94c
SM
6399 * term.el: Move keymap initialization code to be more idiomatic.
6400 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6401 (term-terminal-menu): Move initialization into declaration.
6402 (term-escape-char): Let the user set it in her .emacs.
6403
ff46c759
SM
6404 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6405 Provide SMIE-based indentation (not enabled by default yet).
6406 (sh-mode-map): Don't bind electric keys.
6407 Use electric-pair-mode instead of skeleton-pair.
6408 (sh-assignment-regexp): Fit within 80 columns.
6409 (sh-indent-supported): Specify actual shell name instead of boolean.
6410 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6411 (sh-maybe-here-document): Use it. Make obsolete.
6412 (sh-electric-here-document-mode) New minor mode.
6413 (sh-mode): Use it. Don't set sh-indent-supported-here here.
6414 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6415 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6416 (sh-smie-rc-grammar, sh-use-smie): New vars.
6417 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6418 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6419 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6420 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6421 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6422 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6423 (sh-set-shell): Use smie-setup if requested.
6424
dee6c9a3
SM
6425 * term.el (term-set-escape-char): Properly set term-escape-char.
6426 See http://stackoverflow.com/questions/10524656.
6427
9f9aa044
CY
64282012-05-10 Chong Yidong <cyd@gnu.org>
6429
6430 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6431 Use url-generic-parse-url, and handle host names and Windows
6432 filenames properly.
6433 (ffap-url-unwrap-remote): Use url-generic-parse-url.
6434 (ffap-url-unwrap-remote): Accept list values, specifying a list of
6435 URL schemes to work on.
6436 (ffap--toggle-read-only): New function.
6437 (ffap-read-only, ffap-read-only-other-window)
6438 (ffap-read-only-other-frame): Use it.
6439 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6440 necessary for ffap-url-unwrap-remote.
6441
836d29b3
DA
64422012-05-10 Dave Abrahams <dave@boostpro.com>
6443
6444 * cus-start.el (create-lockfiles): Add it.
6445
00fd78ed
CY
64462012-05-09 Chong Yidong <cyd@gnu.org>
6447
6448 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6449 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6450
666b903b 64512012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
6452
6453 * shell.el (shell-completion-vars): Fix last change (bug#11348).
6454
666b903b 64552012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
6456
6457 * ansi-color.el (ansi-color-process-output): Check for validity of
6458 comint-last-output-start before using it. This avoids a bad
6459 interaction with gdb-mi's input/output buffer.
6460
666b903b 64612012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
6462
6463 * files.el (dir-locals-read-from-file):
6464 Mention dir-locals in any error message.
6465
666b903b 64662012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
6467
6468 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6469 package (Bug#11410).
6470
f677562b
CY
6471 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6472 variables into description.
6473
666b903b 64742012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
6475
6476 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6477 shell-delimiter-argument-list (bug#11348).
6478 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6479
b499d8d0
JB
64802012-05-09 Juanma Barranquero <lekktu@gmail.com>
6481
8f6b6da8
JB
6482 * textmodes/rst.el: Silence byte-compiler warnings.
6483 (rst-re-alist, rst-reset-section-caches): Move around.
6484 (rst-re): Use `characterp', not `char-valid-p'.
6485 (font-lock-beg, font-lock-end): Declare.
6486
4824146a
JB
6487 * progmodes/idlw-shell.el (specs): Remove reference to deleted
6488 variable `idlwave-shell-activate-alt-keybindings' and simplify.
6489
b499d8d0
JB
6490 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6491
ad89bb83
GM
64922012-05-08 Glenn Morris <rgm@gnu.org>
6493
6494 * files.el (auto-mode-alist): Treat ".make" like ".mk".
6495
8bba5a75
SM
64962012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6497
49ed9c8e
SM
6498 * vc/log-edit.el: Add GNU coding standards highlighting.
6499 (log-edit-font-lock-gnu-style)
6500 (log-edit-font-lock-gnu-keywords): New vars.
6501 (log-edit-font-lock-keywords): New fun.
6502 (log-edit-mode): Don't fold case in font-lock.
6503 (log-edit-font-lock-keywords): Do not assume case-folding.
6504
07d00b56
SM
6505 * imenu.el: Misc cleanup. Make docstrings out of comments.
6506 Use lexical-binding.
6507 (imenu--index-alist, imenu--last-menubar-index-alist)
6508 (imenu-menubar-modified-tick): Use defvar-local.
6509 (imenu--split-menu): Remove unused var.
6510 (imenu--cleanup-seen): Declare as global.
6511 (imenu--cleanup): Use dolist.
6512
8bba5a75
SM
6513 * subr.el (defvar-local): Add debug spec and doc-string position.
6514
5075bdb5
GM
65152012-05-08 Glenn Morris <rgm@gnu.org>
6516
090bd7cb 6517 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
6518 * language/english.el, language/georgian.el, language/greek.el:
6519 * language/japanese.el, language/khmer.el, language/korean.el:
6520 * language/lao.el, language/misc-lang.el, language/romanian.el:
6521 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
6522 * language/thai.el, language/utf-8-lang.el:
6523 Remove no-byte-compile setting.
6524
5075bdb5
GM
6525 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
6526
06f679a7
AH
65272012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6528
6529 * progmodes/make-mode.el (makefile-browse):
6530 Remove unnecessary interactive. (Bug#11324)
6531
03794570
GM
65322012-05-07 Glenn Morris <rgm@gnu.org>
6533
af8630f4
GM
6534 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
6535
03794570
GM
6536 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
6537
f0809a9d
SM
65382012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6539
28be5ce7
SM
6540 * loadup.el: Preload newcomment.el.
6541 * newcomment.el: Move autoload-only code to toplevel.
6542
f0809a9d
SM
6543 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
6544 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6545 Handle new :right-align column property.
6546 (tabulated-list-print-col): Idem, plus use `display' text-property to
6547 try and preserve alignment for variable pitch fonts.
6548
1241b724
CY
65492012-05-07 Chong Yidong <cyd@gnu.org>
6550
6551 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
6552 (tabulated-list-use-header-line): New var.
6553 (tabulated-list-init-header): Use it.
6554 (tabulated-list-print-fake-header): New function.
6555 (tabulated-list-print): Use it.
6556 (tabulated-list-sort-button-map): Add non-header-line commands.
6557 (tabulated-list-init-header): Add column name property to basic
6558 labels as well.
6559 (tabulated-list-col-sort): Handle non-header-line button case.
6560 (tabulated-list--sort-by-column-name): Fix a corner case.
6561
f0809a9d
SM
6562 * buff-menu.el (list-buffers--refresh):
6563 Handle Buffer-menu-use-header-line.
1241b724 6564
e5f9458f
CY
65652012-05-06 Chong Yidong <cyd@gnu.org>
6566
6567 * buff-menu.el: Convert to Tabulated List mode.
6568 (Buffer-menu-buffer+size-width): Make obsolete.
6569 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
6570 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
6571 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
6572 documentation into docstring of buffer-menu.
6573 (Buffer-menu-toggle-files-only): Add an informative message.
6574 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
6575 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
6576 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
6577 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
6578 (Buffer-menu-execute, Buffer-menu-select)
6579 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
6580 (Buffer-menu-bury): Use Tabulated List machinery.
6581 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
6582 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 6583 Delete.
e5f9458f
CY
6584 (list-buffers--refresh): New function.
6585 (list-buffers-noselect): Use it.
6586 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
6587 (Buffer-menu--pretty-file-name): New helper functions.
6588
6589 * loadup.el: Preload tabulated-list.
6590
6591 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
6592 tabulated-list-sort-column.
6593 (tabulated-list-init-header): Add the initial aligning space even
6594 if tabulated-list-padding is zero.
6595
e129292c
CS
65962012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
6597
6598 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
6599 whose cdr is not a cons cell correctly (bug#11038).
6600
6632d361
CY
66012012-05-06 Chong Yidong <cyd@gnu.org>
6602
e129292c
CS
6603 * emacs-lisp/tabulated-list.el (tabulated-list-format):
6604 Accept additional plist in column descriptors.
6632d361
CY
6605 (tabulated-list-init-header): Obey it.
6606 (tabulated-list-get-entry): New function.
6607 (tabulated-list-put-tag): Use it. Use string-width instead of
6608 length.
6609 (tabulated-list--column-number): New function.
6610 (tabulated-list-print): Use it.
e129292c
CS
6611 (tabulated-list-print-col): New function.
6612 Set `tabulated-list-column-name' property on each column's text.
6632d361 6613 (tabulated-list-print-entry): Use it.
e129292c
CS
6614 (tabulated-list-delete-entry, tabulated-list-set-col):
6615 New functions.
6632d361
CY
6616 (tabulated-list-sort-column): New command (Bug#11337).
6617
3cc99f68
CY
6618 * buff-menu.el (list-buffers): Move C-x C-b binding from
6619 buff-menu.el to bindings.el.
6620
6621 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
6622 :advertised-binding feature.
6623
52b61776
TN
66242012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
6625
6626 * progmodes/compile.el (compilation-internal-error-properties):
6627 Calculate start position correctly when end-col is set but
6628 end-line is not (Bug#11382).
6629
ebfe2597
WJ
66302012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
6631
6632 * man.el (Man-unindent): Use text-property-default-nonsticky to
6633 prevent untabify from inheriting face properties (Bug#11408).
6634
6d3f7c2f
SM
66352012-05-05 Stefan Merten <smerten@oekonux.de>
6636
6637 * textmodes/rst.el: Major merge with upstream development up to
6638 Docutils SVN r7399 / rst.el V1.2.1.
6639
6640 Clarify maintainership and authors.
6641
6642 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
6643 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
6644 (rst-official-version, rst-official-cvs-rev, rst-version)
6645 (rst-package-emacs-version-alist): New functions and variables
6646 for version information.
6647
6648 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
6649 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
6650 (rst-mode-syntax-table, rst-mode): New and corrected functions
6651 and variables representing reStructuredText features.
6652
6653 (rst-re): New function for reStructuredText regexes. Use in
6654 many places.
6655
6656 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
6657 (rst-mode-map): Rebind keys.
6658
6659 (rst-mode-lazy, rst-font-lock-keywords)
6660 (rst-font-lock-extend-region)
6661 (rst-font-lock-extend-region-internal)
6662 (rst-font-lock-extend-region-extend)
6663 (rst-font-lock-find-unindented-line-limit)
6664 (rst-font-lock-find-unindented-line-match)
6665 (rst-adornment-level, rst-font-lock-adornment-level)
6666 (rst-font-lock-adornment-match)
6667 (rst-font-lock-handle-adornment-pre-match-form)
6668 (rst-font-lock-handle-adornment-matcher): Major revision of
6669 font-locking. Integrate with other code. Use `jit-lock-mode'.
6670
6671 (rst-preferred-adornments, rst-adjust-hook)
6672 (rst-new-adornment-down, rst-preferred-bullets)
6673 (rst-preferred-bullets, rst-indent, rst-indent-width)
6674 (rst-indent-field, rst-indent-literal-normal)
6675 (rst-indent-literal-minimized, rst-indent-comment): Change,
6676 extend and improve customization.
6677
6678 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
6679 (rst-normalize-cursor-position, rst-get-decoration)
6680 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
6681 (rst-rstrip, rst-toc-insert-find-delete-contents)
6682 (rst-shift-fill-region, rst-compute-bullet-tabs)
6683 (rst-debug-print-tabs, rst-debug-mark-found)
6684 (rst-shift-region-guts, rst-shift-region-right)
6685 (rst-shift-region-left, rst-use-char-classes)
6686 (rst-font-lock-keywords-function)
6687 (rst-font-lock-indentation-point)
6688 (rst-font-lock-find-unindented-line-begin)
6689 (rst-font-lock-find-unindented-line-end)
6690 (rst-font-lock-find-unindented-line)
6691 (rst-font-lock-adornment-point, rst-font-lock-level)
6692 (rst-adornment-level-alist): Remove functions and variables.
6693
6694 (rst-compare-adornments, rst-get-adornment-match)
6695 (rst-suggest-new-adornment, rst-get-adornments-around)
6696 (rst-adornment-complete-p, rst-get-next-adornment)
6697 (rst-adjust-adornment, rst-display-adornments-hierarchy)
6698 (rst-straighten-adornments): Standardize function names to
6699 use "adornment" instead of "decoration". Correct callers.
6700 Similar standardizing in many places.
6701
6702 (rst-update-section, rst-adjust, rst-promote-region)
6703 (rst-enumerate-region, rst-bullet-list-region)
6704 (rst-repeat-last-character): Correct use of `interactive'.
6705
6706 (rst-classify-adornment, rst-find-all-adornments)
6707 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
6708 (rst-find-leftmost-column, rst-repeat-last-character):
6709 Refactor functions.
6710
6711 (rst-find-title-line, rst-reset-section-caches)
6712 (rst-get-adornments-around, rst-adjust-adornment-work)
6713 (rst-arabic-to-roman, rst-roman-to-arabic)
6714 (rst-insert-list-pos, rst-insert-list-new-item)
6715 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
6716 New functions.
6717
6718 (rst-all-sections, rst-section-hierarchy)
6719 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
6720 New variables.
6721
6722 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
6723 configuration instead of only buffer. Change where necessary.
6724
6725 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
6726 (rst-shift-region, rst-adaptive-fill): New functions for
6727 indentation and filling.
6728
6729 (rst-comment-line-break, rst-comment-indent)
6730 (rst-comment-insert-comment, rst-comment-region)
6731 (rst-uncomment-region): New functions for handling comments.
6732
6733 (rst-compile): Quote shell arguments.
6734
6735 (rst-compile-pdf-preview, rst-compile-slides-preview):
6736 Delete temporary files after use.
6737
a43f98b3
GM
67382012-05-05 Glenn Morris <rgm@gnu.org>
6739
48176e8b
GM
6740 * calendar/cal-html.el: Optionally include holidays in the output.
6741 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
6742 (cal-html-holidays): New option.
6743 (cal-html-css-default): Add holiday entry.
6744 (holiday-in-range): Autoload it.
6745 (cal-html-htmlify-entry): Add optional class argument.
6746 (cal-html-htmlify-list): Add optional holidays argument.
6747 (cal-html-insert-agenda-days): Include holidays in the output.
6748 (cal-html-one-month): Maybe include holidays.
6749
a43f98b3
GM
6750 * calendar/holidays.el (holiday-in-range):
6751 Move here from cal-tex-list-holidays.
6752 * calendar/cal-tex.el (cal-tex-list-holidays):
6753 Make it an obsolete alias for holiday-in-range. Update all callers.
6754
fef9d149 67552012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
6756
6757 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
6758 Nextstep.
6759
248da2f4
RW
67602012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
6761
6762 * files.el (file-auto-mode-skip): New var.
6763 (set-auto-mode-1): Use it.
6764
f95e9344
SM
67652012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6766
df96ab1e
SM
6767 * repeat.el: Use lexical-binding.
6768 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
6769 (repeat-undo-count): Remove.
6770 (repeat):
6771 * progmodes/octave-mod.el (octave-abbrev-start):
6772 * progmodes/f90.el (f90-abbrev-start):
6773 * face-remap.el (text-scale-adjust):
6774 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
6775
5342bb06
SM
6776 * emacs-lisp/pcase.el (pcase--let*): New function.
6777 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
6778 a bit more.
6779 (pcase--split-pred): Be more clever about ruling out overlap between
6780 a predicate and some constant pattern.
6781 (pcase--q1): Use `null' instead of (eq foo nil).
6782
f95e9344
SM
6783 * subr.el (setq-local, defvar-local): New macros.
6784 (kbd): Redefine as an alias.
6785 (with-selected-window): Leave unrelated frames alone.
6786 (set-temporary-overlay-map): New function.
6787
71873e2b
SM
67882012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6789
6790 * subr.el (user-error): New function.
6791 * window.el (switch-to-buffer):
6792 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
6793 (smerge-match-conflict):
6794 * simple.el (previous-matching-history-element)
6795 (next-matching-history-element, goto-history-element, undo-more)
6796 (undo-start):
6797 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
6798 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
6799 (next-file, tags-loop-scan, list-tags, complete-tag):
6800 * progmodes/compile.el (compilation-loop):
6801 * mouse.el (mouse-minibuffer-check):
6802 * man.el (Man-bgproc-sentinel, Man-goto-page):
6803 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
6804 (Info-history-forward, Info-follow-reference, Info-menu)
6805 (Info-extract-menu-item, Info-extract-menu-counting)
6806 (Info-forward-node, Info-backward-node, Info-next-menu-item)
6807 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
6808 (Info-next-reference, Info-prev-reference, Info-index)
6809 (Info-index-next, Info-follow-nearest-node)
6810 (Info-copy-current-node-name):
6811 * imenu.el (imenu--make-index-alist)
6812 (imenu-default-create-index-function, imenu-add-to-menubar):
6813 * files.el (basic-save-buffer, recover-file):
6814 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6815 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
6816 (checkdoc-message-text, checkdoc-defun):
6817 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
6818 * cus-edit.el (customize-changed-options, customize-rogue)
6819 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
6820 (custom-variable-mark-to-reset-standard)
6821 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
6822 (custom-file):
6823 * completion.el (check-completion-length):
6824 * comint.el (comint-search-arg)
6825 (comint-previous-matching-input-string-position)
6826 (comint-previous-matching-input)
6827 (comint-replace-by-expanded-history-before-point, comint-send-input)
6828 (comint-copy-old-input, comint-backward-matching-input)
6829 (comint-goto-process-mark, comint-set-process-mark):
6830 * calendar/calendar.el (calendar-cursor-to-date): Use it.
6831 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
6832
8a61ee22
SM
68332012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6834
66408d1e
SM
6835 * dabbrev.el (dabbrev--ignore-case-p): New function.
6836 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
6837 Use it.
6838
8a61ee22
SM
6839 * files.el (automount-dir-prefix): Mark as obsolete.
6840
3c74813a
GM
68412012-05-04 Glenn Morris <rgm@gnu.org>
6842
6843 * patcomp.el, play/bruce.el: Move to obsolete/.
6844
0bfcf5c5
PE
68452012-05-04 Paul Eggert <eggert@cs.ucla.edu>
6846
6847 Fix minor Y10k bugs.
6848 * arc-mode.el (archive-unixdate):
6849 * autoinsert.el (auto-insert-alist):
6850 * calc/calc-forms.el (math-this-year):
6851 * emacs-lisp/copyright.el (copyright-current-year)
6852 (copyright-update-year, copyright):
6853 * tar-mode.el (tar-clip-time-string):
6854 * time.el (display-time-update):
6855 Don't assume years have 4 digits.
6856
78f3273a
CY
68572012-05-04 Chong Yidong <cyd@gnu.org>
6858
6859 * dos-w32.el (file-name-buffer-file-type-alist)
6860 (direct-print-region-use-command-dot-com):
6861 * ffap.el (ffap-menu-regexp):
6862 * find-file.el (ff-special-constructs):
6863 * follow.el (follow-debug):
6864 * forms.el (forms--debug):
6865 * iswitchb.el (iswitchb-all-frames):
6866 * ido.el (ido-all-frames):
6867 * emacs-lisp/timer.el (timer-max-repeats):
6868 * mail/feedmail.el (feedmail-mail-send-hook)
6869 (feedmail-mail-send-hook-queued):
6870 * mail/footnote.el (footnote-signature-separator):
6871 * mail/mailabbrev.el (mail-alias-separator-string)
6872 (mail-abbrev-mode-regexp):
6873 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
6874 * progmodes/idlwave.el (idlwave-libinfo-file)
6875 (idlwave-default-completion-case-is-down)
6876 (idlwave-library-routines): Convert defvars to defcustoms.
6877
6878 * mail/rmail.el (rmail-decode-mime-charset):
6879 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
6880 (idlwave-shell-fix-inserted-breaks)
6881 (idlwave-shell-activate-alt-keybindings)
6882 (idlwave-shell-use-breakpoint-glyph):
6883 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
6884
f7ae6719
SM
68852012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6886
6887 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
6888
47086495
WS
68892012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
6890
6891 * progmodes/verilog-mode.el (font-lock-keywords):
6892 Fix mis-highligting auto. Reported by Craig Barner.
6893 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 6894 defines from global name space. Reported by Dan Dever.
47086495
WS
6895 (verilog-auto-reset, verilog-auto-reset-widths)
6896 (verilog-auto-tieoff): Support using unbased numbers for
6897 AUTORESET and AUTOTIEOFF.
6898 (verilog-submit-bug-report): Update variable list.
6899 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 6900 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
6901 (verilog-auto-template-lint): Fix hash error when linting modules
6902 with no used templates.
6903 (verilog-warn, verilog-warn-error)
6904 (verilog-warn-fatal): When non-interactive report multiple
6905 warnings before exiting. Suggested by Brad Dobbie.
6906 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
6907 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
6908 to report unused template errors. Reported by Brad Dobbie.
6909 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 6910 nets, bug438. Reported by Vns Blore.
47086495
WS
6911 (verilog-auto-inout-module, verilog-auto-reg)
6912 (verilog-read-decls, verilog-read-sub-decls-sig)
6913 (verilog-signals-edit-wire-reg, verilog-signals-with):
6914 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 6915 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
6916 "reg" for backwards compatibility presuming Verilog 2001.
6917 (verilog-auto-ascii-enum): Add "auto enum" as alias.
6918 (verilog-preprocess): Fix replication of preprocess output.
6919 Reported by Brad Dobbie.
6920 (verilog-auto-inst-interfaced-ports):
6921 Create verilog-auto-inst-interfaced-ports, bug429.
6922 Reported by Julian Gorfajn.
6923 (verilog-after-save-font-hook)
6924 (verilog-before-save-font-hook): New variable.
6925 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
6926 (verilog-save-font-mods): Wrap disabling fontification, reported
6927 by David Rogoff.
6928 (verilog-do-indent, verilog-pretty-declarations-auto)
6929 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
6930 Reported by Pierre-David Pfister.
6931 (verilog-set-auto-endcomments): Fix endtask auto comments outside
6932 of class declarations, bug292. Reported by Kevin Heilman.
6933 (verilog-read-decls): Fix 'parameter type' not appearing in
6934 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
6935 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 6936 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
6937 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
6938 Reported by David Kravitz.
6939
69402012-05-03 Michael McNamara <mac@mail.brushroad.com>
6941
6942 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
6943 assignment with tests in ifs and for loops.
6944 (verilog-extended-complete-re, verilog-complete-reg): Change so
6945 that DPI inport functions don't look like fuction declarations.
6946 (verilog-pretty-expr): Don't line up assignment
6947 operations to the test and increment in if and for loops
6948 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 6949 that DPI inport functions don't look like fuction declarations.
47086495 6950
2e51d4b5
KH
69512012-05-03 Kenichi Handa <handa@m17n.org>
6952
6953 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 6954 decoding, and show a warning message without signaling an error
2e51d4b5
KH
6955 (Bug#11282).
6956
2bd785a2
SM
69572012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6958
6959 * emacs-lisp/bytecomp.el
6960 (byte-compile-file-form-custom-declare-variable): Compile all elements,
6961 since cconv.el might have introduced :fun-body, internal-make-closure,
6962 and friends for bytecomp to handle (bug#11391).
6963 * custom.el (defcustom): Avoid ((λ ..) ..).
6964
99d27583
SM
69652012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
6966
6967 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
6968
55a71479
JB
69692012-05-02 Juanma Barranquero <lekktu@gmail.com>
6970
6971 * notifications.el (dbus-debug):
6972 * term/linux.el (gpm-mouse-enable):
6973 * term/screen.el (xterm-register-default-colors): Declare.
6974
7b97c764
CY
69752012-05-02 Chong Yidong <cyd@gnu.org>
6976
2bc356d7
CY
6977 * cus-start.el (gc-cons-percentage, exec-suffixes)
6978 (dos-display-scancodes, dos-hyper-key, dos-super-key)
6979 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
6980 (make-cursor-line-fully-visible, void-text-area-pointer)
6981 (font-list-limit): Add customization data.
6982
7b97c764
CY
6983 * allout.el (allout-exposure-change-functions)
6984 (allout-structure-added-functions)
6985 (allout-structure-deleted-functions)
6986 (allout-structure-shifted-functions): Rename abnormal hooks from
6987 *-hook, and convert to defcustoms.
5d3385a0
JB
6988 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
6989 Convert to defcustoms.
7b97c764
CY
6990 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
6991
6992 * allout-widgets.el: Hook callers changed.
6993
90207a15 69942012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
6995
6996 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
6997 the yanked message in preference to the default value of
6998 buffer-file-coding-system.
6999
90207a15 70002012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 7001
5d3385a0
JB
7002 * window.el (display-buffer--action-function-custom-type):
7003 Fix entry.
d9558cad 7004
90207a15 70052012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
7006
7007 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7008
d80ac57b
GM
70092012-05-01 Glenn Morris <rgm@gnu.org>
7010
976f7668
GM
7011 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7012
beb83b5a
GM
7013 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7014
d80ac57b
GM
7015 * cus-edit.el (custom-variable-documentation): Simplify with format.
7016
b593d6a9 70172012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 7018 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
7019
7020 * simple.el (suggest-key-bindings, execute-extended-command):
7021 Move from keyboard.c.
7022
782fbf2a
CY
70232012-05-01 Chong Yidong <cyd@gnu.org>
7024
7025 * follow.el: Eliminate advice.
7026 (set-process-filter, process-filter, sit-for): Advice deleted.
7027 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
7028 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7029 Vars deleted.
782fbf2a
CY
7030 (follow-auto): Use a :set function.
7031 (follow-mode): Rewritten. Don't advise process filters.
7032 (follow-switch-to-current-buffer-all, follow-scroll-up)
7033 (follow-scroll-down): Assume follow-mode is bound.
7034 (follow-comint-scroll-to-bottom)
7035 (follow-align-compilation-windows): New functions.
7036 (follow--window-sorter): New function.
7037 (follow-all-followers): Use it to explicitly sort windows by their
7038 positions; don't make assumptions about next-window order.
7039 (follow-windows-start-end, follow-delete-other-windows-and-split)
7040 (follow-calc-win-start): Doc fix.
7041 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7042 vertical-motion unnecessarily.
7043 (follow-adjust-window): New function.
7044 (follow-post-command-hook): Use it.
7045 (follow-call-set-process-filter, follow-call-process-filter)
7046 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7047 (follow-stop-intercept-process-output, follow-generic-filter):
7048 Functions deleted.
7049 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
7050 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7051 New functions, replacing advice on scroll-bar-* commands.
87233a14 7052 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
7053
7054 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
7055 (comint-postoutput-scroll-to-bottom): Use it.
7056 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 7057
290af740
GM
70582012-05-01 Glenn Morris <rgm@gnu.org>
7059
7060 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7061 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7062 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7063 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7064 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7065 Remove no-byte-compile setting.
7066
6eac8dc9
SM
70672012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7068
7069 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7070 all-completions code to not return a number in the last cdr.
7071
9cc7819c
LL
70722012-04-30 Leo Liu <sdl.web@gmail.com>
7073
7074 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7075 read-only error.
7076
c93b886f
CY
70772012-04-29 Chong Yidong <cyd@gnu.org>
7078
7079 * follow.el (follow-calc-win-end): Rewrite to handle partial
7080 screen lines correctly (Bug#8390).
7081 (follow-avoid-tail-recenter): Minor cleanup.
7082
8b6c19f4
SM
70832012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7084
7085 Avoid the obsolete `assoc' package.
7086 * speedbar.el (speedbar-refresh): Avoid adelete.
7087 (speedbar-file-lists): Simplify and avoid aput.
7088 * man.el (Man--sections, Man--refpages): New vars, replacing
7089 Man-sections-alist and Man-refpages-alist.
7090 (Man-build-section-alist, Man-build-references-alist):
7091 Use them; avoid aput.
7092 (Man--last-section, Man--last-refpage): New vars.
7093 (Man-follow-manual-reference): Use them.
7094 Use the `default' arg of completing-read.
7095 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7096
c5bb7569
CY
70972012-04-27 Chong Yidong <cyd@gnu.org>
7098
d1d2e2e8
CY
7099 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7100
15cd8efd
CY
7101 * startup.el (x-apply-session-resources): New function.
7102
7103 * term/ns-win.el (ns-initialize-window-system):
7104 * term/w32-win.el (w32-initialize-window-system):
7105 * term/x-win.el (x-initialize-window-system): Use it to properly
7106 set menu-bar-mode and other vars from X resources, even if the
7107 initial frame is not a window-system frame (Bug#2299).
7108
c5bb7569
CY
7109 * subr.el (read-key): Avoid running filter function when setting
7110 up temporary tool bar entries (Bug#9922).
7111
a8e7d6d7 71122012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
7113
7114 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7115 (Bug#11344)
7116
a8e7d6d7 71172012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
7118
7119 * select.el (xselect--encode-string): New function, split from
7120 xselect-convert-to-string.
7121 (xselect-convert-to-string): Use it.
7122 (xselect-convert-to-filename, xselect-convert-to-os)
7123 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7124 returned strings are properly encoded (Bug#11315).
7125
a8e7d6d7 71262012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
7127
7128 * simple.el (delete-active-region): Move to killing custom group.
7129
a8e7d6d7 71302012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
7131
7132 * progmodes/which-func.el (which-func-current): Quote %
7133 characters for mode-line processing.
7134
578c1d4b 71352012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
7136
7137 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7138 reaching eob (Bug#11286).
7139
a8e7d6d7 71402012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
7141
7142 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7143 (gdb): Make it buffer-local and init to zero.
7144 (gdb-control-commands-regexp): New variable.
7145 (gdb-send): Don't wrap in "-interpreter-exec console" if
7146 gdb-control-level is positive. Increment gdb-control-level
7147 whenever the command matches gdb-control-commands-regexp, and
7148 decrement it each time the command is "end". (Bug#11279)
7149
a8e7d6d7 71502012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
7151
7152 * window.el (adjust-window-trailing-edge, enlarge-window)
7153 (shrink-window, window-resize):
7154 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7155 windows (Bug#11276).
7156
b3608390
CY
71572012-04-27 Chong Yidong <cyd@gnu.org>
7158
7159 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 7160 fix "missing prefix" warning. All callers changed.
b3608390 7161
797e6e88
SM
71622012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7163
7164 * emacs-lisp/assoc.el: Move to obsolete/.
7165
e95a67dc
SM
71662012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7167
657c21e4 7168 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
7169
7170 * term/ns-win.el (ns-define-service):
7171 * progmodes/pascal.el (pascal-goto-defun):
7172 * progmodes/js.el (js--read-tab):
7173 * progmodes/etags.el (tags-lazy-completion-table):
7174 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7175 * emacs-lisp/ewoc.el (ewoc--wrap):
7176 * emacs-lisp/assoc.el (aput, adelete, amake):
7177 * doc-view.el (doc-view-convert-current-doc):
7178 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7179
cb3e7ae0
CY
71802012-04-26 Chong Yidong <cyd@gnu.org>
7181
dce04f7f
CY
7182 * image.el (image-type-from-buffer): Only return supported image
7183 type (Bug#9045).
7184
cb3e7ae0
CY
7185 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7186 value, for symmetry with diff-end-of-hunk.
7187 (diff-split-hunk, diff-find-source-location)
7188 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7189 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7190 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7191 compute the relevant hunk or file properly (Bug#6005).
7192 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7193
0d42eb3e
SM
71942012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7195
7196 * vc/vc-mtn.el:
7197 * vc/vc-hg.el:
7198 * vc/vc-git.el:
7199 * vc/vc-dir.el:
7200 * vc/vc-cvs.el:
7201 * vc/vc-bzr.el:
7202 * vc/vc-arch.el:
7203 * vc/vc.el: Replace lexical-let by lexical-binding.
7204 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7205 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7206 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7207
f08ae1c9
CY
72082012-04-26 Chong Yidong <cyd@gnu.org>
7209
8b71081d
CY
7210 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7211 (diff-mode-shared-map): Bind it to / and [remap undo].
7212
f08ae1c9
CY
7213 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7214 (ediff-window-setup-function): Use it as the default, to set up
7215 windows based on whether the current frame is graphical (Bug#2138).
7216 (ediff-choose-window-setup-function-automatically): Make obsolete.
7217
7218 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7219
ef24141c
SM
72202012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7221
cc356a5d
SM
7222 * ffap.el: Remove old code for obsolete package.
7223 (ffap-complete-as-file-p): Remove.
7224
b4ff4f1f
SM
7225 Use completion-table-with-quoting for comint and pcomplete.
7226 * comint.el (comint--unquote&requote-argument)
7227 (comint--unquote-argument, comint--requote-argument): New functions.
7228 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7229 (comint-quote-filename): Use regexp-opt-charset.
7230 (comint--common-suffix, comint--common-quoted-suffix)
7231 (comint--table-subvert): Remove.
7232 (comint-unquote-function, comint-requote-function): New vars.
7233 (comint--complete-file-name-data): Use them with
7234 completion-table-with-quoting.
7235 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7236 * pcomplete.el (pcomplete-arg-quote-list)
7237 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7238 (pcomplete-unquote-argument-function): Default to non-nil.
7239 (pcomplete-unquote-argument): Simplify.
7240 (pcomplete--common-quoted-suffix): Remove.
7241 (pcomplete-requote-argument-function): New var.
7242 (pcomplete--common-suffix): New function.
7243 (pcomplete-completions-at-point): Use completion-table-with-quoting
7244 and completion-table-subvert.
7245
79c4eeb4
SM
7246 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7247 (minibuffer--double-dollars): Preserve properties.
7248 (completion--sifn-requote): New function.
7249 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7250
ef24141c
SM
7251 * minibuffer.el: Add support for completion of quoted/escaped data.
7252 (completion-table-with-quoting, completion-table-subvert): New funs.
7253 (completion--twq-try, completion--twq-all): New functions.
7254 (completion--nth-completion): New function.
7255 (completion-try-completion, completion-all-completions): Use it.
7256
784e7d6e
LL
72572012-04-25 Leo Liu <sdl.web@gmail.com>
7258
dd2ac746
SM
7259 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7260 Use compilation-message if available to find real filename.
784e7d6e 7261
07875ee7
CY
72622012-04-25 Chong Yidong <cyd@gnu.org>
7263
7264 * vc/diff-mode.el (diff-setup-whitespace): New function.
7265 (diff-mode): Use it.
7266
7267 * vc/diff.el (diff-sentinel):
7268 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7269 Whitespace mode variables based on diff style (Bug#8612).
7270
5055880d
LL
72712012-04-25 Leo Liu <sdl.web@gmail.com>
7272
daf75653
LL
7273 * progmodes/python.el (python-send-region): Add suffix .py to the
7274 temp file.
7275
5055880d
LL
7276 * files.el (auto-mode-alist): Use javascript-mode instead.
7277
db9b177b
AH
72782012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7279
ef24141c 7280 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 7281
090bd7cb 7282 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 7283 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 7284 references, see Bug#9.
ef24141c 7285 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 7286 when receiving a fault reply.
ef24141c 7287 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 7288
090bd7cb 7289 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 7290 (soap-inspect-simple-type): New function.
db9b177b 7291
090bd7cb 7292 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 7293 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
7294 (soap-decode-basic-type, soap-encode-basic-type):
7295 support unsignedInt and double basic types.
db9b177b 7296 (soap-resolve-references-for-simple-type)
ef24141c
SM
7297 (soap-parse-simple-type, soap-encode-simple-type): New function.
7298 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 7299
090bd7cb 7300 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
7301 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7302 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7303 the local name of "soapenc:Array".
7304 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
7305 decoding integer, byte and anyURI xsd types.
7306
1fc6097b
CY
73072012-04-25 Chong Yidong <cyd@gnu.org>
7308
7309 * cus-edit.el (custom-buffer-create-internal): Update header text.
7310
afc6df87
EZ
73112012-04-25 Eli Zaretskii <eliz@gnu.org>
7312
7313 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7314 settings on 'system-type', not on 'window-system'. On MS-Windows,
7315 set interactive-mode on in GDB.
7316
dfbd787f
SM
73172012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7318
7319 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7320 (ruby-syntax-propertize-regexp): Remove.
7321 (ruby-syntax-propertize-function): Split regexp into chunks.
7322 Match following code directly.
7323
85222d44
DG
73242012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7325
51a8ea2a
DG
7326 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7327 (ruby-syntax-propertize-regexp): New function.
7328 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7329 by a special keyword.
7330
85222d44
DG
7331 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7332 (ruby-syntax-general-delimiters-goto-beg)
7333 (ruby-syntax-propertize-general-delimiters): New functions.
7334 (ruby-syntax-propertize-function): Use them to handle GDL.
7335 (ruby-font-lock-keywords): Move old handling of GDL...
7336 (ruby-font-lock-syntactic-keywords): .. to here.
7337 (ruby-calculate-indent): Adjust indentation for GDL.
7338
b613912b
MA
73392012-04-24 Michael Albinus <michael.albinus@gmx.de>
7340
b5380639
MA
7341 * notifications.el (top): Remove unneeded declarations.
7342 (notifications-specification-version): Change to "1.2".
e43042fe 7343 (notifications-interface, notifications-notify-method)
b613912b
MA
7344 (notifications-close-notification-method): Fix docstring.
7345 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
7346 (notifications-notify): Add :action-items, :resident and
7347 :transient hints. Change "image_data" to "image-data" and
7348 "image_path" to "image-path".
b613912b
MA
7349 (notifications-get-capabilities): New defun.
7350
257440aa
LL
73512012-04-24 Leo Liu <sdl.web@gmail.com>
7352
7353 * progmodes/python.el: Move hideshow setup to the end.
7354
b1bac16e
MR
73552012-04-24 Martin Rudalics <rudalics@gmx.at>
7356
7357 * window.el (handle-select-window): Clear echo area since this is
7358 no more done by read_char (Bug#11304).
7359
d81bd059
SM
73602012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7361
7362 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7363 and `/ M' to filter-derived-mode.
7364 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7365 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7366 (ibuffer-mark-by-mode): Use default rather than initial-input.
7367 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7368
c4cf6d91
IA
73692012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7370
7371 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7372 (ibuffer-filter-by-derived-mode): New filter.
7373 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7374
7511ded8
CY
73752012-04-23 Andreas Politz <politza@fh-trier.de>
7376
7377 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7378
775c916b
CY
73792012-04-23 Chong Yidong <cyd@gnu.org>
7380
7381 * cus-edit.el (customize-apropos, customize-apropos-options):
7382 Disable matching of non-option variables (Bug#11176).
7383 (customize-option, customize-option-other-window)
7384 (customize-changed-options): Doc fix.
7385 (customize-apropos-options, customize-apropos-faces)
7386 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7387
7388 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 7389 Fix word list splitting (Bug#11132).
46c71e23
CY
7390 (apropos-symbol, apropos-keybinding, apropos-label)
7391 (apropos-property, apropos-function-button)
7392 (apropos-variable-button, apropos-misc-button): New faces.
7393 (apropos-symbol-face, apropos-keybinding-face)
7394 (apropos-label-face, apropos-property-face, apropos-match-face):
7395 Variables removed (Bug#8396).
7396 (apropos-library-button, apropos-format-plist, apropos-print)
7397 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 7398
2df41f9c
MA
73992012-04-23 Michael Albinus <michael.albinus@gmx.de>
7400
7401 * net/xesam.el (xesam-mode-map): Use let-bound map in
7402 initialization. (Bug#11292)
7403
da00640a
AM
74042012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7405
7406 Preserve ispell session localwords when switching back to
7407 original buffer.
7408
090bd7cb
JB
7409 * textmodes/ispell.el (ispell-buffer-session-localwords):
7410 New buffer-local variable to hold buffer session localwords.
ed9265fc 7411 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
7412 localwords.
7413 (ispell-command-loop, ispell-change-dictionary)
7414 (ispell-buffer-local-words): Preserve session localwords when
7415 needed.
7416
090bd7cb
JB
7417 * textmodes/flyspell.el (flyspell-process-localwords)
7418 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 7419
f621ccf5
AM
74202012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7421
090bd7cb
JB
7422 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7423 using obsolete `translation-table-for-input'.
ef24141c
SM
7424 (ispell-word, ispell-process-line, ispell-complete-word):
7425 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 7426
c2d1019e
CY
74272012-04-22 Chong Yidong <cyd@gnu.org>
7428
7429 * cus-edit.el (custom-variable-menu)
7430 (custom-variable-reset-saved, custom-face-menu)
7431 (custom-face-reset-saved): If there is no saved value, make the
7432 "reset-saved" operation bring back the default (Bug#9509).
7433 (custom-face-state): Properly detect themed faces.
7434
eeddc531
CY
7435 * faces.el (face-spec-set): Stop supporting deprecated form of
7436 third arg.
7437
dcbf5805
MA
74382012-04-22 Michael Albinus <michael.albinus@gmx.de>
7439
7440 Move functions from C to Lisp. Make non-blocking method calls
7441 the default. Implement further D-Bus standard interfaces.
7442
ef24141c
SM
7443 * net/dbus.el (dbus-message-internal): Declare function.
7444 Remove unneeded function declarations.
dcbf5805
MA
7445 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7446 (dbus-message-type-method-return, dbus-message-type-error)
7447 (dbus-message-type-signal): Declare variables. Remove local
7448 definitions.
7449 (dbus-interface-dbus, dbus-interface-peer)
7450 (dbus-interface-introspectable, dbus-interface-properties)
7451 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7452 Adapt docstring.
7453 (dbus-interface-objectmanager): New defconst.
7454 (dbus-call-method, dbus-call-method-asynchronously)
7455 (dbus-send-signal, dbus-method-return-internal)
7456 (dbus-method-error-internal, dbus-register-service)
7457 (dbus-register-signal, dbus-register-method): New defuns, moved
7458 from dbusbind.c
7459 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
7460 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7461 New defuns.
dcbf5805
MA
7462 (dbus-call-method-non-blocking): Make it an obsolete function.
7463 (dbus-unregister-object, dbus-unregister-service)
7464 (dbus-handle-event, dbus-register-property)
7465 (dbus-property-handler): Obey the new structure of
7466 `bus-registered-objects'.
7467 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
7468 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7469 Use `dbus-call-method'.
7470
cf20dee0
CY
74712012-04-22 Chong Yidong <cyd@gnu.org>
7472
7473 * cus-edit.el (custom-commands, custom-reset-menu)
7474 (Custom-reset-standard): Tweak labels.
7475 (custom-reset-button-menu): Change default to t.
7476 (custom-buffer-create-internal): For the custom-reset-button-menu
7477 case, put the revert button first.
7478 (custom-group-subtitle): New face.
7479 (custom-group-value-create): Align docstring to a specific column.
7480
7481 * wid-edit.el (widget-documentation-link-add): Don't handle
7482 indentation in this function.
7483 (widget-documentation-string-indent-to): New function.
7484 (widget-documentation-string-value-create): Use it.
7485
7486 * autorevert.el (auto-revert):
7487 * epg-config.el (epg):
7488 * ibuffer.el (ibuffer):
7489 * mpc.el (mpc):
7490 * ses.el (ses):
7491 * eshell/eshell.el (eshell):
7492 * net/ange-ftp.el (ange-ftp):
7493 * progmodes/ebnf2ps.el (postscript):
7494 * progmodes/flymake.el (flymake):
7495 * progmodes/prolog.el (prolog):
7496 * progmodes/verilog-mode.el (verilog-mode):
7497 * progmodes/which-func.el (which-func):
7498 * term/xterm.el (xterm):
7499 * textmodes/picture.el (picture):
7500 * textmodes/tildify.el (tildify):
7501 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7502 customization buffers.
7503
583e23bd
AM
75042012-04-22 Alan Mackenzie <acm@muc.de>
7505
7506 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7507 Adding a ) can hide the resulting (..) from searches. Fix it.
7508 Bound the backward search to the position of the existing (.
7509
7dd51bf1
JB
75102012-04-21 Juanma Barranquero <lekktu@gmail.com>
7511
7512 * progmodes/verilog-mode.el (verilog-mode): Check whether
7513 which-func-modes is t before adding verilog-mode.
7514 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7515
d64a438f
LL
75162012-04-21 Leo Liu <sdl.web@gmail.com>
7517
7dd51bf1 7518 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 7519
081e8d65
MV
75202012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
7521
7522 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
7523 filling of the last column of a table (Bug#5635).
7524 (woman-find-next-control-line): New arg, specifying an additional
7525 regexp component for the control line.
7526 (woman2-roff-buffer): Use it.
7527 (woman-break-table): New function.
7528 (woman2-TS): Use it.
7529
75302012-04-21 Chong Yidong <cyd@gnu.org>
7531
7532 * woman.el (woman-set-buffer-display-table, woman-decode-region)
7533 (woman-horizontal-escapes, woman-negative-vertical-space)
7534 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
7535 (WoMan-warn-ignored): Use ?\s instead of ?\ .
7536
ed571ccb
SM
75372012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7538
7539 * minibuffer.el (completion-file-name-table): Complete user names.
7540
39773899
LL
75412012-04-20 Leo Liu <sdl.web@gmail.com>
7542
7543 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
7544 and pcase-let*.
7545
de6ff46d
CY
75462012-04-20 Chong Yidong <cyd@gnu.org>
7547
7548 * server.el (server-execute): Respect initial-buffer-choice if it
7549 is a string and there are no files to open (Bug#2825).
7550 (server-create-window-system-frame, server-create-tty-frame):
7551 Don't switch buffers here.
2d0e8e61
CY
7552 (server-process-filter): Only try to open a window system frame if
7553 compiled with graphical support (Bug#8314).
de6ff46d 7554
54071013
DN
75552012-04-20 Dan Nicolaescu <dann@gnu.org>
7556
7557 * battery.el (battery-echo-area-format): Display remaining time
7558 for sysfs backend too (Bug#11269).
7559 (battery-linux-sysfs): Fix conditional for the charge.
7560
f30d612a
CY
75612012-04-20 Chong Yidong <cyd@gnu.org>
7562
c07a4c0b 7563 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
7564 (gdb-inferior-io--init-proc): New function.
7565 (gdb-init-1): Use it.
7566 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
7567 responsible for allocating a new pty and hooking it to gdb when
7568 the old pty gets an EIO due to process exit.
7569 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
7570 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
7571 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
7572
2116e93c
EZ
75732012-04-20 Eli Zaretskii <eliz@gnu.org>
7574
7575 * window.el (window-min-size, window-sizable, window-min-delta)
7576 (window-max-delta, window--resizable, window-resizable)
7577 (window-total-size, window-full-height-p, window-full-width-p)
7578 (window-in-direction, window--resize-mini-window, window-resize)
7579 (window--resize-child-windows-normal)
7580 (window--resize-child-windows, window--resize-siblings)
7581 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 7582 (enlarge-window, shrink-window): Doc fixes.
2116e93c 7583
c07a4c0b 75842012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 7585
ef24141c
SM
7586 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
7587 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
7588 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
7589 pty process (Bug#11273).
7590 (gdb-update): New arg to suppress talking to the gdb process.
7591 (gdb-done-or-error): Use it.
7592 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
7593 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
7594 sentinel not being called.
7595
7596 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
7597
d02766ab
CY
7598 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
7599
c07a4c0b 76002012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
7601
7602 * net/network-stream.el (open-network-stream): Doc fix.
7603
c07a4c0b 76042012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
7605
7606 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
7607
c07a4c0b 76082012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
7609
7610 Ensure searching for keywords is case sensitive.
7611
7612 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
7613 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
7614 (c-defun-name, c-mark-function, c-cpp-define-name)
7615 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 7616 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 7617
ef24141c
SM
7618 * progmodes/cc-mode.el (c-font-lock-fontify-region):
7619 Bind case-fold-search to nil.
f0f6bc35 7620
c07a4c0b 76212012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
7622
7623 * mail/sendmail.el (mail-bury): Call return action with the right
7624 Rmail buffer (Bug#11242).
7625
9a864fa2
CY
7626 * server.el (server-process-filter): Handle corner case where both
7627 tty and nowait options are present (Bug#11102).
7628
539aa513
EZ
76292012-04-20 Eli Zaretskii <eliz@gnu.org>
7630
7631 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
7632 (top level): Put into the executable the ident-style '$Id:' tag on
7633 windows-nt as well.
539aa513 7634
cfc7d5da
SM
76352012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7636
7637 * electric.el (electric-indent-post-self-insert-function): Check that
7638 electric-indent-mode is enabled in current buffer.
7639
5b01685c
JB
76402012-04-19 Juanma Barranquero <lekktu@gmail.com>
7641
7642 * imenu.el (imenu-progress-message): Restore; it is "used" in
7643 erc/erc-imenu.el and net/snmp-mode.el.
7644
4d6769e1
JB
76452012-04-19 Juanma Barranquero <lekktu@gmail.com>
7646
7647 * avoid.el (mouse-avoidance-mode): Mark unused arg.
7648 (mouse-avoidance-nudge-mouse): Remove unused binding.
7649
7650 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
7651
7652 * descr-text.el (describe-char):
7653 * progmodes/python.el (python-describe-symbol):
7654 Don't call `toggle-read-only', set `buffer-read-only'.
7655
7656 * imenu.el (imenu-default-goto-function): Mark unused args.
7657 (imenu-progress-message): Remove obsolete macro; all callers changed.
7658
7659 * subr.el (keymap-canonicalize): Remove unused binding.
7660 (read-passwd): Mark unused arg.
7661
7662 * tutorial.el (tutorial--display-changes): Remove unused binding.
7663 (tutorial--save-tutorial-to): Remove unused variable.
7664
7665 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
7666 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
7667 (package-generate-autoloads, package-menu--generate)
7668 (package-menu--find-upgrades): Remove unused bindings.
7669
7670 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
7671 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
7672 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
7673 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
7674 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
7675 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
7676 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
7677 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
7678 (cua-delete-char-rectangle): Mark unused args.
7679 (cua-align-rectangle): Remove unused binding.
7680
7681 * mail/rmail.el (compilation--message->loc)
7682 (epa--find-coding-system-for-mime-charset): Declare.
7683
7684 * net/dbus.el (dbus-register-service): Declare.
7685 (dbus-name-owner-changed-handler): Remove unused binding.
7686
7687 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
7688 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
7689 (nxml-scan-backward-within): Mark unused arg.
7690 (nxml-dynamic-markup-word): Remove unused binding.
7691
7692 * mouse.el (mouse-menu-major-mode-map):
7693 * emacs-lisp/authors.el (authors-scan-change-log)
7694 (authors-add-to-author-list):
7695 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
7696 * emacs-lisp/smie.el (smie-auto-fill):
7697 * mail/sendmail.el (mail-bury):
7698 * mail/unrmail.el (unrmail):
7699 * net/tls.el (open-tls-stream):
7700 * textmodes/picture.el (picture-mouse-set-point):
7701 Remove unused bindings.
7702
8c8fc5df
MA
77032012-04-19 Michael Albinus <michael.albinus@gmx.de>
7704
7705 * net/tramp.el (tramp-action-password): Let-bind
7706 `enable-recursive-minibuffers' to t.
7707
a77b0ac9
SS
77082012-04-18 Sam Steingold <sds@gnu.org>
7709
7710 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
7711 instead of 'string to accommodate values like [f11].
7712 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
7713 * progmodes/gdb-mi.el: Likewise.
7714
12a106a9
LL
77152012-04-18 Leo Liu <sdl.web@gmail.com>
7716
7717 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
7718 current buffer.
7719 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
7720 LOCAL is nil.
7721
bc6494ef
CY
77222012-04-18 Chong Yidong <cyd@gnu.org>
7723
7724 * simple.el (line-move): Use forward-line if in batch mode
7725 (Bug#11053).
7726
c09c46b2
CS
77272012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
7728
7729 * files.el (after-find-file): Do not try to add a final newline if
7730 the buffer is read-only (Bug#11156).
7731
5f6530ea
RS
77322012-04-17 Richard Stallman <rms@gnu.org>
7733
7734 * mail/rmail.el (rmail-start-mail):
7735 Pass (rmail-mail-return...) for the return-action.
7736 Pass (rmail-yank-current-message...) for the yank-action.
7737 (rmail-yank-current-message): New function.
7738 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
7739 (rmail-reply): Likewise.
7740 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
7741
7742 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 7743 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
7744 buffer, not newbuf.
7745
197b6f3c
JB
77462012-04-17 Juanma Barranquero <lekktu@gmail.com>
7747
7748 * server.el (server-ensure-safe-dir): Simplify.
7749
2311d8e5 77502012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 7751
2311d8e5
GM
7752 * emacs-lisp/smie.el: Provide smarter auto-filling.
7753 (smie-auto-fill): New function.
7754 (smie-setup): Use it.
98fb480e 7755
2311d8e5
GM
7756 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
7757
77582012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
7759
7760 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
7761 (comment-indent): Use it.
7762
2311d8e5 77632012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
7764
7765 * ses.el: The overall change is to add cell renaming, that is
7766 setting fancy names for cell symbols other than name matching
7767 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 7768 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 7769 (ses-create-cell-variable): New defun.
2311d8e5 7770 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
7771 (ses-relocate-formula): Relocate formulas only for cells the
7772 symbols of which are not renamed, i.e. symbols whose names do not
7773 match regexp "\\`[A-Z]+[0-9]+\\'".
7774 (ses-relocate-all): Relocate values only for cells the symbols of
7775 which are not renamed.
7776 (ses-load): Create cells variables as the (ses-cell ...) are read,
7777 in order to check row col consistency with cell symbol name only
7778 for cells that are not renamed.
7779 (ses-replace-name-in-formula): New defun.
7780 (ses-rename-cell): New defun.
4bdf2ad2 7781
fc72b15c
PO
77822012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
7783
7784 * progmodes/perl-mode.el (perl-indent-parens-as-block):
7785 New option (bug#11118).
7786 (perl-calculate-indent): Respect it.
7787
12e10e61
GM
77882012-04-17 Glenn Morris <rgm@gnu.org>
7789
7790 * dired-aux.el (dired-mark-read-string): Doc fix.
7791
30009afd
DA
77922012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
7793
7794 * dired-aux.el (dired-mark-read-string): Offer optional completion.
7795 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
7796
41f03f4d
GM
77972012-04-17 Glenn Morris <rgm@gnu.org>
7798
7799 * mouse.el (mouse-drag-track):
7800 * speedbar.el (speedbar-frame-mode):
7801 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
7802
f45f90f3
LL
78032012-04-16 Leo Liu <sdl.web@gmail.com>
7804
7805 * progmodes/python.el: Trivial cleanup.
7806
94ee8db5
GM
78072012-04-16 Glenn Morris <rgm@gnu.org>
7808
121b8917
GM
7809 * vc/vc.el (vc-string-prefix-p):
7810 * vc/pcvs-util.el (cvs-string-prefix-p):
7811 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
7812 * mpc.el (mpc-string-prefix-p):
7813 Make all of these into obsolete aliases for string-prefix-p.
7814 Update callers.
7815 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
7816
1197ecfa
GM
7817 * textmodes/two-column.el: Move custom options to the start.
7818 (frame-width): Remove compat definition.
7819 (2C-associate-buffer, 2C-dissociate):
7820 Use with-current-buffer rather than save-excursion.
7821 (2C-dissociate): Force a mode-line update.
7822 (2C-autoscroll): Use ignore-errors.
7823
099e7202
GM
7824 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
7825 Autoload trivia.
7826
bf350d6a
GM
7827 * emacs-lisp/cl-extra.el (*random-state*):
7828 Remove unnecessary declaration.
7829
0e829eab
GM
7830 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
7831
e3ad7552
GM
7832 * play/cookie1.el (cookie-snarf):
7833 Give an explicit error if input file cannot be read.
7834
68892d27
GM
7835 * play/yow.el (yow-file): Use expand-file-name rather than concat.
7836
20f0c46d
GM
7837 * progmodes/perl-mode.el (c-macro-expand):
7838 Remove unnecessary autoload (it is in loaddefs.el).
7839
5a0978ce
GM
7840 * textmodes/picture.el (picture-desired-column)
7841 (picture-update-desired-column): Convert comments to doc-strings.
7842 (picture-substitute): Remove function.
7843 (picture-mode-map): Initialize in the defvar.
7844
6b955486
GM
7845 * woman.el: Remove eval-after-load for tar-mode.
7846 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
7847 (woman-tar-extract-file): Autoload it.
7848
94ee8db5
GM
7849 * frame.el (automatic-hscrolling): Make this alias obsolete.
7850
177eca34
AM
78512012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7852
090bd7cb 7853 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 7854 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
7855 (ispell-dictionary-base-alist): Revert to original XEmacs
7856 friendly version for default. [:alpha:] will be added in
090bd7cb 7857 `ispell-set-spellchecker-params' if needed.
177eca34 7858
c505aaeb
CY
78592012-04-16 Chong Yidong <cyd@gnu.org>
7860
b19dd9d1 7861 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
7862 (imagemagick-register-types): Use it.
7863 (imagemagick-types-inhibit): Add :set function. Allow new value
7864 of t to inhibit all types.
7865
7866 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
7867 so we can preload it.
7868
7869 * loadup.el (fboundp): Preload regexp-opt, needed by
7870 imagemagick-register-types.
7871
60efac0f
CY
78722012-04-15 Chong Yidong <cyd@gnu.org>
7873
7874 * frame.el (scrolling): Remove nearly unused customization group.
7875
7876 * scroll-all.el (scroll-all-mode): Move to windows group.
7877
5dd1713e
CY
78782012-04-15 Chong Yidong <cyd@gnu.org>
7879
7880 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
7881
e6fd457e
CY
78822012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7883
7884 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 7885 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 7886
e153c136
GM
78872012-04-15 Glenn Morris <rgm@gnu.org>
7888
7889 * simple.el (process-file-side-effects): Doc fix.
7890
e6fd457e 78912012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
7892
7893 * international/mule-cmds.el (set-language-environment): Doc fix.
7894
3603c3b1
JB
78952012-04-14 Juanma Barranquero <lekktu@gmail.com>
7896
7897 * server.el (server-auth-key, server-generate-key): Doc fixes.
7898 (server-get-auth-key): Doc fix. Use `string-match-p'.
7899 (server-start): Reflow docstring.
7900
e6de100c
LI
79012012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
7902
7903 * server.el (server-generate-key): `called-interactively-p'
7904 requires a parameter.
7905
29734c21
MN
79062012-04-14 Michal Nazarewicz <mina86@mina86.com>
7907
7908 * server.el (server-auth-key): New variable.
75f1671a 7909 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
7910 (server-start): Use the new variable and functions to allow
7911 setting a permanent server key (bug#9423).
7912
d65c9521
LL
79132012-04-14 Leo Liu <sdl.web@gmail.com>
7914
7915 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
7916
5ae255c7
PE
79172012-04-14 Paul Eggert <eggert@cs.ucla.edu>
7918
7919 Spelling fixes.
7920 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
7921 Emacs uses American spelling.
7922
d5e6342e
JB
79232012-04-14 Juanma Barranquero <lekktu@gmail.com>
7924
7925 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
7926 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
7927 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
7928 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
7929
ab036cd7
SM
79302012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7931
7932 * progmodes/which-func.el (which-func-modes): Change default.
7933
35dc09a1 79342012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
7935
7936 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
7937 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
7938
35dc09a1 79392012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
7940
7941 * custom.el (custom-theme-set-variables): Doc fix.
7942
35dc09a1 79432012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
7944
7945 * international/mule.el (set-auto-coding-for-load): Doc fix.
7946
35dc09a1 79472012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 7948
35dc09a1
GM
7949 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
7950 imenu work again for Objective C Mode. Correct the *-index values,
7951 these having been disturbed by a previous change in 2011-08.
57f845ee 7952
0de3da9f
AM
7953 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
7954 Correct two search limits.
7955
35dc09a1 79562012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
7957
7958 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
7959
35dc09a1 79602012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
7961
7962 * international/characters.el: Fix sorting.
7963
35dc09a1 79642012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
7965
7966 * international/characters.el: Add more missing Latin case pairs.
7967
35dc09a1 79682012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
7969
7970 * files.el (dir-locals-set-class-variables): Doc fix.
7971
35dc09a1 79722012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 7973
3f1b5bf8
EZ
7974 * international/characters.el: Add set-case-syntax-pair call for
7975 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
7976 counterpart. (Bug#11209)
7977
9f847f41
EZ
7978 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
7979
35dc09a1 79802012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
7981
7982 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7983
35dc09a1 79842012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 7985
35dc09a1
GM
7986 * textmodes/ispell.el (ispell-dictionary-base-alist):
7987 Add data for Hebrew.
e2627d21 7988
35dc09a1 79892012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 7990
35dc09a1
GM
7991 * net/rcirc.el (rcirc-cmd-quit):
7992 Revert 2012-03-18 change (Bug#11192).
5c14e333 7993
35dc09a1 79942012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
7995
7996 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
7997
35dc09a1 79982012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 7999
4517fe3a
SM
8000 * minibuffer.el (completion-in-region-mode-map):
8001 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 8002
b472a594
VD
80032012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8004
8005 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8006
09b95ce3
MY
80072012-04-13 Masatake YAMATO <yamato@redhat.com>
8008
8009 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8010 to allow `C-M-f' and `C-M-b' to move to the nearest path
8011 separator (bug#9511).
8012
4b63a9ca
LI
80132012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8014
8015 * avoid.el: Require cl when compiling. And also move the
8016 `provide' to the end.
8017
7b55b8bf
TV
80182012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8019
8020 * avoid.el (mouse-avoidance-banish-position): New variable.
8021 (mouse-avoidance-banish-destination): Use it (bug#10165).
8022
adedaa1f
LL
80232012-04-13 Leo Liu <sdl.web@gmail.com>
8024
8025 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8026
70e74021
KB
80272012-04-13 Ken Brown <kbrown@cornell.edu>
8028
8029 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 8030 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
8031 (browse-url-filename-alist): For the same reason, don't modify
8032 file:// URLs on Cygwin.
8033
e75e89ba
SM
80342012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8035
8036 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8037 the region on shift if the binding is already shifted (bug#11221).
8038
82f289a4
GM
80392012-04-12 Glenn Morris <rgm@gnu.org>
8040
8041 * mail/mailpost.el: Move to obsolete/.
8042
d333dc4c
DA
80432012-04-12 Drew Adams <drew.adams@oracle.com>
8044
8045 * imenu.el (imenu--generic-function): Ignore invisible definitions
8046 (bug#10123).
8047
0d15b5ba
VD
80482012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8049
8050 * hexl.el (hexl-bits): New variable.
8051 (hexl-options): Mention the variable in the doc string.
75f1671a 8052 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 8053 (hexl-mode): Mention the new variable.
75f1671a
JB
8054 (hexl-mode, hexl-current-address, hexl-current-address):
8055 Use the displen.
0d15b5ba
VD
8056 (hexl-ascii-start-column): New function.
8057 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8058 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8059
64a440db
AM
80602012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8061
8062 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8063 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8064 the encoding, as expected by hunspell.
8065
6decb6c2
SM
80662012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8067
8068 * battery.el (battery--linux-sysfs-regexp): New const.
8069 (battery-status-function): Use it. Remove yeeloong special case.
8070 (battery-yeeloong-sysfs): Remove.
8071 (battery-echo-area-format): Remove yeeloong special case.
8072
088be6fb
SM
80732012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8074
6622e416
SM
8075 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8076 Reported by Noah Friedman.
8077
088be6fb
SM
8078 * subr.el (read-passwd): Use read-string.
8079
b49f886e
LMI
80802012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8081
8082 * vcursor.el (vcursor-move): Increase the priority of the overlay
8083 (bug#9663).
8084
a63067fc
DD
80852012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8086
8087 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8088 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8089
ac3cf14a
WS
80902012-04-11 William Stevenson <yhvh2000@gmail.com>
8091
8092 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8093 define-minor-mode (bug#10760).
8094
c4fc691b 80952012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 8096
4d6769e1 8097 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
8098 that directories matching `grep-find-ignored-files' won't be
8099 pruned (bug#10351).
8100
af23e2e5
CY
81012012-04-11 Chong Yidong <cyd@gnu.org>
8102
8103 * startup.el (command-line): Remove support for long-obsolete
8104 variable font-lock-face-attributes.
8105
ab7ce8c1
GM
81062012-04-11 Glenn Morris <rgm@gnu.org>
8107
8108 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8109
de8c03dc
SM
81102012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8111
8112 * window.el (window--state-get-1): Obey window-point-insertion-type.
8113
050cc68b
LB
81142012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8115
8116 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8117 to previous function when point is on the first character of a
75f1671a 8118 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 8119
a38c310c
GM
81202012-04-11 Glenn Morris <rgm@gnu.org>
8121
effed0c2
GM
8122 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8123 not just file-errors.
8124
a38c310c
GM
8125 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8126 (vc-bzr-sha1): Use internal sha1.
8127
0221e323
SM
81282012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8129
8130 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8131
43956923
SG
81322012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8133
8134 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8135 that start in the middle of the line (bug#10496).
8136
6a8c9eaf
DN
81372012-04-10 Dan Nicolaescu <dann@gnu.org>
8138
8139 * battery.el (battery-linux-proc-acpi): Only one battery is
8140 discharged at a time, but that seems to confuse battery.el when
8141 computing `rate-type' for the battery not being discharged
8142 (bug#10332).
8143
1930bf5d
SM
81442012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8145
2a718f6f
SM
8146 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8147
599430d0
SM
8148 * international/quail.el: Use dolist and simplify.
8149 (quail-define-package, quail-update-keyboard-layout)
8150 (quail-define-rules): Use dolist.
8151 (quail-insert-kbd-layout, quail-get-translation): CSE.
8152
a2754b6c
SM
8153 * tmm.el: Use dolist, remove left over hook.
8154 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8155 Use dolist.
8156 (calendar-load-hook): Don't mess with it.
8157
1930bf5d
SM
8158 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8159 Use derived-mode-p. Run the diff asynchronously.
8160
9f67961c
LMI
81612012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8162
8163 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8164
2a8ce227
JB
81652012-04-10 Juanma Barranquero <lekktu@gmail.com>
8166
8167 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8168 (list-dynamic-libraries--loaded): New function.
8169 (list-dynamic-libraries--refresh): Use it.
8170
8f33b5f8
NW
81712012-04-10 Nathan Weizenbaum <nweiz@google.com>
8172
1930bf5d
SM
8173 * progmodes/python.el (python-fill-paragraph):
8174 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
8175 disabled (bug#7018).
8176
b12f0439
L
81772012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
8178
1930bf5d 8179 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
8180 DOS/MS Windows for the Baltic languages. There are still plenty
8181 of texts written in this encoding/codepage (bug#6519).
b12f0439 8182
57c3bd01
GM
81832012-04-10 Glenn Morris <rgm@gnu.org>
8184
8185 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8186 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8187
6c3eab30
FA
81882012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8189
1930bf5d 8190 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
8191 next-line "n" and previous-line "p" in order to make recentf more
8192 consistent with ibuffer, dired or org-mode (bug#9387).
8193
24d78a88
LMI
81942012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8195
bc72b5d9
LMI
8196 * image.el (put-image): Return the overlay created instead of the
8197 optional input string (bug#7834). Note that this may break code
8198 that is (for some reason or other) depending on `put-image'
8199 returning the string.
8200
bd2dba5a
LMI
8201 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8202
74beb59f
LMI
8203 * simple.el (zap-to-char): Allow zapping using input methods
8204 (bug#1580).
8205
24d78a88
LMI
8206 * textmodes/fill.el (fill-region): Leave point and mark where they
8207 were before filling (bug#5399).
8208
263f20cd
GM
82092012-04-09 Glenn Morris <rgm@gnu.org>
8210
8211 * version.el (emacs-bzr-get-version):
8212 Handle lightweight checkouts of local branches.
8213
58d1f797
AS
82142012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8215
263f20cd 8216 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 8217
b4d3bc10
CY
82182012-04-09 Chong Yidong <cyd@gnu.org>
8219
8220 * custom.el (custom-variable-p): Return nil for non-symbol
8221 arguments instead of signaling an error.
8222 (user-variable-p): Obsolete alias for custom-variable-p.
8223
8224 * apropos.el (apropos-variable):
8225 * files-x.el (read-file-local-variable):
8226 * simple.el (set-variable):
8227 * woman.el (woman-mini-help):
8228 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8229
fd06db5d
GM
82302012-04-09 Glenn Morris <rgm@gnu.org>
8231
e5fcdb5e
GM
8232 * startup.el (normal-top-level): Don't look for leim-list.el
8233 in places where it will not be found. (Bug#910)
8234
fd06db5d
GM
8235 * international/mule-cmds.el (set-default-coding-systems):
8236 * files.el (normal-mode):
8237 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8238 This function was removed with ucs-tables.el in 2008.
8239
b39bb7e1
EZ
82402012-04-08 Eli Zaretskii <eliz@gnu.org>
8241
8242 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8243 ispell-encoding8-command to "-i", without a trailing space.
8244 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8245 separate command-line arguments, to specify the encoding, since
8246 that's how hunspell expects it.
8247
5c5b8e23
GM
82482012-04-08 Glenn Morris <rgm@gnu.org>
8249
8250 * loadup.el: Load bindings before cus-start.
8251 This reduces somewhat the number of "rogue" settings in emacs -Q.
8252
a1ed8b05
GM
82532012-04-07 Glenn Morris <rgm@gnu.org>
8254
8255 * version.el (emacs-bzr-get-version): New function.
dfae128a 8256 (emacs-bzr-version): New variable.
a1ed8b05
GM
8257 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8258 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8259
b142f158
EZ
82602012-04-07 Eli Zaretskii <eliz@gnu.org>
8261
dfae128a
GM
8262 * international/uni-bidi.el, international/uni-category.el:
8263 * international/uni-combining.el, international/uni-decimal.el:
8264 * international/uni-decomposition.el, international/uni-digit.el:
8265 * international/uni-lowercase.el, international/uni-mirrored.el:
8266 * international/uni-name.el, international/uni-numeric.el:
8267 * international/uni-titlecase.el, international/uni-uppercase.el:
8268 Update for Unicode 6.1.
b142f158 8269
9078ead6
EZ
82702012-04-07 Eli Zaretskii <eliz@gnu.org>
8271
8272 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8273
f23d2c7d
LMI
82742012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8275
8276 * window.el (shrink-window): Mention the `window-min-height'
8277 variable in the doc string.
8278
0a0a3573
BG
82792012-04-05 Bastien Guerry <bzg@altern.org>
8280
8281 * color.el (color-lighten-name): Fix typo.
8282
e5248ac9
SM
82832012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8284
8285 * server.el (server--on-display-p): New function.
8286 (server--on-display-p): Use it.
8287
b4243e22
GV
82882012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8289
8290 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8291 (bug#11145).
8292
305d9f44
SM
82932012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8294
8295 * comint.el (comint--common-quoted-suffix): Check string boundary
8296 before comparing (bug#11158).
8297 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8298
3d439cd1
CY
82992012-04-04 Chong Yidong <cyd@gnu.org>
8300
321cc491
CY
8301 * minibuffer.el (completion-extra-properties): Doc fix.
8302
3d439cd1
CY
8303 * subr.el (delayed-warnings-hook): Doc fix.
8304
2d562c0f
DU
83052012-04-04 Daiki Ueno <ueno@unixuser.org>
8306
8307 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8308 selection (Bug#11159).
8309 (epa-insert-keys): Inform that the default public key will be
8310 exported if no key is selected.
8311
4443f204
RS
83122012-04-04 Richard Stallman <rms@gnu.org>
8313
8314 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8315
529c06b6
CY
83162012-04-03 Chong Yidong <cyd@gnu.org>
8317
8318 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8319 mail-insert-file, not its obsolete alias mail-attach-file.
8320
66b907dc
MA
83212012-04-03 Michael Albinus <michael.albinus@gmx.de>
8322
8323 * notifications.el (notifications-notify): Fix docstring.
8324
c0ea195d
GM
83252012-04-02 Glenn Morris <rgm@gnu.org>
8326
8327 * emacs-lisp/authors.el (authors-aliases): Another addition.
8328
5ca64e00
MA
83292012-04-02 Michael Albinus <michael.albinus@gmx.de>
8330
8331 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8332 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8333 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8334
42ee526b
CY
83352012-04-01 Chong Yidong <cyd@gnu.org>
8336
8337 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8338 Handle root directory properly.
8339 (copy-directory): Caller changed.
8340
8341 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8342 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8343
0b021094
GM
83442012-03-31 Glenn Morris <rgm@gnu.org>
8345
40f86458
GM
8346 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8347
7019c177
GM
8348 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8349
a1daddd6
GM
8350 * calendar/calendar.el (calendar-window-list)
8351 (calendar-hide-window): Restore. (Bug#11140)
8352 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8353
0b021094
GM
8354 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8355
40311efc
TV
83562012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8357
8358 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8359 Check if file is a symlink (Bug#10489).
8360
8361 * files.el (copy-directory): Likewise.
8362
5319014e
CY
83632012-03-30 Chong Yidong <cyd@gnu.org>
8364
8365 * image.el (imagemagick-types-inhibit)
8366 (imagemagick-register-types): Doc fix.
8367
935d1290
AM
83682012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8369
090bd7cb 8370 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 8371 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 8372 and treats ~word as ordinary words in pipe mode.
935d1290 8373
61c6e8fd
GM
83742012-03-30 Glenn Morris <rgm@gnu.org>
8375
8376 * tutorial.el (help-with-tutorial): Ensure local variables don't
8377 happen to make the buffer read-only. (Bug#11127)
8378
81fdff00
SM
83792012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8380
8381 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8382 (perl-calculate-indent): Return `noindent' in strings.
8383
6e7a6ec0
SS
83842012-03-28 Sam Steingold <sds@gnu.org>
8385
8386 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8387 instead of the broken adhockery which does not prevent calendar
8388 buffers from being displayed at random after exit.
8389 (calendar-window-list, calendar-hide-window): Remove the broken
8390 adhockery.
8391
fee88ca0
GM
83922012-03-28 Glenn Morris <rgm@gnu.org>
8393
8394 * replace.el (query-replace-map): Doc fix.
8395
38de3354
AS
83962012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8397
8398 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8399 contents. (Bug#11109)
8400
b973155e
SM
84012012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8402
8403 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8404 (bug#11077).
8405 (avl-tree--check, avl-tree--check-node): New funs.
8406
dcb6e7b3
MR
84072012-03-27 Martin Rudalics <rudalics@gmx.at>
8408
8409 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
8410 (switch-to-prev-buffer, switch-to-next-buffer):
8411 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
8412 showing a buffer already is done on the same frame.
8413
b4fa35fa
GM
84142012-03-27 Glenn Morris <rgm@gnu.org>
8415
8416 * startup.el (mail-host-address): Doc fix.
8417
f9210e18
SM
84182012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8419
8420 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8421 than 197 variables.
8422
c0bf7753
AF
84232012-03-26 Ami Fischman <ami@fischman.org>
8424
8425 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8426
33da7b16
GM
84272012-03-26 Glenn Morris <rgm@gnu.org>
8428
02243d9d
GM
8429 * files.el (save-buffers-kill-emacs): Doc fix.
8430
33da7b16
GM
8431 * startup.el (normal-top-level, command-line, command-line-1):
8432 Give them doc strings.
8433
e5a69fd0
EZ
84342012-03-25 Eli Zaretskii <eliz@gnu.org>
8435
8436 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 8437 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 8438
9a69676a
CY
84392012-03-25 Chong Yidong <cyd@gnu.org>
8440
4125cb8b
CY
8441 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8442 theme if it was previously enabled before (Bug#11031).
8443
dd470960
CY
8444 * cus-theme.el (custom-theme-write-faces): Retrieve current face
8445 spec with custom-face-get-current-spec if its :shown-value is not
8446 determined yet (Bug#9337).
4125cb8b 8447 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 8448
9a69676a
CY
8449 * button.el (button-at): Minor addition to docstring.
8450
6e7e90fa
SL
84512012-03-24 Simon Leinen <simon.leinen@gmail.com>
8452
8453 * vc/vc.el (vc-merge): Fix a prompt.
8454
f06e2758
CY
84552012-03-24 Chong Yidong <cyd@gnu.org>
8456
8457 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8458 point (Bug#9623).
8459
6e7e90fa
SL
8460 * button.el (button-at): Minor addition to docstring.
8461
b9d0879b
SM
84622012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8463
8464 * newcomment.el (comment-choose-indent): No space after BOL.
8465
e71cebb3
SS
84662012-03-22 Sam Steingold <sds@gnu.org>
8467
8468 * window.el (switch-to-prev-buffer): Revert last patch because the
8469 bug turned out to be an advertised feature (Elisp manual 28.14).
8470
335aff35
GM
84712012-03-22 Glenn Morris <rgm@gnu.org>
8472
8473 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
8474 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8475
c676576a
LMI
84762012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8477
8478 * net/network-stream.el (network-stream-open-starttls): Make error
8479 message under Windows be less misleading.
8480
126f3d39
LW
84812012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
8482
8483 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8484 understands (bug#9942).
8485
64fee311
CY
84862012-03-22 Chong Yidong <cyd@gnu.org>
8487
8488 * simple.el (end-of-visible-line): Handle return value of
8489 next-single-property-change properly (Bug#9371).
8490
a640d29a
KH
84912012-03-22 Kenichi Handa <handa@m17n.org>
8492
8493 * international/quail.el (quail-insert-kbd-layout): Fix previous
8494 change. To avoid unwanted bidi reordering, use
8495 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8496
39675016
DG
84972012-03-21 Dmitry Gutov <dgutov@yandex.ru>
8498
8499 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8500 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8501 (ruby-beginning-of-indent): Be more careful with the difference
8502 between word-boundary and symbol boundary.
8503 (ruby-mode-syntax-table): Make : a symbol constituent.
8504
0a6934fc 85052012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 8506
3d008e4f
SM
8507 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8508
0a6934fc
SM
85092012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8510
af67c9d7
SM
8511 * progmodes/etags.el (tags-completion-at-point-function):
8512 Improve last fix.
8513
1acad97c
SM
8514 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
8515
e298b5da
SS
85162012-03-21 Sam Steingold <sds@gnu.org>
8517
8518 * progmodes/etags.el (tags-completion-at-point-function):
8519 Avoid the error when point is inside the pattern.
8520
91d82a70
JY
85212012-03-21 John Yates <john@yates-sheets.org> (tiny change)
8522
8523 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
8524 line (Bug#10855).
8525
69188b79
CY
85262012-03-21 Drew Adams <drew.adams@oracle.com>
8527
8528 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
8529
99fc91fe
AK
85302012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
8531
8532 * ido.el (ido-set-current-directory, ido-read-internal)
8533 (ido-choose-completion-string, ido-completion-help): Handle nil
8534 value of ido-completion-buffer (Bug#11008).
8535
087bbb4c
SS
85362012-03-21 Sam Steingold <sds@gnu.org>
8537
8538 * window.el (switch-to-prev-buffer): Do not switch to a visible
8539 window previous buffer, just like with the frame previous buffers.
8540
fb5b8aca
CY
85412012-03-21 Chong Yidong <cyd@gnu.org>
8542
8543 * faces.el (make-face, make-empty-face, copy-face):
8544 * face-remap.el (face-remap-add-relative, face-remap-set-base):
8545 Doc fixes.
8546
dc9924b8
SM
85472012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8548
8549 * wid-edit.el (widget-complete-field): Remove (bug#11051).
8550 (widget-complete): Remove broken use of it.
8551
f0bcceb9
CY
85522012-03-20 Chong Yidong <cyd@gnu.org>
8553
dc9924b8
SM
8554 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8555 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
8556 characters.
8557
ee52ebf3
TH
85582012-03-20 Tassilo Horn <tassilo@member.fsf.org>
8559
8560 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
8561 to draw rectangles, not squares. (Regression introduced by revno
8562 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
8563
4c5779ab
CY
85642012-03-18 Chong Yidong <cyd@gnu.org>
8565
8566 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
8567 it is not yet defined (for temacs).
8568
15360934
LL
85692012-03-18 Leo Liu <sdl.web@gmail.com>
8570
735135f9
PE
8571 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
8572 prefix.
15360934 8573
d9a8eb66
EZ
85742012-03-17 Eli Zaretskii <eliz@gnu.org>
8575
8576 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
8577 (ispell-choices-win-default-height, ispell-silently-savep)
8578 (ispell-dictionary-alist, ispell-encoding8-command)
8579 (ispell-check-version, ispell-aspell-find-dictionary)
8580 (ispell-valid-dictionary-list, ispell-words-keyword)
8581 (ispell-get-word, ispell-internal-change-dictionary)
8582 (ispell-region, ispell-skip-region-list)
8583 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
8584 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
8585 (ispell-message-text-end, ispell-message)
8586 (ispell-buffer-local-parsing): Doc fix.
8587
f02ff80d
J
85882012-03-13 Jambunathan K <kjambunathan@gmail.com>
8589
8590 * htmlfontify.el: Add support for code block fontification for ODT
8591 export (Bug #9914).
8592 (hfy-optimisations): Define new option
8593 `body-text-only'
8594 (hfy-fontify-buffer): Honor above setting.
8595 (hfy-begin-span, hfy-end-span): New routines factored out form
8596 `hfy-fontify-buffer'.
8597 (hfy-begin-span-handler, hfy-end-span-handler): New variables
8598 that permit insertion of custom tags.
8599 (hfy-fontify-buffer): Use above handlers.
8600 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
8601 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 8602 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 8603 over multiple runs. This is made possible by having the caller let
f02ff80d
J
8604 bind a special variable `hfy-user-sheet-assoc'.
8605 (htmlfontify-string): New defun.
8606 (hfy-compile-face-map): Make sure that the last char in the
8607 buffer is correctly fontified.
8608 (hfy-face-resolve-face): Whitespace only change.
8609
9ac7a13f
EZ
86102012-03-17 Eli Zaretskii <eliz@gnu.org>
8611
8612 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
8613 message more clear.
8614
e2b5bdd7
LL
86152012-03-16 Leo Liu <sdl.web@gmail.com>
8616
8617 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
8618
2e492df3
AM
86192012-03-16 Alan Mackenzie <acm@muc.de>
8620
8621 Further optimise the handling of large macros.
8622
8623 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
8624 limit to a call of `c-literal-limits'.
8625 (c-determine-+ve-limit): New function.
dc9924b8
SM
8626 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
8627 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
8628 In CASE 5B, restrict a search limit to 500.
8629 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
8630
8631 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
8632 Restrict macro bounds to +-500 from after-change's BEG END.
8633
50e94f0c
LL
86342012-03-16 Leo Liu <sdl.web@gmail.com>
8635
8636 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
8637
6f09f6ed
AH
86382012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
8639
8640 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 8641 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 8642
c7e73d51
GM
86432012-03-16 Glenn Morris <rgm@gnu.org>
8644
da986230
GM
8645 * view.el (view-buffer, view-buffer-other-window)
8646 (view-buffer-other-frame): Doc fixes re special mode-class.
8647
0835f01e
GM
8648 * subr.el (eval-after-load): If named feature is provided not from
8649 a file, run after-load forms. (Bug#10946)
8650
c7e73d51
GM
8651 * calendar/calendar.el (calendar-insert-at-column):
8652 Handle non-unit-width characters a bit better. (Bug#10978)
8653
3f2eafd1
CY
86542012-03-15 Chong Yidong <cyd@gnu.org>
8655
8656 * emacs-lisp/ring.el (ring-extend): New function.
8657 (ring-insert+extend): Extend the ring correctly (Bug#11019).
8658
8659 * comint.el (comint-read-input-ring)
8660 (comint-add-to-input-history): Grow comint-input-ring lazily.
8661
103af3fe
SM
86622012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8663
663b1677
SM
8664 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
8665 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
8666
103af3fe
SM
8667 * imenu.el: Fix multiple inheritance breakage (bug#9199).
8668 (imenu-add-to-menubar): Don't add a redundant index.
8669 (imenu-update-menubar): Handle a dynamically composed keymap.
8670
899cb7cb
KY
86712012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
8672
8673 * mail/sendmail.el (mail-encode-header):
8674 Bind rfc2047-encode-encoded-words to nil.
8675
3809f91d
GM
86762012-03-13 Glenn Morris <rgm@gnu.org>
8677
8678 * calendar/calendar.el (calendar-string-spread):
8679 Handle non-unit-width characters a bit better. (Bug#10978)
8680
9e345a01
LL
86812012-03-13 Leo Liu <sdl.web@gmail.com>
8682
8683 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
8684 directory and file as argument (Bug#10822).
8685
4a07df36
KS
86862012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8687
8688 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
8689 For dynamically generated code, follow $PC.
8690 (gdb-disassembly-handler-custom): Handle no function name case.
8691
4aaa9356
TL
86922012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
8693
8694 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
8695 * emulation/ws-mode.el (ws-query-replace):
8696 * sort.el (sort-regexp-fields):
8697 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
8698
225979da
SM
86992012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8700
8701 * dabbrev.el: Fix cycle completion order (bug#10963).
8702 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
8703 (dabbrev-completion): Don't use an obarray; provide
8704 a cycle-sort-function.
8705
e2f1fdab
LL
87062012-03-12 Leo Liu <sdl.web@gmail.com>
8707
dc9924b8 8708 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
8709 (kill-do-not-save-duplicates): Doc fix.
8710
b19490ed
SM
87112012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8712
8713 * dabbrev.el: Fix cycle completion (bug#10963).
8714 Use lexical binding and wrap to 80 columns.
8715 (dabbrev-completion): Delay computing the list of completions.
8716
4b05d722
KH
87172012-03-12 Kenichi Handa <handa@m17n.org>
8718
8719 * international/quail.el (quail-insert-kbd-layout): Surround each
8720 row by LRO and PDF instead of inserting many LRMs. Pad the left
8721 and right of each non-spacing marks. Insert invisible space
8722 between lower and upper characters to prevent composition.
8723
dbbc2e69
SM
87242012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8725
8726 * minibuffer.el (minibuffer-complete): Don't get confused when the
8727 function is run twice via different commands (bug#10958).
8728 (complete-with-action): Fix docstring.
8729
292112ed
CY
87302012-03-12 Chong Yidong <cyd@gnu.org>
8731
5d1ac394
CY
8732 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
8733 (nxml-completion-at-point-function): New function.
8734 (nxml-mode): Use it.
8735 (nxml-bind-meta-tab-to-complete-flag): Default to t.
8736
292112ed
CY
8737 * emacs-lisp/package.el (package-unpack, package-unpack-single):
8738 Load generated autoloads file before byte compiling (Bug#10970).
8739 (package--make-autoloads-and-compile): New helper fun.
8740
4098f8f7
CS
87412012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
8742
8743 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
8744
8f754691
MA
87452012-03-11 Michael Albinus <michael.albinus@gmx.de>
8746
8747 * autorevert.el (auto-revert-handler): Ensure, that
8748 file-readable-p is applied only for local files or in
8749 auto-revert-tail-mode.
8750
e29ab36b
AS
87512012-03-11 Andreas Schwab <schwab@linux-m68k.org>
8752
dbbc2e69
SM
8753 * server.el (server-eval-at): Handle non-tcp connections.
8754 Decode result string.
ad0bf5b6 8755
e29ab36b
AS
8756 * server.el (server-msg-size): New constant.
8757 (server-reply-print): New function.
8758 (server-eval-and-print): Use it.
8759 (server-eval-at): Use server-quote-arg and server-unquote-arg.
8760 Handle -print-nonl.
8761
de5939ba
CS
87622012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
8763
8764 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
8765 (Bug#10987).
8766
0c93eabf
CY
87672012-03-11 Chong Yidong <cyd@gnu.org>
8768
397a688f
CY
8769 * simple.el (goto-line): Doc fix (Bug#9938).
8770
2cc775f9
CY
8771 * subr.el (save-window-excursion): Doc fix (Bug#9979).
8772
0c93eabf
CY
8773 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
8774 when finished (Bug#10963).
8775
c491fa41
MR
87762012-03-11 Martin Rudalics <rudalics@gmx.at>
8777
8778 * window.el (split-window-below): Fix bug in case where
8779 split-window-keep-point is nil (Bug#10971).
8780
300e8fa5
JL
87812012-03-11 Juri Linkov <juri@jurta.org>
8782
8783 * replace.el (replace-highlight): Set isearch-word to nil
8784 unconditionally. (Bug#10887)
8785
dbf6c5a1
EZ
87862012-03-10 Eli Zaretskii <eliz@gnu.org>
8787
8788 * net/mairix.el (mairix-replace-invalid-chars): Rename from
8789 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 8790 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
8791 (mairix-widget-create-query): Add usage information about mairix
8792 search forms: negating words, searching for substrings, etc.
8793
b9e501de
JP
87942012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
8795
8796 * international/fontset.el (font-encoding-alist): Add an entry for
8797 ksx1001 (Bug#5667).
8798
92795c91
RS
87992012-03-10 Richard Stallman <rms@gnu.org>
8800
1694e6c1
RS
8801 * mail/sendmail.el (mail-encode-header):
8802 Set rfc2047-encode-encoded-words.
8803
607e8555
RS
8804 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
8805
de3bc99a
RS
8806 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
8807 view buffer means not swapped.
8808 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
8809 (rmail-write-region-annotate): Error if real text has disappeared.
8810
92795c91
RS
8811 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
8812
699bd04e
CY
88132012-03-10 Chong Yidong <cyd@gnu.org>
8814
8815 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
8816 * emulation/cua-base.el (cua--init-keymaps):
8817 Add delete-forward-char to remappings (Bug#9666).
699bd04e 8818
570a1714
MR
88192012-03-10 Martin Rudalics <rudalics@gmx.at>
8820
dbbc2e69
SM
8821 * speedbar.el (speedbar-unhighlight-one-tag-line):
8822 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 8823
82dcf4e4
CY
88242012-03-10 Chong Yidong <cyd@gnu.org>
8825
7a2c7ca7
CY
8826 * minibuffer.el (completion-in-region, completion-help-at-point):
8827 Give the completion field overlay a high priority (Bug#6830).
8828
82dcf4e4
CY
8829 * dired.el (dired-goto-file): Recognize absolute file name
8830 listings (Bug#7126).
8831 (dired-goto-file-1): New helper function.
8832 (dired-toggle-read-only): Inhibit warnings.
8833
052e28ac
MA
88342012-03-09 Michael Albinus <michael.albinus@gmx.de>
8835
75f1671a 8836 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
8837 there are no properties.
8838
95d5e396
LL
88392012-03-09 Leo Liu <sdl.web@gmail.com>
8840
8841 * savehist.el (savehist-printable): Stricter check for string
8842 value (Bug#10937).
8843
3f018d6d
EZ
88442012-03-09 Eli Zaretskii <eliz@gnu.org>
8845
dbbc2e69
SM
8846 * mail/smtpmail.el (smtpmail-send-it):
8847 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
8848 valid mbox format.
8849
f7fd3d79
GM
88502012-03-09 Glenn Morris <rgm@gnu.org>
8851
8852 * files.el (dir-locals-find-file):
8853 Don't check result is regular, readable.
8854 (dir-locals-read-from-file): Demote errors.
8855
6ff6e72f
EZ
88562012-03-08 Eli Zaretskii <eliz@gnu.org>
8857
dbbc2e69
SM
8858 * international/quail.el (quail-insert-kbd-layout):
8859 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
8860 layout cell, to prevent their reordering by bidi display engine.
8861 For details, see the discussion in
8862 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
8863
9cec7834
AM
88642012-03-08 Alan Mackenzie <acm@muc.de>
8865
8866 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
8867 the starting position; make it extend the marked region when
8868 invoked repeatedly - all under appropriate circumstances.
8869 Fixes bugs #5525, #10906.
8870
9a40b8d4
GM
88712012-03-08 Glenn Morris <rgm@gnu.org>
8872
8873 * files.el (locate-dominating-file, dir-locals-find-file):
8874 Undo 2012-03-06 change.
8875
7a08ed35
EZ
88762012-03-07 Eli Zaretskii <eliz@gnu.org>
8877
dbbc2e69
SM
8878 * international/quail.el (quail-help):
8879 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
8880 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
8881 for the reason.
8882
5aca4f71 88832012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
8884
8885 Avoid superfluous registering of signals. (Bug#10807)
8886
8887 * notifications.el (notifications-on-action-object)
8888 (notifications-on-close-object): New defvars.
8889 (notifications-on-action-signal, notifications-on-closed-signal):
8890 Unregister the signal if not needed any longer.
8891 (notifications-notify): Register `notifications-action-signal' or
8892 `notifications-closed-signal', if :on-action or :on-close has been
8893 passed as argument.
8894
78e8b10a
CY
88952012-03-07 Chong Yidong <cyd@gnu.org>
8896
8897 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
8898 non-X platforms.
8899
69481eb8
GM
89002012-03-06 Glenn Morris <rgm@gnu.org>
8901
8902 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8903 (x-disown-selection-internal, x-get-selection-internal):
8904 Doc fix (add arglist signatures). (Bug#10783)
8905
133b8e11
KS
89062012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8907
8908 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
8909 Handle breakpoints with no "type".
8910
99a83064
GM
89112012-03-06 Glenn Morris <rgm@gnu.org>
8912
8913 * files.el (locate-dominating-file): Add optional predicate argument.
8914 (dir-locals-find-file): Make use of above change.
8915
17798e78
TTN
89162012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
8917
8918 * info.el (Info-insert-dir): Also try "dir.gz".
8919
eb182446
GM
89202012-03-06 Glenn Morris <rgm@gnu.org>
8921
8f2114ee
GM
8922 * files.el (dir-locals-find-file):
8923 Ignore non-readable or non-regular files. (Bug#10928)
8924
eb182446
GM
8925 * files.el (locate-dominating-file): Doc fix.
8926
24679323
AS
89272012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
8928
8929 * calendar/calendar.el (calendar-set-mode-line):
8930 `getenv' returns a string. (Bug#10951)
8931
01d972a9
LL
89322012-03-05 Leo Liu <sdl.web@gmail.com>
8933
109aa8a9
LL
8934 * simple.el (backward-delete-char-untabify): Constrain point to
8935 field (Bug#10939).
8936
01d972a9
LL
8937 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
8938
10607bea
CY
89392012-03-05 Chong Yidong <cyd@gnu.org>
8940
8941 * simple.el (count-words): If called from Lisp, return the word
8942 count, for symmetry with `count-lines'. Arglist changed.
8943 (count-words--message): Args changed. Consolidate counting code
8944 from count-words and count-words-region.
8945 (count-words-region): Caller changed.
8946 (count-lines-region): Make it an obsolete alias.
8947
5dd11cfe
TH
89482012-03-04 Tassilo Horn <tassilo@member.fsf.org>
8949
8950 * saveplace.el (save-place-to-alist)
8951 (save-place-ignore-files-regexp): Allow value nil to disable this
8952 feature.
8953
c349f4e6
CY
89542012-03-04 Chong Yidong <cyd@gnu.org>
8955
8956 * faces.el (face-spec-reset-face): For the default face, reset the
8957 attributes to default values (Bug#10748).
8958
e627be4c
LMI
89592012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8960
8961 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
8962 previous patch: Check `message-send-mail-function', and not the
8963 default function (bug#10897).
8964
ebeabff4
MA
89652012-03-04 Michael Albinus <michael.albinus@gmx.de>
8966
a41a6cf4
MA
8967 * notifications.el (notifications-on-action-signal)
8968 (notifications-on-closed-signal): Check for unique service name of
8969 incoming event. Fix error in removing entry.
ebeabff4 8970 (top): Register for signals with wildcard service name.
a41a6cf4 8971 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 8972
c1ca42b4
CY
89732012-03-04 Chong Yidong <cyd@gnu.org>
8974
dc9924b8 8975 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 8976
ea16568d
GM
89772012-03-04 Glenn Morris <rgm@gnu.org>
8978
8979 * abbrev.el (copy-abbrev-table, abbrev-table-p)
8980 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
8981 (expand-abbrev, define-abbrev-table): Doc fixes.
8982
fbae4637
LMI
89832012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8984
8985 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
8986 `message-default-send-mail-function' and not `send-mail-function'
8987 when doing the prompting for `sendmail-query-once' before sending
8988 in Message buffers (bug#10897).
8989
a1e7225c
LMI
8990 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
8991 This is inconsistent with all the other stream functions, which leave
8992 the setting up to the higher levels (if so wanted) (bug#10931).
8993
56d093a9
AM
89942012-03-02 Alan Mackenzie <acm@muc.de>
8995
8996 Depessimize the handling of very large macros.
8997
8998 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
8999 (c-macro-cache-syntactic): New variables to implement a one
9000 element macro cache.
9001 (c-invalidate-macro-cache): New function.
9002 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9003 Adapt to use the new cache.
9004 (c-state-safe-place): Use better the cache of safe positions.
9005 (c-state-semi-nonlit-pos-cache)
9006 (c-state-semi-nonlit-pos-cache-limit):
9007 New variables for...
9008 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9009 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
9010 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9011 Use c-state-semi-safe-place.
56d093a9 9012
dbbc2e69
SM
9013 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9014 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 9015
817e5c3d
MA
90162012-03-02 Michael Albinus <michael.albinus@gmx.de>
9017
dbbc2e69
SM
9018 * jka-compr.el (jka-compr-call-process):
9019 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
9020 not remote.
9021
a032a702
MA
90222012-03-01 Michael Albinus <michael.albinus@gmx.de>
9023
9024 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9025 access of FILE2, if FILE1 does not exist.
9026
99a54f21
MA
9027 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9028 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9029
9030 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9031 Add "PAGER=" to `process-environment'.
9032
f6561e1f
MM
90332012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9034
9035 * progmodes/sql.el: Bug fix
9036 (sql-get-login-ext): Save login values in globals.
9037 (sql-get-login): Use new version of `sql-get-login-ext'.
9038 (sql-interactive-mode): Set global `sql-connection' to nil.
9039 (sql-connect): Set global values for connection.
9040 (sql-product-interactive): Save global values as buffer local.
9041
2d44d9cc
LL
90422012-02-29 Leo Liu <sdl.web@gmail.com>
9043
9044 * abbrev.el (define-abbrevs): Reset sys to nil.
9045
96b49301 90462012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9047
bf7f9bc5
JB
9048 * files.el (file-equal-p): Rename from `files-equal-p'.
9049 Return nil when one or both files don't exist.
96b49301 9050 (file-subdir-of-p): Now only top directory must exists,
9051 return nil if it doesn't.
bf7f9bc5
JB
9052 (copy-directory): No need to test with `file-subdir-of-p' after
9053 creating dir.
9054 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9055 to `file-equal-p'.
96b49301 9056
44e97401
GM
90572012-02-28 Glenn Morris <rgm@gnu.org>
9058
9059 * shell.el (shell-mode):
9060 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9061 * play/landmark.el (landmark-font-lock-face-O):
9062 * play/handwrite.el (handwrite):
9063 * play/gomoku.el (gomoku-O):
9064 * net/browse-url.el (browse-url-browser-display):
9065 * international/mule.el (define-charset):
9066 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9067 * filesets.el (filesets-find-file-delay):
9068 * eshell/em-xtra.el (eshell-xtra):
9069 * eshell/em-unix.el (eshell-grep):
9070 * emulation/viper.el (viper-mode):
9071 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9072 * emacs-lisp/easymenu.el (easy-menu-define):
9073 * calendar/timeclock.el (timeclock-use-display-time):
9074 * bs.el (bs-mode):
9075 * bookmark.el (bookmark-save-flag):
9076 Doc fix (standardize possessive apostrophe usage).
9077
c98c6276
CY
90782012-02-27 Chong Yidong <cyd@gnu.org>
9079
bf7f9bc5
JB
9080 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9081 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 9082
c98c6276
CY
9083 * font-lock.el (font-lock-specified-p): Rename from
9084 font-lock-spec-present. Callers changed.
9085
9c62cd04 90862012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 9087
bf7f9bc5
JB
9088 * emacs-lisp/package.el (package-compute-transaction):
9089 Handle holding a package version to t in package-load-list.
8ac9e529 9090
530739c9
MA
90912012-02-26 Michael Albinus <michael.albinus@gmx.de>
9092
9093 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9094 (tramp-get-inode, tramp-get-device): Use cached values.
9095
487915d7
AM
90962012-02-26 Alan Mackenzie <acm@muc.de>
9097
9098 Check there is a font-lock specification before doing initial
9099 fontification.
9100
9101 * font-core.el (font-lock-mode): Move the conditional from
9102 :after-hook to font-lock-initial-fontify.
9103 (font-lock-default-function): Move the check for a specification
9104 to font-lock-spec-present.
9105
dc9924b8 9106 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
9107 (font-lock-spec-present): New function.
9108
4fd96557
JB
91092012-02-26 Jim Blandy <jimb@red-bean.com>
9110
9111 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9112 (gdb-send): Apply it to the operand of the '-interpreter-exec
9113 console' command, so that we can pass arguments with (say) quotes
9114 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9115
9a4888c0
CY
91162012-02-26 Chong Yidong <cyd@gnu.org>
9117
07498861
CY
9118 * help-fns.el (describe-function-1): Clarify description of
9119 remapping (Bug#10844).
9120
9a4888c0
CY
9121 * files.el (files-equal-p): Doc fix.
9122 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9123 and quit the loop once a mismatch is found.
9124
ea8fb88d
JB
91252012-02-25 Juanma Barranquero <lekktu@gmail.com>
9126
9127 * bs.el (bs--show-with-configuration): Don't throw an error
9128 if the window cannot be split; otherwise, subsequent calls to
9129 bs-show fail, restoring a stale window config. (Bug#10882)
9130
525795c1
JD
91312012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9132
9133 * term/ns-win.el (global-map): Bind ns-drag-file to
9134 ns-find-file (Bug#5855, Bug#10050).
9135
f008086f
AS
91362012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9137
9138 * calendar/parse-time.el (parse-time-string): Allow extractor to
9139 return nil.
9140
a3fcfa99
MA
91412012-02-25 Michael Albinus <michael.albinus@gmx.de>
9142
91027d08
JB
9143 * net/tramp.el (tramp-file-name-for-operation):
9144 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
9145
9146 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
9147 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9148 Add COPY-CONTENTS argument.
a3fcfa99 9149
67b0de11
CY
91502012-02-25 Chong Yidong <cyd@gnu.org>
9151
9152 Add custom groups for VC backends, for consistency with vc-bzr.
9153
9154 * vc/vc-arch.el (vc-arch):
9155 * vc/vc-cvs.el (vc-cvs):
9156 * vc/vc-git.el (vc-git):
9157 * vc/vc-hg.el (vc-hg):
9158 * vc/vc-mtn.el (vc-mtn):
9159 * vc/vc-rcs.el (vc-rcs):
9160 * vc/vc-sccs.el (vc-sccs):
9161 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9162 All relevant defcustoms reassigned.
9163
3c9dfce6
CY
91642012-02-25 Chong Yidong <cyd@gnu.org>
9165
1339bf43
CY
9166 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9167
3c9dfce6
CY
9168 * term/x-win.el (x-initialize-window-system): Reduce default for
9169 x-selection-timeout to 5 seconds (Bug#8869).
9170
25b2e303 91712012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9172
ec70a47d
GM
9173 * files.el (files-equal-p, file-subdir-of-p): New functions.
9174 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 9175 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
9176 * dired-aux.el (dired-copy-file-recursive): Same.
9177 (dired-create-files): Modify destination when source is equal to
9178 dest when copying files.
53a46cd0 9179 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 9180
914260cd
MA
91812012-02-24 Michael Albinus <michael.albinus@gmx.de>
9182
9183 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9184 (Bug#10874)
9185
2cb228f7
AM
91862012-02-23 Alan Mackenzie <acm@muc.de>
9187
9188 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9189 parameter "after-hook:" to allow the expansion to run code after
9190 the execution of the mode hooks.
9191
9192 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 9193 from font-lock-mode-internal.
2cb228f7 9194
91027d08 9195 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
9196 :after-hook.
9197
8f0fde21
SM
91982012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9199
3e88618b
SM
9200 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9201 (completion--cache-all-sorted-completions): New function.
9202 (completion-all-sorted-completions): Use it.
9203 (completion--do-completion, minibuffer-force-complete):
9204 Use it to re-instate the flush hook.
9205
8f0fde21
SM
9206 * icomplete.el (icomplete-completions): Replace last fix with a better
9207 one (bug#10850).
9208
8e911f6f
DG
92092012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9210
9211 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9212 when it might call us back infinitely (bug#10797).
9213
49fe4321
GM
92142012-02-23 Glenn Morris <rgm@gnu.org>
9215
9216 * minibuffer.el (completion-category-overrides): Doc fix.
9217
b291b572
SM
92182012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9219
9220 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9221 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9222
31a9ef2e
GM
92232012-02-23 Glenn Morris <rgm@gnu.org>
9224
5e6e6794 9225 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
9226 (authors-obsolete-files-regexps, authors-ignored-files)
9227 (authors-ambiguous-files, authors-renamed-files-alist):
9228 Add more entries.
9229
0bd1e074
JL
92302012-02-23 Juri Linkov <juri@jurta.org>
9231
9232 * isearch.el (isearch-occur): Sync interactive spec with occur's
9233 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9234
b617673c
JL
9235 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9236
19e9789e
JL
92372012-02-22 Juri Linkov <juri@jurta.org>
9238
9239 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9240 (ucs-insert): Doc fix. Check for hex digits in the string.
9241 Don't display `nil' in the error message. (Bug#10857)
9242
f41ce09d
AM
92432012-02-22 Alan Mackenzie <acm@muc.de>
9244
7a71b18d 9245 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 9246
ac2eceee
GM
92472012-02-22 Glenn Morris <rgm@gnu.org>
9248
9249 * ffap.el (ffap-c-path):
9250 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9251
abd1f678
CY
92522012-02-22 Chong Yidong <cyd@gnu.org>
9253
9254 * custom.el (load-theme): Doc fix.
9255
f25aef2e
GM
92562012-02-22 Glenn Morris <rgm@gnu.org>
9257
9258 * dired-x.el (dired-guess-shell-alist-default):
9259 Remove escape sequences from nroff output. (Bug#172)
9260
5f8dc2ca
GM
92612012-02-21 Glenn Morris <rgm@gnu.org>
9262
6ff86ec4
GM
9263 * vc/emerge.el (emerge-defvar-local):
9264 Set `permanent-local' property rather than unused `preserved'.
9265
be3223a3 9266 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
9267 (picture-mode-map): Use it. (Bug#10860)
9268 (picture-mode): Doc fix.
9269
3fe58f4f
JB
92702012-02-21 Juanma Barranquero <lekktu@gmail.com>
9271
9272 * newcomment.el (uncomment-region-default): Remove unused binding.
9273
f9a998c3
GM
92742012-02-21 Glenn Morris <rgm@gnu.org>
9275
9276 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9277 (picture-self-insert, picture-tab-chars): Doc fix.
9278 (picture-mode-map): Fix C-a, C-e.
9279
c6029348
GM
92802012-02-20 Glenn Morris <rgm@gnu.org>
9281
9282 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9283
ab1ce9d7
LL
92842012-02-20 Leo Liu <sdl.web@gmail.com>
9285
9286 * icomplete.el (icomplete-completions): Check FROM arg before
9287 passing to substring (Bug#10850).
9288
0fd40f89
CY
92892012-02-19 Chong Yidong <cyd@gnu.org>
9290
9291 * comint.el: Require ansi-color.
9292 (comint-output-filter-functions): Add ansi-color-process-output.
9293
9294 * ansi-color.el: Don't set comint-output-filter-functions; it is
9295 now in the initial value defined in comint.el.
9296 (ansi-color-apply-face-function): New variable.
9297 (ansi-color-apply-on-region): Use it.
9298 (ansi-color-apply-overlay-face): New function.
9299
9300 * shell.el (shell): No need to require ansi-color.
9301 (shell-mode): Use ansi-color-apply-face-function to highlight
9302 color escapes using font-lock-face property (Bug#10835).
9303
20af2394
CY
93042012-02-19 Chong Yidong <cyd@gnu.org>
9305
9306 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9307 mode-line formats (Bug#10839).
9308
e23a3fbe
GM
93092012-02-18 Glenn Morris <rgm@gnu.org>
9310
b474519e
GM
9311 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9312
9313 * mail/undigest.el (unforward-rmail-message): Doc fix.
9314
e23a3fbe
GM
9315 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9316
57939ff4
EZ
93172012-02-18 Eli Zaretskii <eliz@gnu.org>
9318
9319 * international/characters.el (script-list): Sync with the latest
9320 Unicode Character Database.
9321
0c23686e
AS
93222012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9323
9324 * international/titdic-cnv.el: Remove duplicate coding tag.
9325 * language/cham.el: Likewise.
9326 * language/tai-viet.el: Likewise.
9327
6818b449
GM
93282012-02-18 Glenn Morris <rgm@gnu.org>
9329
9330 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9331 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9332 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9333 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9334 * calendar/holidays.el (holiday-bahai-holidays)
9335 (calendar-holidays, list-holidays):
9336 Use utf-8 Bahá'í in doc-strings, menus, etc.
9337
0311a3fc
TH
93382012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9339
9340 * saveplace.el (save-place-ignore-files-regexp): New variable
9341 allowing for excluding files from saving their location of point.
9342 The default value matches the temporary commit message editing
9343 files from Git, SVN, Bazaar, and Mercurial.
9344 (save-place-to-alist): Use it.
9345
d209e2fb 93462012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 9347 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
9348
9349 * newcomment.el (uncomment-region-default): Don't leave extra space
9350 when an arg is provided (bug#8150).
9351
ee0ce425
TZ
93522012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9353
eb864a71 9354 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 9355
95ddf442
GM
93562012-02-17 Glenn Morris <rgm@gnu.org>
9357
9358 * net/socks.el: Require network-stream. (Bug#10599)
9359
48dd1e39 93602012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
9361
9362 * international/charprop.el:
9363 * international/uni-name.el:
9364 * international/uni-old-name.el:
9365 * international/uni-comment.el: Regenerate.
9366
d68cd087
GM
93672012-02-16 Glenn Morris <rgm@gnu.org>
9368
9369 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9370 Interactively in calendar buffer, give an error if not on a date.
9371
13932042
GM
93722012-02-15 Glenn Morris <rgm@gnu.org>
9373
9374 * shell.el (shell-delimiter-argument-list):
9375 Revert 2011-02-17 change. (Bug#8027)
9376
c3a70e2b
CY
93772012-02-15 Chong Yidong <cyd@gnu.org>
9378
60236b0d
CY
9379 * minibuffer.el (completion-at-point-functions): Doc fix.
9380
c3a70e2b
CY
9381 * custom.el (defcustom): Doc fix; note use of defvar.
9382
9f26dc24
GM
93832012-02-15 Glenn Morris <rgm@gnu.org>
9384
9385 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9386 Doc fixes.
9387
6546b134
GM
93882012-02-14 Glenn Morris <rgm@gnu.org>
9389
9390 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9391
d29b2b4c
LI
93922012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9393
9394 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9395 way the ports list is computed.
835bdcba
LI
9396 (smtpmail-query-smtp-server): Prompt the user for a port number if
9397 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 9398
08dcdbc9
TZ
93992012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9400
9401 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9402
2605051a
GM
94032012-02-13 Glenn Morris <rgm@gnu.org>
9404
9405 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9406
7ee99f32
TZ
94072012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9408
9409 * net/gnutls.el (gnutls-trustfiles): New variable.
9410 (gnutls-negotiate): Use it.
9411
5f0af64f
LI
94122012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
9413
9414 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9415 does its stuff if Gnus is running.
9416
c14fcc95
AM
94172012-02-13 Alan Mackenzie <acm@muc.de>
9418
9419 Fix a loop in c-set-fl-decl-start.
9420
7a71b18d 9421 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
9422 c-backward-syntactic-ws actually moves backwards.
9423
142b4d90
LL
94242012-02-13 Leo Liu <sdl.web@gmail.com>
9425
9426 * net/rcirc.el (rcirc-markup-attributes): Move point to the
9427 beginning so that all \C-o chars are removed.
9428
fa9958a6
TZ
94292012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
9430
dc9924b8 9431 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 9432
0bc5886a
AM
94332012-02-12 Alan Mackenzie <acm@muc.de>
9434
9435 Fix infinite loop with long macros.
4d6769e1 9436 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 9437
d4bd55e7
CY
94382012-02-12 Chong Yidong <cyd@gnu.org>
9439
9440 * window.el (display-buffer): Doc fix (Bug#10785).
9441
66f3fe22
GM
94422012-02-12 Glenn Morris <rgm@gnu.org>
9443
bd7da63e
GM
9444 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9445 (x-disown-selection-internal, x-get-selection-internal):
9446 Sync docs with the xselect.c versions.
9447
66f3fe22
GM
9448 * allout-widgets.el: Add missing license notice.
9449
3e0d2fa7
GM
94502012-02-11 Glenn Morris <rgm@gnu.org>
9451
cfecdf09
GM
9452 * select.el (x-get-selection-internal, x-own-selection-internal)
9453 (x-disown-selection-internal):
9454 * x-dnd.el (x-get-selection-internal): Update declarations.
9455
6d216d7f
GM
9456 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9457
2bed3f04
GM
9458 * window.el (window-sides-slots):
9459 * tool-bar.el (tool-bar-position):
9460 * term/xterm.el (xterm-extra-capabilities):
9461 * ses.el (ses-self-reference-early-detection):
9462 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9463 (verilog-auto-wire-type)
9464 (verilog-auto-delete-trailing-whitespace)
9465 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9466 (verilog-auto-tieoff-declaration):
9467 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9468 (sql-oracle-statement-starters, sql-oracle-scan-on):
9469 * progmodes/prolog.el (prolog-align-comments-flag)
9470 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9471 (prolog-left-indent-regexp, prolog-paren-indent-p)
9472 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9473 (prolog-types, prolog-mode-specificators)
9474 (prolog-determinism-specificators, prolog-directives)
9475 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9476 (prolog-electric-dot-flag)
9477 (prolog-electric-dot-full-predicate-template)
9478 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9479 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9480 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9481 (prolog-program-switches, prolog-prompt-regexp)
9482 (prolog-debug-on-string, prolog-debug-off-string)
9483 (prolog-trace-on-string, prolog-trace-off-string)
9484 (prolog-zip-on-string, prolog-zip-off-string)
9485 (prolog-use-standard-consult-compile-method-flag)
9486 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9487 (prolog-imenu-max-lines, prolog-info-predicate-index)
9488 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9489 (prolog-char-quote-workaround):
9490 * progmodes/cc-vars.el (c-defun-tactic):
9491 * net/tramp.el (tramp-encoding-command-interactive)
9492 (tramp-local-end-of-line):
9493 * net/soap-client.el (soap-client):
9494 * net/netrc.el (netrc-file):
9495 * net/gnutls.el (gnutls):
9496 * minibuffer.el (completion-category-overrides)
9497 (completion-cycle-threshold)
9498 (completion-pcm-complete-word-inserts-delimiters):
9499 * man.el (Man-name-local-regexp):
9500 * mail/feedmail.el (feedmail-display-full-frame):
9501 * international/characters.el (glyphless-char-display-control):
9502 * eshell/em-ls.el (eshell-ls-date-format):
9503 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
9504 (lisp-lambda-list-keyword-parameter-indentation)
9505 (lisp-lambda-list-keyword-parameter-alignment):
9506 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
9507 * dired-x.el (dired-omit-verbose):
9508 * cus-theme.el (custom-theme-allow-multiple-selections):
9509 * calc/calc.el (calc-highlight-selections-with-faces)
9510 (calc-lu-field-reference, calc-lu-power-reference)
9511 (calc-note-threshold):
9512 * battery.el (battery-mode-line-limit):
9513 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9514 (archive-7z-update):
9515 * allout.el (allout-prefixed-keybindings)
9516 (allout-unprefixed-keybindings)
9517 (allout-inhibit-auto-fill-on-headline)
9518 (allout-flattened-numbering-abbreviation):
9519 * allout-widgets.el (allout-widgets-auto-activation)
9520 (allout-widgets-icons-dark-subdir)
9521 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
9522 (allout-widgets-theme-dark-background)
9523 (allout-widgets-theme-light-background)
9524 (allout-widgets-item-image-properties-emacs)
9525 (allout-widgets-item-image-properties-xemacs)
9526 (allout-widgets-run-unit-tests-on-load)
9527 (allout-widgets-time-decoration-activity)
9528 (allout-widgets-hook-error-post-time)
9529 (allout-widgets-track-decoration):
9530 Add missing :version tags to new defcustoms and defgroups.
9531
5fec1b8e
GM
9532 * progmodes/sql.el (sql-ansi-statement-starters)
9533 (sql-oracle-statement-starters): Add custom type.
9534
3e0d2fa7
GM
9535 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
9536 (prolog-system-version): Give it a type.
9537
90b671e2
EZ
95382012-02-11 Eli Zaretskii <eliz@gnu.org>
9539
9540 * term/pc-win.el (x-select-text, x-selection-owner-p)
9541 (x-own-selection-internal, x-disown-selection-internal)
9542 (x-get-selection-internal): Sync doc strings and argument lists
9543 with xselect.c, common-win.el and x-win.el. (Bug#10783)
9544
5eac0c02
LL
95452012-02-11 Leo Liu <sdl.web@gmail.com>
9546
9547 * progmodes/python.el (python-end-of-statement): Fix infinite
9548 loop. (Bug#10788)
9549
f82cb659
GM
95502012-02-10 Glenn Morris <rgm@gnu.org>
9551
9552 * international/mule-cmds.el (unify-8859-on-encoding-mode)
9553 (unify-8859-on-decoding-mode): Properly mark as obsolete.
9554
cc26d239
LI
95552012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
9556
9557 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
9558 about SMTP before checking the From header.
9559
91027d08 9560 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
9561 into own function for reuse by emacsbug.el.
9562
1be3ca5a
LL
95632012-02-10 Leo Liu <sdl.web@gmail.com>
9564
9565 * subr.el (condition-case-unless-debug): Rename from
9566 condition-case-no-debug. All callers changed.
9567 (with-demoted-errors): Fix caller.
9568
9569 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
9570 * nxml/rng-valid.el (rng-do-some-validation):
9571 * emacs-lisp/package.el (package-refresh-contents)
9572 (package-menu-execute):
9573 * desktop.el (desktop-create-buffer):
91027d08 9574 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 9575
b011fbfe
GM
95762012-02-10 Glenn Morris <rgm@gnu.org>
9577
b2096d72
GM
9578 * textmodes/bibtex.el:
9579 Add missing :version tags for new/changed defcustoms.
9580
b011fbfe
GM
9581 * files.el (remote-file-name-inhibit-cache): Doc fixes.
9582
4c7e65bf
LI
95832012-02-09 Lars Ingebrigtsen <larsi@rusty>
9584
9585 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
9586 (smtpmail-via-smtp): Use it, or fall back on the From address.
9587 (smtpmail-send-it): Ditto.
9588
f3934f6f
SM
95892012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
9590
9591 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
9592 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
9593 (byte-compile-tmp-var): New const.
9594 (byte-compile-defvar): Use it to minimize .elc size.
9595 Just use `defvar' rather than simulate it (bug#10761).
9596
a075a2c5
GM
95972012-02-09 Glenn Morris <rgm@gnu.org>
9598
cf3aa21b
GM
9599 * files.el (rename-uniquely): Doc fix. (Bug#3806)
9600
354998cd
GM
9601 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
9602 Add :version tags.
9603
dc9924b8
SM
9604 * progmodes/compile.el (compilation-error-screen-columns)
9605 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 9606
dab3703d
GM
9607 * vc/log-view.el (log-view-toggle-entry-display):
9608 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
9609
3f88cd72
GM
9610 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
9611 (report-emacs-bug-can-use-xdg-email):
9612 (report-emacs-bug-insert-to-mailer): Doc fixes.
9613 (report-emacs-bug): Message fix.
9614
d95b247d
GM
9615 * net/browse-url.el (browse-url-can-use-xdg-open)
9616 (browse-url-xdg-open): Doc fixes.
9617
a075a2c5
GM
9618 * electric.el (electric-indent-mode, electric-pair-mode)
9619 (electric-layout-rules, electric-layout-mode): Doc fixes.
9620 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
9621
ffb6157e
MR
96222012-02-08 Martin Rudalics <rudalics@gmx.at>
9623
9624 * server.el (server-unselect-display): Don't inadvertently kill
9625 the current buffer. (Bug#10729)
9626
e1ac4066
GM
96272012-02-08 Glenn Morris <rgm@gnu.org>
9628
34e8a2da
GM
9629 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
9630 (sql-list-table): Doc fixes.
9631
b4ac6e8c
GM
9632 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
9633 Comment out (does nothing).
9634
e1ac4066
GM
9635 * completion.el (dynamic-completion-mode):
9636 * dirtrack.el (dirtrack-debug-mode):
9637 * electric.el (electric-layout-mode):
9638 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
9639 * face-remap.el (text-scale-mode, buffer-face-mode):
9640 * iimage.el (iimage-mode):
9641 * image-mode.el (image-transform-mode):
9642 * minibuffer.el (completion-in-region-mode):
9643 * scroll-lock.el (scroll-lock-mode):
9644 * simple.el (next-error-follow-minor-mode):
9645 * tar-mode.el (tar-subfile-mode):
9646 * tooltip.el (tooltip-mode):
9647 * vcursor.el (vcursor-use-vcursor-map):
9648 * wid-browse.el (widget-minor-mode):
9649 * emulation/tpu-edt.el (tpu-edt-mode):
9650 * emulation/tpu-extras.el (tpu-cursor-free-mode):
9651 * international/iso-ascii.el (iso-ascii-mode):
9652 * language/thai-util.el (thai-word-mode):
9653 * mail/supercite.el (sc-minor-mode):
9654 * net/goto-addr.el (goto-address-mode):
9655 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
9656 * progmodes/cwarn.el (cwarn-mode):
9657 * progmodes/flymake.el (flymake-mode):
9658 * progmodes/glasses.el (glasses-mode):
9659 * progmodes/hideshow.el (hs-minor-mode):
9660 * progmodes/pascal.el (pascal-outline-mode):
9661 * textmodes/enriched.el (enriched-mode):
9662 * vc/smerge-mode.el (smerge-mode):
9663 Doc fixes (minor mode argument).
9664
5e0d957f
EZ
96652012-02-07 Eli Zaretskii <eliz@gnu.org>
9666
9667 * ls-lisp.el (ls-lisp-sanitize): New function.
9668 (ls-lisp-insert-directory): Use it to fix or remove any elements
9669 in file-alist with missing attributes. (Bug#4673)
9670
98d7371e
AM
96712012-02-07 Alan Mackenzie <acm@muc.de>
9672
9673 Fix spurious recognition of c-in-knr-argdecl.
9674
9675 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
9676 putative K&R region.
9677
667ced3a
AM
96782012-02-07 Alan Mackenzie <acm@muc.de>
9679
eb864a71
LM
9680 * progmodes/cc-engine.el (c-forward-objc-directive):
9681 Prevent looping in "#pragma mark @implementation".
667ced3a 9682
5b77774d
MA
96832012-02-07 Michael Albinus <michael.albinus@gmx.de>
9684
9685 * notifications.el (notifications-on-closed-signal): Make `reason'
9686 optional. (Bug#10744)
9687
af008560
GM
96882012-02-07 Glenn Morris <rgm@gnu.org>
9689
60d47423
GM
9690 * emacs-lisp/easy-mmode.el (define-minor-mode):
9691 Doc fixes for the macro and the mode it defines.
9692
dd605cc4
GM
9693 * image.el (imagemagick-types-inhibit): Doc fix.
9694
af008560
GM
9695 * cus-start.el (imagemagick-render-type): Add it.
9696
5cc59a37
LI
96972012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
9698
4d6769e1
JB
9699 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
9700 Set the default at load time, too, so that `font-lock-fontify-buffer'
9701 can be called without setting up the entire mode first. This fixes
9702 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 9703
9a6dd747
CY
97042012-02-06 Chong Yidong <cyd@gnu.org>
9705
2d16b285
CY
9706 * simple.el (list-processes--refresh): Delete exited processes
9707 (Bug#8094).
9708
171e9b6e
CY
9709 * comint.el (comint-next-prompt): next-single-char-property-change
9710 and prev-single-char-property-change never return nil (Bug#8657).
9711
9a6dd747
CY
9712 * custom.el (defcustom): Doc fix (Bug#9711).
9713
aa4589a7
CY
97142012-02-05 Chong Yidong <cyd@gnu.org>
9715
5c2a252f
CY
9716 * cus-edit.el (custom-variable-reset-backup): Quote the value
9717 before storing it in the customized-value property (Bug#6712).
4aab9006 9718 (custom-display): Add a customization type tag.
983b9602 9719 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 9720
aa4589a7
CY
9721 * wid-edit.el (widget-field-value-get): New optional arg to
9722 suppress trailing whitespace truncation.
9723 (character): Use it (Bug#2689).
9724
1ff980ae
AS
97252012-02-05 Andreas Schwab <schwab@linux-m68k.org>
9726
9727 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
9728 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
9729
03988c98
CY
97302012-02-05 Chong Yidong <cyd@gnu.org>
9731
eeb6cc88
CY
9732 * cus-edit.el (custom-variable-value-create): For mismatched
9733 types, show the current value (Bug#7600).
9734
03988c98
CY
9735 * custom.el (defcustom): Doc fix.
9736
f8cdeef0
GM
97372012-02-05 Glenn Morris <rgm@gnu.org>
9738
9739 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
9740
0696d255
JB
97412012-02-05 Juanma Barranquero <lekktu@gmail.com>
9742
9743 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
9744 (pp-buffer): Use `ignore-errors', `looking-at-p'.
9745 (pp-last-sexp): Use `looking-at-p'.
9746
34c99998
GM
97472012-02-04 Glenn Morris <rgm@gnu.org>
9748
8f05da42
GM
9749 * files.el (revert-buffer):
9750 Doc fix (mention revert-buffer-in-progress-p).
9751
f160676e
GM
9752 * emacs-lisp/ert-x.el (ert-simulate-command):
9753 Check deferred-action-list (which is obsolete) is bound.
9754
c7291ad9
GM
9755 * subr.el (with-wrapper-hook): Doc fixes.
9756
34c99998
GM
9757 * simple.el (filter-buffer-substring-functions)
9758 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
9759
6283a7d3
LL
97602012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
9761
9762 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
9763 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
9764
e96e3013
LL
97652012-02-04 Leo Liu <sdl.web@gmail.com>
9766
9767 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
9768
8ded50f2
GM
97692012-02-04 Glenn Morris <rgm@gnu.org>
9770
82ff1d13
GM
9771 * image.el (image-extension-data): Add obsolete alias.
9772
987a0a16
GM
9773 * isearch.el (isearch-update): Doc fix.
9774
ea32ef46
GM
9775 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
9776
8ded50f2
GM
9777 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
9778
eea14f31
GM
97792012-02-03 Glenn Morris <rgm@gnu.org>
9780
9781 * image.el (image-animated-p): Doc fix. Use image-animated-types.
9782 (image-animate-timeout): Doc fix.
9783
9784 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
9785
12f381b7
GM
97862012-02-02 Glenn Morris <rgm@gnu.org>
9787
953cebf5
GM
9788 * server.el (server-auth-dir): Doc fix.
9789 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
9790
12f381b7
GM
9791 * subr.el (run-mode-hooks): Doc fix.
9792
953a8c3b
JL
97932012-02-02 Juri Linkov <juri@jurta.org>
9794
9795 * image-mode.el (image-toggle-display-image): Remove tautological
9796 `major-mode' from the `derived-mode-p' test.
9797
c5d3843c
KH
97982012-02-02 Kenichi Handa <handa@m17n.org>
9799
9f6e692e 9800 * composite.el (compose-region): Cancel previous change.
c5d3843c 9801
159462d4 98022012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
9803
9804 * composite.el (compose-region, compose-string): Signal error for
9805 a null string component (Bug#6988).
9806
9f562668
CY
98072012-02-01 Chong Yidong <cyd@gnu.org>
9808
e2cef717
CY
9809 * view.el (view-buffer-other-window, view-buffer-other-frame):
9810 Handle special modes like view-buffer (Bug#10650).
9811 (view-buffer): Simplify.
9812
9f562668
CY
9813 * frame.el (set-frame-font): Tweak meaning of third argument.
9814
9f6e692e
JB
9815 * dynamic-setting.el (font-setting-change-default-font):
9816 Use set-frame-font (Bug#9982).
9f562668 9817
781acb9f
GM
98182012-02-01 Glenn Morris <rgm@gnu.org>
9819
6035be52
GM
9820 * progmodes/compile.el (compilation-internal-error-properties):
9821 Respect compilation-first-column in the "*compilation*" buffer.
9822
781acb9f
GM
9823 * emacs-lisp/easy-mmode.el (define-minor-mode):
9824 Relax :variable's test for a named function.
9825
abbceb00
AM
98262012-01-31 Alan Mackenzie <acm@muc.de>
9827
9828 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
9829 off by one error.
9830
fce3fdeb
CY
98312012-01-31 Chong Yidong <cyd@gnu.org>
9832
9833 * frame.el (set-frame-font): New arg ALL-FRAMES.
9834
9835 * menu-bar.el (menu-set-font): Use set-frame-font.
9836
9837 * faces.el (face-spec-reset-face): Don't apply unspecified
9838 attribute values to the default face.
9839
47893581
JB
98402012-01-31 Juanma Barranquero <lekktu@gmail.com>
9841
9842 * progmodes/cwarn.el (cwarn): Remove dead link.
9843 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
9844 Remove * from defcustom docstrings.
9845 (turn-on-cwarn-mode): Make obsolete.
9846 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
9847 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
9848
e58e988a
GM
98492012-01-31 Glenn Morris <rgm@gnu.org>
9850
60dc2671 9851 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 9852 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 9853 Allow named functions to be used as the cdr of :variable.
e58e988a 9854
7a3f511d
GM
98552012-01-30 Glenn Morris <rgm@gnu.org>
9856
9857 * emacs-lisp/authors.el (authors-fixed-entries):
9858 Remove reference to deleted file rnewspost.el.
9859
cb882333
JB
98602012-01-29 Juanma Barranquero <lekktu@gmail.com>
9861
9862 * window.el (window-with-parameter): Remove unused variable `windows'.
9863 (window--side-check): Remove unused variable `code'.
9864 (window--resize-siblings): Remove unused variable `first'.
9865 (adjust-window-trailing-edge): Remove unused variable `failed'.
9866 (window-deletable-p, window--delete): Remove unused variable `buffer'.
9867 Use `let', not `let*'.
9868 (balance-windows-2): Remove unused variable `found'.
9869 (window--state-put-2): Remove unused variable `splits'.
9870 (window-state-put): Remove unused variable `selected'.
9871 (same-window-p): Use `string-match-p'.
9872 (display-buffer-assq-regexp): Remove unused variable `value'.
9873 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9874 Mark argument ALIST as ignored.
9875 (pop-to-buffer): Remove unused variable `old-window'.
9876
907201af
EZ
98772012-01-29 Eli Zaretskii <eliz@gnu.org>
9878
9879 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
9880 and .lzma compressed files.
9881
ea162670
CY
98822012-01-29 Chong Yidong <cyd@gnu.org>
9883
5b95ee8a
CY
9884 * frame.el (window-system-default-frame-alist): Doc fix.
9885
ea162670
CY
9886 * dynamic-setting.el (font-setting-change-default-font): Don't
9887 change the default face if SET-FONT argument is non-nil (Bug#9982).
9888
d6e6f4b1
SB
98892012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
9890
9891 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
9892
0f29fa41 98932012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
9894
9895 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
9896 breakpoints in files outside current directory (Bug#6098).
9897
db174434
CY
98982012-01-29 Chong Yidong <cyd@gnu.org>
9899
6b25e4e2
SE
9900 * progmodes/python.el: Require ansi-color at top-level.
9901
6df6ae42
JB
9902 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
9903 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
9904 (lisp-mode-abbrev-table): Add doc.
9905 (lisp-mode-variables): Don't set local-abbrev-table.
9906 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
9907
e70ee681
RW
99082012-01-28 Roland Winkler <winkler@gnu.org>
9909
9910 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
9911
ace88aa2
RW
99122012-01-28 Roland Winkler <winkler@gnu.org>
9913
9914 * textmodes/bibtex.el (bibtex-entry-alist): New function.
9915 (bibtex-set-dialect): Use it. Either set global values of
9916 dialect-dependent variables or bind these variables buffer-locally
9917 (Bug#10254).
9918 (bibtex-mode): Call bibtex-set-dialect via
9919 hack-local-variables-hook.
eb864a71
LM
9920 (bibtex-dialect): Update docstring.
9921 Add safe-local-variable predicate.
ace88aa2
RW
9922 (bibtex-entry-alist, bibtex-field-alist): Initialize via
9923 bibtex-set-dialect.
9924 (bibtex-mode-map): Define menu for each dialect.
9925 (bibtex-entry): Fix docstring.
9926
93376c5b
CY
99272012-01-28 Chong Yidong <cyd@gnu.org>
9928
9929 * eshell/esh-arg.el (eshell-quote-argument): New function.
9930
9931 * eshell/esh-ext.el (eshell-invoke-batch-file):
9932 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
9933 first arg to eshell-parse-command (Bug#10523).
9934
4372494f
DA
99352012-01-28 Drew Adams <drew.adams@oracle.com>
9936
9937 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
9938 `default-directory' is non-nil.
9939
4d4ec1f8
EZ
99402012-01-28 Eli Zaretskii <eliz@gnu.org>
9941
9942 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
9943 line that displays system-configuration-options. (Bug#9924)
9944
7c188927
DA
99452012-01-28 Drew Adams <drew.adams@oracle.com>
9946
9947 * descr-text.el (describe-char): Show information about POS, in
9948 addition to information about the character at POS. Improve and
9949 update the doc string. Change "code point" to "code point in
9950 charset", to avoid confusion with the character's Unicode code
9951 point shown above that. (Bug#10129)
9952
e0da685a
EZ
99532012-01-28 Eli Zaretskii <eliz@gnu.org>
9954
9955 * descr-text.el (describe-char): Show the raw character, not only
9956 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
9957 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
9958 for the reasons.
9959
70550acf
PH
99602012-01-28 Phil Hagelberg <phil@hagelb.org>
9961
eb864a71
LM
9962 * emacs-lisp/package.el (package-install):
9963 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 9964
0ce8e868
CY
99652012-01-28 Chong Yidong <cyd@gnu.org>
9966
cb882333
JB
9967 * emacs-lisp/package.el (package-maybe-load-descriptor):
9968 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
9969 (package-maybe-load-descriptor): Use it.
9970 (package-download-transaction): Fully load required packages
9971 inside the loop, so that `require' calls work (Bug#10593).
9972 (package-install): No need to call package-initialize now.
9973
2e7f3bea
CY
99742012-01-28 Chong Yidong <cyd@gnu.org>
9975
6e9bad14
CY
9976 * simple.el (deactivate-mark): Doc fix (Bug#8614).
9977
f823b8ca
CY
9978 * tooltip.el (tooltip-mode): Doc fix.
9979 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
9980
2680c309
CY
9981 * frame.el (set-cursor-color): Doc fix (Bug#352).
9982
d7a9e63b
CY
9983 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
9984 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
9985
2e7f3bea
CY
9986 * cus-edit.el (custom-buffer-create-internal): Fix search button
9987 action (Bug#10542).
2ae01800 9988 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 9989
fc4f7a23
EW
99902012-01-27 Eduard Wiebe <usenet@pusto.de>
9991
9992 * dired.el (dired-mark-files-regexp):
9993 Include any subdirectory components. (Bug#10445)
9994
7dd37071
ML
99952012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
9996
9997 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
9998 Handle [host]:port syntax. (Bug#10533)
9999
a268160b
AH
100002012-01-27 Alex Harsanyi <harsanyi@mac.com>
10001
10002 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10003
e43273ef
GM
100042012-01-26 Glenn Morris <rgm@gnu.org>
10005
10006 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10007 * term.el (term-raw-escape-map): Use Control-X-prefix.
10008 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10009
1edf595d
MR
100102012-01-25 Martin Rudalics <rudalics@gmx.at>
10011
10012 * window.el (window-state-get, window--state-get-1): Don't deal
10013 with fixed-sizeness of windows. Simplify code.
10014
fa8eafef
JC
100152012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10016
6df6ae42
JB
10017 * window.el (window--state-get-1, window--state-put-2):
10018 Don't save and restore the mark.
fa8eafef 10019
0b21c100
CY
100202012-01-25 Chong Yidong <cyd@gnu.org>
10021
10022 * custom.el (custom-variable-p): Doc fix.
10023
5ae1a6c8
GM
100242012-01-25 Glenn Morris <rgm@gnu.org>
10025
40047858
GM
10026 * dired.el (dired-goto-file): Handle some of the more common
10027 characters that `ls -b' escapes. (Bug#10596)
10028
5ddce96c
GM
10029 * progmodes/compile.el (compilation-next-error-function):
10030 Respect compilation-first-column in the "*compilation*" buffer.
10031 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10032
5ae1a6c8
GM
10033 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10034
b559f1a9
GM
100352012-01-24 Glenn Morris <rgm@gnu.org>
10036
10037 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10038
6725d21a
JD
100392012-01-24 Julien Danjou <julien@danjou.info>
10040
10041 * color.el (color-rgb-to-hsl): Fix value computing.
10042 (color-hue-to-rgb): New function.
10043 (color-hsl-to-rgb): New function.
10044 (color-clamp, color-saturate-hsl, color-saturate-name)
10045 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10046 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10047
70df4bbe
GM
100482012-01-24 Glenn Morris <rgm@gnu.org>
10049
10050 * vc/vc-rcs.el (vc-rcs-create-tag):
10051 * vc/vc-sccs.el (vc-sccs-create-tag):
10052 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10053
802a2ae2
ML
100542012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10055
10056 * eshell/esh-util.el (eshell-read-hosts-file):
10057 Skip comment lines. (Bug#10549)
10058
d7128bb1
ML
10059 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10060
d1a5c3b4
JB
100612012-01-23 Juanma Barranquero <lekktu@gmail.com>
10062
2724d9c7
JB
10063 * subr.el (display-delayed-warnings): Doc fix.
10064 (collapse-delayed-warnings): New function to collapse identical
10065 adjacent warnings.
10066 (delayed-warnings-hook): Add it.
d1a5c3b4 10067
a5509865
MA
100682012-01-22 Michael Albinus <michael.albinus@gmx.de>
10069
10070 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10071
a5509865
MA
10072 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10073 (tramp-default-user-alist): Don't add "pscp".
10074 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10075 property "login-as", if set. (Bug#10530)
10076
cc6d5805
MA
100772012-01-21 Michael Albinus <michael.albinus@gmx.de>
10078
10079 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10080 "plink1" and "psftp". (Bug#10530)
10081
100822012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
10083
10084 * international/mule-cmds.el (prefer-coding-system): Show a
10085 warning message if the default value of file-name-coding-system
10086 was not changed.
10087
f0960428
JC
100882012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10089
cb882333
JB
10090 * windmove.el (windmove-reference-loc):
10091 Fix windmove-reference-loc miscalculation.
f0960428 10092
dd6f2a63
JB
100932012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10094
10095 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10096 default unit.
10097
7b447e9b
GM
100982012-01-21 Glenn Morris <rgm@gnu.org>
10099
117a9ea1
GM
10100 * international/mule.el (auto-coding-alist): Add .tbz.
10101
7b447e9b
GM
10102 * files.el (local-enable-local-variables): Doc fix.
10103 (inhibit-local-variables-regexps): Rename from
10104 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10105 Doc fix. Add some extensions from auto-coding-alist.
10106 (inhibit-local-variables-suffixes):
10107 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10108 (inhibit-local-variables-p):
10109 New function, extracted from set-auto-mode-1.
10110 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10111 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10112 (hack-local-variables): Doc fix. Make the mode-only case
10113 respect enable-local-variables and friends.
10114 Respect inhibit-local-variables-regexps for file-locals, but
10115 not for directory-locals.
10116 (set-visited-file-name):
10117 Take account of inhibit-local-variables-regexps.
10118 Whether it applies may change as the file name is changed.
10119 * jka-cmpr-hook.el (jka-compr-install):
10120 * jka-compr.el (jka-compr-uninstall):
10121 Update for inhibit-first-line-modes-suffixes name change.
10122
dd6e3cdd
MR
101232012-01-20 Martin Rudalics <rudalics@gmx.at>
10124
10125 * help-macro.el (make-help-screen): Temporarily restore original
10126 binding for minor-mode-map-alist (Bug#10454).
10127
0d0deb38
JD
101282012-01-19 Julien Danjou <julien@danjou.info>
10129
10130 * color.el (color-name-to-rgb): Use the white color to find the max
10131 color component value and return correctly computed values.
10132 (color-name-to-rgb): Add missing float conversion for max value.
10133
34a02f46
MR
101342012-01-19 Martin Rudalics <rudalics@gmx.at>
10135
10136 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
10137 special state value for window-persistent-parameters.
10138 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
10139 (window--state-put-2): Reset all window parameters to nil before
10140 assigning values of persistent parameters.
10141
606c44c4
AM
101422012-01-18 Alan Mackenzie <acm@muc.de>
10143
10144 Eliminate sluggishness and hangs in fontification of "semicolon
10145 deserts".
10146
cb882333
JB
10147 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10148 Change value 10000 -> 3000.
606c44c4
AM
10149 (c-state-safe-place): Reformulate so it doesn't stack up an
10150 infinite number of wrong entries in c-state-nonlit-pos-cache.
10151 (c-determine-limit-get-base, c-determine-limit): New functions to
10152 determine backward search limits disregarding literals.
10153 (c-find-decl-spots): Amend commenting.
10154 (c-cheap-inside-bracelist-p): New function which detects "={".
10155
10156 * progmodes/cc-fonts.el
10157 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10158 backward search.
10159 (c-font-lock-declarations): Fix an occurrence of point being
10160 undefined. Check additionally for point being in a bracelist or
10161 near a macro invocation without a semicolon so as to avoid a
10162 fruitless time consuming search for a declarator. Give a more
10163 precise search limit for declarators using the new
10164 c-determine-limit.
10165
f3860cea
GM
101662012-01-18 Glenn Morris <rgm@gnu.org>
10167
10168 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10169 (set-auto-mode): Doc fixes.
10170
1db03b16
GM
101712012-01-17 Glenn Morris <rgm@gnu.org>
10172
0e6038be
GM
10173 * isearch.el (search-nonincremental-instead): Fix doc typo.
10174
1db03b16
GM
10175 * dired.el (dired-insert-directory): Handle newlines in directory name.
10176 (dired-build-subdir-alist): Unescape newlines in directory name.
10177
4cb0aa75
MA
101782012-01-17 Michael Albinus <michael.albinus@gmx.de>
10179
10180 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10181 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10182 (tramp-action-terminal): Use it. (Bug#10530)
10183
1d00653d
SM
101842012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10185
10186 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10187
6a6ee00d
MR
101882012-01-16 Martin Rudalics <rudalics@gmx.at>
10189
10190 * window.el (window-state-ignored-parameters): Remove variable.
10191 (window--state-get-1): Rename argument MARKERS to IGNORE.
10192 Handle persistent window parameters. Make copy of clone-of
10193 parameter only if requested. (Bug#10348)
10194 (window--state-put-2): Install a window parameter only if it has
10195 a non-nil value or an existing parameter shall be overwritten.
10196
97912def
MA
101972012-01-15 Michael Albinus <michael.albinus@gmx.de>
10198
10199 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10200
688070a5
EZ
102012012-01-14 Eli Zaretskii <eliz@gnu.org>
10202
10203 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10204 don't pass the (nil) value of `upnode' to string-match.
10205
301afadc
CY
102062012-01-14 Chong Yidong <cyd@gnu.org>
10207
10208 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 10209 Fix values recognized by the cursorBlink resource.
301afadc 10210
9e5788aa
PE
102112012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10212
10213 * epg.el (epg--make-temp-file): Avoid permission race condition
10214 when running on old Emacs versions (bug#10403).
10215
3cdb7f5a
GM
102162012-01-14 Glenn Morris <rgm@gnu.org>
10217
10218 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10219
8c82b1b4
AM
102202012-01-13 Alan Mackenzie <acm@muc.de>
10221
10222 Fix filling for when filladapt mode is enabled.
10223
10224 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10225 c-mask-paragraph, pass in `fill-paragraph' rather than
10226 `fill-region-as-paragraph'. (This is a reversion of a previous
10227 change.)
eb864a71
LM
10228 * progmodes/cc-mode.el (c-basic-common-init):
10229 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 10230
e517eda4
GM
102312012-01-13 Glenn Morris <rgm@gnu.org>
10232
1498536e
GM
10233 * dired.el (dired-switches-escape-p): New function.
10234 (dired-insert-directory): Use dired-switches-escape-p.
10235 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10236
e517eda4
GM
10237 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10238
328f984d
GM
102392012-01-12 Glenn Morris <rgm@gnu.org>
10240
10241 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10242 changes in adaptive-fill-regexp. (Bug#10276)
10243
2cc769a8
AM
102442012-01-11 Alan Mackenzie <acm@muc.de>
10245
10246 Fix Emacs bug #10463 - put `widen's around the critical spots.
10247
1d00653d 10248 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
10249 widen around each invocation of c-state-pp-to-literal. Remove an
10250 unused let variable.
10251
e52c37fa
GM
102522012-01-11 Glenn Morris <rgm@gnu.org>
10253
10254 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 10255 Doc fix.
e52c37fa 10256
96f8741e
CY
102572012-01-10 Chong Yidong <cyd@gnu.org>
10258
1d00653d
SM
10259 * net/network-stream.el (network-stream-open-starttls):
10260 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
10261 response to the capability command.
10262
b09a806e
GM
102632012-01-10 Glenn Morris <rgm@gnu.org>
10264
10265 * mail/unrmail.el (unrmail): Tweak previous change.
10266
7655cb66
CY
102672012-01-09 Chong Yidong <cyd@gnu.org>
10268
10269 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10270
9d5a8f0b
AM
102712012-01-08 Alan Mackenzie <acm@muc.de>
10272
10273 Optimise font locking in long enum definitions.
10274
10275 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10276 arm to a cond form to handle enums.
10277 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10278 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10279
9a0115ab 102802012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
10281
10282 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 10283 (Bug#10401)
6bb72cbd 10284
f186bb95
LMI
102852012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10286
29232a68
LMI
10287 * faces.el (set-face-attribute): Clarify the meaning of the nil
10288 frame (bug#10294).
10289
4e5d086d
LMI
10290 * subr.el (with-selected-frame): Mention that the selected frame
10291 is restored (bug#9980).
10292
8e66aebe
LMI
10293 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10294 (bug#9759).
10295
cd394be1 10296 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
10297 (password-read): Don't autoload unused function.
10298
adf4e762
JB
102992012-01-07 Juanma Barranquero <lekktu@gmail.com>
10300
10301 * progmodes/which-func.el (which-func-mode): Turn into a
10302 non-interactive function and mark as obsolete (bug#10428).
10303
89bd9ccd
CY
103042012-01-06 Chong Yidong <cyd@gnu.org>
10305
10306 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10307 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10308 functions, along with 1 and -1.
10309
4afee9d5
EZ
103102012-01-06 Eli Zaretskii <eliz@gnu.org>
10311
10312 * time.el (display-time-load-average)
10313 (display-time-default-load-average): Doc fixes. See the thread
10314 starting at
10315 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10316 for the details.
10317
536aea70
GM
103182012-01-06 Glenn Morris <rgm@gnu.org>
10319
665ae865
GM
10320 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10321 has no messages. (Bug#10377)
10322
c869783d
GM
10323 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10324 than Info-edit. (Bug#10385)
10325
2bb4227e
GM
10326 * time.el (display-time-load-average, display-time-next-load-average):
10327 Doc fixes.
10328
7d5944b9
GM
10329 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10330 local setting of buffer-read-only to the input buffer. (Bug#10419)
10331
536aea70
GM
10332 * calendar/calendar.el (calendar-mode):
10333 Locally set scroll-margin to 0. (Bug#10379)
10334
7dccca16
UM
103352012-01-06 Ulrich Mueller <ulm@gentoo.org>
10336
10337 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10338
afbb7930
GM
103392012-01-05 Glenn Morris <rgm@gnu.org>
10340
10341 * eshell/em-unix.el (diff-no-select): Autoload it.
10342 (eshell/diff): Use diff-no-select. (Bug#10420)
10343
04482335
CY
103442012-01-05 Chong Yidong <cyd@gnu.org>
10345
7baca3bc
CY
10346 * shell.el (shell-dynamic-complete-functions): Revert last change.
10347 (shell-command-completion-function): New function.
10348 (shell-completion-vars): Use it to implement
10349 shell-completion-execonly (Bug#10417).
10350
04482335
CY
10351 * custom.el (enable-theme): Don't set custom-safe-themes.
10352
1d00653d
SM
10353 * cus-theme.el (custom-theme-merge-theme):
10354 Ignore custom-enabled-themes and custom-safe-themes.
04482335 10355
bb5aa5d6
MM
103562012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10357
10358 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10359 first prompt in `sql-interacive-mode'.
10360 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 10361 keywords.
6df6ae42 10362 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
10363 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10364 context of original buffer. Invoke `sql-login-hook'.
10365
a7183d7c
EZ
103662012-01-04 Eli Zaretskii <eliz@gnu.org>
10367
10368 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10369 letters in cite-prefix.
10370
a1eacd1e
LMI
103712012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10372
10373 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10374
787cdb34
CY
103752012-01-03 Chong Yidong <cyd@gnu.org>
10376
1d00653d
SM
10377 * shell.el (shell-dynamic-complete-functions):
10378 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
10379 comint-filename-completion first (Bug#10417).
10380
30710442
RS
103812012-01-02 Richard Stallman <rms@gnu.org>
10382
10383 * battery.el (battery-status-function):
10384 Detect when to use battery-yeeloong-sysfs.
10385 (battery-echo-area-format): Add string for Yeeloong.
10386 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10387 (battery-yeeloong-sysfs): New function.
10388
f75bfc33
CY
103892012-01-02 Chong Yidong <cyd@gnu.org>
10390
10391 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10392 (dirtrack): Merge code for handling relative filenames in prompt
10393 from shell-dir-cookie-watcher.
10394 (dirtrack-debug-message): New arg to avoid excess format calls.
10395
10396 * shell.el (shell-dir-cookie-re): Variable deleted.
10397 (shell-dir-cookie-watcher): Function deleted.
10398 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10399 with dirtrack-mode.
10400
651e947e
EZ
104012012-01-01 Eli Zaretskii <eliz@gnu.org>
10402
1d00653d
SM
10403 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10404 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
10405 libgnutls-26.dll.
10406
94d4c7dc
AS
104072011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10408
10409 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10410
8d43f3cd
EZ
104112011-12-31 Eli Zaretskii <eliz@gnu.org>
10412
10413 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10414 headers of non-MIME messages, when rmail-enable-mime is non-nil.
10415
98c8795a
MA
104162011-12-29 Michael Albinus <michael.albinus@gmx.de>
10417
10418 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10419 also for alternative shells.
10420 (tramp-open-connection-setup-interactive-shell): Check, whether
10421 the shell is a busybox.
10422 (tramp-send-command): Don't suppress multiple prompts for
10423 busyboxes, it hurts.
10424
51281b32
CY
104252011-12-28 Chong Yidong <cyd@gnu.org>
10426
10427 * progmodes/gdb-mi.el (gdb-get-source-file-list)
10428 (gdb-get-source-file): Move mode line update to
10429 gdb-get-source-file (Bug#10087).
10430
2170cb53
CY
104312011-12-25 Chong Yidong <cyd@gnu.org>
10432
10433 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10434 gud-gdb-marker-filter without taking it as an argument.
10435 (gud-gdb-run-command-fetch-lines): Caller changed.
10436 (gud-gdb-completion-function): New variable.
10437 (gud-gdb-completion-at-point): Use it.
10438 (gud-gdb-completions-1): Split from gud-gdb-completions.
10439
10440 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10441 function as separate arguments.
10442 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10443 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10444 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10445 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10446 (gdb-stopped, def-gdb-auto-update-trigger)
10447 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
10448 (gdb-get-changed-registers, gdb-get-main-selected-frame):
10449 Callers changed.
2170cb53
CY
10450 (gud-gdbmi-completions): New function.
10451 (gdb): Use it for generating the completion table.
10452
be8b11bb
AM
104532011-12-24 Alan Mackenzie <acm@muc.de>
10454
10455 Introduce a mechanism to widen the region used in context font
1d00653d 10456 locking. Use this to protect declarations from losing their contexts.
be8b11bb 10457
1d00653d
SM
10458 * progmodes/cc-langs.el (c-before-font-lock-functions):
10459 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 10460 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
10461 functions to be run just before context (etc.) font locking.
10462
10463 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 10464 New, functionality extracted from
be8b11bb 10465 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 10466 (c-in-after-change-fontification): New variable.
be8b11bb
AM
10467 (c-after-change): Set c-in-after-change-fontification.
10468 (c-set-fl-decl-start): Rejig its interface, so it can be called
10469 from both after-change and context fontifying.
b81d40f0
JB
10470 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10471 New functions.
10472 (c-standard-font-lock-fontify-region-function): New variable.
10473 (c-font-lock-fontify-region): New function.
be8b11bb 10474
341cf6ac
JL
104752011-12-24 Juri Linkov <juri@jurta.org>
10476
10477 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10478 (Bug#10348)
10479
bffcee0a
MA
104802011-12-23 Michael Albinus <michael.albinus@gmx.de>
10481
10482 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10483 existence of source file. (Bug#10325)
10484
cb5e207c
AM
104852011-12-23 Alan Mackenzie <acm@muc.de>
10486
10487 Fix unstable fontification inside templates.
10488
b81d40f0
JB
10489 * progmodes/cc-langs.el (c-before-font-lock-functions):
10490 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
10491 additionally has c-set-fl-decl-start. The other languages (apart
10492 from AWK) have that as a single entry.
10493
b81d40f0
JB
10494 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10495 The functionality for "local" declarations has been extracted to
cb5e207c
AM
10496 c-set-fl-decl-start.
10497
b81d40f0
JB
10498 * progmodes/cc-mode.el (c-common-init, c-after-change):
10499 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
10500 (c-set-fl-decl-start): New function, extracted from
10501 c-font-lock-enclosing-decls and enhanced.
10502
60ff536c
JB
105032011-12-23 Juanma Barranquero <lekktu@gmail.com>
10504
10505 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
10506
1c4757d6
JL
105072011-12-22 Juri Linkov <juri@jurta.org>
10508
10509 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
10510
d031f2c7
CY
105112011-12-22 Chong Yidong <cyd@gnu.org>
10512
10513 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
10514
bace743a
DA
105152011-12-21 Drew Adams <drew.adams@oracle.com>
10516
10517 * files.el (file-remote-p): Fix docstring. (Bug#10319)
10518
728a1f2b
JC
105192011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10520
10521 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
10522
0d373f73
TZ
105232011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
10524
fec0aaa4
TZ
10525 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
10526 highlighting and support. Fix up comments for capitalization.
10527 (cfengine-mode-debug): New var.
10528 (cfengine3-mode): Change the modeline indicator to "CFE3".
10529 (cfengine3-font-lock-keywords): Improve defun highlighting.
10530 (cfengine2-actions): Rename from `cfengine-actions'.
10531 (cfengine2-font-lock-keywords): Rename from
10532 `cfengine-font-lock-keywords'.
10533 (cfengine2-imenu-expression): Rename from
10534 `cfengine-imenu-expression'.
10535 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
10536 (cfengine2-beginning-of-defun): Rename from
10537 `cfengine-beginning-of-defun'.
10538 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
10539 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
10540 (cfengine2-mode): Rename from `cfengine-mode'. Change the
10541 modeline indicator to "CFE2".
10542 (cfengine-mode): Defalias to `cfengine-auto-mode'.
10543 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 10544
bc86f573
CY
105452011-12-21 Chong Yidong <cyd@gnu.org>
10546
10547 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
10548 filename argument.
10549
d45ba96b
MR
105502011-12-20 Martin Rudalics <rudalics@gmx.at>
10551
10552 * window.el (window-normalize-buffer-to-display): Remove.
10553 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
10554
a6198c90
CY
105552011-12-19 Chong Yidong <cyd@gnu.org>
10556
10557 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
10558 Don't signal an error in a predicate function; return non-nil.
10559 (vc-dir-mark-file): Move the error here.
10560 (vc-dir-mark-unmark): If acting on the region, keep going if one
10561 of the entries cannot be marked/unmarked.
10562 (vc-dir-mark-all-files): If current entry is a directory, mark
10563 only child files, as documented.
10564
34c5fb55
VB
105652011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
10566
10567 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
10568 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
10569 addition.
10570
c803b2b7
JD
105712011-12-18 Jan Djärv <jan.h.d@swipnet.se>
10572
10573 * term/ns-win.el (ns-get-selection-internal)
10574 (ns-store-selection-internal): Declare.
1154d12e
JB
10575 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
10576 Declare as obsolete.
10577 (ns-get-pasteboard, ns-paste-secondary):
10578 Use ns-get-selection-internal.
41e9b956 10579 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 10580 Use ns-store-selection-internal.
c803b2b7 10581
9cff91f8 105822011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
10583
10584 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 10585 (vc-deduce-fileset): Doc fix.
99a289d9 10586
f16c898a
AS
105872011-12-16 Andreas Schwab <schwab@linux-m68k.org>
10588
10589 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
10590
763237c4
SS
105912011-12-13 Sam Steingold <sds@gnu.org>
10592
10593 * man.el (Man-getpage-in-background): When running under a
10594 window-system, ignore $MANWIDTH and $COLUMNS.
10595
5fc1c122
KH
105962011-12-15 Kenichi Handa <handa@m17n.org>
10597
10598 * language/ethio-util.el: Change coding tag to utf-8-emacs.
10599 (setup-ethiopic-environment-internal): Comment out key-binding for
10600 ethio-toggle-punctuation.
10601
13d49cbb
AM
106022011-12-13 Alan Mackenzie <acm@muc.de>
10603
898169a2
AM
10604 Add the switch statement to AWK Mode.
10605
7a71b18d 10606 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
10607 "default" to the keywords regexp.
10608
7a71b18d 10609 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 10610 expression as the rest.
1d00653d
SM
10611 (c-nonlabel-token-key): Allow string literals for AWK.
10612 Refactor for the other modes.
898169a2 10613
13d49cbb 10614 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 10615 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
10616 routines. Limit backward searching in c-font-lock-enclosing.decl.
10617
10618 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
10619 pp-state and literal type in addition to the limits.
1d00653d 10620 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 10621 (c-state-literal-at): Use the above new defun.
1d00653d
SM
10622 (c-slow-in-literal, c-fast-in-literal): Remove.
10623 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
10624
10625 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
10626 being in a literal. Add a limit for backward searching.
10627
10628 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
10629 c-slow-in-literal.
10630
15e0efc7
SM
106312011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
10632
10633 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
10634
454592a6
MR
106352011-12-13 Martin Rudalics <rudalics@gmx.at>
10636
10637 * window.el (delete-other-windows): Use correct frame in call to
10638 window-with-parameter.
10639
87393f26
DP
106402011-12-12 Daniel Pfeiffer <occitan@t-online.de>
10641
10642 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
10643 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
10644 (makefile-gmake-statements, makefile-makepp-statements):
10645 Use it and add new makepp keywords.
10646 (makefile-makepp-font-lock-keywords): Add new patterns.
10647 (makefile-match-function-end): Match new [...] and [[...]].
10648
11636b22
JB
106492011-12-11 Juanma Barranquero <lekktu@gmail.com>
10650
10651 * ses.el (ses-call-printer-return, ses-cell-property-get)
10652 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
10653 (ses-create-cell-variable, ses-reset-header-string)
10654 (ses-cell-set-formula, ses-repair-cell-reference-all)
10655 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
10656 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
10657 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
10658 (ses-aset-with-undo, ses-load, ses-truncate-cell)
10659 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
10660 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
10661 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
10662 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
10663 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
10664 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
10665 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
10666 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
10667
cf018193
VB
106682011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
10669
10670 * ses.el: The overall change is to add cell renaming, that is
10671 setting fancy names for cell symbols other than name matching
10672 "\\`[A-Z]+[0-9]+\\'" regexp .
10673 (ses-create-cell-variable): New defun.
10674 (ses-relocate-formula): Relocate formulas only for cells the
10675 symbols of which are not renamed, i.e. symbols whose names do not
10676 match regexp "\\`[A-Z]+[0-9]+\\'".
10677 (ses-relocate-all): Relocate values only for cells the symbols of
10678 which are not renamed.
10679 (ses-load): Create cells variables as the (ses-cell ...) are read,
10680 in order to check row col consistency with cell symbol name only
10681 for cells that are not renamed.
10682 (ses-replace-name-in-formula): New defun.
10683 (ses-rename-cell): New defun.
10684
ee957461
CY
106852011-12-11 Chong Yidong <cyd@gnu.org>
10686
10687 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
10688 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
10689
9a9e9ef0
MR
106902011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
10691
10692 * window.el (other-window): Fix docstring.
10693
92a8eba5
EZ
106942011-12-10 Eli Zaretskii <eliz@gnu.org>
10695
10696 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
10697 `from' or `to' address before taking its substring.
10698 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
10699 encoded name is chopped in the middle of the encoded string, and
10700 thus displayed encoded.
10701
e152e577
JB
107022011-12-10 Juanma Barranquero <lekktu@gmail.com>
10703
10704 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
10705
e5d84bfe
EZ
107062011-12-10 Eli Zaretskii <eliz@gnu.org>
10707
10708 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
10709 to use texinfo-update-node and commands that call it if the
10710 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 10711 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
10712 (texinfo-all-menus-update, texinfo-master-menu)
10713 (texinfo-update-node, texinfo-every-node-update)
10714 (texinfo-multiple-files-update): Doc fix. Warn against updating
10715 all the @node lines.
10716 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
10717 argument is numeric. Explain better in the doc string what the
10718 function really does.
10719 (texinfo-insert-master-menu-list): Improve the error message
10720 displayed if there's no menu in the Top node.
10721 (Bug#2975) See also this thread:
e5d84bfe
EZ
10722 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
10723
1d84e9bb
MG
107242011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
10725
10726 * speedbar.el (speedbar-supported-extension-expressions):
10727 Add .adb and .ads, commonly used for Ada source code (bug#10256).
10728
382c953b
JB
107292011-12-09 Juanma Barranquero <lekktu@gmail.com>
10730
10731 * printing.el (pr-mode-alist):
10732 * simple.el (filter-buffer-substring-functions)
10733 (completion-list-insert-choice-function):
10734 * window.el (window-with-parameter, window-atom-root)
10735 (window-sides-slots, window-size-fixed, window-min-delta)
10736 (window-max-delta, window--resize-mini-window)
10737 (window--resize-child-windows-normal, window-tree)
10738 (delete-other-windows, quit-window, split-window)
10739 (display-buffer-record-window, special-display-buffer-names)
10740 (special-display-regexps, special-display-popup-frame)
10741 (same-window-p, split-window-sensibly)
10742 (display-buffer-overriding-action, display-buffer-alist)
10743 (display-buffer-base-action, display-buffer, switch-to-buffer)
10744 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
10745 (fit-window-to-buffer, recenter-positions)
10746 (mouse-autoselect-window-state, mouse-autoselect-window-select):
10747 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
10748 and remove unneeded backslashes in docstrings.
10749
39c9faef
SM
107502011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10751
98449af8
SM
10752 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
10753
39c9faef
SM
10754 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
10755 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
10756 end in ".mk".
10757 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
10758 when reading the makefile (bug#10116).
10759
86ed9fdc
SM
107602011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
10761
10762 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
10763 (bug#10116).
10764
5580f89d
GM
107652011-12-06 Glenn Morris <rgm@gnu.org>
10766
10767 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
10768
28d3917c
CY
107692011-12-06 Chong Yidong <cyd@gnu.org>
10770
10771 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
10772
a98edce9
JB
107732011-12-06 Juanma Barranquero <lekktu@gmail.com>
10774
10775 * textmodes/table.el (table-shorten-cell): Fix typo.
10776
e65adfac
CG
107772011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
10778
10779 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
10780
71cc0b74
EZ
107812011-12-05 Eli Zaretskii <eliz@gnu.org>
10782
10783 * descr-text.el (describe-char): Fix display of strong
10784 right-to-left characters and directional embeddings and overrides.
10785
10786 * simple.el (what-cursor-position): Fix display of codepoints of
10787 strong right-to-left characters.
10788
315bc30d
CY
107892011-12-05 Chong Yidong <cyd@gnu.org>
10790
10791 * faces.el (read-color): Doc fix.
10792
58a70b94
GM
107932011-12-05 Glenn Morris <rgm@gnu.org>
10794
10795 * align.el (align--set-marker): Add doc-string.
10796 Don't try to move something that is not a marker. (Bug#10216)
10797
5158face
GM
107982011-12-04 Glenn Morris <rgm@gnu.org>
10799
10800 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
10801 overly zealous deletion of trailing whitespace.
10802
520fca41
JB
108032011-12-04 Juanma Barranquero <lekktu@gmail.com>
10804
10805 * server.el (server-delete-client): On Windows, do not try to delete
10806 the only terminal.
10807 (server-process-filter): On Windows, treat requests for a tty frame as
10808 if they were for a GUI frame if the running server is in GUI mode.
10809
5e605a2e
GM
108102011-12-03 Glenn Morris <rgm@gnu.org>
10811
10812 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
10813
5c3fe83f
SM
108142011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10815
6f5e57e7
SM
10816 * electric.el: Streamline electric-indent's hook.
10817 (electric-indent-chars): Revert to simple list.
10818 (electric-indent-functions): New var.
10819 (electric-indent-post-self-insert-function): Use it.
10820
5c3fe83f
SM
10821 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
10822 there's no inferior buffer (bug#10196).
10823 (prolog-consult-compile): Don't use toggle-read-only.
10824
6bdac736
MA
108252011-12-02 Michael Albinus <michael.albinus@gmx.de>
10826
10827 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
10828 interrupt. (Bug#10187)
10829
6131ba7f
SM
108302011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10831
99c79fee
SM
10832 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
10833 (bug#9160).
10834
6131ba7f
SM
10835 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
10836 (bug#10191).
10837
cb0a02ea
JL
108382011-12-02 Juri Linkov <juri@jurta.org>
10839
10840 * info.el (Info-search): Display "end of manual" when Isearch
10841 reaches the end of single-file Info manual. (Bug#9918)
10842
66e0570c
EZ
108432011-12-02 Eli Zaretskii <eliz@gnu.org>
10844
10845 * isearch.el (isearch-message-prefix): Run the input method part
10846 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
10847
02b16839
JL
108482011-12-02 Juri Linkov <juri@jurta.org>
10849
10850 * isearch.el (isearch-occur): Use `word-search-regexp' for
10851 `isearch-word'.
10852 (isearch-search-and-update): Add condition for `isearch-word' and
10853 call `word-search-regexp'. (Bug#10145)
10854
0b950688
GM
108552011-12-01 Glenn Morris <rgm@gnu.org>
10856
10857 * eshell/em-hist.el (eshell-hist-initialize):
10858 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 10859 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 10860
9505c3c7
SM
108612011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10862
10863 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
10864
1bbe96b2 108652011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 10866
a1beca85
SM
10867 * progmodes/verilog-mode.el (verilog-pretty-expr):
10868 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
10869 verilog, such as += *= and the like.
10870 (verilog-assignment-operator-re): Regular expression to find the
10871 assigment operator in a verilog assignment.
10872 (verilog-assignment-operation-re): Regular expression to find an
10873 assignment statement for pretty-expr.
10874 (verilog-in-attribute-p): Query returns true if point is in an
10875 attribute context; used to skip these for expression line up from
10876 pretty-expr.
10877 (verilog-in-parameter-p): Query returns true if point is in an
10878 parameter definition context; used to skip these for expression
10879 line up from pretty-expr.
10880 (verilog-in-parenthesis-p): Query returns true if point is in a
10881 parenthetical expression, specifically ( ) but not [ ] or { };
10882 used by pretty-expr.
10883 (verilog-just-one-space): If there is no space, don't add one.
10884 (verilog-get-lineup-indent-2): Specifically skip just attribute
10885 contexts for expression lineup, rather than skipping all
10886 parenthetical expressions.
10887 (verilog-calculate-indent): Fix comment, and fix indent.
10888 (verilog-do-indent): Indent declarations in lists (suggested by
10889 Joachim Lechner).
10890 (verilog-mode-abbrev-table): Populate abbrev mode with the various
10891 skeleton items.
10892 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
10893 by Alain Mellan).
10894
1bbe96b2 108952011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
10896
10897 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
10898 parameters with embedded comments. Reported by Ray Stevens.
10899 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
10900 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
10901 Reported by Tim Holt.
10902 (verilog-auto): Fix AUTOing a upper module then AUTOing module
10903 instantiated by upper module causing wrong expansion until AUTOed a
10904 second time. Reported by K C Buckenmaier.
10905 (verilog-diff-auto): Fix showing .* as a difference when
10906 `verilog-auto-star-save' off. Reported by Dan Dever.
10907 (verilog-auto-reset, verilog-read-always-signals)
10908 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
10909 temporary signals in reset list if
10910 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
10911 style to each signal's assignment type, bug381.
10912 Reported by Thomas Esposito.
6288f0ca
WS
10913 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
10914 (verilog-uvm-statement-re): Support UVM indentation and
10915 highlighting, with old OVM keywords only.
a1beca85 10916 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
10917 Support AUTOTIEOFF creating non-wire data types.
10918 Suggested by Jonathan Greenlaw.
6288f0ca
WS
10919 (verilog-auto-insert-lisp, verilog-delete-to-paren)
10920 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
10921 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
10922 (verilog-read-sub-decls, verilog-read-sub-decls-line):
10923 Fix mismatching parenthesis inside commented out code when deleting
382c953b 10924 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
10925 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
10926 non-numeric vector width. Reported by Alex Reed.
10927 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 10928 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
10929 (verilog-auto-delete-trailing-whitespace):
10930 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
10931 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
10932 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
10933 Fix verilog-scan-cache corruption when running user AUTO expansion
10934 hooks that call indentation routines.
10935 (verilog-simplify-range-expression): Fix typo ignoring lower case
10936 identifiers.
10937 (verilog-delete-auto): Fix delete-autos to also remove user created
10938 automatics, as long as they start with AUTO.
10939 (verilog-batch-diff-auto, verilog-diff-auto)
10940 (verilog-diff-function): Add `verilog-diff-auto' and bind to
10941 "C-c?" to report differences in AUTO expansion, ignoring spaces.
10942 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
10943 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
10944 (verilog-re-search-forward-quick, verilog-syntax-ppss):
10945 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
10946 is disabled and its cache will get corrupt, causing AUTOS not to
10947 expand. Instead use only -quick functions.
10948 (verilog-scan-region): Fix scanning over escaped quotes.
10949 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
10950 (verilog-re-search-backward-quick)
10951 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
10952 related functions now ignore strings, to fix misparsing of strings
10953 with magic comments embedded in them.
a1beca85
SM
10954 (verilog-read-auto-template):
10955 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
10956 Reported by Brad Dobbie.
10957 (verilog-read-auto-template):
10958 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 10959 Reported by Brad Dobbie.
6288f0ca
WS
10960 (verilog-auto-inst, verilog-auto-inst-param)
10961 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
10962 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
10963 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
10964 debugging templates without merge conflicts, bug357.
10965 Reported by Brad Dobbie.
10966 (verilog-read-auto-template):
10967 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
10968 Reported by Brad Dobbie.
10969 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
10970 abbrevs so user won't be asked to save.
10971 (verilog-read-auto-lisp-present): Fix to start at beginning of
10972 buffer in case called outside of verilog-auto.
10973 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
10974 to "X-2". Reported by Matthew Myers.
10975 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
10976 all inputs from module templates. Reported by Leith Johnson.
10977 (verilog-module-inside-filename-p): Fix locating programs as with
10978 modules.
10979 (verilog-auto-inst-port): Fix vl-width expressions when using
10980 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
10981 (verilog-decls-get-regs, verilog-decls-get-signals,
10982 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
10983 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
10984 verilog-read-decls): Combine reg and wire structures into one var
10985 structure to represent SystemVerilog concepts.
10986 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
10987 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
10988 (verilog-auto-wire-type, verilog-insert-definition):
10989 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
10990 SystemVerilog "logic" keyword instead of "wire"/"reg".
10991 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
10992 to declares outputs that also have assignments (presumably in an
a1beca85
SM
10993 ifdef or generate if so there's not a driver conflict).
10994 Reported by Matthew Myers.
10995 (verilog-auto-declare-nettype, verilog-insert-definition):
10996 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
10997 `default_nettype none. Reported by Julian Gorfajn.
10998 (verilog-read-always-signals-recurse, verilog-read-decls)
10999 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11000 malformed end statement, bug325. Reported by Joshua Wise and
11001 Andrew Drake.
11002 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11003 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
11004 when expanding .* in interfaces, bug320.
11005 Reported by Pierre-David Pfister.
6288f0ca 11006 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
11007 name and open parenthesis, bug317.
11008 Reported by Pierre-David Pfister.
6288f0ca
WS
11009 (verilog-simplify-range-expression): Fix simplification of
11010 multiplications inside AUTOWIRE connections, bug303.
11011 (verilog-auto-inst-port): Support parameter expansion in
11012 multidimensional arrays.
11013 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11014 after "assert property". Reported by Julian Gorfajn.
11015 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11016 with multiplication, bug303.
11017 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11018 Reported by Jan Frode Lonnum.
11019
1bbe96b2
GM
110202011-11-30 Juanma Barranquero <lekktu@gmail.com>
11021
11022 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11023 (hfy-shell-file-name, hfy-shell):
11024 * international/fontset.el (x-decompose-font-name): Fix typos.
11025
110262011-11-29 Ken Brown <kbrown@cornell.edu>
11027
11028 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11029 (gdb-version): Remove defvar.
11030 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11031 (gdb-gud-context-command, gdb-non-stop-handler)
11032 (gdb-current-context-command, gdb-stopped): Use it.
11033 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
11034 (gdb-non-stop-handler): Don't enable pretty-printing here.
11035 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
11036 non-stop mode. Use the following.
11037 (gdb-check-target-async): New defun.
11038 (gud-watch, gdb-stopped): Fix whitespace.
11039 (gdb-get-source-file): Don't try to display the source file if
11040 `gdb-main-file' is nil.
11041
110422011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11043
11044 * align.el: Try to generate fewer markers (bug#10047).
11045 (align--set-marker): New macro.
11046 (align-region): Use it.
11047
c935221f
SM
110482011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11049
11050 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11051
e70b5064
CY
110522011-11-29 Chong Yidong <cyd@gnu.org>
11053
11054 * indent.el (indent-for-tab-command, indent-according-to-mode):
11055 Doc fix.
11056 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11057
f3af92b7
MA
110582011-11-29 Michael Albinus <michael.albinus@gmx.de>
11059
11060 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11061 aware of remote file names. (Bug#10124)
11062
ed472be9
CY
110632011-11-29 Chong Yidong <cyd@gnu.org>
11064
11065 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11066
24510c22
SM
110672011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11068
11069 * files.el (find-file): Don't use force-same-window (bug#10144).
11070 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11071 use pop-to-buffer if the selected window can't be used.
11072 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11073
c60c3703
EZ
110742011-11-28 Eli Zaretskii <eliz@gnu.org>
11075
11076 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11077 special-mode-map.
11078
e95def75
CY
110792011-11-28 Chong Yidong <cyd@gnu.org>
11080
11081 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11082
c3f1c606
NR
110832011-11-27 Nick Roberts <nickrob@snap.net.nz>
11084
11085 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11086 gdb-get-source-file-list on gdb-create-source-file-list.
11087
00db469c
EZ
110882011-11-26 Eli Zaretskii <eliz@gnu.org>
11089
11090 * whitespace.el (whitespace-newline): Use a different foreground
11091 color for 16-color light-background displays.
11092
4ad3bc2a
CY
110932011-11-24 Chong Yidong <cyd@gnu.org>
11094
11095 * window.el (display-buffer--special-action): Doc fix.
11096
e9fce1ac
JB
110972011-11-25 Juanma Barranquero <lekktu@gmail.com>
11098
11099 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11100 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11101 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11102 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11103 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11104 (avl-tree-stack-first):
11105 * emacs-lisp/cconv.el (cconv--analyse-use):
11106 * net/gnutls.el (gnutls-negotiate): Fix typos.
11107
cb825e5d
GM
111082011-11-24 Glenn Morris <rgm@gnu.org>
11109
3adbe224
GM
11110 * lpr.el (lpr-windows-system, lpr-lp-system):
11111 * mail/binhex.el (binhex-begin-line):
11112 * progmodes/grep.el (grep-history, grep-find-history):
11113 * textmodes/flyspell.el:
11114 * vc/pcvs-defs.el (cvs-global-menu):
11115 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11116 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11117 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11118
321decc8
GM
11119 * net/tls.el: Fix case of "GnuTLS".
11120
420b63ad
GM
11121 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11122
cb825e5d
GM
11123 * version.el (emacs-build-system): Give it a doc-string.
11124
a0649f08
JL
111252011-11-24 Juri Linkov <juri@jurta.org>
11126
11127 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11128
c0bc0fd4
GM
111292011-11-24 Glenn Morris <rgm@gnu.org>
11130
11131 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11132 if called on a non-mime message just toggle the headers. (Bug#8006)
11133
20db1522
JB
111342011-11-24 Juanma Barranquero <lekktu@gmail.com>
11135
11136 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11137 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11138 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11139 (allout-rebullet-heading, allout-open-sibtopic)
11140 (allout-toggle-current-subtree-encryption)
11141 (allout-toggle-subtree-encryption, allout-encrypt-string)
11142 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11143 (allout-distinctive-bullets-string, allout-auto-activation):
11144 * window.el (window-normalize-buffer-to-display):
11145 * progmodes/verilog-mode.el (verilog-batch-indent):
11146 * textmodes/bibtex.el (bibtex-field-braces-opt)
11147 (bibtex-field-strings-opt):
11148 * vc/cvs-status.el (cvs-tree-merge):
11149 Fix typos.
11150
7262a87c
MA
111512011-11-23 Michael Albinus <michael.albinus@gmx.de>
11152
11153 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11154 `non-essential' to t, in order to avoid remote connections.
11155
283430a1
EZ
111562011-11-23 Eli Zaretskii <eliz@gnu.org>
11157
a1beca85
SM
11158 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11159 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
11160 case-insensitively.
11161
d2992a38
ML
111622011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11163
11164 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11165
50419064
GM
111662011-11-23 Glenn Morris <rgm@gnu.org>
11167
da94eca1
GM
11168 * paths.el (rmail-file-name): Reformat the doc-string so that it
11169 is picked up.
11170
9aac4de2
GM
11171 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11172 (rmail-auto-file): Ignore case in the "special" field names,
11173 as mail-fetch-field does for all others.
11174
8038d2d2
GM
11175 * mail/rmail.el (rmail-forward):
11176 * mail/rmailkwd.el (rmail-set-label):
11177 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11178 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11179
f3fe222a
GM
11180 * mail/rmail.el (rmail-current-message): Doc fix.
11181
50419064
GM
11182 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11183
28109f49
SM
111842011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11185
11186 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11187
394c65f1
GM
111882011-11-22 Glenn Morris <rgm@gnu.org>
11189
11190 * mail/rmailmm.el (test-rmail-mime-handler)
11191 (test-rmail-mime-bulk-handler)
11192 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11193
f2a0aa3a
JL
111942011-11-21 Juri Linkov <juri@jurta.org>
11195
1154d12e
JB
11196 * calc/calc.el (calc-read-key-sequence):
11197 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 11198
9c34a344
LMI
111992011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11200
11201 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11202 Tell the caller that the next line needs recomputation, even
11203 though it doesn't start a sexp (bug#10094).
11204
f04a3be9
SM
112052011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11206
11207 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11208
7978747f
SM
112092011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11210
f04a3be9
SM
11211 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11212 Use force-same-window.
7978747f 11213
fe7a3057
JB
112142011-11-20 Juanma Barranquero <lekktu@gmail.com>
11215
11216 * descr-text.el (describe-char-unicode-data):
11217 * json.el (json-string-escape):
11218 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11219 (Footnote-unicode, Footnote-style-p):
11220 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11221
24901d61
CY
112222011-11-20 Chong Yidong <cyd@gnu.org>
11223
11224 * window.el (replace-buffer-in-windows): Restore interactive spec.
11225
bac7ff22
SM
112262011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11227
24f3d7b9
SM
11228 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11229
bac7ff22
SM
11230 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11231 (byte-compile-global-not-obsolete-vars): New var.
11232 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11233 Use it.
11234 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11235
cd1181db
JB
112362011-11-20 Juanma Barranquero <lekktu@gmail.com>
11237
11238 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11239 * progmodes/pascal.el (electric-pascal-equal):
11240 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11241 * xml.el (xml-substitute-special): Fix typos.
11242
7fb18e9e
GM
112432011-11-20 Glenn Morris <rgm@gnu.org>
11244
11245 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11246 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11247 Doc fixes.
11248 (rmail-decode-mime-charset): Mark as obsolete.
11249
11250 * mail/rmailsum.el (rmail-message-regexp-p-1):
11251 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11252 Before using mime functions, check they are set. (Bug#10077)
11253
d5a6b3ba
JL
112542011-11-19 Juri Linkov <juri@jurta.org>
11255
11256 * info.el (Info-finder-find-node): Use `package--builtins' instead
11257 of `package-alist'. Use node names formed by the pattern "Keyword "
11258 and the keyword name.
11259
e981b61f
AS
112602011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11261
1d00653d 11262 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 11263
3ffbc301
JL
112642011-11-19 Juri Linkov <juri@jurta.org>
11265
11266 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11267 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11268 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11269 `old-history', `old-history-forward'. Add let-binding
11270 `window-selected'. Remove calls to `kill-buffer',
11271 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11272 before calling `Info-find-node', so `Info-find-node-2' will reread
11273 the Info file. Restore window positions only when `window-selected'
11274 is non-nil.
11275
30c62133
JL
112762011-11-19 Juri Linkov <juri@jurta.org>
11277
11278 * isearch.el (isearch-lazy-highlight-new-loop):
11279 Remove condition `(not isearch-error)'. (Bug#9918)
11280
11281 * misearch.el (multi-isearch-search-fun): Add condition
11282 `(not bound)' to ignore lazy-highlighting search.
11283 Add the search-failed message "end of multi" when the end of
11284 multi-sequence is reached. Uncapitalize the search-failed
11285 message "Repeat for next buffer".
11286
11287 * info.el (Info-search): Add the search-failed message
11288 "end of the manual" when the end of the manual is reached
11289 in Isearch mode.
11290
645ca9cf
JL
112912011-11-19 Juri Linkov <juri@jurta.org>
11292
11293 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11294 Use non-destructive `remove' instead of `delete' because
11295 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11296 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11297
df754f66
JL
112982011-11-19 Juri Linkov <juri@jurta.org>
11299
11300 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11301 to nil instead of binding `search-ring' and `regexp-search-ring'.
11302 (Bug#9185)
11303
0e23d96a
EZ
113042011-11-19 Eli Zaretskii <eliz@gnu.org>
11305
11306 * simple.el (line-move): Force movement by logical lines for any
11307 hscrolled window, not only when auto-hscroll-mode is on.
11308 (line-move-visual): Update doc string to that effect. (Bug#10076)
11309
8a6ccb66
AS
113102011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11311
11312 * language/european.el (macintosh): Define as alias for mac-roman.
11313
49ae5b39
EZ
113142011-11-19 Eli Zaretskii <eliz@gnu.org>
11315
11316 * mail/rmailmm.el (rmail-mime-display-header)
11317 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11318 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11319 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11320 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11321 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11322 of a raw aref.
11323 (rmail-mime-entity-segment): To get past the tagline, move forward
11324 2 more lines, to account for the 2 empty lines that precede and
11325 follow the line with the buttons.
11326 (rmail-mime-update-tagline): Move one more line, to get past the
11327 empty line that follows the buttons in the tagline. (Bug#9520)
11328
c56cad4a
MR
113292011-11-19 Martin Rudalics <rudalics@gmx.at>
11330
11331 * window.el (window-max-delta-1, window-min-delta-1)
11332 (window-min-size-1, window-state-get-1, window-state-put-1)
11333 (window-state-put-2): Use "window--" prefix.
11334
cbe71af3
SM
113352011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11336
2ad52c60
SM
11337 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11338 (smie-warning-count): New var.
11339 (smie-set-prec2tab): Use it.
11340 (smie-bnf->prec2): Improve warnings. Add docstring.
11341 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11342 (smie-bnf--set-class): New function.
11343 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11344 corner case.
11345
6944dbc1
SM
11346 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11347 (compilation-error-properties, compilation-move-to-column):
11348 Handle compilation-first-column while in the target buffer.
11349
c400c4d7
SM
11350 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11351 Don't hardcode point-min==1.
11352
6dbe3e96
SM
11353 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11354 (eshell-rewrite-for-command): Remove workaround.
11355 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11356 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11357 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11358
cbe71af3
SM
11359 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11360
a8e1496d
GM
113612011-11-17 Glenn Morris <rgm@gnu.org>
11362
11363 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11364 Ignore buffer-local generated-autoload-file if it is the same
11365 as the global value. (Bug#10049)
11366
df85d315
JB
113672011-11-17 Juanma Barranquero <lekktu@gmail.com>
11368
11369 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11370 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11371 (reftex-toc-previous-heading, reftex-toc-max-level)
11372 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11373 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11374 (reftex-toc-do-promote, reftex-toc-promote-prepare)
11375 (reftex-toc-promote-action, reftex-toc-extract-section-number)
11376 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11377 (reftex-toc-rename-label, reftex-toc-visit-location)
11378 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11379 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11380 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11381 leaving "*toc*" only for references to the buffer.
11382
a0c2d0ae
MR
113832011-11-17 Martin Rudalics <rudalics@gmx.at>
11384
11385 * window.el (window-resize, delete-window, split-window):
11386 Replace window-splits by window-combination-resize.
1d00653d 11387 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 11388
35c0bac8
GM
113892011-11-17 Glenn Morris <rgm@gnu.org>
11390
11391 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11392 Make bash entry derive from sh entry, not shell entry.
11393
d0c8fc8a
MA
113942011-11-16 Michael Albinus <michael.albinus@gmx.de>
11395
7262a87c
MA
11396 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11397 local file name.
11398
7877f373
JB
113992011-11-16 Juanma Barranquero <lekktu@gmail.com>
11400
11401 * menu-bar.el (menu-bar-file-menu):
11402 * printing.el (pr-ps-utility):
11403 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11404 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11405 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11406 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11407 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11408 (icalendar--convert-cyclic-to-ical)
11409 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11410 (icalendar--convert-ical-to-diary)
11411 (icalendar--convert-recurring-to-diary)
11412 (icalendar--convert-non-recurring-all-day-to-diary)
11413 (icalendar-import-format-sample):
11414 * progmodes/idlw-shell.el (idlwave-shell-mode):
11415 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11416 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11417 (vhdl-ps-print-init): Fix typos.
11418
10649b82
KM
114192011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
11420
9d0cfcd6
GM
11421 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11422 FSF and collapse date sequence, obscure author/maintainer email address
11423 better, remove extra version line, track relocation of author's webpage.
10649b82 11424
9d0cfcd6
GM
11425 * progmodes/python.el (python-pdbtrack-input-prompt)
11426 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11427 regular python pdb prompts. Adjustments shamelessly taken exactly as
11428 suggested in EmacsWiki page (tiny change):
11429 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 11430
58179cce
JB
114312011-11-16 Juanma Barranquero <lekktu@gmail.com>
11432
11433 * expand.el (expand-pos, expand-index, expand-point):
11434 Remove redundant info from docstring.
11435 (expand-add-abbrevs): Doc fix.
11436 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11437 (expand-sample-perl-mode-expand-list): Fix typos.
11438
11439 * net/dbus.el (dbus-event-member-name):
11440 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11441 * term/pc-win.el (msdos-create-frame-with-faces):
11442 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11443
b6f67890
MR
114442011-11-16 Martin Rudalics <rudalics@gmx.at>
11445
11446 * window.el (split-window, window-state-get-1)
11447 (window-state-put-1, window-state-put-2): Rename occurrences of
11448 window-nest to window-combination-limit.
1d00653d 11449 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 11450
ce7ddba0
CY
114512011-11-16 Chong Yidong <cyd@gnu.org>
11452
11453 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11454 regexp (Bug#10033).
11455
3ae704f4
SM
114562011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11457
11458 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11459 `completing-read' will remove *Completions* and will preserve
11460 current-buffer for us.
11461 (tmm-add-prompt): Users of *Completions* will always (re)set its
11462 major mode.
11463 (tmm-old-comp-map): Remove.
11464
6ad1cdde
GM
114652011-11-16 Glenn Morris <rgm@gnu.org>
11466
11467 * mail/rmailedit.el: Require rmailmm when compiling.
11468 (rmail-old-mime-state): New declaration.
11469 (rmail-edit-current-message): If editing a mime message,
11470 edit the "raw" message from the mbox buffer.
11471 (rmail-cease-edit): Handle mime messages. (Bug#9840)
11472
d20faa20
GM
114732011-11-15 Glenn Morris <rgm@gnu.org>
11474
11475 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11476 which wasn't being used. Add optional arg to force given state.
11477 (rmail-mime): Add optional arg to force given state.
11478
c7015153
JB
114792011-11-15 Juanma Barranquero <lekktu@gmail.com>
11480
11481 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11482 * frame.el (display-mm-dimensions-alist):
11483 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11484 (outline-move-subtree-down):
11485 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11486 (newsticker--treeview-do-get-node):
11487 * net/quickurl.el (quickurl-list-buffer-name):
11488 * progmodes/dcl-mode.el (dcl-mode):
11489 * progmodes/gdb-mi.el (gdb-mapcar*):
11490 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11491
45261b50
GM
114922011-11-15 Glenn Morris <rgm@gnu.org>
11493
11494 * mail/rmail.el (rmail-file-coding-system): It's only ever used
11495 in a boolean sense, so just make it a boolean, and fix the doc.
11496 (rmail-show-mime-function, rmail-mime-feature)
11497 (rmail-require-mime-maybe): Doc fixes.
11498 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11499
11500 * mail/rmailmm.el (rmail-show-mime): Doc fix.
11501
0d26e0b6
JB
115022011-11-15 Juanma Barranquero <lekktu@gmail.com>
11503
11504 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
11505 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
11506 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
11507 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11508
447f30f6
GM
115092011-11-15 Glenn Morris <rgm@gnu.org>
11510
672b871d
GM
11511 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11512 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
11513 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
11514 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
11515 (rmail-mime, rmail-show-mime): Doc fixes.
11516
f6aa5bb1
GM
11517 * term/ns-win.el (mode-line-frame-identification):
11518 Leave it alone. (Bug#10051)
11519
947cd66b
GM
11520 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
11521
447f30f6
GM
11522 * mail/rmailout.el (rmail-output-to-rmail-buffer):
11523 Handle empty buffers. (Bug#9978)
11524
0b381c7e
JB
115252011-11-14 Juanma Barranquero <lekktu@gmail.com>
11526
11527 * international/mule.el (define-charset):
11528 * mail/rmailmm.el (rmail-mime-find-header-encoding):
11529 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
11530 * progmodes/verilog-mode.el (verilog-backward-token):
11531 * textmodes/ispell.el (lookup-words):
11532 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
11533
71e027ac
GM
115342011-11-14 Glenn Morris <rgm@gnu.org>
11535
56632ce4
GM
11536 * progmodes/executable.el
11537 (executable-make-buffer-file-executable-if-script-p):
11538 Handle file-modes returning nil.
11539
40500957
GM
11540 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
11541 message - not necessary, and causes problems. (Bug#9831)
11542
071c2340
GM
11543 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
11544
d3cfca60
GM
11545 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
11546
71e027ac
GM
11547 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
11548 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
11549 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
11550
89d61221
MR
115512011-11-12 Martin Rudalics <rudalics@gmx.at>
11552
11553 * window.el (window-resize, delete-window): Use window-splits
11554 variable instead of function.
11555 (window-state-get-1, window-state-put-2, window-state-put):
11556 Don't deal with windows' splits status.
11557
98282f6f
GM
115582011-11-12 Glenn Morris <rgm@gnu.org>
11559
11560 * apropos.el (apropos-do-all, apropos-library, apropos-value)
11561 (apropos-documentation): Doc fixes.
11562
40a8bdf6
JB
115632011-11-11 Juanma Barranquero <lekktu@gmail.com>
11564
11565 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
11566 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
11567
65bd19ff
SM
115682011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11569
11570 * electric.el (electric-indent-post-self-insert-function): Make it
11571 possible for a char to only indent in some circumstances.
11572 (electric-indent-mode): Simplify.
11573
54f9154c
MR
115742011-11-11 Martin Rudalics <rudalics@gmx.at>
11575
11576 * window.el (windows-with-parameter): Remove unused function.
11577 (windows-at-side): Rename to window-at-side-list.
11578 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
11579 (window-side-check, window-size-ignore, window-size-fixed-1)
11580 (window-in-direction-2): Prefix with "window--".
11581 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 11582
68cbc58b
GM
115832011-11-11 Glenn Morris <rgm@gnu.org>
11584
11585 * subr.el (eval-after-load): If FILE is already loaded,
11586 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
11587
b2621720
GM
115882011-11-10 Glenn Morris <rgm@gnu.org>
11589
9a4de110
GM
11590 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
11591 Call svn via vc-svn-command rather than vc-do-command.
11592 (vc-svn-command): Add --non-interactive. (Bug#9993)
11593 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
11594
b2621720
GM
11595 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11596 Add toggle-read-only. (Bug#7292)
11597 * files.el (toggle-read-only): Mention that it should only
11598 be used interactively. (Bug#10006)
11599
1dce7193
SM
116002011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
11601
d9ac1a1e
SM
11602 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11603 Adjust regexp for OCaml warnings.
11604
0c325082
SM
11605 * electric.el (electric-pair-post-self-insert-function): Let user
11606 turn it off buffer-locally (bug#9932).
11607
90132c14
SM
11608 * progmodes/python.el (python-beginning-of-statement):
11609 Rewrite (bug#2703).
11610
1dce7193
SM
11611 * progmodes/compile.el: Better handle TABs (bug#9749).
11612 (compilation-internal-error-properties)
11613 (compilation-next-error-function): Obey the target buffer's
11614 compilation-error-screen-columns.
11615
c4e7c63a
JB
116162011-11-09 Juanma Barranquero <lekktu@gmail.com>
11617
11618 * progmodes/meta-mode.el: Remove obsolete comments.
11619 (meta-right-comment-regexp, meta-ignore-comment-regexp):
11620 Fix typos in docstrings.
11621
2cffd681
MR
116222011-11-09 Martin Rudalics <rudalics@gmx.at>
11623
11624 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 11625 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
11626 (window--resizable): New function. Make all callers of
11627 window-resizable call window--resizable instead.
11628 (window-resizable): Rewrite in terms of window--resizable.
11629
0edcba87
GM
116302011-11-08 Glenn Morris <rgm@gnu.org>
11631
11632 * progmodes/delphi.el (delphi-mode-syntax-table):
11633 Let define-derived-mode define a proper syntax table. (Bug#9994)
11634
4b0d61e3
SM
116352011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11636
11637 * window.el: Stay away from defsubst.
11638 (window-list-no-nils): Remove.
11639 (window-state-get-1, window-state-get): Use backquote instead.
11640
cd394be1 116412011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 11642
4b0d61e3 11643 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 11644 Fix incorrect use of default argument in `completing-read'.
11645
e1c2c6f2
MR
116462011-11-08 Martin Rudalics <rudalics@gmx.at>
11647
11648 * window.el (display-buffer-function, special-display-function):
11649 Mention display-buffer-record-window but do not mention
11650 help-setup parameter in doc-strings.
b3f4a882 11651 (window-min-delta): Fix doc-string typo.
e1c2c6f2 11652
105216ed
CY
116532011-11-08 Chong Yidong <cyd@gnu.org>
11654
11655 * window.el (window-total-height, window-total-width): Doc fix.
11656 (window-body-size): Move from C.
11657 (window-body-height, window-body-width): Move to C.
11658
0a9f9ab5
SM
116592011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11660
11661 * window.el: Make special-display like display-buffer-alist (bug#9532).
11662 (display-buffer--special-action): New function, morphed
11663 from display-buffer--special.
11664 (display-buffer): Use it to handle special-display-buffers at higher
11665 priority (just after display-buffer-alist).
11666 (display-buffer-fallback-action, display-buffer--other-frame-action)
11667 (pop-to-buffer-same-window): Remove display-buffer--special.
11668
a769dd15
GM
116692011-11-07 Glenn Morris <rgm@gnu.org>
11670
11671 * calendar/cal-menu.el (cal-menu-set-date-title):
11672 Do nothing if not in a calendar. (Bug#9976)
11673
05a61ee3
SM
116742011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
11675
11676 * files.el (find-file): Always use selected-window.
11677
be7f5545
MR
116782011-11-07 Martin Rudalics <rudalics@gmx.at>
11679
11680 * window.el (window-combinations): Make WINDOW argument
11681 mandatory. Rewrite doc-string.
11682 (walk-window-subtree, window-atom-check, window-min-delta)
11683 (window-max-delta, window--resize-this-window)
11684 (window--resize-root-window-vertically, window-tree)
11685 (balance-windows, window-state-put): Rewrite doc-strings as to
11686 not mention the term "subwindow".
11687 (window--resize-subwindows-skip-p): Rename to
11688 window--resize-child-windows-skip-p.
11689 (window--resize-subwindows-normal): Rename to
11690 window--resize-child-windows-normal.
11691 (window--resize-subwindows): Rename to
11692 window--resize-child-windows.
11693 (window-or-subwindow-p): Rename to window--in-subtree-p.
11694
3c6702ef
ML
116952011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11696
11697 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
11698 Ensure that mbox format messages end in two newlines (Bug#9974).
11699
49745b39
CY
117002011-11-06 Chong Yidong <cyd@gnu.org>
11701
11702 * window.el (window-combination-p): Function deleted; its
11703 side-effect is not used in any existing code.
11704 (window-combinations, window-combined-p): Call window-*-child
11705 directly.
11706
24300f5f
CY
117072011-11-05 Chong Yidong <cyd@gnu.org>
11708
11709 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
11710 (window-size-ignore, window-state-get): Callers changed.
11711 (window-normalize-window): Rename from window-normalize-any-window.
11712 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 11713 (window-normalize-live-window): Delete.
447f16b8
CY
11714 (window-combination-p, window-combined-p, window-combinations)
11715 (walk-window-subtree, window-atom-root, window-min-size)
11716 (window-sizable, window-sizable-p, window-size-fixed-p)
11717 (window-min-delta, window-max-delta, window-resizable)
11718 (window-resizable-p, window-full-height-p, window-full-width-p)
11719 (window-current-scroll-bars, window-point-1, set-window-point-1)
11720 (window-at-side-p, window-in-direction, window-resize)
11721 (adjust-window-trailing-edge, maximize-window, minimize-window)
11722 (window-deletable-p, delete-window, delete-other-windows)
11723 (record-window-buffer, unrecord-window-buffer)
11724 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
11725 (quit-window, split-window, window-state-put)
11726 (set-window-text-height, fit-window-to-buffer)
11727 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 11728
89bd5ee1
EZ
117292011-11-04 Eli Zaretskii <eliz@gnu.org>
11730
53479029
EZ
11731 * mail/rmail.el (rmail-simplified-subject): Decode subject with
11732 rfc2047-decode-string.
11733 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
11734 warnings.
11735
89bd5ee1
EZ
11736 * window.el (window-body-height, window-body-width): Mention in
11737 the doc string that the return values are in frame's canonical
11738 units. (Bug#9949)
11739
bd17fdee
AM
117402011-11-03 Alan Mackenzie <acm@muc.de>
11741
11742 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
11743 change in cc-engine.el.
11744
acc825c5
SM
117452011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
11746
11747 * window.el (switch-to-buffer): Use `force-same-window' interactively.
11748
1885e5b8
MR
117492011-11-02 Martin Rudalics <rudalics@gmx.at>
11750
11751 * window.el (quit-window): Call unrecord-window-buffer after
11752 showing another buffer in the window. (Bug#9937)
acc825c5 11753 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 11754
ebe06da9
JB
117552011-11-02 Juanma Barranquero <lekktu@gmail.com>
11756
11757 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
11758 Accept status with more than 9 shelves. (Bug#9935)
11759 Reported by Colin D Bennett <colin@gibibit.com>.
11760
4ee88440
MR
117612011-11-01 Martin Rudalics <rudalics@gmx.at>
11762
11763 * help.el (with-help-window): Don't reference
11764 temp-buffer-show-specifiers in doc-string.
11765
08e1d82c
AS
117662011-10-31 Andreas Schwab <schwab@linux-m68k.org>
11767
11768 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
11769 menu-item.
11770
84bd6e9e
VJL
117712011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11772
11773 * whitespace.el: New version 13.2.2.
11774 (whitespace-newline-mode): Disable properly. Reported by Sarah
11775 <EmacsWiki>.
11776
dba0634a
UJ
117772011-10-30 Ulf Jasper <ulf.jasper@web.de>
11778
11779 * net/newst-treeview.el: Remove "Time-stamp".
11780 (newsticker--group-manage-orphan-feeds): Do not call
11781 newsticker--treeview-tree-update.
db22a3c2
JB
11782 (newsticker-treeview-update, newsticker-treeview):
11783 Call newsticker--treeview-tree-update if necessary.
dba0634a 11784
3d8daefe
MR
117852011-10-30 Martin Rudalics <rudalics@gmx.at>
11786
11787 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
11788 (window-iso-combinations): Remove "iso-" infix.
11789 Suggested by Chong Yidong.
3d8daefe
MR
11790 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
11791 (window-max-delta-1, window-resize, window--resize-siblings)
11792 (window--resize-this-window, adjust-window-trailing-edge)
11793 (split-window, balance-windows-1)
11794 (shrink-window-if-larger-than-buffer):
11795 * calendar/calendar.el (calendar-generate-window):
db22a3c2 11796 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 11797
1bc4c3ae
SM
117982011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
11799
11800 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
11801 in place (bug#9907).
11802 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
11803 (eshell-rewrite-if-command, eshell-rewrite-for-command)
11804 (eshell-structure-basic-command, eshell-rewrite-while-command)
11805 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
11806 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
11807 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
11808 (eshell-do-pipelines-synchronously, eshell-eval-command):
11809 Use backquotes and prefer setq to set.
11810 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
11811 (eshell-macrop): Use functionp.
c1e2f5fa 11812 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 11813
30b65d9c
CY
118142011-10-30 Chong Yidong <cyd@gnu.org>
11815
11816 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
11817 instead of set-mark (Bug#9810).
11818
2d197ffb
CY
118192011-10-30 Chong Yidong <cyd@gnu.org>
11820
11821 * window.el (split-window-below, split-window-right): Rename from
11822 split-window-above-each-other and split-window-side-by-side
11823 respectively. All callers changed.
11824 (split-window-sensibly, split-window-sensibly): Use them.
11825 (split-window-keep-point): Doc fix.
11826
11827 * isearch.el: Add isearch-scroll property to split-window-below
11828 and split-window-right.
11829
11830 * follow.el (follow-mode):
11831 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11832 * progmodes/ada-xref.el (ada-gdb-application):
11833 * emulation/vip.el (vip-buffer-in-two-windows):
11834 * image-dired.el (image-dired-dired-with-window-configuration):
11835 * dired-x.el (dired-do-find-marked-files):
11836 * dired.el (dired-pop-to-buffer):
11837 * bs.el (bs--show-with-configuration):
11838 * vc/emerge.el (emerge-setup-windows):
11839 * textmodes/two-column.el (2C-two-columns):
11840 * textmodes/reftex-toc.el (reftex-toc):
11841 * progmodes/gdb-mi.el (gdb-setup-windows):
11842 * progmodes/fortran.el (fortran-window-create):
11843 * net/newst-treeview.el (newsticker--treeview-window-init):
11844 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
11845 * emulation/tpu-edt.el (tpu-gold-map):
11846 * emulation/crisp.el (crisp-mode-map):
11847 * calendar/calendar.el (calendar-basic-setup): Callers changed.
11848
38bb2ca8
CY
118492011-10-29 Chong Yidong <cyd@gnu.org>
11850
aa4de341
CY
11851 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
11852
e1eb5385
CY
11853 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
11854
5d2ece3c
CY
11855 * textmodes/flyspell.el (flyspell-word): Fix char offset for
11856 forged Ispell output (Bug#7904).
11857
38bb2ca8
CY
11858 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
11859
d0af9f77
SM
118602011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11861
11862 * doc-view.el: Avoid ugly errors about not finding nil.
11863 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
11864 (doc-view-dvipdf-program, doc-view-unoconv-program)
11865 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
11866 Avoid nil or absolute file name as default value.
11867 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
11868
52bedd34
AM
118692011-10-28 Alan Mackenzie <acm@muc.de>
11870
db22a3c2 11871 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 11872
7e43cfa5
AM
118732011-10-28 Alan Mackenzie <acm@muc.de>
11874
11875 Amend the handling of c-beginning/end-of-defun in nested declaration
11876 scopes.
11877
52bedd34
AM
11878 * progmodes/cc-vars.el (c-defun-tactic): Move here from
11879 cc-langs.el. Change it to a defcustom.
7e43cfa5 11880
52bedd34
AM
11881 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
11882 cc-vars.el.
7e43cfa5 11883
d0af9f77
SM
11884 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11885 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 11886
52bedd34 11887 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 11888 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
11889 (c-widen-to-enclosing-decl-scope): New function.
11890 (c-while-widening-to-decl-block): New macro.
11891 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
11892 outward for defun boundaries, and correspondingly change symbol
11893 `respect-enclosure' to `go-outward'.
11894 (c-declaration-limits): Change algorithm to report only the "innermost"
11895 defun's boundaries.
11896
1a2ce9ee
DD
118972011-10-28 Deniz Dogan <deniz@dogan.se>
11898
11899 * net/rcirc.el (rcirc-mode): Use hard newlines.
11900
bc97a826
AM
119012011-10-28 Alan Mackenzie <acm@muc.de>
11902
11903 Amend to indent and fontify macros "which include their own semicolon"
11904 correctly, using the "virtual semicolon" mechanism.
11905
52bedd34 11906 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 11907
d0af9f77 11908 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 11909 Recode to scan one line at a time rather than having \n and \r
58179cce 11910 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 11911 (c-forward-label): Amend for virtual semicolons.
58179cce 11912 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 11913
52bedd34
AM
11914 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
11915 of the new C macros.
bc97a826 11916
52bedd34 11917 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
11918 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
11919 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
11920 (c-opt-cpp-macro-define): Make into a full language variable.
11921 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
11922 AWK Mode (including \n, \r) removed, no longer needed.
11923
d0af9f77
SM
11924 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
11925 Invoke c-make-macro-with-semi-re.
bc97a826 11926
52bedd34
AM
11927 * progmodes/cc-vars.el (c-macro-with-semi-re):
11928 (c-macro-names-with-semicolon): New variables.
58179cce 11929 (c-make-macro-with-semi-re): New function.
bc97a826 11930
7a6c0941
SM
119312011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11932
11933 * vc/log-edit.el: Fill empty field rather than adding new one.
11934 (log-edit-add-field): New function.
11935 (log-edit-insert-changelog): Use it.
11936
b0c4cdcf
ML
119372011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11938
11939 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
11940
ee1f1da9
SM
119412011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11942
11943 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
11944 (gdb--check-interpreter): New function.
11945 (gdb): Use it.
11946
51bc5f8b
GM
119472011-10-27 Glenn Morris <rgm@gnu.org>
11948
416a2c45
GM
11949 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
11950 (least-positive-float, least-negative-float)
11951 (least-positive-normalized-float, least-negative-normalized-float)
11952 (float-epsilon, float-negative-epsilon):
11953 Remove unnecessary declarations.
11954
11955 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
11956 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
11957 (least-positive-float, least-negative-float)
11958 (least-positive-normalized-float, least-negative-normalized-float)
11959 (float-epsilon, float-negative-epsilon): Add doc-strings,
11960 based on those in cl.texi.
11961
51bc5f8b
GM
11962 * files.el (set-visited-file-name): If the major-mode changed,
11963 reload the local variables. (Bug#9796)
11964
15de15c6
CY
119652011-10-27 Chong Yidong <cyd@gnu.org>
11966
11967 * subr.el (change-major-mode-after-body-hook): New hook.
11968 (run-mode-hooks): Run it.
11969
ee1f1da9
SM
11970 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11971 Use change-major-mode-before-body-hook.
15de15c6
CY
11972
11973 * simple.el (fundamental-mode):
11974 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
11975 change introducing fundamental-mode-hook.
11976
5430d399
JB
119772011-10-26 Juanma Barranquero <lekktu@gmail.com>
11978
acc825c5 11979 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 11980
ad74a69e
MA
119812011-10-26 Michael Albinus <michael.albinus@gmx.de>
11982
11983 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 11984 tramp.el explicitly. (Bug#7583)
ad74a69e 11985
71d4c2a5
SM
119862011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
11987
11988 * progmodes/octave-mod.el:
11989 * progmodes/octave-inf.el: Update maintainer.
11990
b1f6fa26
CY
119912011-10-26 Chong Yidong <cyd@gnu.org>
11992
11993 * subr.el (with-wrapper-hook): Rewrite doc.
11994
3f04efd6
MA
119952011-10-25 Michael Albinus <michael.albinus@gmx.de>
11996
11997 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 11998 filenames "/method:foo:". (Bug#9793)
3f04efd6 11999
410488d3
SM
120002011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12001
12002 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12003 (bug#9865).
12004
c1ebb47e
GM
120052011-10-24 Glenn Morris <rgm@gnu.org>
12006
12007 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12008
7f5c46c7
MA
120092011-10-24 Michael Albinus <michael.albinus@gmx.de>
12010
12011 * notifications.el: Add the requirement of a running D-Bus session
12012 bus to the Commentary.
12013
db2440b6
JL
120142011-10-24 Juri Linkov <juri@jurta.org>
12015
12016 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12017 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12018 (Bug#9364)
12019
feecf435
JL
120202011-10-24 Juri Linkov <juri@jurta.org>
12021
12022 * info.el (Info-following-node-name-re): Add newline to the list
12023 of allowed characters for leading space. (Bug#9824)
12024
a3839de2
SM
120252011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12026
acc825c5
SM
12027 * progmodes/octave-inf.el (inferior-octave-mode-map):
12028 Fix C-c C-h binding.
a3839de2
SM
12029 * progmodes/octave-mod.el (octave-help): Remove.
12030
09388e76
MA
120312011-10-23 Michael Albinus <michael.albinus@gmx.de>
12032
12033 Sync with Tramp 2.2.3.
12034
12035 * net/tramp-cache.el (top): Pacify byte-compiler using
12036 `init-file-user' and `site-run-file'.
12037
12038 * net/trampver.el: Update release number.
12039
86c60681
CY
120402011-10-23 Chong Yidong <cyd@gnu.org>
12041
12042 * files.el (toggle-read-only): Remove obsolete comment about
12043 version control.
12044
12045 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12046 for toggle-read-only. Note that this hasn't called vc-next-action
12047 since 2008-05-02, though it wasn't documented at the time.
12048
a3839de2
SM
12049 * vc/ediff-init.el (ediff-toggle-read-only-function):
12050 Use toggle-read-only.
86c60681 12051
cd5495ff
AM
120522011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12053
12054 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12055 of c-parse-state.
12056
00b77525 12057 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 12058 correct faulty logical expression.
cd5495ff
AM
12059 (c-parse-state-state, c-record-parse-state-state):
12060 (c-replay-parse-state-state): New defvar/defuns.
12061 (c-debug-parse-state): Use new functions.
12062
42ee24ed
MR
120632011-10-22 Martin Rudalics <rudalics@gmx.at>
12064
12065 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 12066 last fix. Use window-in-direction correctly.
42ee24ed 12067
a7dee7e7
CY
120682011-10-21 Chong Yidong <cyd@gnu.org>
12069
12070 * progmodes/idlwave.el (idlwave-mode):
12071 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
12072 require-final-newline; that's done in prog-mode.
12073 Suggested by Stefan Monnier.
a7dee7e7 12074
e07b9a6d
MR
120752011-10-21 Martin Rudalics <rudalics@gmx.at>
12076
12077 * mouse.el (mouse-drag-window-above)
12078 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12079 (mouse-drag-mode-line-1, mouse-drag-header-line)
12080 (mouse-drag-vertical-line-rightward-window): Remove.
12081 (mouse-drag-line): New function.
12082 (mouse-drag-mode-line, mouse-drag-header-line)
12083 (mouse-drag-vertical-line): Call mouse-drag-line.
12084 * window.el (window-at-side-p, windows-at-side): New functions.
12085
7e1361d9
UM
120862011-10-21 Ulrich Mueller <ulm@gentoo.org>
12087
12088 * tar-mode.el (tar-grind-file-mode):
12089 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12090
30fcaf3a
CY
120912011-10-21 Chong Yidong <cyd@gnu.org>
12092
12093 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
12094 * progmodes/vera-mode.el (vera-mode):
12095 Use mode-require-final-newline.
30fcaf3a 12096
516eddb0
GM
120972011-10-20 Glenn Morris <rgm@gnu.org>
12098
db22a3c2 12099 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 12100
10d5f513
CS
121012011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12102
12103 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12104
ac6c8639
CY
121052011-10-20 Chong Yidong <cyd@gnu.org>
12106
12107 * emulation/cua-base.el (cua-mode):
12108 * mail/footnote.el (footnote-mode):
12109 * mail/mailabbrev.el (mail-abbrevs-mode):
12110 * net/xesam.el (xesam-minor-mode):
12111 * progmodes/bug-reference.el (bug-reference-mode):
12112 * progmodes/cap-words.el (capitalized-words-mode):
12113 * progmodes/compile.el (compilation-minor-mode)
12114 (compilation-shell-minor-mode):
12115 * progmodes/gud.el (gud-tooltip-mode):
12116 * progmodes/hideif.el (hide-ifdef-mode):
12117 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12118 * progmodes/subword.el (subword-mode):
12119 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12120 * progmodes/which-func.el (which-function-mode):
12121 * term/tvi970.el (tvi970-set-keypad-mode):
12122 * term/vt100.el (vt100-wide-mode):
12123 * textmodes/flyspell.el (flyspell-mode):
12124 * textmodes/ispell.el (ispell-minor-mode):
12125 * textmodes/nroff-mode.el (nroff-electric-mode):
12126 * textmodes/paragraphs.el (use-hard-newlines):
12127 * textmodes/refill.el (refill-mode):
12128 * textmodes/reftex.el (reftex-mode):
12129 * textmodes/rst.el (rst-minor-mode):
12130 * textmodes/sgml-mode.el (html-autoview-mode)
12131 (sgml-electric-tag-pair-mode):
12132 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12133 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12134 * emulation/crisp.el (crisp-mode):
12135 * emacs-lisp/eldoc.el (eldoc-mode):
12136 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12137 minor mode behavior.
12138
aa42ab43
JL
121392011-10-19 Juri Linkov <juri@jurta.org>
12140
12141 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12142 the list of hard-coded chars with escape-glyph face.
12143
89400f1d
SM
121442011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12145
12146 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12147
305c07f6
MA
121482011-10-19 Michael Albinus <michael.albinus@gmx.de>
12149
12150 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12151 running process.
12152
13754b54
GM
121532011-10-19 Glenn Morris <rgm@gnu.org>
12154
12155 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12156 Ignore ignored files. (Bug#9726)
12157
06e21633
CY
121582011-10-19 Chong Yidong <cyd@gnu.org>
12159
12160 Doc fix for minor modes, stating that an omitted argument enables
12161 the mode unconditionally when called from Lisp.
12162
12163 * abbrev.el (abbrev-mode):
12164 * allout.el (allout-mode):
12165 * autoinsert.el (auto-insert-mode):
12166 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12167 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12168 (global-auto-revert-mode):
12169 * battery.el (display-battery-mode):
12170 * composite.el (global-auto-composition-mode)
12171 (auto-composition-mode):
12172 * delsel.el (delete-selection-mode):
12173 * desktop.el (desktop-save-mode):
12174 * dired-x.el (dired-omit-mode):
12175 * dirtrack.el (dirtrack-mode):
12176 * doc-view.el (doc-view-minor-mode):
12177 * double.el (double-mode):
12178 * electric.el (electric-indent-mode, electric-pair-mode):
12179 * emacs-lock.el (emacs-lock-mode):
12180 * epa-hook.el (auto-encryption-mode):
12181 * follow.el (follow-mode):
12182 * font-core.el (font-lock-mode):
12183 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12184 * help.el (temp-buffer-resize-mode):
12185 * hilit-chg.el (highlight-changes-mode)
12186 (highlight-changes-visible-mode):
12187 * hi-lock.el (hi-lock-mode):
12188 * hl-line.el (hl-line-mode, global-hl-line-mode):
12189 * icomplete.el (icomplete-mode):
12190 * ido.el (ido-everywhere):
12191 * image-file.el (auto-image-file-mode):
12192 * image-mode.el (image-minor-mode):
12193 * iswitchb.el (iswitchb-mode):
12194 * jka-cmpr-hook.el (auto-compression-mode):
12195 * linum.el (linum-mode):
12196 * longlines.el (longlines-mode):
12197 * master.el (master-mode):
12198 * mb-depth.el (minibuffer-depth-indicate-mode):
12199 * menu-bar.el (menu-bar-mode):
12200 * minibuf-eldef.el (minibuffer-electric-default-mode):
12201 * mouse-sel.el (mouse-sel-mode):
12202 * msb.el (msb-mode):
12203 * mwheel.el (mouse-wheel-mode):
12204 * outline.el (outline-minor-mode):
12205 * paren.el (show-paren-mode):
12206 * recentf.el (recentf-mode):
12207 * reveal.el (reveal-mode, global-reveal-mode):
12208 * rfn-eshadow.el (file-name-shadow-mode):
12209 * ruler-mode.el (ruler-mode):
12210 * savehist.el (savehist-mode):
12211 * scroll-all.el (scroll-all-mode):
12212 * scroll-bar.el (scroll-bar-mode):
12213 * server.el (server-mode):
12214 * shell.el (shell-dirtrack-mode):
12215 * simple.el (auto-fill-mode, transient-mark-mode)
12216 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12217 (line-number-mode, column-number-mode, size-indication-mode)
12218 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12219 * strokes.el (strokes-mode):
12220 * time.el (display-time-mode):
12221 * t-mouse.el (gpm-mouse-mode):
12222 * tool-bar.el (tool-bar-mode):
12223 * tooltip.el (tooltip-mode):
12224 * type-break.el (type-break-mode-line-message-mode)
12225 (type-break-query-mode):
12226 * view.el (view-mode):
12227 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12228 (global-whitespace-mode, global-whitespace-newline-mode):
12229 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12230
a3839de2
SM
12231 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12232 Fix autogenerated docstring.
06e21633 12233
5214e501
JL
122342011-10-19 Juri Linkov <juri@jurta.org>
12235
12236 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12237 by checking environment variables "DESKTOP_SESSION" and
12238 "XDG_CURRENT_DESKTOP". (Bug#9779)
12239
195f8db9
JL
122402011-10-19 Juri Linkov <juri@jurta.org>
12241
12242 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12243 (browse-url-chromium-program, browse-url-chromium-arguments):
12244 New defcustoms.
12245 (browse-url-default-browser): Check for `browse-url-chromium' and
12246 call `browse-url-chromium-program'.
12247 (browse-url-chromium): New command. (Bug#9779)
12248
343a34ff
JB
122492011-10-18 Juanma Barranquero <lekktu@gmail.com>
12250
12251 * facemenu.el (list-colors-duplicates): On Windows, detect more
12252 duplicates by assuming that only colors matching "^System" are
12253 special "system colors". (Bug#9722)
12254
6978a151
SM
122552011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12256
12257 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12258 to distinguish the author from the committer.
12259
6a80b297
MA
122602011-10-18 Michael Albinus <michael.albinus@gmx.de>
12261
12262 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12263
b31a5677
JK
122642011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12265
12266 * international/mule.el (sgml-html-meta-auto-coding-function):
12267 Add support for detecting encoding in HTML5 specified only as
12268 <meta charset="UTF-8">. Implementation just makes http-equiv and
12269 content-type parts from HTML4 encoding string optional. (Bug#9716)
12270
80c6d77f
GM
122712011-10-18 Glenn Morris <rgm@gnu.org>
12272
12273 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12274
08b0fee8
CY
122752011-10-18 Chong Yidong <cyd@gnu.org>
12276
12277 * faces.el (cursor): Doc fix.
12278
67e729a5
CY
122792011-10-17 Chong Yidong <cyd@gnu.org>
12280
12281 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12282
343a34ff 122832011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
12284
12285 * dirtrack.el (dirtrack): Support shell buffers with path
12286 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12287
0bc06380
TZ
122882011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12289
12290 * json.el: Bump version to 1.3 and note change in History.
12291 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12292
8b79f3e0
SM
122932011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12294
5a7c536b
SM
12295 * comint.el (comint-insert-input, comint-send-input)
12296 (comint-get-old-input-default, comint-backward-matching-input)
12297 (comint-next-prompt): Use nil instead of `input' for field property of
12298 past user input (bug#114).
12299
96a8a0df
SM
12300 * minibuffer.el (completion--replace): Inherit surrounding properties
12301 (bug#114).
12302 (minibuffer-complete-and-exit): Use it.
12303
8b79f3e0
SM
12304 * comint.el (comint--table-subvert): Quote the all-completions output
12305 (bug#9160).
12306
b8f7ff0d
MR
123072011-10-17 Martin Rudalics <rudalics@gmx.at>
12308
8b79f3e0 12309 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 12310
b8f7ff0d 12311 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 12312 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
12313 entries and separate them from frame entries.
12314
c235b555
GM
123152011-10-15 Glenn Morris <rgm@gnu.org>
12316
12317 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12318 Doc fixes.
12319
6bbfa6e1
CY
123202011-10-15 Chong Yidong <cyd@stupidchicken.com>
12321
8b79f3e0
SM
12322 * net/network-stream.el (network-stream-open-starttls):
12323 Improve detection of failure due to lack of TLS support.
ec5c990d 12324
6bbfa6e1
CY
12325 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12326 putting the input text in front and in bold.
12327
98488977
SM
123282011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12329
3d1337be
SM
12330 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12331
ee0b45e4
SM
12332 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12333 empty buffer.
12334
98488977
SM
12335 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12336 unread-command-events rather than pushing yet-another event.
12337
186f4720
EZ
123382011-10-14 Eli Zaretskii <eliz@gnu.org>
12339
12340 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12341 the explanation of the possible choices. Make the options passed
12342 to completing-read shorter.
12343
8b7a997c
AM
123442011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12345
12346 * textmodes/flyspell.el (flyspell-large-region): Make sure
12347 extended character mode is used if defined (Bug#1339).
12348
12587bbb
EZ
123492011-10-13 Eli Zaretskii <eliz@gnu.org>
12350
12351 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
12352 character info for LRE, LRO, RLE, and RLO characters by appending
12353 an invisible PDF.
12587bbb 12354
bad41229
SM
123552011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12356
12357 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12358 even in case of error; add debug spec; simplify data flow.
12359 (with-timeout-handler): Remove.
12360
28dbc92f
MA
123612011-10-12 Michael Albinus <michael.albinus@gmx.de>
12362
12363 Fix Bug#6019, Bug#9315.
12364
12365 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12366 complete `buffer-file-name', the local file name part could look
12367 remotely (for example on VMS).
12368
12369 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12370 `tramp-run-real-handler'.
12371 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12372 already quoted by '"'.
12373
12374 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12375 Let `file-name-handler-alist' be nil, the local file name part
12376 could look remotely (for example on VMS).
12377
e1b0b23a
SM
123782011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12379
12380 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12381 from here...
12382 (flyspell-post-command-hook): ...to here.
12383
a120bde9
SM
123842011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12385
12386 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12387 if not needed.
12388 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12389 using completion. Protect against "slow" callers.
12390 Remove the "message hack".
12391
7ce7717b
JL
123922011-10-11 Juri Linkov <juri@jurta.org>
12393
12394 * isearch.el (isearch-lazy-highlight-word): New variable.
12395 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12396 Use it. (Bug#9727)
12397
c02ee9d6
GM
123982011-10-11 Glenn Morris <rgm@gnu.org>
12399
12400 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12401 like f90-previous-statement does.
12402
93e616fd 124032011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12404
1f190e73 12405 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
12406 only in interactive use, to avoid error.
12407
af7b6078
SM
124082011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12409
12410 * minibuffer.el (completion-file-name-table): Fix last change,
12411 i.e. ignore normal errors but not the other ones.
12412
0563dae9
MR
124132011-10-10 Martin Rudalics <rudalics@gmx.at>
12414
12415 * window.el (special-display-buffer-names)
12416 (special-display-regexps): Remove some remnants of earlier
12417 changes from doc-strings.
366ca7f3
MR
12418 (quit-windows-on): New function.
12419
12420 * vc/vc.el (vc-revert, vc-rollback):
12421 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12422 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 12423 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 12424
49677495
MR
124252011-10-09 Martin Rudalics <rudalics@gmx.at>
12426
12427 * window.el (frame-auto-hide-function): Add version tag.
12428 (Bug#9699)
12429
56f2d1e1
MA
124302011-10-09 Michael Albinus <michael.albinus@gmx.de>
12431
12432 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12433 condition.
12434
112a6592
LL
124352011-10-09 Leo Liu <sdl.web@gmail.com>
12436
12437 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12438 (Bug#9701)
12439
0812589b
GM
124402011-10-08 Glenn Morris <rgm@gnu.org>
12441
12442 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12443 before the first code statement zero indent. (Bug#9690)
12444
b2b0776e
CY
124452011-10-08 Chong Yidong <cyd@stupidchicken.com>
12446
12447 * simple.el (count-words-region): Always count in the region.
12448 Report the number of lines and characters too.
12449 (count-words): New command, which counts in the buffer if the
12450 region is inactive, as count-words-region used to.
12451 (count-words--message): New function. Handle plurals.
12452 (count-lines-region): Make it an alias for count-words-region.
12453
12454 * bindings.el (esc-map): Replace count-lines-region with
12455 count-words-region.
12456
c557cd6b
MR
124572011-10-08 Martin Rudalics <rudalics@gmx.at>
12458
12459 * window.el (window--delete): Delete dedicated frame
12460 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 12461 (switch-to-buffer): Fix doc-string typo.
c557cd6b 12462
61a57ef4 124632011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12464
3a7d293b 12465 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 12466
c3833279
CY
124672011-10-07 Chong Yidong <cyd@stupidchicken.com>
12468
12469 * bindings.el ([M-left],[M-right]): Bind to left-word and
12470 right-word respectively.
12471
21ce8245
GM
124722011-10-07 Glenn Morris <rgm@gnu.org>
12473
12474 * cus-start.el (debug-on-quit): Fix custom type.
12475
6d823bb2
LMI
124762011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12477
0181e193
LMI
12478 * subr.el (define-key-after): Clarify that the function is not
12479 useful for non-menu keymaps.
12480
6d823bb2
LMI
12481 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12482
8e3459ce 124832011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12484
21ce8245 12485 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 12486 in current minibuffer (Fix bug with recursive minibuffers).
12487
a1c2d21e
CY
124882011-10-06 Chong Yidong <cyd@stupidchicken.com>
12489
12490 * progmodes/gdb-mi.el (gdb): Doc fix.
12491
5a4cf282
MR
124922011-10-05 Martin Rudalics <rudalics@gmx.at>
12493
12494 * window.el (frame-auto-hide-function): New option replacing
12495 frame-auto-delete. Suggested by Stefan Monnier.
12496 (window--delete): Call frame-auto-hide-function instead of
12497 investigating frame-auto-delete.
c96111ea
MR
12498 (window-point-1, set-window-point-1): New functions.
12499 (window-in-direction, record-window-buffer, window-state-get-1)
12500 (display-buffer-record-window): Use window-point-1 instead of
12501 window-point.
12502 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 12503
9854542e
SM
125042011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12505
12506 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
12507
8943cfb0
GM
125082011-10-05 Glenn Morris <rgm@gnu.org>
12509
12510 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12511 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
12512
647ab967
LL
125132011-10-05 Leo Liu <sdl.web@gmail.com>
12514
12515 * subr.el (read-char-choice): Fix argument to buffer-live-p which
12516 works with buffer object.
12517
3ddfbced
SM
125182011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12519
12520 * mpc.el (mpc-tool-bar-map): Add labels.
12521
bdfa5dd2
GM
125222011-10-04 Glenn Morris <rgm@gnu.org>
12523
12524 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12525
0e2070b5
MR
125262011-10-04 Martin Rudalics <rudalics@gmx.at>
12527
12528 * window.el (window--delete): New function.
12529 (frame-auto-delete): Resuscitate option.
12530 (bury-buffer, replace-buffer-in-windows)
12531 (quit-window): Rewrite using window--delete.
12532 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12533 Pass display-buffer-mark-dedicated to window--display-buffer-2
12534 (Bug#9639).
12535
3dc61a09
SM
125362011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12537
915a9b64
SM
12538 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
12539 returns a list (bug#9554). Add remote file name completion.
12540 * comint.el (comint--table-subvert): Curry and get quote&unquote
12541 functions as arguments.
12542 (comint--complete-file-name-data): Adjust call accordingly.
12543 * pcomplete.el (pcomplete--table-subvert): Remove.
12544 (pcomplete-completions-at-point): Use comint--table-subvert instead.
12545
3dc61a09
SM
12546 * minibuffer.el (completion-table-case-fold): Use currying.
12547 (completion--styles-type, completion--cycling-threshold-type):
12548 New constants.
12549 (completion-styles, completion-category-overrides)
12550 (completion-cycle-threshold): Use them.
12551 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
12552 completion-table-case-fold.
12553
8ea0a993
SB
125542011-10-03 Stephen Berman <stephen.berman@gmx.net>
12555
12556 * minibuffer.el (completion-category-overrides): Fix type of styles
12557 and add more user friendly tags (bug#9660).
12558
8c24b7f6
SM
125592011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12560
12561 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
12562 (mule-input-method-string): New widget.
12563 (default-input-method, language-info-custom-alist): Use it.
12564
428fe61a
SM
125652011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
12566
32c1fffd
SM
12567 * pcomplete.el: Require comint.
12568 (pcomplete--common-suffix): Remove.
12569 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
12570 (pcomplete--table-subvert): Sync with comint--table-subvert.
12571 (pcomplete--entries): Use comint-completion-file-name-table.
12572 * comint.el (comint-unquote-filename): Simplify.
12573 (comint-completion-file-name-table): New function (bug#9616).
12574 (comint--complete-file-name-data): Use it.
12575
428fe61a
SM
12576 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
12577 (pcmpl-gnu-tar-buffer): Remove.
12578 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
12579 around. Make sure pcomplete-suffix-list is only changed temporarily.
12580 Don't look inside the tar's file if it's too large.
428fe61a 12581
04c52e2f
CY
125822011-10-01 Chong Yidong <cyd@stupidchicken.com>
12583
ce3cefcc
CY
12584 * cus-edit.el (custom-mode-map):
12585 * epa.el (epa-key-list-mode-map):
12586 * man.el (Man-mode-map):
12587 * startup.el (splash-screen-keymap):
12588 * simple.el (special-mode-map): Use scroll-up-command and
12589 scroll-down-command.
12590
12591 * progmodes/idlw-help.el (idlwave-help-mode-map):
12592 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
12593 * net/newst-plainview.el (newsticker-mode-map):
12594 * emulation/ws-mode.el (wordstar-mode-map):
12595 * emulation/vi.el (vi-com-map):
12596 * calc/calc-graph.el (calc-graph-show-dumb):
12597 * term/sun.el (terminal-init-sun):
12598 * term/ns-win.el (global-map):
12599 * progmodes/grep.el (grep-mode-map):
12600 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
12601 * mail/rmail.el (rmail-mode-map):
12602 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
12603
04c52e2f
CY
12604 * custom.el (custom-safe-themes, load-theme): Treat value of t for
12605 custom-safe-themes as special.
12606
79adf8c8
JD
126072011-10-01 Julien Danjou <julien@danjou.info>
12608
12609 * notifications.el (notifications-notify): Fix docstring.
12610
63bd50d3
PS
126112011-10-01 Per Starbäck <per@starback.se>
12612
12613 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
12614
199e4c7e
MR
126152011-09-30 Martin Rudalics <rudalics@gmx.at>
12616
12617 * startup.el (command-line-1): Fix last fix by inserting
12618 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 12619 (Bug#9605) and (Bug#9636)
199e4c7e 12620
fe5f08dd
EZ
126212011-09-29 Eli Zaretskii <eliz@gnu.org>
12622
12623 * simple.el (line-move): If auto-hscroll-mode is disabled and the
12624 window is hscrolled, move by logical lines. (Bug#9607)
12625 (line-move-visual): Update the doc string to the above effect.
12626
b5516bbd
MR
126272011-09-29 Martin Rudalics <rudalics@gmx.at>
12628
ccee00c0
MR
12629 * window.el (display-buffer-record-window): When WINDOW is the
12630 selected window use `point' instead of `window-point'. (Bug#9626)
12631
b5516bbd
MR
12632 * startup.el (command-line-1): Use insert-before-markers when
12633 inserting initial-scratch-message. (Bug#9605)
ccee00c0 12634
b5516bbd
MR
12635 * help.el (help-window): Remove variable.
12636
52aa0014
GM
126372011-09-29 Glenn Morris <rgm@gnu.org>
12638
12639 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
12640
df9a7357
JB
126412011-09-29 Juanma Barranquero <lekktu@gmail.com>
12642
12643 * descr-text.el (describe-char-categories): Accept category
12644 descriptions more than one line long.
12645
a8406c20
SM
126462011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
12647
88d9610c
SM
12648 * simple.el (delete-trailing-whitespace): Fix last change.
12649
a5daf810
SM
12650 * progmodes/perl-mode.el (perl-syntax-propertize-function):
12651 Don't confuse "y => 3" as the beginning of a `y' operation.
12652
a8406c20
SM
12653 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
12654 object has more than 4 slots (bug#9613).
12655
a239d4e9
JB
126562011-09-28 Juanma Barranquero <lekktu@gmail.com>
12657
12658 * subr.el (with-output-to-temp-buffer):
12659 * net/quickurl.el (quickurl, quickurl-browse-url):
12660 Fix typos in docstrings.
12661
693fbdb6
EZ
126622011-09-27 Eli Zaretskii <eliz@gnu.org>
12663
12664 * minibuffer.el (completion-styles)
12665 (completion-category-overrides): Cross reference each other in doc
12666 strings.
12667
8b457e28
GM
126682011-09-27 Glenn Morris <rgm@gnu.org>
12669
12670 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
12671 to split-string. (Bug#9606)
12672
85a16208
LMI
126732011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12674
12675 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
12676 (bug#9615).
12677
502f9ebd
CY
126782011-09-27 Chong Yidong <cyd@stupidchicken.com>
12679
12680 * emacs-lisp/package.el (list-packages): Fix echo area message.
12681
7690bdea
LL
126822011-09-27 Leo Liu <sdl.web@gmail.com>
12683
12684 * ido.el (ido-read-internal): Accept cons cell HIST arg.
12685
e2ee6f30
MA
126862011-09-25 Michael Albinus <michael.albinus@gmx.de>
12687
12688 * net/dbus.el (dbus-unregister-object): Don't release services for
12689 registered signals. (Bug#9581)
12690
f3f98342
TZ
126912011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
12692
12693 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
12694 function that picks between cfengine 2 and 3 support
12695 automatically. Update docs accordingly.
12696
dd7aa8dd
KH
126972011-09-22 Kenichi Handa <handa@m17n.org>
12698
12699 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
12700 ZERO.
12701 (indian-itrans-v5-table-for-tamil): New variable.
12702 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
12703
3f2b07f8
KM
127042011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
12705
12706 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
12707 that's true if the current command involved collapsing of text.
12708 It's reset to false at the beginning of the next command.
12709 (allout-post-command-business): Move the cursor to the beginning
12710 of entry if the cursor is hidden and collapsing activity just
12711 happened.
12712
371d6a61
CY
127132011-09-24 Chong Yidong <cyd@stupidchicken.com>
12714
12715 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
12716 tracking (Bug#9541).
12717
2ac2721a
UJ
127182011-09-24 Ulf Jasper <ulf.jasper@web.de>
12719
12720 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
12721 (newsticker-show-news): Automatically load html rendering package
12722 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
12723 because w3m-fill-column is let-bound" and the error "Symbol's value
12724 as variable is void: w3m-fill-column".
2ac2721a 12725
fac7ae53
MA
127262011-09-24 Michael Albinus <michael.albinus@gmx.de>
12727
12728 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
12729 Release services only if they are defined. (Bug#9581)
12730
e08b633b
RS
127312011-09-23 Richard Stallman <rms@gnu.org>
12732
e488d29c
RS
12733 * textmodes/paragraphs.el (forward-sentence): For backwards case,
12734 distinguish start of paragraph from start of its text.
12735
19c38752
RS
12736 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
12737
e08b633b
RS
12738 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
12739 (rmail-generate-viewer-buffer): Put that hook on view buffer.
12740 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
12741
0a39f27e
AS
127422011-09-23 Andreas Schwab <schwab@linux-m68k.org>
12743
12744 * international/mule-diag.el (mule-diag): Insert a newline after
12745 each fontset description.
12746
db4e950d
SM
127472011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12748
12749 * simple.el (delete-trailing-whitespace):
12750 Document last change; simplify.
12751
eca3f3ea
PW
127522011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
12753
d68e189a
PW
12754 * simple.el (delete-trailing-whitespace): Also delete
12755 extra newlines at the end of the buffer.
12756
eca3f3ea
PW
12757 * textmodes/picture.el: Make motion commands obey shift-select-mode.
12758 (picture-newline): Use forward-line so as to ignore fields.
12759
01c157cc
SM
127602011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12761
12762 * subr.el (with-wrapper-hook): Fix edebug spec.
12763
022de23e
LMI
127642011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12765
12766 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
12767 (bug#4538).
12768
91683089
MA
127692011-09-23 Michael Albinus <michael.albinus@gmx.de>
12770
eca3f3ea
PW
12771 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
12772 Fix nasty bug using wrong cached values.
91683089 12773
5bdd6fa4
AM
127742011-09-23 Alan Mackenzie <acm@muc.de>
12775
12776 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
12777
97adfb97
CY
127782011-09-23 Chong Yidong <cyd@stupidchicken.com>
12779
12780 * window.el (pop-to-buffer): Ensure right window is selected if we
12781 chose another frame.
12782
d4ef2b50
EZ
127832011-09-22 Eli Zaretskii <eliz@gnu.org>
12784
12785 * simple.el (what-cursor-position): Use get-char-property-change
12786 and next-single-char-property-change, to be able to show display
12787 properties that come from overlays as well as text properties.
12788
72258fe5
CY
127892011-09-22 Chong Yidong <cyd@stupidchicken.com>
12790
12791 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
12792
12793 * cmuscheme.el (run-scheme, switch-to-scheme):
12794 * cus-edit.el (customize-group, custom-buffer-create)
12795 (customize-browse):
12796 * info.el (info):
12797 * shell.el (shell):
12798 * mail/sendmail.el (mail):
12799 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
12800
8f098516
RS
128012011-09-22 Richard Stallman <rms@gnu.org>
12802
12803 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
12804 move back only to line beg, don't move back over blank lines.
12805
e74f1bb6
MA
128062011-09-22 Michael Albinus <michael.albinus@gmx.de>
12807
12808 * files.el (copy-directory): Set directory attributes only in case
12809 they could be retrieved from the source directory. (Bug#9565)
12810
bfeef8b6
DK
128112011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
12812
12813 * progmodes/hideshow.el (hs-looking-at-block-start-p)
12814 (hs-find-block-beginning, hs-hide-level-recursive):
12815 Ignore strings as well as comments. (Bug#9502)
12816
7e423bb8
AS
128172011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
12818
12819 * progmodes/sql.el (sql-comint-postgres):
12820 Convert port number to a string. (Bug#9566)
12821
b4d72fcf
MR
128222011-09-22 Martin Rudalics <rudalics@gmx.at>
12823
12824 * window.el (quit-window): Undedicate window when switching to
12825 previous buffer. Reported by Thierry Volpiatto
12826 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
12827 (special-display-popup-frame): When popping up a new frame reset
12828 its previous buffers to nil. Simplify code.
b4d72fcf 12829
a7b88dc6
MA
128302011-09-21 Michael Albinus <michael.albinus@gmx.de>
12831
12832 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
12833 and process filter, as done also in `shell-command'.
12834
cf4eacfd
MR
128352011-09-21 Martin Rudalics <rudalics@gmx.at>
12836
eca3f3ea 12837 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
12838 Call set-window-start with NOFORCE argument t.
12839 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
12840 (quit-window): Reword doc-string. Handle new format of
12841 quit-restore parameter. Don't delete window if it has a
12842 previous buffer we can show instead of the present one.
12843 (display-buffer-record-window): Rewrite using a new format for
12844 the quit-restore window parameter
12845 (special-display-popup-frame, display-buffer-same-window)
12846 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12847 (display-buffer-pop-up-window, display-buffer-use-some-window):
12848 Adapt symbol passed to display-buffer-record-window.
12849 * help.el (help-window-setup): Handle new format of quit-restore
12850 parameter.
12851
8d28cb95
SM
128522011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
12853
94ab793f
SM
12854 * faces.el (face-list): Fix docstring (bug#9564).
12855
8d28cb95
SM
12856 * window.el (display-buffer--action-function-custom-type):
12857 Don't include internal functions in the Custom interface.
12858
3820edeb
JL
128592011-09-20 Juri Linkov <juri@jurta.org>
12860
12861 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
12862 (Info-forward-node, Info-backward-node, Info-next-preorder)
12863 (Info-last-preorder): Use it. (Bug#9528)
12864
5147931d
JL
128652011-09-20 Juri Linkov <juri@jurta.org>
12866
12867 * info.el (Info-last-preorder): Visit last menu item only when
12868 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
12869
cf499a1a
JD
128702011-09-20 Julien Danjou <julien@danjou.info>
12871
12872 * password-cache.el (password-cache-remove): Remove entries even if the
12873 value is nil, so that password with a nil value (negative caching) is
12874 possible to invalidate.
12875
f84e2fe2
LM
128762011-09-20 Lawrence Mitchell <wence@gmx.li>
12877
12878 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
12879 all whitespace around breakpoint. (Bug#9553)
12880 (f90-find-breakpoint): Only break at whitespace inside a comment.
12881
78054a46
SM
128822011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
12883
12884 * minibuffer.el (completion-file-name-table): Keep track of errors.
12885 (completion-table-with-predicate): Handle the case where pred1 is nil.
12886 * pcomplete.el (pcomplete-completions-at-point): Simplify.
12887
345083b2
SM
128882011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12889
e24e27be
SM
12890 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
12891 (debugger-return-value): Signal an error if the debugging context does
12892 not await any return value.
12893
345083b2
SM
12894 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
12895 * image-mode.el (image-toggle-display-text)
12896 (image-toggle-display-image): Stay away from evil `intangible'.
12897
08d355e3
LL
128982011-09-19 Leo Liu <sdl.web@gmail.com>
12899
12900 * replace.el (occur-revert-arguments): Make it permanent-local.
12901 (occur-mode): Don't call font-lock-defontify.
12902
f01da43f
CY
129032011-09-19 Chong Yidong <cyd@stupidchicken.com>
12904
12905 * net/ldap.el (ldap-search-internal): Don't push empty search
12906 result (Bug#9508).
12907
b6072fa6
SM
129082011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12909
12910 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
12911
443d6696
MA
129122011-09-19 Michael Albinus <michael.albinus@gmx.de>
12913
12914 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
12915 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
12916
7cc6e154
JL
129172011-09-18 Juri Linkov <juri@jurta.org>
12918
12919 * buff-menu.el (Buffer-menu-mode-map):
12920 * dired.el (dired-mode-map):
12921 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
12922 (lisp-interaction-mode-map):
12923 * emacs-lisp/package.el (package-menu-mode-map):
12924 * epa.el (epa-key-list-mode-map):
12925 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
12926 (menu-bar-options-menu):
12927 * outline.el (outline-mode-menu-bar-map):
12928 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
12929 * vc/vc-dir.el (vc-dir-menu-map):
12930 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
12931 Capitalize non-function content words in menu item strings.
12932
12933 * dired.el (dired-mode-map): Add menu item for
12934 `image-dired-dired-toggle-marked-thumbs'.
12935
80302a81
JL
129362011-09-18 Juri Linkov <juri@jurta.org>
12937
12938 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
12939 to `isearch-case-fold-search' and restore its original value
12940 after the `isearch-mode' call.
12941
46c5cf66
JL
129422011-09-18 Juri Linkov <juri@jurta.org>
12943
12944 * progmodes/grep.el (grep-process-setup): Don't check code for 1
12945 because `zgrep' returns 1 for successful matches (bug#9226).
12946
d18b513b
JL
129472011-09-18 Juri Linkov <juri@jurta.org>
12948
12949 * info.el (Info-extract-menu-node-name): Check the second match
12950 for empty string (second test-case of bug#9528).
12951 (Info-last-preorder): Let-bind `Info-history' to nil to not add
12952 intermediate nodes to the history (first test-case of bug#9528).
12953
72753f87
JL
129542011-09-18 Juri Linkov <juri@jurta.org>
12955
12956 * info.el (Info-mode-syntax-table): New variable.
1154d12e 12957 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 12958
c9384295
JL
129592011-09-18 Juri Linkov <juri@jurta.org>
12960
1154d12e
JB
12961 * info.el (Info-file-supports-index-cookies):
12962 Increment line-beginning-position's arg from 3 to 4 because makeinfo
12963 outputs one more line for long file names (bug#4142).
c9384295 12964
d473dce8
CY
129652011-09-18 Chong Yidong <cyd@stupidchicken.com>
12966
12967 * newcomment.el (comment-normalize-vars): If prompting for
12968 comment-start, set comment-start-skip too (Bug#8424).
12969
2176854d
JB
129702011-09-18 Johan Bockgård <bojohan@gnu.org>
12971
12972 * icomplete.el: Fix previous fix of Bug#5849.
12973 (icomplete-mode): Don't set completion-show-inline-help.
12974 (icomplete-minibuffer-setup): Set completion-show-inline-help
12975 locally during icompletion.
12976
3aace4e4
CY
129772011-09-18 Chong Yidong <cyd@stupidchicken.com>
12978
c940224f
CY
12979 * woman.el (woman2-process-escapes): Don't delete unrecognized
12980 escapes (Bug#7843).
12981
3aace4e4
CY
12982 * files.el (inhibit-first-line-modes-regexps): Add image files.
12983 (hack-local-variables-prop-line): Return nil for malformed
12984 prop-lines (Bug#9044).
12985
710dec63
MA
129862011-09-18 Michael Albinus <michael.albinus@gmx.de>
12987
12988 * net/tramp.el (top): Don't require 'shell.
12989 (tramp-methods): Fix docstring.
12990 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
12991 Return complete remote file name. Handle "smb" case.
12992 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
12993 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
12994
12995 * net/tramp-compat.el (top): Require 'shell.
12996
12997 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12998 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
12999 `tramp-current-host'.
13000 (tramp-get-remote-tmpdir): Remove.
13001
13002 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13003 `tramp-tmpdir' entries.
13004 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13005 (tramp-smb-handle-file-attributes): Ignore errors.
13006 (tramp-smb-wait-for-output): Check also for process end.
13007
5d5ac8ec
LMI
130082011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13009
13010 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13011 when sending QUIT (bug#9312).
13012
8c0f49f0
CY
130132011-09-17 Chong Yidong <cyd@stupidchicken.com>
13014
13015 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13016 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13017 occur-mode-display-occurrence.
13018 (occur-edit-mode): Add usage message.
13019 (occur-cease-edit): New command.
13020 (occur-after-change-function): Use text properties to find the
13021 position of the prefix text.
13022 (occur-engine): Set stickiness of prefix text properties.
13023
8f1383f7
GM
130242011-09-17 Glenn Morris <rgm@gnu.org>
13025
13026 * progmodes/etags.el (complete-tag):
13027 Fix call to completion-in-region. (Bug#9526)
13028
744ba0e3
JL
130292011-09-17 Juri Linkov <juri@jurta.org>
13030
13031 * textmodes/ispell.el (ispell-word): Add to the error message
13032 the word, ispell program name and current dictionary (bug#9121).
13033 (ispell-tex-arg-end): Capitalize "error" in the error message.
13034
d9bbf400
AS
130352011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13036
13037 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13038 check. (Bug#4251)
13039
8da11505
JL
130402011-09-17 Juri Linkov <juri@jurta.org>
13041
13042 * window.el (window-safe-min-height, window-safe-min-width):
13043 Fix typos (followup to bug#9522).
13044
a91adc7e
SJ
130452011-09-17 Sven Joachim <svenjoac@gmx.de>
13046
13047 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13048
064f328a
EZ
130492011-09-16 Eli Zaretskii <eliz@gnu.org>
13050
13051 * simple.el (line-move): If goal-column is set, move by logical
13052 lines, not by display lines. (Bug#971)
13053 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13054 to reflect the above change.
13055
e69df516
SM
130562011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13057
13058 * image.el (imagemagick-register-types): Use regexp-opt.
13059
cbb0f9ab
CY
130602011-09-15 Chong Yidong <cyd@stupidchicken.com>
13061
13062 * window.el (display-buffer-base-action): Rename from
13063 display-buffer-default-action. Make default value empty.
13064 (display-buffer-overriding-action): Convert to defvar.
13065 (display-buffer-fallback-action): New var.
13066
25322144
CY
130672011-09-15 Chong Yidong <cyd@stupidchicken.com>
13068
13069 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13070 declaration.
13071 (package--add-to-archive-contents): If there is a duplicate entry
13072 with an older version, remove it.
13073 (package-menu-mark-delete, package-menu-mark-install)
13074 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
13075 (package-menu-mark-obsolete-for-deletion):
13076 Use package-menu-get-status instead of a regexp search.
25322144
CY
13077 (package-menu-get-status): Use tabulated-list-entry.
13078 (package-menu-mark-upgrades): New command.
d770725a 13079 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
13080 (package-menu-execute): Do installation before deletion.
13081 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13082 instead of checking major-mode.
13083 (package-menu--find-upgrades): New function.
13084
7520339c
LMI
130852011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13086
13087 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13088 passwords in the log buffer.
65a046c4
LMI
13089 (smtpmail-process-filter): Update the process marker so that the
13090 "broken by peer" status message is inserted in the right place.
7520339c 13091
d3c30954
SM
130922011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13093
3fe48822
SM
13094 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13095 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13096 bibtex-completion-at-point-function.
13097 (bibtex-completion-at-point-function): Use them.
13098
1b8b3954
SM
13099 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13100
d3c30954
SM
13101 * mpc.el (mpc-constraints-tag-lookup): New function.
13102 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13103 also to browser "album|playlist".
13104
72779976
JL
131052011-09-14 Juri Linkov <juri@jurta.org>
13106
13107 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13108 (isearch-edit-string): Use length of `isearch-string' when
13109 `isearch-fail-pos' returns nil.
13110 (isearch-message): Remove duplicate code and call
13111 `isearch-fail-pos' with arg `t'.
13112
a0bf2bcd
CY
131132011-09-14 Chong Yidong <cyd@stupidchicken.com>
13114
17bb0a2d
CY
13115 * replace.el (occur-mode-goto-occurrence): Don't force using other
13116 window (Bug#9499).
13117
a0bf2bcd
CY
13118 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13119
f678e0b6
MR
131202011-09-14 Martin Rudalics <rudalics@gmx.at>
13121
13122 * window.el (display-buffer-window): Remove.
13123 (display-buffer-record-window): Use help-setup window parameter
13124 instead of variable display-buffer-window.
13125 (display-buffer-function, special-display-buffer-names)
13126 (special-display-function): Mention help-setup parameter instead
13127 of display-buffer-window in doc-string.
d3c30954
SM
13128 * help.el (help-window-setup): New argument help-window.
13129 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
13130 Reword some messages.
13131 (with-help-window): Pass window used for displaying the buffer
13132 to help-window-setup. Don't set display-buffer-window.
13133
8e39b2e8
GM
131342011-09-13 Glenn Morris <rgm@gnu.org>
13135
13136 * emacs-lisp/debug.el (debugger-make-xrefs):
13137 Preserve point. (Bug#9462)
13138
85e9c04b
CY
131392011-09-13 Chong Yidong <cyd@stupidchicken.com>
13140
13141 * window.el (window-deletable-p): Use next-frame.
13142
1b36ed6a
MR
131432011-09-13 Martin Rudalics <rudalics@gmx.at>
13144
13145 * window.el (window-auto-delete): Remove.
13146 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 13147 dedication and previous buffers.
1b36ed6a
MR
13148 (switch-to-prev-buffer): Don't delete window.
13149 (delete-windows-on): Delete a window's frame if and only if the
13150 window is dedicated.
13151 (replace-buffer-in-windows): Delete buffer's window or frame if
13152 and only if window is dedicated.
13153 (quit-window): Handle quit-restore as before last change.
4d61f28d 13154 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 13155
ef8ef9fb
CY
131562011-09-13 Chong Yidong <cyd@stupidchicken.com>
13157
13158 * window.el (window-deletable-p): Never delete the last frame on a
13159 given terminal.
13160
b2cba41e
GM
131612011-09-13 Glenn Morris <rgm@gnu.org>
13162
13163 * help.el (describe-key-briefly): Copy previous standard-output change.
13164
51553db6 131652011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
13166
13167 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13168
b7556719
GM
131692011-09-13 Glenn Morris <rgm@gnu.org>
13170
13171 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13172 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13173
64b51947
CY
131742011-09-12 Chong Yidong <cyd@stupidchicken.com>
13175
13176 * dired-aux.el (dired-mark-read-string): Don't return default
13177 value on empty input (Bug#9361).
13178 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13179 Omit initial minibuffer contents.
13180 (dired-do-chmod): Signal an error on empty input.
13181 (dired-mark-read-string): Don't return default on empty input.
13182
13183 * files.el (file-modes-symbolic-to-number): Doc fix.
13184
393a301e
SM
131852011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13186
13187 * international/mule-cmds.el (ucs-completions): Remove.
13188 (read-char-by-name): Use complete-with-action instead; add metadata.
13189
fa5660f9
CY
131902011-09-11 Chong Yidong <cyd@stupidchicken.com>
13191
13192 * window.el (display-buffer--action-function-custom-type)
13193 (display-buffer--action-custom-type): New vars.
13194 (display-buffer-alist, display-buffer-default-action)
13195 (display-buffer-overriding-action): Add defcustom types.
13196
4a592f66
CY
13197 * frame.el (delete-other-frames): Doc fix (Bug#276).
13198
73d56dbd
LMI
131992011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13200
13201 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13202
37ac18a3
CY
132032011-09-11 Chong Yidong <cyd@stupidchicken.com>
13204
13205 Change modes that used same-window-* vars to use switch-to-buffer.
13206
13207 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13208 Use switch-to-buffer.
13209
13210 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
13211 (customize-browse, custom-buffer-create-other-window):
13212 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
13213
13214 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13215 (Info-prev, Info-up, Info-speedbar-goto-node)
13216 (info-display-manual): Use switch-to-buffer.
13217 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13218
13219 * mail/sendmail.el (mail): Use switch-to-buffer.
13220 (mail-recover): Use switch-to-buffer-other-window.
13221
13222 * cmuscheme.el (run-scheme, switch-to-scheme):
13223 * ielm.el (ielm):
13224 * shell.el (shell):
13225 * net/rlogin.el (rlogin):
13226 * net/telnet.el (telnet, rsh):
13227 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13228
10195bd6
AS
132292011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13230
13231 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13232
b322f63a
LMI
132332011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13234
39d7fed6
LMI
13235 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13236 so don't mention it (bug#9301).
ba5a81f1 13237 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 13238
ee0e9f11
LMI
13239 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13240 match `x', `w32' and `ns', like the manual says (bug#9029).
13241
0b1c89c1 13242 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
13243 (process-kill-buffer-query-function): Mention the buffer name in
13244 the query.
0b1c89c1 13245
77549ea8
LMI
13246 * image-mode.el (image-next-line): The line parameter is mandatory
13247 (bug#9258).
13248
803ef892
LMI
13249 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13250 which can be useful (bug#9301).
13251
12980837
LMI
13252 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13253
91054f8f
LMI
13254 * subr.el (match-string): Mention that the current buffer should
13255 be the same as the search was done in (bug#9282).
13256
b322f63a
LMI
13257 * facemenu.el: Disable the remove-* commands if the mark isn't
13258 active (bug#9162).
13259
3199b96f
CY
132602011-09-10 Chong Yidong <cyd@stupidchicken.com>
13261
13262 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13263 of display-buffer.
13264 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13265
13266 * replace.el (occur-mode-goto-occurrence)
13267 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13268 and display-buffer.
13269
13270 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13271 display-buffer.
13272
13273 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13274 special-display and same-window variables.
13275 (mail-other-window): Use switch-to-buffer-other-window.
13276 (mail-other-frame): USe switch-to-buffer-other-frame.
13277
393a301e
SM
13278 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13279 Use display-buffer-other-frame.
3199b96f
CY
13280 (gdb-display-gdb-buffer): Use pop-to-buffer.
13281
13282 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13283
13284 * progmodes/python.el: Don't set same-window-buffer-names.
13285
13286 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13287
13288 * window.el (display-buffer-alist): Add *Python*.
13289
8319e0bf
CY
132902011-09-10 Chong Yidong <cyd@stupidchicken.com>
13291
13292 * window.el (display-buffer-alist): Add entry for buffers
13293 previously handled same-window-*.
13294 (display-buffer-alist, display-buffer-default-action)
13295 (display-buffer-overriding-action): Mark as risky.
13296 (display-buffer-alist): Document action function changes.
13297 (display-buffer--same-window-action)
13298 (display-buffer--other-frame-action): New variables.
13299 (switch-to-buffer, display-buffer-other-frame): Use them.
13300 (display-buffer): Rename reuse-frame entry to reusable-frames.
13301 (display-buffer-reuse-selected-window): Function deleted.
13302 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13303 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13304 (display-buffer-special): New function.
13305 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13306 display-buffer-reuse-or-pop-window. Split off special-display
13307 part into display-buffer-special.
13308 (display-buffer-use-some-window): Don't perform any special
13309 pop-up-frames handling.
13310 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 13311 (display-buffer--maybe-same-window): Rename from
0d3ff375 13312 display-buffer-maybe-same-window.
8319e0bf 13313
919a69aa
CY
13314 * info.el: Don't set same-window-regexps.
13315 (info-setup): New function.
13316 (info-other-window, info): Call it.
13317
13318 * cus-edit.el: Don't set same-window-regexps.
13319 (customize-group): New argument.
13320 (customize-group-other-window): Use it.
13321 (customize-face, customize-face-other-window): Likewise.
13322 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13323
8319e0bf
CY
13324 * net/rlogin.el:
13325 * net/telnet.el:
13326 * progmodes/gud.el: Don't set same-window-regexps.
13327
13328 * cmuscheme.el:
13329 * ielm.el:
13330 * shell.el:
13331 * mail/sendmail.el:
13332 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13333
25173000
JL
133342011-09-10 Juri Linkov <juri@jurta.org>
13335
13336 * isearch.el (isearch-edit-string): Remove obsolete mention of
13337 `C-w' (`isearch-yank-word-or-char') from docstring.
13338 (isearch-query-replace): Fix typo in docstring (bug#9466).
13339
056e44ef
JL
133402011-09-10 Juri Linkov <juri@jurta.org>
13341
13342 * paren.el (show-paren-function): Don't show escaped parens.
13343 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13344
c3760c17
EZ
133452011-09-10 Eli Zaretskii <eliz@gnu.org>
13346
13347 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13348 (mm-default-file-encoding): Remove autoload forms, they are
13349 replaced with autoload cookies in mml.el and mm-encode.el.
13350 (mail-add-attachment): New command.
13351 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13352 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13353 the doc string.
13354 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13355
fece895e
RT
133562011-09-10 Reuben Thomas <rrt@sc3d.org>
13357
e69df516
SM
13358 * simple.el (count-words-region): Use buffer if there's no region
13359 (bug#9429).
fece895e 13360
5e68ce4a
JL
133612011-09-09 Juri Linkov <juri@jurta.org>
13362
13363 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13364 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13365 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13366
0a6b9622
AM
133672011-09-09 Alan Mackenzie <acm@muc.de>
13368
13369 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13370 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13371
14a29deb
EZ
133722011-09-09 Eli Zaretskii <eliz@gnu.org>
13373
13374 Fix for Savannah bug#9392.
13375 * simple.el (mail-encode-mml): New defvar.
13376
13377 * mail/rmail.el (mail-encode-mml): Add a defvar.
13378 (rmail-enable-mime-composing): Default to t.
13379 (rmail-forward): Use MIME method of forwarding only if both
13380 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13381 Set mail-encode-mml non-nil if the MIME method was used.
13382
13383 * mail/sendmail.el (mml-to-mime): Add autoload form.
13384 (mail-encode-mml): Add a defvar.
13385 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13386 to nil.
13387 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13388 message through mml-to-mime, and reset mail-encode-mml to nil.
13389
28c45130
GM
133902011-09-09 Glenn Morris <rgm@gnu.org>
13391
13392 * woman.el (woman-if-body): When processing an .el block,
13393 do not delete the next .el block as well. (Bug#9447)
69f4b618 13394 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 13395
9b1c252e
MR
133962011-09-08 Martin Rudalics <rudalics@gmx.at>
13397
13398 * window.el (window-deletable-p): Make sure window is live before
13399 invoking window-prev-buffers.
13400
567457e3
LL
134012011-09-08 Leo Liu <sdl.web@gmail.com>
13402
13403 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13404
97f05794
JL
134052011-09-08 Juri Linkov <juri@jurta.org>
13406
13407 * progmodes/compile.el (compilation-environment): Make it
13408 a defcustom (bug#8340).
13409
8b0874b5
MR
134102011-09-08 Martin Rudalics <rudalics@gmx.at>
13411
13412 * window.el (frame-auto-delete): Rename to window-auto-delete.
13413 Make it control auto-deletion of windows and/or frames.
13414 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 13415 for deleting window/frame. (Bug#9419)
8b0874b5
MR
13416 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13417 Rewrite handling of case when window/frame can be deleted.
13418 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 13419 argument t. (Bug#9456)
8b0874b5 13420
4feb6e73
CY
134212011-09-07 Chong Yidong <cyd@stupidchicken.com>
13422
13423 * help-mode.el (help-mode): Restore autoload.
13424
91ab9c13
JL
134252011-09-07 Juri Linkov <juri@jurta.org>
13426
13427 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13428 `compilation-environment'. Set buffer-local
13429 `compilation-environment' to `thisenv' later after (funcall mode).
13430 (Bug#8340)
13431
13432 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
13433 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13434 instead of replacing its value. (Bug#8340)
13435
0527e251
JL
134362011-09-07 Juri Linkov <juri@jurta.org>
13437
13438 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13439 based on text properties put by `grep-filter' instead of matching
13440 escape sequences.
13441 (grep-mode): Set buffer-local `compilation-error-screen-columns'
13442 to the value of `grep-error-screen-columns' (bug#9438).
13443
249f792c
JL
134442011-09-07 Juri Linkov <juri@jurta.org>
13445
13446 * simple.el (next-error-highlight, next-error-highlight-no-select):
13447 Doc fix (bug#9432).
13448
ff7271b9
OT
134492011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
13450
13451 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13452 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
13453
183fc730
LL
134542011-09-07 Leo Liu <sdl.web@gmail.com>
13455
13456 * net/rcirc.el (rcirc-mode): Conditionally initialize
13457 rcirc-input-ring.
13458
77694924
SM
134592011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
13460
13461 * emacs-lisp/find-func.el (find-function-C-source): Only set
13462 find-function-C-source-directory after checking that we found a source
13463 file there (bug#9440).
13464
d809b8eb
AM
134652011-09-06 Alan Mackenzie <acm@muc.de>
13466
13467 * isearch.el (isearch-other-meta-char): Wherever a key list is
13468 unread, "unread" the prefix arg, too. This fixes bug #8901.
13469
453de99f
OG
134702011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
13471
13472 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13473
90439906
JL
134742011-09-05 Juri Linkov <juri@jurta.org>
13475
13476 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13477
f62bd846
JL
134782011-09-05 Juri Linkov <juri@jurta.org>
13479
13480 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13481 keeping point where processing of grep matches begins, and
13482 continue to delete remaining escape sequences from the same point.
13483 (grep-filter): Make leading zero optional in "0?1;31m" because
13484 git-grep emits "\033[1;31m" escape sequences unlike expected
13485 "\033[01;31m" as GNU Grep does (bug#9408).
13486 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13487
045820ec
JL
134882011-09-05 Juri Linkov <juri@jurta.org>
13489
13490 * subr.el (y-or-n-p): Capitalize "yes".
13491
f5e29b9b
MA
134922011-09-04 Michael Albinus <michael.albinus@gmx.de>
13493
13494 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
13495 `tramp-cache-unload-hook' where appropriate.
13496 (tramp-methods): Rename `tramp-remote-sh' to
13497 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
13498 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13499
13500 * net/tramp-sh.el (top): Don't require 'shell.
13501 (tramp-methods): Add `tramp-remote-shell' and
13502 `tramp-remote-shell-args' entries.
13503 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
13504 (tramp-sh-handle-shell-command): Remove.
13505 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13506 Use `tramp-remote-shell'.
13507
2784c434
CY
135082011-09-03 Chong Yidong <cyd@stupidchicken.com>
13509
393a301e 13510 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
13511 (sendmail-query-once): Save directly to send-mail-function.
13512 Update message-send-mail-function too.
13513
13514 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
13515
464cdf56
CS
135162011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13517
13518 * progmodes/python.el (python-mode-map): Use correct function to
13519 start python interpreter from menu-bar (as reported by Geert
13520 Kloosterman).
13521 (inferior-python-mode-map): Fix typo.
393a301e 13522 (python-shell-map): Remove.
464cdf56 13523
d37e5c87
DD
135242011-09-03 Deniz Dogan <deniz@dogan.se>
13525
13526 * net/rcirc.el (rcirc-print): Simplify code for
13527 rcirc-scroll-show-maximum-output. There is no need to walk
13528 through all windows to find the right one.
13529
f3ada0ee
CS
135302011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13531
13532 * help.el (help-return-method): Doc fix.
13533
1f3c99ca
MR
135342011-09-03 Martin Rudalics <rudalics@gmx.at>
13535
13536 * window.el (window-deletable-p): Don't return a non-nil value
13537 when there's a buffer that was shown in the window before.
13538 (Bug#9419)
393a301e
SM
13539 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13540 Set window's previous buffers to nil.
1f3c99ca 13541
a3cf097f
EZ
135422011-09-03 Eli Zaretskii <eliz@gnu.org>
13543
13544 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
13545 newline before and after the tag line, so it doesn't interfere
13546 with determining the paragraph direction of bidirectional text.
13547
3d03de90
LL
135482011-09-03 Leo Liu <sdl.web@gmail.com>
13549
13550 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
13551
c3313451
CY
135522011-09-02 Chong Yidong <cyd@stupidchicken.com>
13553
393a301e 13554 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
13555 (pop-to-buffer): Change interactive spec. Pass second argument
13556 directly to display-buffer.
13557 (display-buffer): Fix interactive spec. Use functionp to
13558 distinguish between a function and a list of functions.
13559
13560 * abbrev.el (edit-abbrevs):
13561 * arc-mode.el (archive-extract):
13562 * autoinsert.el (auto-insert):
13563 * bookmark.el (bookmark-bmenu-list):
13564 * files.el (find-file):
13565 * view.el (view-buffer):
13566 * progmodes/compile.el (compilation-goto-locus):
13567 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
13568
89894cd8
CY
135692011-09-02 Chong Yidong <cyd@stupidchicken.com>
13570
13571 * window.el (display-buffer-alist): Doc fix.
13572 (display-buffer): Add docstring. Don't treat
13573 display-buffer-default specially.
13574 (display-buffer-reuse-selected-window)
13575 (display-buffer-same-window, display-buffer-maybe-same-window)
13576 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13577 (display-buffer-pop-up-window)
13578 (display-buffer-reuse-or-pop-window)
13579 (display-buffer-use-some-window): New functions.
13580 (display-buffer-default-action): Use them.
393a301e 13581 (display-buffer-default): Delete.
89894cd8
CY
13582 (pop-to-buffer-1): Fix choice of actions.
13583
ae0bc9fb
SM
135842011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
13585
13586 * minibuffer.el (completion--insert-strings): Don't get confused by
13587 completion entries that end with an LF char.
13588
e9d90883
EZ
135892011-09-01 Eli Zaretskii <eliz@gnu.org>
13590
13591 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
13592
437014c8
CY
135932011-09-01 Chong Yidong <cyd@stupidchicken.com>
13594
13595 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
13596 (display-buffer-same-window, display-buffer-other-window):
13597 New functions.
437014c8
CY
13598 (pop-to-buffer-1): New function. Use the above.
13599 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 13600 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
13601
13602 * view.el (view-buffer-other-window, view-buffer-other-frame):
13603 Just use pop-to-buffer.
13604
a5e063d5
TV
136052011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13606
13607 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
13608
793d32bb
WH
136092011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
13610
13611 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
13612
d65e4c15
RS
136132011-08-31 Richard Stallman <rms@gnu.org>
13614
13615 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
13616 of the separation of rmail-view-buffer from rmail-buffer.
13617 If you say no to "replace original", the decrypt is in the
13618 view buffer. If you say yes, the decrypt goes into the
13619 rmail buffer also.
13620
f818cd2a
MR
136212011-08-31 Martin Rudalics <rudalics@gmx.at>
13622
13623 * window.el (display-buffer-window): Rewrite doc-string.
13624 (display-buffer-record-window): New function.
13625 (display-buffer-macro-specifiers)
13626 (display-buffer-even-window-sizes, display-buffer-set-height)
13627 (display-buffer-set-width, display-buffer-in-window)
13628 (display-buffer-reuse-window, display-buffer-split-specifiers)
13629 (display-buffer-side-specifiers, display-buffer-split-window-1)
13630 (display-buffer-split-window, display-buffer-split-atom-window)
13631 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13632 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
13633 (display-buffer-other-window-means-other-frame)
13634 (display-buffer-normalize-special)
13635 (display-buffer-normalize-default)
13636 (display-buffer-normalize-argument)
13637 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
13638 (display-buffer-normalize-specifiers, display-buffer-frame)
13639 (display-buffer-same-window, display-buffer-same-frame)
13640 (display-buffer-other-window)
13641 (display-buffer-same-frame-other-window)
13642 (display-buffer-other-frame, pop-to-buffer-same-window)
13643 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
13644 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
13645 (switch-to-buffer-same-frame)
13646 (switch-to-buffer-other-window-same-frame)
13647 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
13648 (display-buffer-alist-set-1, display-buffer-alist-set-2)
13649 (display-buffer-alist-set): Remove.
13650 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
13651 (special-display-regexps, special-display-function):
13652 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
13653 parameter.
13654 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
13655 (special-display-frame-alist, special-display-popup-frame)
13656 (same-window-buffer-names, same-window-regexps, same-window-p)
13657 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13658 (split-window-preferred-function, split-height-threshold)
13659 (split-width-threshold, window-splittable-p)
13660 (split-window-sensibly, window--try-to-split-window)
13661 (window--frame-usable-p, even-window-heights)
13662 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
13663 (window--display-buffer-2, display-buffer-other-frame):
13664 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
13665 (display-buffer-default, display-buffer-assq-regexp): New functions.
13666 (display-buffer-alist): Rewrite doc-string.
13667 (display-buffer-default-action)
13668 (display-buffer-overriding-action): New variables.
13669 (display-buffer, switch-to-buffer): Rewrite.
13670 (pop-to-buffer): Restore Emacs 23 behavior but use
13671 window-normalize-buffer-to-display.
13672 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
13673 Restore Emacs 23 behavior but use
13674 window-normalize-buffer-to-switch-to.
13675 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
13676 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
13677 Rewrite using Emacs 23 options.
f818cd2a 13678
5bc3b51d
MA
136792011-08-31 Michael Albinus <michael.albinus@gmx.de>
13680
13681 * net/tramp.el (tramp-root-regexp): Remove.
13682 (tramp-completion-file-name-regexp-unified)
13683 (tramp-completion-file-name-regexp-separate)
13684 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 13685 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
13686 (tramp-drop-volume-letter): Simplify definition.
13687 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 13688
b1a4f8e1
SM
136892011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
13690
13691 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
13692 (bug#9356).
13693
5664fa7b
RT
136942011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
13695
b1a4f8e1 13696 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 13697
9a45d6c3
JL
136982011-08-29 Juri Linkov <juri@jurta.org>
13699
13700 * isearch.el (isearch-done): Don't display message "Mark saved"
13701 when arg `edit' is non-nil to prevent its flicker in the echo area.
13702
fb87e0fb
CY
137032011-08-28 Chong Yidong <cyd@stupidchicken.com>
13704
13705 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
13706 obsolete packages for deletion.
13707
09ac1c2a
CS
137082011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
13709
13710 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 13711 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
13712 view-mode from help-mode.
13713 (help-xref-override-view-map): Remove.
13714 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
13715 view-mode is not used anymore.
13716
7a1ff57f
CY
137172011-08-28 Chong Yidong <cyd@stupidchicken.com>
13718
13719 * server.el (server-port): Doc fix.
13720
b9696605
CY
13721 * cus-theme.el (custom-theme-choose-mode): Inherit from
13722 special-mode (Bug#9124).
13723 (custom-theme-choose-mode-map): Add special-mode to parent.
13724
ef8cdf8c
AM
137252011-08-28 Alan Mackenzie <acm@muc.de>
13726
13727 * progmodes/cc-fonts.el
13728 (c-make-font-lock-BO-decl-search-function): New function.
13729 (c-basic-matchers-after - "Fontify the clauses after various
13730 keywords"): Extract the three keyword lists for the 3 erroneous
13731 constructs from the list of four, and use the new function above
13732 in place of an old one.
13733
27de4e20
DD
137342011-08-28 Deniz Dogan <deniz@dogan.se>
13735
13736 * net/rcirc.el (rcirc-insert-prev-input)
13737 (rcirc-insert-next-input): Remove unused argument.
13738
356a3681
SM
137392011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
13740
13741 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
13742
3fc9b218
AM
137432011-08-27 Alan Mackenzie <acm@muc.de>
13744
13745 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
13746 handle function pointer parameters properly.
13747
538a061c
MR
137482011-08-27 Martin Rudalics <rudalics@gmx.at>
13749
13750 * window.el (display-buffer-reuse-window): Fix case where
13751 selected window was reused with non-nil OTHER-WINDOW argument.
13752 (Bug#9381)
13753
35b1c40c
DD
137542011-08-27 Deniz Dogan <deniz@dogan.se>
13755
13756 * net/rcirc.el (rcirc-check-auth-status): Adding support for
13757 oftc's NickServ messages.
13758
2f6a3e79
GM
137592011-08-27 Glenn Morris <rgm@gnu.org>
13760
13761 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
13762
7254299e
CY
137632011-08-26 Chong Yidong <cyd@stupidchicken.com>
13764
13765 * emacs-lisp/package.el (package-install): Call package-initialize
13766 if called interactively.
13767
f8ccf167
LL
137682011-08-26 Leo Liu <sdl.web@gmail.com>
13769
13770 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
13771
3e8cd5ce
JL
137722011-08-25 Juri Linkov <juri@jurta.org>
13773
13774 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13775 `search-whitespace-regexp' (bug#9364).
13776
93eb7113
JL
137772011-08-25 Juri Linkov <juri@jurta.org>
13778
13779 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
13780 `regexp-search-ring' to their global values to protect from
13781 updating by `read-from-minibuffer' (bug#9185).
13782
f65d1611
JL
137832011-08-25 Juri Linkov <juri@jurta.org>
13784
13785 * textmodes/ispell.el (ispell-command-loop): Add newline
13786 at the end of the "Use option `i'..." line.
13787
f1cf7a31
JL
137882011-08-25 Juri Linkov <juri@jurta.org>
13789
13790 * battery.el (display-battery-mode): If `battery-status-function'
13791 or `battery-mode-line-format' is nil, display the message and set
13792 `display-battery-mode' to nil (bug#9363).
13793
0c95fcf7
EZ
137942011-08-25 Eli Zaretskii <eliz@gnu.org>
13795
13796 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
13797 bidi-string-mark-left-to-right; they are unnecessary now.
13798
a2ebe600
DD
137992011-08-25 Deniz Dogan <deniz@dogan.se>
13800
13801 * net/quickurl.el: Documentation typo fixes.
13802
e4ed06f1
CY
138032011-08-25 Chong Yidong <cyd@stupidchicken.com>
13804
13805 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
13806
e5f1c99e
GM
138072011-08-25 Glenn Morris <rgm@gnu.org>
13808
b2948976
GM
13809 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
13810
e5f1c99e
GM
13811 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
13812 (smtpmail-via-smtp): Handle nil response from smtp.
13813
f22f4808
JL
138142011-08-24 Juri Linkov <juri@jurta.org>
13815
13816 * proced.el (proced-marked): Inherit from `error' instead of
13817 `font-lock-warning-face'.
13818
13819 * ibuffer.el (ibuffer-marked-face): Change default face from
13820 `font-lock-warning-face' to `warning'.
13821 (ibuffer-deletion-face): Change default face from
13822 `font-lock-type-face' to `error'.
13823
13824 * battery.el (battery-update): Use the face `error' instead of
13825 `font-lock-warning-face' (bug#6117).
13826
6a93965e
JL
138272011-08-24 Juri Linkov <juri@jurta.org>
13828
13829 * faces.el (success): Change face color from "Green3" to
13830 "ForestGreen" on light background (bug#9353).
13831
1ed43b09
CY
138322011-08-24 Chong Yidong <cyd@stupidchicken.com>
13833
5664fa7b
RT
13834 * window.el (quit-window): Rename from quit-restore-window.
13835 Use same arglist as old quit-window.
1ed43b09
CY
13836 (frame-auto-delete): Doc fix.
13837
13838 * view.el (view-mode-exit): Use quit-window.
13839
11dcdbb2
JL
138402011-08-24 Juri Linkov <juri@jurta.org>
13841
13842 * isearch.el (isearch-ring-adjust1): Start visiting previous
13843 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
13844 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
13845 for empty search string (when the last search string is reused
13846 automatically) to adjust the isearch ring to the last element and
13847 prepare the correct index for further M-p commands (bug#9185).
13848
de62b4df
KH
138492011-08-24 Kenichi Handa <handa@m17n.org>
13850
13851 * international/ucs-normalize.el: If decomposition property of
13852 CHAR is the default one (i.e. a list of CHAR itself), treat it as
13853 nil.
13854 (nfd, nfkd): Likewise.
13855
963b492b
SM
138562011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
13857
13858 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
13859 from process filters aren't reliably transmitted to the surrounding
13860 accept-process-output.
13861 (mpc-proc-check): New function.
13862 (mpc-proc-sync): Use it (bug#8293)
13863
93b6b5e1
SM
138642011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13865
13866 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
13867 Add compatibility functions (bug#9313).
13868
bca633fb
EZ
138692011-08-23 Eli Zaretskii <eliz@gnu.org>
13870
b177498a
EZ
13871 * cus-start.el (all): Add entry for bidi-paragraph-direction.
13872
6df6ae42 13873 * international/uni-bidi.el: Regenerate.
bca633fb 13874
0902a04e
KH
138752011-08-23 Kenichi Handa <handa@m17n.org>
13876
13877 * international/charprop.el:
13878 * international/uni-bidi.el:
13879 * international/uni-category.el:
13880 * international/uni-combining.el:
13881 * international/uni-comment.el:
13882 * international/uni-decimal.el:
13883 * international/uni-decomposition.el:
13884 * international/uni-digit.el:
13885 * international/uni-lowercase.el:
13886 * international/uni-mirrored.el:
13887 * international/uni-name.el:
13888 * international/uni-numeric.el:
13889 * international/uni-old-name.el:
13890 * international/uni-titlecase.el:
13891 * international/uni-uppercase.el: Regenerate.
13892
3bbf23bc
MR
138932011-08-23 Martin Rudalics <rudalics@gmx.at>
13894
13895 * help.el (help-window-setup): Fix message displayed when other
13896 window is reused. (Bug#9341)
13897
b3fd59bd
SM
138982011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13899
1802e444
SM
13900 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
13901 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
13902
b3fd59bd
SM
13903 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
13904 Mark obsolete.
13905 * shell.el (shell-parse-pcomplete-arguments): New function.
13906 (shell-completion-vars): Use it instead (bug#9160).
13907
4eb61348
SM
139082011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
13909
867cab74
SM
13910 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
13911 strings and comments (bug#9333).
13912
4eb61348
SM
13913 * emacs-lisp/debug.el (debug-arglist): New function.
13914 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
13915 (debug-on-entry-1): Handle interpreted closures (bug#9120).
13916
262a1439
JL
139172011-08-22 Juri Linkov <juri@jurta.org>
13918
56ee679c
JL
13919 * progmodes/compile.el (compilation-mode-font-lock-keywords):
13920 Revert regexp that highlights output switches to its old
13921 pre-2010-10-28 value and remove one `?' from it (bug#9319).
13922
262a1439
JL
13923 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
13924 to check for empty output (bug#9226).
13925
f13f86fb
CY
139262011-08-22 Chong Yidong <cyd@stupidchicken.com>
13927
13928 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
13929 symbol-constituent as the default, as that stops font-lock from
13930 working properly (Bug#8843).
13931
c65c9622
LMI
139322011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13933
13934 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
13935 `coding-system-for-*' around the process open call to avoid
13936 auth-source side effects.
e7f2c178 13937 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
13938 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
13939 probe hangs.
c65c9622 13940
23a8a5ab
CY
139412011-08-21 Chong Yidong <cyd@stupidchicken.com>
13942
ff98b2dd
CY
13943 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
13944
23a8a5ab
CY
13945 * emacs-lisp/find-func.el (find-function-noselect): New arg
13946 lisp-only.
13947
13948 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
13949 signal an error for built-in functions (Bug#6664).
13950
f5e3c598
LMI
139512011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13952
13953 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
13954 (smtpmail-try-auth-methods): Use it.
13955
a3f2468a
CY
139562011-08-21 Chong Yidong <cyd@stupidchicken.com>
13957
2c34e8da
CY
13958 * font-lock.el (font-lock-fontify-region)
13959 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
13960 (font-lock-default-unfontify-buffer)
13961 (font-lock-default-fontify-region)
13962 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
13963
b3fd59bd
SM
13964 * progmodes/compile.el (compilation-error-properties):
13965 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
13966 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
13967 `ant' regexp.
ee31aabc 13968
a3f2468a
CY
13969 * net/browse-url.el (browse-url-firefox): Don't call
13970 browse-url-firefox-sentinel unless using -remote (Bug#9328).
13971
8e999f70
GM
139722011-08-20 Glenn Morris <rgm@gnu.org>
13973
c21a496a
GM
13974 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
13975
59ee0542
GM
13976 * tutorial.el (tutorial--default-keys): Update some default bindings.
13977
8e999f70
GM
13978 * files.el (hack-local-variables): Fully ignore case for "mode:".
13979
e3715033
AM
139802011-08-20 Alan Mackenzie <acm@muc.de>
13981
13982 Resolve invalid use of a regexp in regexp-opt.
13983
4d61f28d
JB
13984 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
13985 detection for a java annotation.
e3715033 13986
4d61f28d 13987 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
13988 detection for a java annotation.
13989
4d61f28d
JB
13990 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
13991 handling for java.
e3715033
AM
13992 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
13993
04ed2e9c
CY
139942011-08-20 Chong Yidong <cyd@stupidchicken.com>
13995
13996 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
13997 (Bug#9274).
13998
826cee64
AM
139992011-08-20 Alan Mackenzie <acm@muc.de>
14000
58179cce 14001 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
14002 such a construct. Mainly for when jit-lock etc. starts a chunk
14003 here.
14004
58179cce 14005 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 14006 variable.
58179cce 14007 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
14008 c-make-font-lock-search-function.
14009 (c-make-font-lock-search-function): Use the above function.
14010 (c-make-font-lock-context-search-function): New function.
14011 (c-cpp-matchers): Enhance the preprocessor expression case with
14012 the above function
14013 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14014 which takes an expression.
14015
14016 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14017
13009bd8
MR
140182011-08-20 Martin Rudalics <rudalics@gmx.at>
14019
14020 * window.el (display-buffer-reuse-window)
14021 (display-buffer-pop-up-window): Don't reuse or split a side
14022 window.
14023
9234ff7f
GM
140242011-08-19 Glenn Morris <rgm@gnu.org>
14025
14026 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 14027 Downcase "Mode:". (Bug#9331)
9234ff7f 14028
f635daa1
CY
140292011-08-18 Chong Yidong <cyd@stupidchicken.com>
14030
14031 * international/characters.el: Add L and R categories.
14032
14033 * subr.el (bidi-string-mark-left-to-right): Rename from
14034 string-mark-left-to-right. Use category search.
14035
14036 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14037
bc987f8b
JL
140382011-08-18 Juri Linkov <juri@jurta.org>
14039
14040 * faces.el (error, warning, success): New faces with definitions
14041 copied from old default values of `font-lock-warning-face',
14042 `compilation-warning', `compilation-info' (bug#6117).
14043
14044 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14045
14046 * progmodes/compile.el (compilation-error): Inherit from `error'.
14047 (compilation-warning): Inherit from `warning'.
14048 (compilation-info): Inherit from `success'.
14049
14050 * dired.el (dired-marked): Inherit from `warning'.
14051 (dired-flagged): Inherit from `error'.
14052
57173b96
LMI
140532011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14054
3e79eb87
LMI
14055 * mail/smtpmail.el (auth-source): Require to avoid problems with
14056 binding variables (bug#9298). Also clean up some unused
14057 autoloads.
14058
b3fd59bd
SM
14059 * net/network-stream.el (network-stream-open-starttls):
14060 Support using starttls.el without using gnutls-cli.
57173b96 14061
02b404de
JL
140622011-08-17 Juri Linkov <juri@jurta.org>
14063
14064 * progmodes/grep.el (rgrep): Handle the case when
14065 `grep-find-command' is a cons cell (bug#9278).
14066
8c9177f2
MR
140672011-08-17 Martin Rudalics <rudalics@gmx.at>
14068
14069 * window.el (display-buffer-pop-up-frame): Run frame creation
14070 function with BUFFER current (as special-display-popup-frame
14071 does). Reported by Drew Adams.
14072
3644a0ab
DU
140732011-08-17 Daiki Ueno <ueno@unixuser.org>
14074
14075 * epa-mail.el: Simplify GnuPG group expansion using
14076 epg-expand-group.
14077 (epa-mail-group-alist, epa-mail-group-modtime)
14078 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14079 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14080 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14081 Remove.
14082
5e617bc2 140832011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
14084
14085 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14086
9c4aeabf
AM
140872011-08-16 Alan Mackenzie <acm@muc.de>
14088
14089 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14090 Correct, to avoid the inside of macros.
14091
3a99bf64
RS
140922011-08-16 Richard Stallman <rms@gnu.org>
14093
04963aa8
RS
14094 * epa-mail.el: Handle GnuPG group definitions.
14095 (epa-mail-group-alist, epa-mail-group-modtime)
14096 (epa-mail-gnupg-conf-file): New variables.
14097 (epa-mail-parse-groups, epa-mail-sync-groups)
14098 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14099 (epa-mail-expand-recipients): New functions.
14100 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14101
177549d0
RS
14102 * mail/rmail.el (rmail-epa-decrypt): New command.
14103
fe38beef
RS
14104 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14105 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
14106 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14107 (epa-decrypt-armor-in-region): Make error message clearer.
14108
934eacb9
SM
141092011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14110
14111 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14112 and "a2b" to "ab" for `prefix'.
14113
d024fb4e
CY
141142011-08-14 Chong Yidong <cyd@stupidchicken.com>
14115
14116 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14117 filter groups.
de148fee
CY
14118 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14119 Fourquet (Bug#8804).
d024fb4e 14120
62f1ca49
JB
141212011-08-12 Juanma Barranquero <lekktu@gmail.com>
14122
14123 * startup.el (argi): Declare as global variable (bug#9275).
14124
9ccaaa4b
CY
141252011-08-12 Chong Yidong <cyd@stupidchicken.com>
14126
14127 * subr.el (string-mark-left-to-right): Search the entire string
14128 for RTL script, not just the terminating character. Doc fix.
14129
a3dae87a
SM
141302011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14131
6cd18349
SM
14132 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14133 New function.
14134 (js--regexp-literal, js-syntax-propertize-function): Remove.
14135 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14136 (js-mode-map): Don't rebind electric keys.
14137 (js-insert-and-indent): Remove.
14138 (js-mode): Setup electric-layout and electric-indent instead.
14139
a3dae87a
SM
14140 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14141
9d5cb631
DU
141422011-08-12 Daiki Ueno <ueno@unixuser.org>
14143
14144 * epa.el (epa-progress-callback-function): Fix the logic of
14145 displaying progress.
14146 * epa-file.el (epa-file-insert-file-contents): Make progress
14147 display more user-friendly.
14148 (epa-file-write-region): Ditto.
14149
3e26a4a2
CY
141502011-08-10 Chong Yidong <cyd@stupidchicken.com>
14151
14152 * subr.el (string-mark-left-to-right): New function.
14153
14154 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14155 Use string-mark-left-to-right.
14156 (list-buffers-noselect): Caller changed.
14157
a3dae87a
SM
14158 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14159 Use string-mark-left-to-right.
3e26a4a2
CY
14160 (tabulated-list-print): Recenter after moving point.
14161
ac8cf6e6
JL
141622011-08-10 Juri Linkov <juri@jurta.org>
14163
14164 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14165 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14166 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14167
8d96c9a4
CY
141682011-08-09 Chong Yidong <cyd@stupidchicken.com>
14169
14170 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14171 (Bug#7554).
14172
7be1c708 141732011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
14174
14175 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14176 character. (Bug#6594)
14177
37e11a63
CY
141782011-08-08 Chong Yidong <cyd@stupidchicken.com>
14179
839dde57
CY
14180 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14181 (image-dired--with-db-file): New macro.
14182 (image-dired-write-tags, image-dired-remove-tag)
14183 (image-dired-create-gallery-lists, image-dired-write-comments)
14184 (image-dired-get-comment, image-dired-mark-tagged-files)
14185 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14186 (image-dired-gallery-generate): Use insert-file-contents.
14187
37e11a63
CY
14188 * time.el (display-time-world-list, display-time-world-display):
14189 * time-stamp.el (time-stamp-string):
14190 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14191 set-time-zone-rule (Bug#7337).
14192
0b4946c4
DU
141932011-08-08 Daiki Ueno <ueno@unixuser.org>
14194
14195 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14196 (epg-error-to-string, epg-errors-to-string): New function.
14197 (epg-wait-for-completion): Reverse errors list.
14198 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14199 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14200 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14201 (epg-sign-keys, epg-generate-key-from-file)
14202 (epg-generate-key-from-string): Format errors by using
14203 epg-errors-to-string (bug#9255).
14204 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14205
75bfc667
JL
142062011-08-07 Juri Linkov <juri@jurta.org>
14207
14208 * faces.el (list-faces-display): Remove extra angle bracket
14209 from `help-mode-map'.
14210
14211 * info.el (Info-history-toc-nodes): Doc fix.
14212
14213 * longlines.el (longlines-mode): Doc fix.
14214
673e08bb
SM
142152011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14216
4640dd88
SM
14217 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14218 of statements and in a few more cases (bug#9183).
14219
673e08bb
SM
14220 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14221 New functions.
14222 (cl-transform-lambda): Use them (bug#9239).
14223
89b3f019
MR
142242011-08-05 Martin Rudalics <rudalics@gmx.at>
14225
14226 * window.el (display-buffer-same-window)
14227 (display-buffer-same-frame, display-buffer-other-window)
14228 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14229 (pop-to-buffer-other-window)
14230 (pop-to-buffer-same-frame-other-window)
14231 (pop-to-buffer-other-frame): Make them defuns.
14232 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14233
640c8776
SM
142342011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14235
14236 * subr.el (make-composed-keymap): Move from C. Change calling
14237 convention, and improve docstring to bring attention to a subtle point.
14238 * minibuffer.el (completing-read-default): Adjust accordingly.
14239
63648a95
MA
142402011-08-03 Michael Albinus <michael.albinus@gmx.de>
14241
14242 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14243 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14244
14245 * net/trampver.el: Update release number.
14246
b796c9b7
SM
142472011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14248
14249 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14250 "in" (bug#9190).
14251
2239d7d5
LMI
142522011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14253
e07dd7c3
LMI
14254 * mail/sendmail.el (sendmail-query-once): Restore the current
14255 buffer after querying (bug#9074).
14256
0e6a2bd7
LMI
14257 * dired.el (dired-flagged): Use different faces for marked and
14258 flagged files (bug#6117).
14259
ce887515
LMI
14260 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14261 (bug#4433).
14262
92f2affc
LMI
14263 * ido.el (ido-mode): Switch off the message if called
14264 non-interactively.
14265
57d5aff0
LMI
14266 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14267 before 587, since it appears that that's more likely to work for
14268 more people.
14269
98cd6c18 14270 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 14271 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
14272 exist.
14273
b96dec83
LMI
14274 * info.el: Remove the `Info-beginning-of-buffer' function
14275 (bug#8325).
14276
b796c9b7
SM
14277 * net/network-stream.el (network-stream-open-starttls):
14278 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 14279
d90e2ea0
MR
142802011-08-01 Martin Rudalics <rudalics@gmx.at>
14281
14282 * window.el (display-buffer-in-window): Don't set dedicated status
14283 of window here (Bug#9215).
14284 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14285 (display-buffer-pop-up-side-window)
b796c9b7 14286 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 14287
cca09170
SM
142882011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14289
14290 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14291 before binding generated-autoload-file.
14292
027b979c
DD
142932011-08-01 Deniz Dogan <deniz@dogan.se>
14294
14295 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14296
3c7ee4f3
MA
142972011-07-30 Michael Albinus <michael.albinus@gmx.de>
14298
14299 Sync with Tramp 2.2.2.
14300
14301 * net/trampver.el: Update release number.
14302
2cc8e51a
JL
143032011-07-30 Juri Linkov <juri@jurta.org>
14304
14305 * dired-aux.el (dired-touch-initial): Remove function.
14306 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14307 current time, and `default' to the last modification time of the
14308 current marked file (bug#6887).
14309
a514d856
JM
143102011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14311
14312 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 14313 numeric argument to read-number (bug#9163).
a514d856 14314
8a7eddd7
MA
143152011-07-27 Michael Albinus <michael.albinus@gmx.de>
14316
14317 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14318 connection process, it could be nil.
14319
1ddd96f5
LL
143202011-07-27 Leo Liu <sdl.web@gmail.com>
14321
14322 Simplify url handling in rcirc-mode.
14323
14324 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14325 (rcirc-browse-url-at-mouse): Remove.
14326 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14327
b248a85d
AM
143282011-07-26 Alan Mackenzie <acm@muc.de>
14329
14330 Fontify bitfield declarations properly.
14331
14332 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14333 (c-symbol-chars): Now exported as a lang variable.
14334 (c-not-primitive-type-keywords): New lang variable.
14335
14336 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14337 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 14338 parsed as a bitfield declaration.
b248a85d 14339
b796c9b7
SM
14340 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14341 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
14342 (c-punctuation-in): New function.
14343 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14344 declarations properly.
14345
68575ab0
UJ
143462011-07-26 Ulf Jasper <ulf.jasper@web.de>
14347
14348 * calendar/icalendar.el (icalendar--all-events): Take care of
14349 multiple vcalendars in a single file.
b796c9b7 14350 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 14351
0f0a88b9
DD
143522011-07-25 Deniz Dogan <deniz@dogan.se>
14353
14354 * image.el (insert-image): Clarifying docstring.
14355
0b3f36df
MA
143562011-07-24 Michael Albinus <michael.albinus@gmx.de>
14357
14358 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14359 `tramp-send-command-and-check' if there is no error.
14360 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14361
a9901f61
AM
143622011-07-22 Alan Mackenzie <acm@muc.de>
14363
14364 Prevent cc-langs.elc being loaded at run time.
14365
14366 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14367 cc-langs.
14368
4d61f28d 14369 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
14370 "(require 'cc-langs)". Quote a form so it will evaluate at
14371 (cc-mode's) compilation time.
14372
11d074b2
MA
143732011-07-22 Michael Albinus <michael.albinus@gmx.de>
14374
14375 * net/tramp.el (tramp-file-name-handler): Avoid recursive
14376 loading. (Bug#9114)
14377
938b94c8
MR
143782011-07-21 Martin Rudalics <rudalics@gmx.at>
14379
14380 * window.el (display-buffer-pop-up-window)
14381 (display-buffer-pop-up-side-window)
14382 (display-buffer-in-side-window): Call display-buffer-set-height
14383 and display-buffer-set-width after setting the new window's
b796c9b7 14384 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 14385
bfa4f190
SS
143862011-07-20 Sam Steingold <sds@gnu.org>
14387
14388 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14389 (etags-tags-included-tables): Call `convert-standard-filename' on
14390 the file names contained in TAGS so that windows Emacs can handle
14391 TAGS files created by cygwin ctags.
14392
8ca42262
LMI
143932011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14394
14395 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14396 which apparently didn't work.
14397
5db2afd2 143982011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 14399
5db2afd2
RW
14400 * proced.el (proced-send-signal): For *Marked Processes* buffer
14401 put point at beginning of buffer.
14402
92e15d10
SB
144032011-07-19 Stephen Berman <stephen.berman@gmx.net>
14404
14405 * proced.el (proced-format): Make header lines align with the text
14406 (bug#1779).
14407
1bfd59e5
LMI
144082011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14409
14410 * view.el (view-buffer): Allow running in `special' modes if we're
14411 visiting a file (bug#8615).
14412
f5aae37c
MR
144132011-07-19 Martin Rudalics <rudalics@gmx.at>
14414
14415 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
14416 (display-buffer-alist-set-1, display-buffer-alist-set-2):
14417 New functions.
f5aae37c
MR
14418 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14419 more accurately.
14420
bf2c1571
AM
144212011-07-18 Alan Mackenzie <acm@muc.de>
14422
14423 Fontify declarators properly when, e.g., a jit-lock chunk begins
14424 inside a declaration.
14425
14426 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14427
b796c9b7
SM
14428 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14429 New function.
bf2c1571
AM
14430 (c-complex-decl-matchers): Insert reference to
14431 c-font-lock-enclosing-decls.
14432
14433 * progmodes/cc-engine.el (c-backward-single-comment):
14434 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14435 to nil around calls to (forward-comment -1).
14436
4e190b80
LMI
144372011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14438
12dc863d
LMI
14439 * image.el (put-image): Doc typo fix.
14440
a762e966
LMI
14441 * progmodes/etags.el (tags-search): Doc typo fix.
14442
4e190b80
LMI
14443 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14444 password if we get errors 550 to 554.
14445
f019fb21
LMI
144462011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14447
b796c9b7 14448 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 14449
81746738
LMI
14450 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14451 indentation character (bug#6380).
14452
3ee3a1b5
LMI
14453 * files.el (buffer-offer-save): Made permanently local (bug#6241).
14454
c82f64de
LMI
14455 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14456 to clarify what the problem is (bug#4291).
14457
f019fb21
LMI
14458 * simple.el (current-kill): Clarify what
14459 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
14460 (auto-fill-mode): Document `auto-fill-function' in relation to
14461 `auto-fill-mode' (bug#2470).
f019fb21 14462
0794775d
LM
144632011-07-16 Lawrence Mitchell <wence@gmx.li>
14464
14465 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14466 method if slot is read-only (bug#9035).
14467
be39b8cc
MR
144682011-07-16 Martin Rudalics <rudalics@gmx.at>
14469
b796c9b7 14470 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 14471 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
14472 selected before, see discussion of (Bug#8615), (Bug#6954).
14473 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 14474
6ccf7859
GM
144752011-07-15 Glenn Morris <rgm@gnu.org>
14476
14477 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 14478 Respect help-form.
6ccf7859 14479
87e86684
LM
144802011-07-09 Lawrence Mitchell <wence@gmx.li>
14481
14482 * net/gnutls.el (gnutls-min-prime-bits): New variable.
14483 (gnutls-negotiate): Use it.
14484
d6066239
LMI
144852011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14486
b796c9b7
SM
14487 * net/gnutls.el (gnutls-negotiate):
14488 Upcase `gnutls-algorithm-priority'.
d6066239 14489
bd23ebc0
GM
144902011-07-15 Glenn Morris <rgm@gnu.org>
14491
c65bca65
GM
14492 * jka-compr.el (jka-compr-verbose): Move from here...
14493 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
14494 Add missing :version tag.
14495 * info.el: No need to require jka-compr when compiling.
bd23ebc0 14496
478615cc
LMI
144972011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14498
7b41decb
LMI
14499 * net/gnutls.el (gnutls-algorithm-priority): New variable.
14500 (gnutls-negotiate): Use it.
14501
dbc44fcd
LMI
14502 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14503
06789f97
LMI
14504 * info.el (Info-beginning-of-buffer): New command.
14505 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
14506 announcing `b' as the key (bug#8325).
ab896c37 14507 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 14508
c39da690
LMI
14509 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14510
3aa5f34b
LMI
14511 * international/mule-cmds.el
14512 (describe-specified-language-support): Make the error message
14513 clearer (bug#8905).
14514
4bf0979f
LMI
14515 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
14516
478615cc
LMI
14517 * isearch.el (isearch-barrier): Add a doc string, since it's
14518 mentioned in a function doc string (bug#8678).
14519
75c68aa1
MR
145202011-07-15 Martin Rudalics <rudalics@gmx.at>
14521
14522 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
14523 buffer argument (Bug#9083) and self-identifying label argument.
14524
a7c33da2
GM
145252011-07-15 Glenn Morris <rgm@gnu.org>
14526
14527 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
14528
2f5c6024
LMI
145292011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14530
14531 * man.el (Man-fontify-manpage): Fix message when formatting the
14532 man page (bug#7929).
14533
0bb23927 145342011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
14535
14536 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
14537 argument LRM; if non-nil, append an invisible LRM character to the
14538 buffer name.
14539 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
14540 last argument non-nil, when formatting buffer names.
0bb23927
EZ
14541 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
14542 paragraph direction.
cce4b0a7 14543
621ef9ab
LMI
145442011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14545
d1583c48
LMI
14546 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
14547 the man page name (bug#7929).
14548
6a57fb5f
LMI
14549 * image.el (put-image): Mention the `put-image' overlay property
14550 (bug#7834).
14551
d7956b14
LMI
14552 * scroll-bar.el (set-scroll-bar-mode): Mention that
14553 `scroll-bar-mode' lists the values (bug#7772).
14554
5b2d4a66
LMI
14555 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
14556 command (bug#7729).
14557
7509a874
LMI
14558 * rect.el (apply-on-rectangle): Return the point after the last
14559 operation.
14560 (string-rectangle): Go to the point after the last operation
14561 (bug#7522).
14562
4fe74b19
LMI
14563 * printing.el (pr-toggle-region): Clarify the documentation
14564 slightly (bug#7493).
14565
b796c9b7
SM
14566 * time.el (display-time-update):
14567 Allow `display-time-mail-function' to return nil (bug#7158).
14568 Fix suggested by Detlev Zundel.
ab283561 14569
fc233c9d
LMI
14570 * vc/diff.el (diff): Clarify the order the file names are read
14571 (bug#7111).
14572
43f5740b
LMI
14573 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
14574 the doc string (bug#7015).
14575
f2182a76
LMI
14576 * font-lock.el (font-lock-maximum-decoration): Mention what
14577 numeric levels mean (bug#6935).
14578
621ef9ab
LMI
14579 * startup.el (initial-buffer-choice): Don't mention the `none'
14580 selection, which is against policy.
14581
adc47434
MR
145822011-07-14 Martin Rudalics <rudalics@gmx.at>
14583
b796c9b7
SM
14584 * window.el (display-buffer-normalize-special):
14585 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 14586
7e5bfb8f
EZ
145872011-07-14 Eli Zaretskii <eliz@gnu.org>
14588
14589 * subr.el (version<, version<=, version=): Mention "-CVS" and
14590 "-12345" alpha version numbers.
14591
27fa387a
CY
145922011-07-14 Chong Yidong <cyd@stupidchicken.com>
14593
14594 * bindings.el: Add advertised binding for set-mark-command
14595 (Bug#5772).
14596
8bdfa064
CY
145972011-07-14 Chong Yidong <cyd@stupidchicken.com>
14598
14599 * bindings.el (mode-line-other-buffer):
14600 * bookmark.el (bookmark-bmenu-2-window):
14601 * bs.el (bs-cycle-next, bs-cycle-previous):
14602 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
14603 switch-to-buffer.
14604
14605 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 14606 Delete.
8bdfa064 14607
5eba16a3
JB
146082011-07-14 Juanma Barranquero <lekktu@gmail.com>
14609
14610 * follow.el (follow-debug-message, follow-redisplay):
14611 * jka-cmpr-hook.el (with-auto-compression-mode):
14612 Fix typos in docstrings.
14613
15853710
LMI
146142011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14615
a28e4607
LMI
14616 * subr.el (with-silent-modifications): Clarify somewhat what the
14617 macro inhibits (bug#6525).
14618
15853710
LMI
14619 * simple.el (eval-expression): Note what it does if called
14620 interactively (bug#6495).
14621
bee0fcef
CY
146222011-07-13 Chong Yidong <cyd@stupidchicken.com>
14623
b796c9b7
SM
14624 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
14625 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
14626
14627 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14628 Remove switch-to-buffer.
14629
58274504
LMI
146302011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14631
bd2fcc8d
LMI
14632 * files.el (make-directory): Clarify that an error will be raised
14633 if there's an error (bug#6397).
14634
0f04b32c
LMI
14635 * startup.el (initial-buffer-choice): Add `none' as a choice
14636 (bug#6234).
14637
465c5fc8
LMI
14638 * subr.el (add-hook): Clarify section about buffer-local hooks
14639 (bug#6218).
14640
58274504
LMI
14641 * dired.el (dired-flagged): Clarify doc string (bug#6117).
14642
bead9a43
JB
146432011-07-13 Juanma Barranquero <lekktu@gmail.com>
14644
14645 * tabify.el (untabify): Preserve the current column so that point
14646 doesn't move (bug#6032).
14647
3af98a7b
LMI
146482011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14649
b796c9b7
SM
14650 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
14651 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 14652
6240145a
GM
146532011-07-13 Glenn Morris <rgm@gnu.org>
14654
14655 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
14656 (dired-insert-directory): Give a message the first time
14657 if ls is found not to support --dired.
14658
1d8c2ccc
LMI
146592011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14660
14661 * simple.el (toggle-truncate-lines): Clarify what is toggled
14662 (bug#5580). Text by Drew Adams.
14663
5fc4038e
CY
146642011-07-13 Chong Yidong <cyd@stupidchicken.com>
14665
14666 * simple.el (blink-matching-open): Make the error message from the
14667 last change less verbose.
14668
bf6012e5
DN
146692011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
14670
14671 * font-lock.el (font-lock-comment-face): Use the high contrast
14672 "yellow" color for font-lock-comment-face on low color terminals
14673 using a dark background color (bug#4221).
14674
343c3b5a
LMI
146752011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14676
7e9505c5
LMI
14677 * dired.el (dired-insert-set-properties): Make the doc string
14678 reflect what it does now (bug#5325).
14679
c26fdcf5
LMI
14680 * simple.el (blink-matching-open): Say that we were unable to find
14681 the match within the limit, if we're limited (bug#5122).
14682
bb388cc5
LMI
14683 * international/mule-cmds.el (prefer-coding-system): Add an
14684 example (bug#4869).
14685
343c3b5a
LMI
14686 * progmodes/etags.el (tags-search): Document `file-list-form'
14687 (bug#4731).
14688
2a517d45
LM
146892011-07-13 Lawrence Mitchell <wence@gmx.li>
14690
14691 * net/browse-url.el (browse-url-default-browser)
14692 (browse-url-browser-function): Make the default browser choice a
14693 bit more logical (bug#4300). Also clean up the doc string.
14694
b6c78ef2
JB
146952011-07-13 Juanma Barranquero <lekktu@gmail.com>
14696
14697 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
14698 binary endings (bug#4440).
14699
1c4dd947
LMI
147002011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14701
a2014063
LMI
14702 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
14703 which can be pretty annoying (bug#8971).
14704
9c9c2d88
LMI
14705 * jka-compr.el (jka-compr-verbose): New variable, and use
14706 throughout (bug#8971).
14707
1c4dd947
LMI
14708 * info.el (Info-find-file): Fall back on the installation
14709 directory if we can't find the info node anywhere else.
14710
a1c9f41b
SO
147112011-07-13 Sergei Organov <osv@javad.com> (tiny change)
14712
14713 * vc/vc.el (vc-revert-file):
14714 Don't set file time-stamp in the past. (Bug#5181)
14715
536f3d36
LMI
147162011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14717
7152b011
LMI
14718 * files.el (after-find-file): Give a better error message when
14719 trying to find a symlink that points to a file that doesn't exist
14720 (bug#4398).
14721
536f3d36
LMI
14722 * progmodes/cc-vars.el: Remove (probably) misleading comment
14723 (bug#4396).
14724
460c0fba
JB
147252011-07-12 Johan Bockgård <bojohan@gnu.org>
14726
14727 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
14728
7a6bda45
CY
147292011-07-12 Chong Yidong <cyd@stupidchicken.com>
14730
14731 * mouse-sel.el: Hack restoring functionality, while keeping
14732 compatibility with 2010-07-03 changes to mouse selection.
14733 (mouse-sel-primary-overlay): New var.
14734 (mouse-sel-selection-alist): Use it.
14735 (mouse-sel-mode): Doc fix; remove points that are default features
14736 of mouse.el.
14737
c79598ef
JB
147382011-07-12 Johan Bockgård <bojohan@gnu.org>
14739
14740 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14741 Fix previous fix (bug#2490).
14742
ff8be6ef
RW
147432011-07-12 Roland Winkler <winkler@gnu.org>
14744
b796c9b7
SM
14745 * textmodes/bibtex.el (bibtex-initialize):
14746 Use pop-to-buffer-same-window.
ff8be6ef
RW
14747 (bibtex-search-entries): Fix interactive call.
14748
296ba3ee
LMI
147492011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14750
f5242a02 14751 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
14752 Fontise bytecomp Error lines more correctly (bug#2490).
14753 Fix suggested by Johan Bockgård.
f5242a02 14754
296ba3ee
LMI
14755 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
14756
14757 * dired-x.el (dired-guess-default): Use `delete-dups'.
14758
f69fd0d2
CY
147592011-07-12 Chong Yidong <cyd@stupidchicken.com>
14760
14761 * dired.el (dired-mark-prompt):
14762 * dired-aux.el (dired-read-shell-command): Doc fix.
14763
eab5dc07
LMI
147642011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14765
b796c9b7
SM
14766 * mail/sendmail.el (sendmail-query-once):
14767 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
14768 emacs -Q.
14769
14770 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14771
eab5dc07
LMI
14772 * cus-edit.el (custom-file): Take an optional no-error variable.
14773 (customize-save-variable): Set the variable, and give a warning if
14774 running under "emacs -q".
14775
a1e65d42
JB
147762011-07-11 Juanma Barranquero <lekktu@gmail.com>
14777
14778 * loadhist.el (unload-feature-special-hooks):
14779 Add `auto-coding-functions', `fill-nobreak-predicate' and
14780 `find-directory-functions' (bug#5327).
14781
1d52da10
LMI
147822011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14783
be958f1d
LMI
14784 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
14785
5bedb26c
LMI
14786 * cus-edit.el (custom-guess-name-alist): -alist variables should
14787 use the `alist' type (bug#3120). Suggested by Drew Adams.
14788
1d52da10
LMI
14789 * printing.el: Add documentation to all the `pr-toggle-' commands.
14790
cd394be1 147912011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
14792
14793 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
14794 backends where it makes sense (bug#2623).
14795
dcc88d8a
LMI
147962011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14797
c3de9feb
LMI
14798 * dired-x.el (dired-guess-default): Remove duplicate shell command
14799 entries (bug#2028).
8a93078b 14800 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 14801 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 14802
dcc88d8a
LMI
14803 * subr.el (remove-duplicates): New conveniency function.
14804
505e3645
LMI
148052011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14806
14807 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
14808 (bug#1526).
14809
148102011-07-10 Martin Rudalics <rudalics@gmx.at>
14811
14812 * window.el (display-buffer-normalize-default): Don't invert
14813 meaning of even-window-heights. Reported by Eli Zaretskii
14814 <eliz@gnu.org>.
14815
455e4fa1
BR
148162011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
14817
14818 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
14819
8e0bc3e9
CY
148202011-07-10 Chong Yidong <cyd@stupidchicken.com>
14821
14822 * window.el (display-buffer): Fix arguments to
14823 display-buffer-reuse-window in last change.
14824
fa7c3228
CY
14825 * faces.el (link): Use a less saturated blue on light backgrounds.
14826
14827 * startup.el (fancy-startup-text, fancy-about-text)
14828 (fancy-startup-tail): Use font-lock faces, for background safety.
14829
c0a7f300
BN
148302011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
14831
b796c9b7
SM
14832 * emulation/viper-cmd.el (viper-change-state-to-vi):
14833 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 14834
4dc2a129
MR
148352011-07-09 Martin Rudalics <rudalics@gmx.at>
14836
14837 * window.el (display-buffer-default-specifiers): Remove.
14838 (display-buffer-macro-specifiers): Remove default specifiers.
14839 (display-buffer-alist): Default to nil.
b796c9b7 14840 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
14841 (display-buffer-pop-up-window): Allow splitting internal
14842 windows. Check whether a live window was created.
14843 (display-buffer-other-window-means-other-frame)
14844 (display-buffer-normalize-arguments): Rename to
14845 display-buffer-normalize-argument and rewrite. Set the
14846 other-window specifier.
14847 (display-buffer-normalize-special): New function.
14848 (display-buffer-normalize-options): Rename to
14849 display-buffer-normalize-default and rewrite.
14850 (display-buffer-normalize-options-inhibit): Remove.
14851 (display-buffer-normalize-specifiers): Rewrite.
14852 (display-buffer): Process other-window specifier and call
14853 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
14854 more faithfully.
b796c9b7 14855 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 14856 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
14857 (display-buffer-in-window, display-buffer-alist-set):
14858 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
14859 <tassilo@member.fsf.org>.
14860
2d43b8c9
LL
148612011-07-09 Leo Liu <sdl.web@gmail.com>
14862
14863 * register.el (insert-register): Restore accidental change on
14864 2011-06-26. (Bug#9028)
14865
7f9b7c53
GM
148662011-07-09 Glenn Morris <rgm@gnu.org>
14867
14868 * subr.el (remq): Handle the empty list. (Bug#9024)
14869
f042cfd8
AS
148702011-07-08 Andreas Schwab <schwab@linux-m68k.org>
14871
14872 * mail/sendmail.el (send-mail-function): No longer delay custom
14873 initialization.
14874 * custom.el (custom-initialize-delay): Doc fix.
14875
856b2f11
SM
148762011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14877
14878 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
14879
afae1d68
MA
148802011-07-08 Michael Albinus <michael.albinus@gmx.de>
14881
14882 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
14883 human-friendly prompt.
14884
0757af94
SM
148852011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14886
14887 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
14888 provided by a particular plugin.
14889
d760b731
LMI
148902011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
14891
14892 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
14893 save customizations (with "emacs -Q"), just set the variable
14894 instead of erroring out.
14895
14896 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14897
cd79ce90
JL
148982011-07-08 Juri Linkov <juri@jurta.org>
14899
14900 * arc-mode.el (archive-zip-expunge, archive-zip-update)
14901 (archive-zip-update-case): Use 7z if found by `executable-find'.
14902 The order of searching the available programs is the same as in
14903 `archive-zip-extract' (bug#8968).
14904
14cc04aa
CY
149052011-07-07 Chong Yidong <cyd@stupidchicken.com>
14906
14907 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
14908 (menu-bar-options-menu): Tweak descriptions.
14909
0a1848ec
LMI
149102011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14911
14912 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
14913 menu items into verb phrases (bug#1421). Also refill to fit under
14914 80 columns.
14915
f5bd0689
CY
149162011-07-07 Chong Yidong <cyd@stupidchicken.com>
14917
538e85c6
CY
14918 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
14919 (Info-read-node-name): Doc fix (Bug#1084).
14920
f5bd0689
CY
14921 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
14922 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
14923 (end-of-sexp, beginning-of-sexp)
14924 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
14925 (forward-symbol, forward-same-syntax, word-at-point)
14926 (sentence-at-point): Doc fix (Bug#1144).
14927
56ec5115
LMI
149282011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14929
f3f8e37f
LMI
14930 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
14931 should cover it (bug#1281).
14932
0757af94 14933 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 14934
e9fce1ac 14935 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
14936 negotiation fails, then possibly try again with a non-encrypted
14937 connection (bug#9017).
14938
56ec5115
LMI
14939 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
14940 be used.
14941
c2f9aec8
RS
149422011-07-07 Richard Stallman <rms@gnu.org>
14943
14944 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
14945 property, and handle its changed format.
14946 Look for the correct line number.
14947 Use file's line contents (but not past first =) to find
14948 correct line in message.
14949
ef7b981d 149502011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
14951
14952 * international/characters.el (build-unicode-category-table):
14953 Delete it.
0757af94 14954 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 14955
0757af94 14956 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
14957 to src/chartab.c.
14958 (get-char-code-property): Call unicode-property-table-internal to
14959 load a file. Call get-unicode-property-internal where necessary.
14960 (put-char-code-property): Call unicode-property-table-internal to
14961 load a file. Call put-unicode-property-internal where necessary.
14962 put-unicode-property-internal where necessary.
0757af94
SM
14963 (char-code-property-description):
14964 Call unicode-property-table-internal to load a file.
c805dec0
KH
14965
14966 * international/charprop.el:
14967 * international/uni-bidi.el:
14968 * international/uni-category.el:
14969 * international/uni-combining.el:
14970 * international/uni-comment.el:
14971 * international/uni-decimal.el:
14972 * international/uni-decomposition.el:
14973 * international/uni-digit.el:
14974 * international/uni-lowercase.el:
14975 * international/uni-mirrored.el:
14976 * international/uni-name.el:
14977 * international/uni-numeric.el:
14978 * international/uni-old-name.el:
14979 * international/uni-titlecase.el:
14980 * international/uni-uppercase.el: Regenerate.
14981
14982 * loadup.el: Load international/charprop.el before
14983 international/characters.
14984
e14b388a
CY
149852011-07-07 Chong Yidong <cyd@stupidchicken.com>
14986
14987 * window.el (next-buffer, previous-buffer): Signal an error if
14988 called from a minibuffer window.
14989
14990 * bindings.el: Revert 2011-07-04 change.
14991
354cf0ba
RS
149922011-07-06 Richard Stallman <rms@gnu.org>
14993
14994 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
14995 (rmail-mime-insert-bulk, rmail-mime-insert-text):
14996 Treat markers like ints.
14997 (rmail-mime-entity): Doc fix.
14998
a48868a7
LMI
149992011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15000
4906cd3d
LMI
15001 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15002 defcustom again for backwards compatibility.
15003
e0457abe
LMI
15004 * simple.el (shell-command-on-region): Fill.
15005
d67f7e1f
LMI
15006 * dired-aux.el (dired-kill-line): Add a doc string.
15007
fe204702
LMI
15008 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15009 to "\\sw\\|\\s_" (bug#358).
15010
a48868a7
LMI
15011 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15012 (dired-unmark-backward): Ditto.
15013 (dired-flag-backup-files): Ditto.
15014
15015 * dired-x.el (dired-mark-sexp): Ditto.
15016
aa8a705c
RS
150172011-07-06 Richard Stallman <rms@gnu.org>
15018
15019 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15020 (rmail-mime-entity): New arg TRUNCATED.
15021 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15022 New functions.
15023 (rmail-mime-save): Warn if entity is truncated.
15024 (rmail-mime-toggle-hidden): Likewise, for showing.
15025 (rmail-mime-process-multipart): Record when an entity is truncated.
15026
a9a936b9
RS
15027 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15028 if ENTITY is a string.
15029
1f2b92cb
LMI
150302011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15031
f4f73198 15032 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
15033 of faces when `M-C-x'-ing their definitions (bug#8378).
15034 Also clean up the code slightly.
f4f73198 15035
12b16734 15036 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 15037 because that makes the colors go away.
12b16734 15038
f0691d22
LMI
15039 * mail/sendmail.el (send-mail-function): Change the default to
15040 `sendmail-query-once'.
9e87df06 15041 (sendmail-query-once): Add an autoload cookie.
f0691d22 15042
1f2b92cb
LMI
15043 * net/network-stream.el (network-stream-open-starttls): Try using
15044 a plain connection even if the server offered STARTTLS, and we
15045 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15046 capability. This should make smtpmail.el work in slightly more
15047 configurations.
15048
1cdd2a1b
MA
150492011-07-06 Michael Albinus <michael.albinus@gmx.de>
15050
15051 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15052 New defun.
15053 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15054
fbcc67e2
MM
150552011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15056
15057 * progmodes/sql.el: Version 3.0
0757af94 15058 (sql-product-alist): Add product :completion-object,
fbcc67e2 15059 :completion-column, and :statement attributes.
0757af94 15060 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 15061 (sql-mode-syntax-table): Mark all punctuation.
0757af94 15062 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
15063 ansi keywords.
15064 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 15065 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
15066 (sql-oracle-show-reserved-words): New function for development.
15067 (sql-product-font-lock): Simplify for source code buffers.
15068 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15069 New functions.
15070 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
15071 (sql-mode-map): Add statement movement functions.
15072 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15073 New variable.
fbcc67e2
MM
15074 (sql-statement-regexp, sql-beginning-of-statement)
15075 (sql-end-of-statement, sql-signum): New functions.
0757af94 15076 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
15077 (sql-show-sqli-buffer): Bug fix.
15078 (sql-interactive-mode): Store connection data as buffer local.
0757af94 15079 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
15080 with sql-interactive-mode.
15081 (sql-save-connection): Save buffer local settings.
0757af94 15082 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
15083 (sql-product-interactive): Bug fix.
15084 (sql-preoutput-hold): New variable.
15085 (sql-interactive-remove-continuation-prompt): Bug fixes.
15086 (sql-debug-redirect): New variable.
15087 (sql-str-literal): New function.
15088 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 15089 Redesign.
fbcc67e2
MM
15090 (sql-oracle-save-settings, sql-oracle-restore-settings)
15091 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15092 (sql-completion-object, sql-completion-column)
15093 (sql-completion-sqlbuf): New variables.
15094 (sql-build-completions-1, sql-build-completions)
15095 (sql-try-completion): New functions.
15096 (sql-read-table-name): Use them.
15097 (sql-contains-names): New buffer local variable.
15098 (sql-list-all, sql-list-table): Use it.
15099 (sql-oracle-completion-types): New variable.
15100 (sql-oracle-completion-object, sql-sqlite-completion-object)
15101 (sql-postgres-completion-object): New functions.
15102
d4eaeab1
GM
151032011-07-06 Glenn Morris <rgm@gnu.org>
15104
15105 * window.el (pop-to-buffer): Doc fix.
15106
322b7dab 151072011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
15108
15109 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15110
322b7dab 151112011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 15112
322b7dab 15113 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 15114
322b7dab 15115 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 15116
605dd5bf
CY
151172011-07-05 Chong Yidong <cyd@stupidchicken.com>
15118
15119 * button.el (button): Inherit from link face. Suggested by Dan
15120 Nicolaescu.
15121
7dbfa719
SM
151222011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15123
3db614b0
SM
15124 * progmodes/gdb-mi.el: Fit in 80 columns.
15125 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15126 switch-to-buffer.
15127
7dbfa719
SM
15128 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15129 if imenu is simply not configured (bug#8941).
15130
919d884a
KM
151312011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15132
15133 * allout.el (allout-post-undo-hook): New allout outline-change
15134 event hook to signal undo activity.
15135 (allout-post-command-business): Run allout-post-undo-hook if an
15136 undo just occurred.
7dbfa719
SM
15137 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15138 * allout-widgets.el (allout-widgets-after-undo-function):
15139 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
15140 in the vicinity of an undo.
15141 (allout-widgets-mode): Include allout-widgets-after-undo-function
15142 on the new allout-post-undo-hook.
15143
450a0f09
SM
151442011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15145
15146 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15147 Let define-derived-mode define it.
15148 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15149 cycles of abbrev-table inheritance (bug#8998).
15150
2de69e00
RW
151512011-07-05 Roland Winkler <winkler@gnu.org>
15152
15153 * textmodes/bibtex.el: Add support for biblatex.
15154 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15155 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15156 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15157 (bibtex-entry-alist, bibtex-field-alist): New variables.
15158 (bibtex-entry-field-alist): Obsolete alias for
15159 bibtex-BibTeX-entry-alist.
15160 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15161 (bibtex-set-dialect): New command.
15162 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
15163 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15164 Bind via bibtex-set-dialect.
2de69e00
RW
15165 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15166 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15167 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15168 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15169 Define via bibtex-set-dialect.
450a0f09
SM
15170 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15171 Obey bibtex-no-opt-remove-re.
2de69e00
RW
15172 (bibtex-vec-push, bibtex-vec-incr): New functions.
15173 (bibtex-format-entry, bibtex-field-list)
15174 (bibtex-print-help-message, bibtex-validate)
15175 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15176
2dcdbdd9
SM
151772011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15178
15179 * progmodes/compile.el (compilation-goto-locus):
15180 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15181 * bs.el (bs-cycle-next, bs-cycle-previous):
15182 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15183 * bindings.el (mode-line-other-buffer):
15184 * autoinsert.el (auto-insert):
15185 * arc-mode.el (archive-extract):
15186 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15187
b27640fe
JB
151882011-07-05 Juanma Barranquero <lekktu@gmail.com>
15189
15190 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15191 Fix check of `emacs-lock-unlockable-modes'.
15192 Coerce true values of `emacs-lock--try-unlocking' to t.
15193
53bbe3ad
JB
151942011-07-05 Juanma Barranquero <lekktu@gmail.com>
15195
15196 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15197 * emacs-lock.el: New file.
15198
1d3cdbc7
JD
151992011-07-05 Julien Danjou <julien@danjou.info>
15200
15201 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15202 than `boundp' to check if face is set.
15203
9173deec
JB
152042011-07-05 Juanma Barranquero <lekktu@gmail.com>
15205
15206 * register.el (registerv-make):
15207 * window.el (window-min-height): Fix typos in docstrings.
15208
869795d6
JD
152092011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15210
9173deec 15211 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
15212 Update doc string.
15213
b768cdcd
JB
152142011-07-04 Juanma Barranquero <lekktu@gmail.com>
15215
15216 * server.el (server-execute): Catch quit and call
15217 `server-return-error' to pass the error back to emacsclient and
15218 close the connection (bug#8942).
15219
13aa217b
KM
152202011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15221
15222 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15223 insecure exception for current topic. Also note that auto-saves
15224 are handled differently.
15225
5d3385a0 15226 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
15227 State variables for tracking auto-save inhibition situation.
15228
15229 (allout-write-contents-hook-handler): Rename from
15230 'allout-write-file-hook-handler', and describe how it depends on
15231 write-contents-functions sensitivity to non-nil value to prevent
15232 file write.
15233
15234 (allout-auto-save-hook-handler): Remove. auto-save does not check
15235 this in individual buffers, only in the starting buffer, so this
15236 is not the right way for us to inhibit auto-save in a buffer
15237 according to its condition.
15238
15239 (allout-mode): Use new allout-write-contents-hook-handler, and
15240 only with write-contents-functions. Remove auto-save provisions -
15241 they're implemented elsewhere.
15242
15243 (allout-before-change-handler): If undo is in progress, note that
15244 for attention of allout-post-command-business.
15245
15246 (allout-post-command-business): If the command we're following was
15247 an undo, check for change in the status of encrypted items and
15248 adjust auto-save inhibitions accordingly.
15249
15250 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15251 according to whether there are or aren't any plain-text topics
15252 pending encryption.
15253
2dcdbdd9 15254 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
15255 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15256 if there are plain-text topics pending encryption.
13aa217b
KM
15257
15258 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15259 buffer-saved-size and some allout state to not inhibit auto-saves
15260 if there are no longer any plain-text topics pending encryption.
15261
0757af94
SM
15262 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15263 No longer provide for exemption of the current topic.
13aa217b 15264
ac89b32c
JL
152652011-07-04 Juri Linkov <juri@jurta.org>
15266
15267 Add 7z operations to delete and save changed members (bug#8968).
15268 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15269 New defcustoms.
15270 (archive-7z-write-file-member): New function.
15271 (archive-7z-summarize): Fix the number of dashes in the
15272 listing output.
15273
8fa39615
SM
152742011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15275
15276 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15277 (bug#8958).
15278
2f11b3f1
CY
152792011-07-04 Chong Yidong <cyd@stupidchicken.com>
15280
d66fef2b
CY
15281 * bindings.el: Ignore next-buffer and previous-buffer in
15282 minibuffer-local-map.
15283
2f11b3f1
CY
15284 * font-lock.el (font-lock-builtin-face): Change light background
15285 color to dark slate blue (Bug#6693).
15286
f932a347
WD
152872011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15288
15289 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15290
c8af70e1
SM
152912011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15292
15293 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15294 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15295 Add switch-to-buffer.
15296
f158badc
LMI
152972011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15298
15299 * isearch.el (isearch-search-fun-function): Clarify further the
15300 meaning of the function returned.
15301
6d95bd46
MA
153022011-07-04 Michael Albinus <michael.albinus@gmx.de>
15303
15304 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15305
15306 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15307 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15308 Use it.
15309 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15310 `tramp-default-remote-path' does not exist.
15311 (tramp-send-command-and-read): New optional argument NOERROR.
15312 (tramp-open-connection-setup-interactive-shell)
15313 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15314 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15315 (tramp-process-sentinel): Flush also process' connection property.
15316 (tramp-sh-handle-start-file-process): Do not set process
15317 sentinel. It is done now ...
15318 (tramp-maybe-open-connection): ... here. (Bug#8929)
15319
909e6b67
MK
153202011-07-04 MON KEY <monkey@sandpframing.com>
15321
15322 * play/animate.el (animate-string): Doc fixes and allow changing
15323 the buffer name (bug#5417).
15324
153252011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15326
c8af70e1 15327 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 15328
f34755dc
PE
153292011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15330
396cec72
PE
15331 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15332 This is simpler and helps future-proof the code.
15333 (timer-until): Use time-subtract and float-time.
08235028 15334 (timer--time-less-p): Use time-less-p.
f34755dc 15335
56e6cc31
JB
153362011-07-04 Juanma Barranquero <lekktu@gmail.com>
15337
3abb79e5
JB
15338 * type-break.el (timep): Use the value of `float-time' to avoid a
15339 byte-compiler warning.
15340
56e6cc31
JB
15341 * server.el (server-eval-and-print): Return any result, even nil.
15342
7b9430b4
PE
153432011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15344
15345 * type-break.el: Accept time formats that the builtins accept.
15346 (timep, type-break-time-difference): Accept any format that
15347 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15348 This is simpler and helps future-proof the code.
15349 (type-break-time-difference): Round rather than ignoring
15350 subseconds components.
15351
3034e9e7
LMI
153522011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15353
15354 * info.el (Info-apropos-matches): Make non-interactive, since it
15355 doesn't seem to do anything useful as a command (bug#8829).
15356
1485f4c0
CY
153572011-07-03 Chong Yidong <cyd@stupidchicken.com>
15358
15359 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 15360 Move from faces.el.
1485f4c0
CY
15361 (frame-default-terminal-background): New function.
15362
15363 * custom.el (custom-push-theme): Don't record faces in `changed'
15364 theme; this doesn't work correctly for per-frame face settings.
15365 (disable-theme): Use face-set-after-frame-default to reset faces.
15366 (custom--frame-color-default): New function.
15367
9fa3dd45
LMI
153682011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15369
c8af70e1 15370 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
15371 (bug#8769).
15372
6cbbc20c
KR
153732011-03-29 Kevin Ryde <user42@zip.com.au>
15374
15375 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15376 `perl-Test2' extend to match possible "fail #N" rep count
15377 (bug#8377).
15378
c7f98048
LMI
153792011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15380
65676592
LMI
15381 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15382 `smtpmail-via-smtp' now returns the error instead of nil.
15383
c7f98048
LMI
15384 * isearch.el (isearch-search-fun-function): Clarify the doc string
15385 (bug#8101).
15386
56e6cc31 153872011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
15388
15389 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15390 unnecessary spaces (bug#8987).
15391
2b216704
LMI
153922011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15393
15394 * net/network-stream.el (open-network-stream): Use the
15395 :end-of-capability command thoughout.
15396
153972011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15398
15399 * net/network-stream.el (open-network-stream): Add the
15400 :end-of-capability command parameter, used by pop3.el.
15401
36adf6ce
LMI
154022011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15403
1ca0da0e
LMI
15404 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15405
fc00f69c
LMI
15406 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15407 for list)" (bug#6475).
15408
28fd8759 15409 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 15410 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
15411 an error (bug#6297).
15412
0dd8b6da
LMI
15413 * man.el (Man-reference-regexp): Allow matching possible
15414 word-wrapped references (bug#6289).
15415
ce1438d6
LMI
15416 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15417 for consistency with the other vc buffers (bug#6197).
15418 (vc-checkin): Ditto.
15419
15420 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15421
36adf6ce
LMI
15422 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15423
e83cc1f7
LMI
154242011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15425
8a20ca4c
LMI
15426 * custom.el (defcustom): Clarify that :set is only used in the
15427 Customize user interface (bug#6089).
15428
83319045
LMI
15429 * progmodes/flymake.el (flymake-mode): If the buffer isn't
15430 associated with a file, refuse to run instead of erroring out
15431 (bug#6084).
15432
a8392169
LMI
15433 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15434 the doc string, since it appears that using `fill-column' always
15435 controls the width (bug#7845).
15436
e83cc1f7
LMI
15437 * simple.el (shell-command-on-region): Say where the error output
15438 went if `shell-command-default-error-buffer' is set (bug#6857).
15439
e47ca23b
KM
154402011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
15441
15442 * allout.el (allout-yank-processing): Adjust cursor position for
15443 backwards-deleted space.
15444
15445 (allout-rebullet-heading): Register changes with
15446 allout-exposure-changed-hook, so the modified topic is properly
15447 decorated.
15448
5cf56143
LMI
154492011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15450
08549772
LMI
15451 * minibuffer.el (completion-in-region): Document PREDICATE
15452 (bug#7136).
15453
48e96771
LMI
15454 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15455 of keyword/argument pairs (bug#6904).
15456
c8af70e1
SM
15457 * replace.el (multi-occur):
15458 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 15459
e17d05e2
LMI
154602011-07-02 Drew Adams <drew.adams@oracle.com>
15461
15462 * dired.el (dired-mark-if): Make the message about whether it's
15463 marking or unmarking clearer (bug#8523).
15464
063b0e45
LMI
154652011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15466
15467 * disp-table.el (display-table-print-array): New function.
15468 (describe-display-table): Use it to print the vectors more pretty
15469 (Bug#8859).
15470
28545e04
MR
154712011-07-02 Martin Rudalics <rudalics@gmx.at>
15472
15473 * window.el (window-state-get-1): Don't assign clone numbers.
15474 Add clone-of item to list of window parameters.
15475 (window-state-put-2): Don't process clone numbers.
15476 (display-buffer-alist): Fix doc-string.
15477
3349e122
SM
154782011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
15479
15480 * subr.el (remq): Don't allocate if it's not needed.
15481 (keymap--menu-item-binding, keymap--menu-item-with-binding)
15482 (keymap--merge-bindings): New functions.
15483 (keymap-canonicalize): Use them to refine the canonicalization.
15484 * minibuffer.el (minibuffer-local-completion-map)
15485 (minibuffer-local-must-match-map): Move initialization from C.
15486 (minibuffer-local-filename-completion-map): Move initialization from C;
15487 don't inherit from anything here.
15488 (minibuffer-local-filename-must-match-map): Make obsolete.
15489 (completing-read-default): Use make-composed-keymap to combine
15490 minibuffer-local-filename-completion-map with either
15491 minibuffer-local-must-match-map or
15492 minibuffer-local-filename-completion-map.
15493
d224ac83
GM
154942011-07-01 Glenn Morris <rgm@gnu.org>
15495
3de63bf8
GM
15496 * type-break.el (type-break-time-sum): Use dolist.
15497
d224ac83
GM
15498 * textmodes/flyspell.el (flyspell-word-search-backward):
15499 Replace CL function.
15500
1a1e3f32
SM
155012011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15502
fe3f64d5
SM
15503 * mouse.el (mouse--strip-first-event): New function.
15504 (function-key-map): Use it to map fringe clicks to normal clicks
15505 by default.
15506
eb604e34
SM
15507 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15508 (vc-bzr-revision-completion-table): Add support for annotate and date.
15509
1a1e3f32
SM
15510 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15511 inherit from parent.
15512
5bd35902
LMI
155132011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15514
ace6c69c 15515 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 15516 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 15517
191e2bed
LMI
15518 * dired.el (dired-mode): Fix up the doc string as suggested by
15519 Drew Adams (bug#8817).
15520
5bd35902
LMI
15521 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
15522 cookie, since the manual says that it should be possible to add
15523 this function to `find-file-hook' (bug#8709).
15524
eee8207a
TZ
155252011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15526
15527 * progmodes/cfengine.el: Moved all cfengine3.el functionality
15528 here. Noted Ted Zlatanov as the maintainer.
15529 (cfengine-common-settings, cfengine-common-syntax): New functions
15530 to set up common things between `cfengine-mode' and
15531 `cfengine3-mode'.
15532 (cfengine3-mode): New mode.
15533 (cfengine3-defuns cfengine3-defuns-regex
15534 (cfengine3-class-selector-regex cfengine3-category-regex)
15535 (cfengine3-vartypes cfengine3-font-lock-keywords)
15536 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 15537 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 15538
36b148cf
MA
155392011-07-01 Michael Albinus <michael.albinus@gmx.de>
15540
15541 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
15542
15543 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
15544
0bf4ba9a
MR
155452011-07-01 Martin Rudalics <rudalics@gmx.at>
15546
15547 * window.el (same-window-buffer-names, same-window-regexps)
15548 (same-window-p, special-display-frame-alist)
15549 (special-display-popup-frame, special-display-function)
15550 (special-display-buffer-names, special-display-regexps)
15551 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
15552 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15553 (split-window-preferred-function, split-height-threshold)
15554 (split-width-threshold, even-window-heights)
15555 (display-buffer-mark-dedicated, window-splittable-p)
15556 (split-window-sensibly, window-safely-shrinkable-p):
15557 Un-obsolete.
15558 (display-buffer): Don't spread args with function specifier
15559 because special-display-popup-frame won't like it.
15560
35837f51
PE
155612011-07-01 Paul Eggert <eggert@cs.ucla.edu>
15562
d0672f86
PE
15563 Time-stamp simplifications and fixes.
15564 These improve accuracy slightly, and future-proof the code
15565 against some potential changes to current-time format.
15566
b9444d97
PE
15567 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
15568 by using time-since and float-time.
15569
0ef923dc
PE
15570 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
15571 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
15572 + NNN microseconds".
15573
2f81380d
PE
15574 * type-break.el (type-break-time-sum): Rewrite using time-add.
15575
845b5c3e
PE
15576 * play/hanoi.el (hanoi-current-time-float): Remove.
15577 All uses replaced by float-time.
15578
ee6f1be0
PE
15579 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
15580 This yields a more-accurate answer.
15581 (rng-time-to-float): Remove; no longer needed.
15582
fe955043
PE
15583 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
15584
5777162a
PE
15585 * calendar/timeclock.el (timeclock-seconds-to-time):
15586 Defalias to seconds-to-time, since they're the same thing.
15587
3103f8b6 15588 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 15589 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
15590 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
15591
0e61a35f
SM
155922011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15593
15594 * window.el (bury-buffer): Don't iconify the only frame.
15595 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
15596 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
15597
ddd63a1e
CY
155982011-07-01 Chong Yidong <cyd@stupidchicken.com>
15599
0e61a35f
SM
15600 * eshell/em-smart.el (eshell-smart-display-navigate-list):
15601 Add mouse-yank-primary.
ddd63a1e 15602
055f4923
TZ
156032011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15604
15605 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
15606
6a2fb145
SM
156072011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15608
15609 * emacs-lisp/find-func.el (find-library--load-name): New fun.
15610 (find-library-name): Use it to find relative load names when provided
15611 absolute file name (bug#8803).
15612
fd4983f2
LMI
156132011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15614
887d14ad
LMI
15615 * textmodes/flyspell.el (flyspell-word): Consider words that
15616 differ only in case as potential doublons (bug#5687).
15617
c53dc7fc
LMI
15618 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
15619 Remove two rather uninteresting debugging-like messages to make
15620 debbugs.el more silent.
15621
fd4983f2
LMI
15622 * comint.el (comint-password-prompt-regexp): Accept "Response" as
15623 a password-like phrase.
15624
7a71b18d 156252011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
15626
15627 * progmodes/cc-guess.el: New file.
15628
6a2fb145 15629 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
15630
15631 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
15632 derived from `c-basic-common-init'.
15633
15634 * progmodes/cc-mode.el (top-level): Require cc-guess.
15635 (c-basic-common-init): Use `cc-choose-style-for-mode'.
15636
1fa280a3
LM
156372011-06-30 Lawrence Mitchell <wence@gmx.li>
15638
15639 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
15640
e6597158
AM
156412011-06-30 Alan Mackenzie <acm@muc.de>
15642
1fa280a3
LM
15643 * progmodes/cc-engine.el (c-guess-continued-construct):
15644 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
15645 lock is disabled. Name this case as "CASE G".
15646
68ba37fb
KM
156472011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
15648
15649 * allout.el (allout-yank-processing): Fix injection of extra space
15650 between bullet and non-whitespace character in first topic when
15651 pasting, ensuring that the actual spacing in the pasted topic
15652 following the bullet char is preserved. This extra space was
15653 causing pasted encrypted topics to get a decrypted status even
15654 when the content was actually still encrypted. Now the decryption
15655 status from before the paste is preserved.
15656
15657 (allout-flag-region): Set all allout overlays so they evaporate
15658 when reduced to zero length (evanescent), to prevent overlay
15659 leakage.
15660
887a0b34
GM
156612011-06-30 Glenn Morris <rgm@gnu.org>
15662
94b9acce
GM
15663 * w32-fns.el (w32-charset-info-alist): Declare.
15664
1d9b46d4
GM
15665 * find-dired.el (find-grep-options): Simplify.
15666
cc232200
GM
15667 * term/ns-win.el (ns-set-resource): Declare.
15668
28e77c46
GM
15669 * ses.el (row, col): Declare dynamic variables honestly.
15670
887a0b34
GM
15671 * textmodes/reftex-parse.el (index-tags): Declare.
15672
658d8eb8
CY
156732011-06-30 Chong Yidong <cyd@stupidchicken.com>
15674
15675 * cus-edit.el (customize-push-and-save): New function.
15676
15677 * files.el (hack-local-variables-confirm): Use it.
15678
1fa280a3
LM
15679 * custom.el (load-theme): New arg NO-CONFIRM.
15680 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
15681 (custom-enabled-themes): Doc fix.
15682
15683 * cus-theme.el (customize-create-theme)
15684 (custom-theme-merge-theme): Callers to load-theme changed.
15685
bb617717
LMI
156862011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15687
d61bdd5d
LMI
15688 * thingatpt.el (thing-at-point-short-url-regexp): Require that
15689 short URLs have at least one dot in them (bug #7614).
15690
bb617717
LMI
15691 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
15692 nil, because using a pty is apparently too slow (bug #895).
15693
2f31f37a
LMI
156942011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
15695
15696 * mail/sendmail.el (sendmail-query-once): New function.
15697 (sendmail-query-once-function): New variable.
15698
3076b24e
GM
156992011-06-29 Glenn Morris <rgm@gnu.org>
15700
faf2a174
GM
15701 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
15702
3076b24e
GM
15703 * ses.el (top-level): Require cl when compiling.
15704 (ses-set-localvars): Fix error statement.
15705 Call it at compile time to silence a storm of warnings.
15706
5386012d
MR
157072011-06-29 Martin Rudalics <rudalics@gmx.at>
15708
15709 * window.el (normalize-live-buffer): Rename to
15710 window-normalize-buffer.
15711 (normalize-live-frame): Rename to window-normalize-frame.
15712 (normalize-any-window): Rename to window-normalize-any-window.
15713 (normalize-live-window): Rename to window-normalize-live-window.
15714 (make-window-atom): Rename to window-make-atom.
15715 (window-resize-reset): Rename to window--resize-reset.
15716 (window-resize-reset-1): Rename to window--resize-reset-1.
15717 (resize-mini-window): Rename to window--resize-mini-window.
15718 (resize-subwindows-skip-p): Rename to
15719 window--resize-subwindows-skip-p.
15720 (resize-subwindows-normal): Rename to
15721 window--resize-subwindows-normal.
15722 (resize-subwindows): Rename to window--resize-subwindows.
15723 (resize-other-windows): Rename to window--resize-siblings.
15724 (resize-this-window): Rename to window--resize-this-window.
15725 (resize-root-window): Rename to window--resize-root-window.
15726 (resize-root-window-vertically): Rename to
15727 window--resize-root-window-vertically.
15728 (normalize-buffer-to-display): Rename to
15729 window-normalize-buffer-to-display.
15730 (normalize-buffer-to-switch-to): Rename to
15731 window-normalize-buffer-to-switch-to.
15732 Correspondingly update all callers of the functions listed
15733 above.
15734 (display-buffer-alist, display-buffer-normalize-arguments)
15735 (display-buffer-normalize-options, display-buffer)
15736 (display-buffer-alist-set): Use "function" instead of
15737 "fun-with-args".
15738
1176868d
CY
157392011-06-28 Chong Yidong <cyd@stupidchicken.com>
15740
15741 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
15742 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
15743 debbugs.gnu.org. Mention acknowledgment email.
15744
20a7a65f
LMI
157452011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
15746
15747 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
15748 buffer multibyteness, since it shouldn't matter.
15749
5f45cca5
MR
157502011-06-28 Martin Rudalics <rudalics@gmx.at>
15751
15752 * window.el (display-buffer-in-side-window): Handle dedicated
15753 windows as in display-buffer-reuse-window.
15754 (display-buffer-normalize-alist): Use value of override
15755 specifier.
15756 (display-buffer-normalize-specifiers): Use value of
15757 other-window-means-other-frame specifier.
15758 (display-buffer-alist): Rewrite some texts in widgets.
15759 (display-buffer): Spread arguments when calling function
15760 specified by fun-with-args.
15761
ad85fe1f
DD
157622011-06-28 Deniz Dogan <deniz@dogan.se>
15763
1fa280a3
LM
15764 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15765 Unnest `let'.
da68c4c8 15766
ad85fe1f
DD
15767 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
15768 selectors (Bug#5732).
ec49bd31 15769 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 15770
a08cc025
JA
157712011-06-27 Jari Aalto <jari.aalto@cante.net>
15772
15773 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
15774 (eshell-ls-date-format): New defcustom.
15775 (eshell-ls-file): Use it.
15776
e2b551c5
SM
157772011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15778
15779 * help-fns.el (describe-variable): Fix message for terminal-local vars.
15780
8982b231
KY
157812011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
15782
15783 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
15784 (ange-ftp-make-tmp-name): New arg.
15785 (ange-ftp-file-local-copy): Use it.
15786
36c9fa27
J
157872011-06-27 Jambunathan K <kjambunathan@gmail.com>
15788
15789 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
15790 no-conversion (Bug#8870).
15791
d68443dc
MR
157922011-06-27 Martin Rudalics <rudalics@gmx.at>
15793
15794 * window.el (window-right, window-left, window-child)
15795 (window-child-count, window-last-child)
15796 (window-iso-combination-p, walk-window-tree-1)
15797 (window-atom-check-1, window-tree-1, delete-window)
15798 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
15799 new naming conventions - window-vchild, window-hchild,
15800 window-next and window-prev are now called window-top-child,
15801 window-left-child, window-next-sibling and window-prev-sibling
15802 respectively.
d615d6d2
MR
15803 (resize-window-reset): Rename to window-resize-reset.
15804 (resize-window-reset-1): Rename to window-resize-reset-1.
15805 (resize-window): Rename to window-resize.
15806 (window-min-height, window-min-width)
15807 (resize-mini-window, resize-this-window, resize-root-window)
15808 (resize-root-window-vertically, adjust-window-trailing-edge)
15809 (enlarge-window, shrink-window, maximize-window)
15810 (minimize-window, delete-window, quit-restore-window)
15811 (split-window, balance-windows, balance-windows-area-adjust)
15812 (balance-windows-area, window-state-put-2)
15813 (display-buffer-even-window-sizes, display-buffer-set-height)
15814 (display-buffer-set-width, set-window-text-height)
15815 (fit-window-to-buffer): Rename all "resize-window" prefixed
15816 calls to use the "window-resize" prefix convention.
15817 (display-buffer-alist): Fix symbol for label specifier.
15818 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
15819 corresponding specifier.
15820 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 15821
b6458526
VB
158222011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15823
15824 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
15825 convention.
15826 (ses-call-printer): Does not pass an empty string to formatter when the
15827 cell is empty to keep from barking printer Calc math-format-value.
15828
d31fd9ac
RS
158292011-06-27 Richard Stallman <rms@gnu.org>
15830
43d5bf84
RS
15831 * battery.el (battery-mode-line-limit): New variable.
15832 (battery-update): Handle it.
15833
d31fd9ac
RS
15834 * mail/rmailmm.el (rmail-mime-process-multipart):
15835 Handle truncated messages.
15836
819a6054
GM
158372011-06-27 Glenn Morris <rgm@gnu.org>
15838
15839 * progmodes/flymake.el (flymake-err-line-patterns):
15840 Allow for column numbers in the ant/javac pattern. (Bug#8866)
15841
cedc73f2
VB
158422011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15843
819a6054 15844 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
15845 (ses--clean-!, ses--clean-_): New functions.
15846 (ses-range): Add configurability of readout order, and conversion
15847 to Calc vector.
15848
5e5d49b6
VB
15849 * ses.el (ses-repair-cell-reference-all): New function.
15850 (ses-cell-symbol): Set macro as safe, so that it can be used in
15851 formulas.
15852
56e6cc31 15853 * ses.el: Update cycle detection algorithm.
90ca8b49 15854 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 15855 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
15856 (ses-set-localvars): New function.
15857 (ses-make-cell): Add property-list as a cell element.
15858 (ses-cell-property-get-fun, ses-cell-property-get)
15859 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
15860 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
15861 New functions.
90ca8b49
VB
15862 (ses-cell-property-set, ses-cell-property-pop)
15863 (ses-cell-property-get-handle): New macro.
15864 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
15865 New aliases, used for code readability.
15866 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
15867 cycle detection.
15868 (ses-self-reference-early-detection): New defcustom.
fac916bf 15869 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
15870 (ses-mode): Use ses-set-localvars.
15871 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
15872 before lauching the update processing.
15873 (ses-initialize-Dijkstra-attempt): New function.
15874 (ses-recalculate-cell): Update for cycle detection based on
15875 Dijkstra algorithm.
15876
2bb63e81
VB
15877 * ses.el: Fix commenting and indenting convention.
15878
c9d29fb8
SM
158792011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15880
15881 * bs.el (bs-cycle-next): Complete last change.
15882
d8e4b68b
JB
158832011-06-27 Drew Adams <drew.adams@oracle.com>
15884
15885 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
15886
40098786
LMI
158872011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15888
c9d29fb8
SM
15889 * net/network-stream.el (network-stream-open-starttls):
15890 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
15891 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
15892
40098786
LMI
15893 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
15894 to binary to possibly avoid line encoding issues on Windows (among
15895 other things).
15896
468d09d4
LMI
158972011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15898
15899 * net/network-stream.el (open-network-stream): Return an :error
15900 saying what the problem was, if possible.
15901
15902 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
15903 server.
15904
15905 * net/network-stream.el (network-stream-open-starttls): If we
15906 wanted to use STARTTLS, and the server offered it, but we weren't
15907 able to because we had no STARTTLS support, then close the connection.
15908 (open-network-stream): Return an :error element, if present.
15909
16f07dd7
CY
159102011-06-26 Chong Yidong <cyd@stupidchicken.com>
15911
88821ca0
CY
15912 * hl-line.el (hl-line-sticky-flag): Doc fix.
15913 (global-hl-line-sticky-flag): New option (Bug#8323).
15914 (global-hl-line-highlight): Obey it.
15915
16f07dd7
CY
15916 * vc/vc.el (vc-revert-show-diff): Default to t.
15917
6b5ccddf
KM
159182011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
15919
c9d29fb8
SM
15920 * allout-widgets.el (allout-widgets-post-command-business):
15921 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
15922 undecorated when an isearch is continued past, and isearch
15923 automatically collapses them. This leads to "widget leaks", where
15924 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
15925 hidden widgets can slow down cursor travel, substantially.
15926 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
15927 so we're doing without this nicety.
15928
15929 (allout-widgets-tally-string): Don't try to do a hash-table-count
15930 of allout-widgets-tally when it's nil. This eliminates spurious "Error
15931 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
15932 *Messages* when allout-widgets-maintain-tally is t.
15933
355f2e07
MR
159342011-06-26 Martin Rudalics <rudalics@gmx.at>
15935
15936 * window.el (display-buffer-normalize-argument): Rename to
15937 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
15938 LABEL argument. Respect special-display-function when popping up
15939 a new frame. Fix code searching for a window showing the buffer
15940 on another frame.
c9d29fb8
SM
15941 (display-buffer-normalize-specifiers):
15942 Call display-buffer-normalize-arguments.
355f2e07
MR
15943 (display-buffer-in-window): Don't undedicate the window if its
15944 buffer remains the same.
15945 Reported by Drew Adams <drew.adams@oracle.com>.
15946 (display-buffer-alist): Add choice for same-window macro
15947 specfier.
15948 (display-buffer): Mention special meaning of LABEL argument in
15949 doc-string. Fix quoting. Don't pop up a new frame even as
15950 fallback.
15951
7ca8fc42
JB
159522011-06-26 Juanma Barranquero <lekktu@gmail.com>
15953
15954 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
15955 avoid deleting the current window in some cases (bug#8911).
15956
bc312254
AS
159572011-06-26 Andreas Schwab <schwab@linux-m68k.org>
15958
15959 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
15960 (Bug#8934)
15961
2db18f3f
LMI
159622011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15963
c9d29fb8
SM
15964 * net/network-stream.el (network-stream-open-starttls):
15965 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
15966 (network-stream-open-tls): Ditto.
15967
6302e0d3
LL
159682011-06-26 Leo Liu <sdl.web@gmail.com>
15969
15970 * register.el (registerv): New struct.
15971 (registerv-make): New function.
c9d29fb8
SM
15972 (jump-to-register, describe-register-1, insert-register):
15973 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
15974 struct. (Bug#8415)
15975
5fdd4046
CY
159762011-06-26 Chong Yidong <cyd@stupidchicken.com>
15977
2afef60a
CY
15978 * vc/vc.el (vc-revert-show-diff): New defcustom.
15979 (vc-diff-internal): New arg specifying diff buffer.
15980 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
15981 reuse an existing *vc-diff* buffer (Bug#8927).
15982
5fdd4046
CY
15983 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
15984
e93db24a
GM
159852011-06-26 Glenn Morris <rgm@gnu.org>
15986
15987 * progmodes/f90.el (f90-critical-indent): New option.
15988 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
15989 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
15990 (f90-mode): Doc fix.
15991 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
15992 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
15993 (f90-beginning-of-block, f90-next-block, f90-indent-region)
15994 (f90-match-end): Handle block, critical.
15995
eefff499
GM
159962011-06-25 Glenn Morris <rgm@gnu.org>
15997
f6ba4cc9
GM
15998 * calendar/diary-lib.el (diary-included-files): Doc fix.
15999 (diary-include-files): New function, extracted from
16000 diary-include-other-diary-files and diary-mark-included-diary-files.
16001 (diary-include-other-diary-files, diary-mark-included-diary-files):
16002 Just call diary-include-files.
16003 (diary-mark-entries): Reset diary-included-files on first call.
16004
16712304
GM
16005 * calendar/diary-lib.el (diary-mark-entries)
16006 (diary-mark-included-diary-files):
16007 Visit included diary-files in temp buffers.
16008
5d8e0d43
GM
16009 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16010 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16011 (f90-start-block-re, f90-imenu-generic-expression)
16012 (f90-looking-at-program-block-start, f90-no-block-limit):
16013 Add support for submodules.
16014
ccf7a5d5
GM
16015 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16016 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 16017
11fdef7d 160182011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
16019
16020 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16021 buffer-file-type before setting its value, to avoid disastrous
eefff499 16022 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 16023
74f53697
JB
160242011-06-25 Juanma Barranquero <lekktu@gmail.com>
16025
16026 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16027
16028 * ses.el (ses-unload-function):
16029 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16030
16031 * proced.el (proced-unload-function):
16032 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16033
18a4ce5e
AR
160342011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16035
16036 * server.el (server-create-window-system-frame): Add parameters arg.
16037 (server-process-filter): Doc fix. Handle frame-parameters.
16038
519d22cc
JB
160392011-06-25 Juanma Barranquero <lekktu@gmail.com>
16040
16041 Fix bug#8730, bug#8781.
16042
16043 * loadhist.el (unload--set-major-mode): New function.
16044 (unload-feature): Use it.
16045
16046 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16047 (python-unload-function): New function.
16048
c206f5b0
SM
160492011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16050
16051 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16052
f9ad64f3
GS
160532011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16054
16055 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16056 the candidates list.
16057
7d0da90e
JB
160582011-06-24 Juanma Barranquero <lekktu@gmail.com>
16059
16060 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16061
14b4e83d
RS
160622011-06-23 Richard Stallman <rms@gnu.org>
16063
16064 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16065 (rmail-variables): Set next-error-move-function.
16066 (rmail-what-message): Take argument POS.
16067 (rmail-next-error-move): New function.
16068
273d2baf
SM
160692011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16070
16071 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16072 messages for adjacent non-terminals.
16073
56c2cc9a
RS
160742011-06-23 Richard Stallman <rms@gnu.org>
16075
16076 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 16077 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
16078 (rmail-start-mail): Don't specify use of rmail-mail-return;
16079 that's done by mail-bury now.
16080 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 16081
d59eb518
MA
160822011-06-23 Michael Albinus <michael.albinus@gmx.de>
16083
16084 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16085 SIZE is a number.
16086
02cfc6d6
MR
160872011-06-23 Martin Rudalics <rudalics@gmx.at>
16088
16089 * window.el (get-lru-window, get-mru-window)
16090 (get-largest-window): Never return a minibuffer window.
16091 (display-buffer-pop-up-window): Fix a bug that could lead to
16092 reusing the minibuffer window.
16093 (display-buffer): Pass original specifier argument to
16094 display-buffer-function instead of the normalized one.
16095 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16096
4e323265
LL
160972011-06-22 Leo Liu <sdl.web@gmail.com>
16098
16099 * minibuffer.el (completing-read-function)
16100 (completing-read-default): Move from minibuf.c
16101
7a70468f
RS
161022011-06-22 Richard Stallman <rms@gnu.org>
16103
50718fc2
RS
16104 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16105 to Rmail even if not started by a special Rmail command.
16106
7a70468f
RS
16107 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16108 Copy the buffer currently showing just one message.
16109
297dde5a
RW
161102011-06-22 Roland Winkler <winkler@gnu.org>
16111
16112 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16113 (bibtex-clean-entry): First delete the old key so that a
16114 customized algorithm for generating the new key does not get
16115 confused by the old key.
16116 (bibtex-url): Obey regexp of first step.
16117 (bibtex-search-entries): Do not use add-to-list with local
16118 list-var.
16119
97bb1093
LMI
161202011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16121
16122 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16123 stored a user name, then query for the password first, instead of
16124 waiting for SMTP to give an error message and the trying again.
16125
1c0f1a19
JD
161262011-06-22 Lawrence Mitchell <wence@gmx.li>
16127
16128 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16129 BUFFER in call-process.
16130
396f7c9d
LMI
161312011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16132
16133 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16134 QUIT twice.
ddb7ffee
LMI
16135 (smtpmail-try-auth-methods): Require user name and password from
16136 auth-source.
396f7c9d 16137
8998d1b3
MR
161382011-06-22 Martin Rudalics <rudalics@gmx.at>
16139
16140 * window.el (display-buffer-default-specifiers)
16141 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16142 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 16143 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
16144
16145 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16146 (special-display-frame-alist, special-display-popup-frame):
16147 Remove duplicate declarations. These are now in window.el.
16148
4ea31e07
LMI
161492011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16150
c9d29fb8
SM
16151 * mail/smtpmail.el (smtpmail-via-smtp):
16152 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
16153 server supports it. SMTP servers that support STARTTLS commonly
16154 require it.
16155
16156 * net/network-stream.el (network-stream-open-starttls): Support
16157 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 16158 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 16159
95f41d9a
LMI
16160 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16161 upgrades with `open-network-stream', and rely solely on
16162 auth-source for all credentials. Big changes throughout the file,
16163 but in particular:
c9d29fb8
SM
16164 (smtpmail-auth-credentials): Remove.
16165 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
16166 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16167 MAIL FROM, too.
95f41d9a 16168
c9d29fb8
SM
16169 * net/network-stream.el (network-stream-open-starttls):
16170 Provide support for client certificates both for external and built-in
4ea31e07
LMI
16171 STARTTLS.
16172 (auth-source): Require.
16173 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
16174 (network-stream-certificate): Change cert-cert to cert and
16175 cert-key to key.
4ea31e07 16176
065ec2c7
MA
161772011-06-21 Michael Albinus <michael.albinus@gmx.de>
16178
16179 * net/tramp-cache.el (top): Don't load the persistency file when
16180 "emacs -Q" has been called.
16181
cd93b359
DR
161822011-06-21 Tim Harper <timcharper@gmail.com>
16183
d8e4b68b
JB
16184 * term/ns-win.el (ns-initialize-window-system):
16185 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
16186 resource to NO as it is not yet supported by the NS port.
16187
ae9c0411
JB
161882011-06-21 Juanma Barranquero <lekktu@gmail.com>
16189
16190 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16191 (list-dynamic-libraries): ...not here.
16192
7f3f739f
LL
161932011-06-21 Leo Liu <sdl.web@gmail.com>
16194
16195 * subr.el (sha1): Implement sha1 using secure-hash.
16196
327c8fb1
MR
161972011-06-21 Martin Rudalics <rudalics@gmx.at>
16198
16199 * window.el (display-buffer-alist): In default value do not
16200 enforce searching a window on any but the selected frame.
16201 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16202 (display-buffer-select-window): Remove function.
16203 (display-buffer-in-window): When a window on another frame gets
16204 reused, do not select it any more but just raise its frame if
16205 necessary (Bug#8851) and (Bug#8856).
16206 (display-buffer-normalize-options): Handle pop-up-frames related
16207 options more faithfully.
16208 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16209 window if it is on another frame.
c9d29fb8
SM
16210 (display-buffer-alist, display-buffer-default-specifiers):
16211 Don't make new frame unsplittable by default.
9e9de014
MR
16212 (display-buffer-normalize-argument): Fix doc-string typo and use
16213 'same-frame-other-window instead of 'other-window when associating
16214 with display-buffer-macro-specifiers.
327c8fb1 16215
7cf3f556
VB
162162011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16217
16218 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16219 New functions.
16220 (5x5-mode-map, 5x5-mode-menu): Bind them.
16221 (5x5-draw-grid): Tweak the solver's rendering.
16222
60a406cf
SM
162232011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16224
16225 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16226 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16227
d8e4b68b 162282011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
16229
16230 * menu-bar.el: Use function variable instead of switch-to-buffer.
16231 (menu-bar-select-buffer-function): New variable.
60a406cf 16232 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 16233
478d6f95
SM
162342011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16235
16236 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16237 variable's status.
16238
ca530739
JD
162392011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16240
16241 * x-dnd.el (x-dnd-version-from-flags)
16242 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16243 and long as number (Bug#8899).
16244 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16245
bcd70d97
SM
162462011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16247
60a406cf 16248 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
16249 (completion-try-completion, completion-all-completions): Compute the
16250 metadata argument if it's missing; make it optional (bug#8795).
16251
60a406cf 16252 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
16253 (widget-complete): Use new :completion-function property.
16254 (widget-completions-at-point): New function.
16255 (default): Use :completion-function instead of :complete.
60a406cf
SM
16256 (widget-default-completions): Rename from widget-default-complete;
16257 Rewrite.
bcd70d97
SM
16258 (widget-string-complete, widget-file-complete, widget-color-complete):
16259 Remove functions.
16260 (file, symbol, function, variable, coding-system, color):
16261 * international/mule-cmds.el (default-input-method, charset)
16262 (language-info-custom-alist):
16263 * cus-edit.el (face): Use new property :completions.
16264
16265 * progmodes/pascal.el (pascal-completions-at-point): New function.
16266 (pascal-mode): Use it.
16267 (pascal-mode-map): Use completion-at-point.
16268 (pascal-toggle-completions): Make obsolete.
16269 (pascal-complete-word, pascal-show-completions):
16270 * progmodes/octave-mod.el (octave-complete-symbol):
16271 Redefine as obsolete alias.
16272 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16273 Signal absence of completion info for old Octave,
16274 (inferior-octave-complete): Redefine as obsolete alias.
16275 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16276 (meta-completions-at-point): Rename from meta-complete-symbol and
16277 adapt it for use on completion-at-point-functions.
16278 (meta-common-mode): Use it.
16279 (meta-looking-at-backward, meta-match-buffer): Remove.
16280 (meta-complete-symbol): Redefine as obsolete alias.
16281 (meta-common-mode-map): Use completion-at-point.
16282 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16283 (makefile-mode-map): Use completion-at-point.
16284 (makefile-completions-at-point): Rename from makefile-complete and
16285 adapt it for use on completion-at-point-functions.
16286 (makefile-mode): Use it.
16287 (makefile-complete): Redefine as obsolete alias.
16288
aebf69c8
DD
162892011-06-20 Deniz Dogan <deniz@dogan.se>
16290
16291 * net/rcirc.el: Delete trailing whitespaces once and for all.
16292
bfbbb27d
DC
162932011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16294
16295 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16296
d264a46b
CY
162972011-06-19 Chong Yidong <cyd@stupidchicken.com>
16298
4ca009e5
CY
16299 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16300
d264a46b
CY
16301 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16302
fbf5b3ce
MR
163032011-06-19 Martin Rudalics <rudalics@gmx.at>
16304
16305 * window.el (display-buffer-other-window-means-other-frame):
16306 Call display-buffer-normalize-alist.
16307 (display-buffer-normalize-specifiers-1): Rename to
16308 display-buffer-normalize-argument. New argument other-frame.
16309 Rewrite.
16310 (display-buffer-normalize-specifiers-2): Rename to
16311 display-buffer-normalize-options.
16312 (display-buffer-normalize-alist-1): New function.
16313 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
16314 display-buffer-normalize-alist.
16315 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
16316 (display-buffer-normalize-options-inhibit): New variable.
16317 (display-buffer-normalize-specifiers): Rewrite calling
16318 display-buffer-normalize-alist,
16319 display-buffer-normalize-argument, and
16320 display-buffer-normalize-options. Don't call the latter if
16321 display-buffer-normalize-options-inhibit is non-nil.
16322 (frame-auto-delete): New option.
16323 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
16324 (window-list-no-nils, window-state-ignored-parameters)
16325 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
16326 (window-state-put-1, window-state-put-2, window-state-put):
16327 New functions.
9a028c23
MR
16328 (display-buffer-normalize-options): Move special-display-p group
16329 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 16330
6d10d800
CY
163312011-06-18 Chong Yidong <cyd@stupidchicken.com>
16332
6420d28b
CY
16333 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16334 groups (Bug#8776).
16335 (rx-submatch-n): New function.
16336 (rx): Document it.
16337
ddb8b596
CY
16338 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16339 (Bug#8768).
16340
16341 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16342
77080289
CY
16343 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16344
61dfb316
CY
16345 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16346 anytime existing face settings are present (Bug#8889).
16347
6d10d800
CY
16348 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16349 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16350 Remove unused argument.
16351
be3fb2b8
MR
163522011-06-18 Martin Rudalics <rudalics@gmx.at>
16353
bcd70d97
SM
16354 * window.el (display-buffer-default-specifiers):
16355 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
16356 pop-up-window-min-width, and another reuse-window specifier
16357 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
16358 (display-buffer-normalize-specifiers-2):
16359 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
16360 pop-up-windows is unset. Add a reuse-window specifier for the
16361 case popping up a new window fails.
16362 (special-display-popup-frame): Remove double quoting.
28dec25a 16363 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 16364
1c6d8c76
SM
163652011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16366
16367 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16368 according to comint-completion-addsuffix.
16369
16370 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16371 (pcomplete-suffix-list): Mark as obsolete.
16372 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16373 pcomplete-seen in the closure.
16374 (pcomplete-comint-setup): Setup completion-at-point as well.
16375 (pcomplete--entries): New function.
16376 (pcomplete--env-regexp): New var.
16377 (pcomplete-entries): Rewrite to work with partial-completion and
16378 without relying on pcomplete-suffix-list.
16379 (pcomplete-pare-list): Remove, unused.
16380
25aef8b8
MR
163812011-06-17 Martin Rudalics <rudalics@gmx.at>
16382
16383 * window.el (display-buffer-alist): Set pop-up-window-min-height
16384 and pop-up-window-min-width in default value. Reported by
16385 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16386 other-window-means-other-frame.
16387 (display-buffer-macro-specifiers): Comment out entry for
16388 other-window specifier.
16389 (display-buffer-other-window-means-other-frame): New function.
16390 (display-buffer-normalize-specifiers-1): New arguments
16391 buffer-name and label. Treat other-window case specially.
16392 (display-buffer-normalize-specifiers-2): Treat other-window case
16393 specially.
16394 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
16395 (display-buffer-normalize-specifiers):
16396 Call display-buffer-normalize-specifiers-3.
25aef8b8 16397
dbad4f69
MR
163982011-06-17 Martin Rudalics <rudalics@gmx.at>
16399
16400 * window.el (same-window-p): Fix two typos introduced when
16401 adding with-no-warnings.
d1067961
MR
16402 (display-buffer-normalize-specifiers-1): Don't check
16403 pop-up-frames for 'unset initialization.
16404 (display-buffer-normalize-specifiers-2): Major rewrite using
16405 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16406 (pop-up-frames, display-buffer-reuse-frames)
16407 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16408 Suggested by David Engster <deng@randomsample.de>.
16409 (even-window-heights): Initialize to 'unset.
16410 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
16411 (display-buffer-macro-specifiers): Don't pop up a new frame in the
16412 other window case.
dbad4f69 16413
9b9c9e3a
MR
164142011-06-16 Martin Rudalics <rudalics@gmx.at>
16415
bcd70d97
SM
16416 * window.el (display-buffer-normalize-specifiers-1):
16417 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 16418 second argument of display-buffer (Bug#8865).
981d5c09
MR
16419 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16420 (switch-to-buffer-other-window-same-frame)
16421 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
16422 Adams (Bug#8875).
9c2755e9
MR
16423 (display-buffer): Don't check noninteractive when calling
16424 display-buffer-pop-up-frame.
16425 (display-buffer-pop-up-frame): Never pop up a frame in
16426 noninteractive mode (Bug#8857).
67222e1d
MR
16427 (enlarge-window, shrink-window): Don't report an error when the
16428 window can't be resized as requested (Bug#8862).
9b9c9e3a 16429
2b75be67
SM
164302011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16431
9ffdd3ba
SM
16432 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16433
cb581a67
SM
16434 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16435
2b75be67
SM
16436 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16437
8c0e3589
AM
164382011-06-15 Alan Mackenzie <acm@muc.de>
16439
cb581a67
SM
16440 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16441 for declarators, disable knr checking to speed up for normal files.
16442 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 16443
b96e6cde
LMI
164442011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16445
4bba86e6
LMI
16446 * net/network-stream.el (open-network-stream): Add the keyword
16447 :always-query-capabilities for the case where you want to force a
16448 `plain' network connection, but the protocol still requires the
16449 capabilitiy command (i.e., SMTP and EHLO).
16450
2b75be67 16451 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
16452 consistency with other `-live-p' functions.
16453
efdcdbf8
SM
164542011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16455
16456 * window.el (same-window-buffer-names, same-window-regexps)
16457 (special-display-frame-alist, special-display-popup-frame)
16458 (special-display-function, special-display-buffer-names)
16459 (special-display-regexps, pop-up-frame-alist)
16460 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16461 (pop-up-windows, split-window-preferred-function)
16462 (split-height-threshold, split-width-threshold, even-window-heights)
16463 (display-buffer-mark-dedicated): Don't encourage the use of
16464 display-buffer-alist from Elisp code.
16465
c5cde042
DN
164662011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
16467
16468 * progmodes/python.el (python-mode): Derive from prog-mode.
16469 * progmodes/ps-mode.el (ps-mode):
16470 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 16471 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
16472 * progmodes/ld-script.el (ld-script-mode): Likewise.
16473
baa1c9ab
MR
164742011-06-15 Martin Rudalics <rudalics@gmx.at>
16475
16476 * window.el (display-buffer-alist): Trim default value to avoid
16477 popping up a new frame (Bug#8857) or reusing an arbitrary window
16478 on another frame.
16479 (display-buffer): Do not fall back on popping up a new frame in
16480 batch mode (Bug#8857).
16481
c5dd5a51
CY
164822011-06-14 Chong Yidong <cyd@stupidchicken.com>
16483
16484 * cus-theme.el (describe-theme-1): Use custom-theme-p.
16485 (custom-theme-summary): New function.
16486 (customize-themes): Use it.
16487
d647b7c4
GM
164882011-06-13 Glenn Morris <rgm@gnu.org>
16489
16490 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16491
9481c002
MR
164922011-06-13 Martin Rudalics <rudalics@gmx.at>
16493
357f93d2
MR
16494 * help.el (help-window): Remove variable.
16495 (help-window-point-marker, temp-buffer-max-height)
16496 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16497 (help-print-return-message): Don't set help-window.
16498 (resize-temp-buffer-window): Rewrite cod eand doc-string.
16499 (help-window-setup-finish): Remove.
16500 (help-window-display-message, help-window-setup)
16501 (with-help-window): Major rewrite based on new
16502 display-buffer-window variable.
16503
16504 * help-mode.el (help-mode-finish): Remove help-window related
16505 code.
16506
16507 * view.el (view-exits-all-viewing-windows): Remove reference to
16508 view-return-to-alist in doc-string.
16509 (view-return-to-alist): Make obsolete.
16510 (view-buffer): Call pop-to-buffer-same-window and remove
16511 undo-window code.
16512 (view-buffer-other-window): Call pop-to-buffer-other-window and
16513 simplify code. Ignore second argument.
16514 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
16515 simplify code. Ignore second argument.
16516 (view-return-to-alist-update): Make obsolete.
16517 (view-mode-enter): Rename second argument to QUIT-RESTORE.
16518 Rewrite using quit-restore window parameters.
2b75be67
SM
16519 (view-mode-exit): Rename second argument to EXIT-ONLY.
16520 Rewrite using quit-restore-window.
357f93d2
MR
16521 (View-exit, View-exit-and-edit, View-leave, View-quit)
16522 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
16523 appropriate arguments.
16524 (view-end-message): Use quit-restore window parameter.
16525
9481c002
MR
16526 * window.el (display-buffer-function): Rewrite doc-string.
16527 (display-buffer-window, display-buffer-alist): New variables.
16528 (display-buffer-split-specifiers)
16529 (display-buffer-side-specifiers)
16530 (display-buffer-macro-specifiers): New constants.
16531 (display-buffer-even-window-sizes, display-buffer-set-height)
16532 (display-buffer-set-width, display-buffer-select-window)
16533 (display-buffer-in-window, display-buffer-reuse-window)
16534 (display-buffer-split-window-1, display-buffer-split-window)
16535 (display-buffer-split-atom-window, display-buffer-pop-up-window)
16536 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
16537 (display-buffer-in-side-window, normalize-buffer-to-display)
16538 (display-buffer-normalize-specifiers-1)
16539 (display-buffer-normalize-specifiers-2)
2b75be67
SM
16540 (display-buffer-normalize-specifiers, display-buffer-frame):
16541 New functions.
9481c002
MR
16542 (display-buffer): Major rewrite.
16543 (display-buffer-other-window, display-buffer-other-frame)
16544 (pop-to-buffer, switch-to-buffer-other-window)
16545 (switch-to-buffer-other-frame): Rewrite.
16546 (display-buffer-same-window, display-buffer-same-frame)
16547 (display-buffer-same-frame-other-window)
16548 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16549 (pop-to-buffer-other-window)
16550 (pop-to-buffer-same-frame-other-window)
16551 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
16552 (switch-to-buffer-other-window-same-frame): New functions.
16553 (same-window-p, special-display-p): Rewrite disabling warnings.
16554 Make obsolete.
16555 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16556 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
16557 Make obsolete
16558 (same-window-buffer-names, same-window-regexps)
16559 (special-display-frame-alist, special-display-popup-frame)
16560 (special-display-function, special-display-buffer-names)
16561 (special-display-regexps, pop-up-frame-alist)
16562 (pop-up-frame-function, split-window-preferred-function)
16563 (split-height-threshold, split-width-threshold)
16564 (even-window-heights): Make obsolete.
16565
9db51aca
GM
165662011-06-12 Glenn Morris <rgm@gnu.org>
16567
16568 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 16569 Misc simplifications.
9db51aca 16570
39cffb44
MR
165712011-06-12 Martin Rudalics <rudalics@gmx.at>
16572
16573 * window.el (window-safely-shrinkable-p): Restore function which
16574 was inadvertently removed in change from 2011-06-11. Declare as
16575 obsolete.
16576
2b75be67
SM
16577 * calendar/calendar.el (calendar-generate-window):
16578 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
16579 window-safely-shrinkable-p.
16580
a8955be7
GM
165812011-06-12 Glenn Morris <rgm@gnu.org>
16582
16583 * progmodes/fortran.el (fortran-mode-syntax-table):
16584 * progmodes/f90.el (f90-mode-syntax-table):
16585 Set % to punctuation. (Bug#8820)
16586 (f90-find-tag-default): Remove, no longer needed.
16587
f0d4059d
DC
165882011-06-12 Daniel Colascione <dan.colascione@gmail.com>
16589
16590 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
16591
1100a63c
CY
165922011-06-11 Chong Yidong <cyd@stupidchicken.com>
16593
16594 * image.el (image-animated-p): Return animation delay in seconds.
16595 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
16596 (image-animate-timeout): Remove DELAY argument. Don't assume
16597 every subimage has the same delay; get it from image-animated-p.
16598 (image-animate): Caller changed.
16599
def722bf
MA
166002011-06-11 Michael Albinus <michael.albinus@gmx.de>
16601
16602 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
16603 to ignored backtrace functions.
16604
0a2bb1a9
GM
166052011-06-11 Glenn Morris <rgm@gnu.org>
16606
16607 * calendar/appt.el (appt-disp-window-function): Doc fix.
16608 (appt-check): Handle overlapping appointments. (Bug#8337)
16609
6198ccd0
MR
166102011-06-11 Martin Rudalics <rudalics@gmx.at>
16611
16612 * window.el (window-tree-1, window-tree): New functions, moving
16613 the latter to window.el.
16614 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
16615 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
16616 (bw-refresh-edges): Remove.
16617 (balance-windows-1, balance-windows-2): New functions.
16618 (balance-windows): Rewrite in terms of window tree functions,
16619 balance-windows-1 and balance-windows-2.
16620 (bw-adjust-window): Remove.
16621 (balance-windows-area-adjust): New function with functionality of
16622 bw-adjust-window but using resize-window.
2b75be67
SM
16623 (set-window-text-height): Rewrite doc-string.
16624 Use normalize-live-window and resize-window.
16625 (enlarge-window-horizontally, shrink-window-horizontally):
16626 Rename argument to DELTA.
6198ccd0
MR
16627 (window-buffer-height): New function.
16628 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
16629 Rewrite using new window resize routines.
2b75be67
SM
16630 (kill-buffer-and-window, mouse-autoselect-window-select):
16631 Use ignore-errors instead of condition-case.
6198ccd0
MR
16632 (quit-window): Call delete-frame instead of delete-windows-on
16633 for the only buffer on frame.
16634
9397e56f
MR
166352011-06-10 Martin Rudalics <rudalics@gmx.at>
16636
16637 * loadup.el (top-level): Load window before files for the sake
16638 of replace-buffer-in-windows.
16639
16640 * files.el (read-buffer-to-switch)
16641 (switch-to-buffer-other-window)
2b75be67
SM
16642 (switch-to-buffer-other-frame, display-buffer-other-frame):
16643 Move to window.el.
9397e56f
MR
16644
16645 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
16646 (previous-buffer): Move to window.el.
16647
16648 * bindings.el (unbury-buffer): Move to window.el.
16649
16650 * window.el (delete-other-windows-vertically): Move after
16651 definition of delete-other-windows.
16652 (other-window, delete-windows-on, replace-buffer-in-windows):
16653 Move here from window.c.
16654 (record-window-buffer, unrecord-window-buffer)
16655 (set-window-buffer-start-and-point, switch-to-prev-buffer)
16656 (switch-to-next-buffer): New functions.
16657 (get-next-valid-buffer, last-buffer, next-buffer): Move here
16658 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
16659 (previous-buffer): Move here from simple.el.
16660 Call switch-to-prev-buffer.
9397e56f
MR
16661 (bury-buffer): Move here from buffer.c. Switch to previous
16662 buffer when window cannot be deleted.
16663 (unbury-buffer): Move here from bindings.el.
16664 (ctl-x-map): Move binding for other-window from window.c to
16665 here.
16666 (read-buffer-to-switch, switch-to-buffer-other-window)
16667 (switch-to-buffer-other-frame): Move here from files.el.
16668 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
16669 (switch-to-buffer): Move here from buffer.c.
16670 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 16671
562dd5e9
MR
166722011-06-10 Martin Rudalics <rudalics@gmx.at>
16673
16674 * window.el (window-min-height, window-min-width): Move here
16675 from window.c. Add defcustoms and rewrite doc-strings.
16676 (resize-mini-window, resize-window): New functions.
16677 (adjust-window-trailing-edge, enlarge-window, shrink-window):
16678 Move here from window.c.
16679 (maximize-window, minimize-window): New functions.
16680 (delete-window, delete-other-windows, split-window): Move here
16681 from window.c.
16682 (window-split-min-size): New function.
16683 (split-window-keep-point): Mention split-window-above-each-other
16684 instead of split-window-vertically.
2b75be67 16685 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
16686 Rename split-window-vertically to split-window-above-each-other
16687 and provide defalias for old definition.
16688 (split-window-side-by-side, split-window-horizontally):
16689 Rename split-window-horizontally to split-window-side-by-side
16690 and provide defalias for the old definition.
562dd5e9
MR
16691 (ctl-x-map): Move bindings for delete-window,
16692 delete-other-windows and enlarge-window here from window.c.
16693 Replace bindings for split-window-vertically and
16694 split-window-horizontally by bindings for
16695 split-window-above-each-other and split-window-side-by-side.
16696
16697 * cus-start.el (all): Remove entries for window-min-height and
16698 window-min-width. Add entries for window-splits and
16699 window-nest.
16700
f0da764a
GM
167012011-06-09 Glenn Morris <rgm@gnu.org>
16702
80675c21
GM
16703 * calendar/appt.el (appt-mode-line): New function.
16704 (appt-check, appt-disp-window): Use it.
16705
f0da764a
GM
16706 * files.el (hack-one-local-variable-eval-safep):
16707 Allow minor-modes with explicit +/-1 arguments.
16708
59f623b7
TZ
167092011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
16710
16711 * term/xterm.el (xterm): Add defgroup.
16712 (xterm-extra-capabilities): Add defcustom to supply known xterm
16713 capabilities, skip querying them, or query them (default).
16714 (terminal-init-xterm): Use it.
16715 (terminal-init-xterm-modify-other-keys): New function to set up
16716 modifyOtherKeys support to simplify `terminal-init-xterm'.
16717
9aab8e0d
MR
167182011-06-09 Martin Rudalics <rudalics@gmx.at>
16719
16720 * window.el (resize-window-reset, resize-window-reset-1)
16721 (resize-subwindows-skip-p, resize-subwindows-normal)
16722 (resize-subwindows, resize-other-windows, resize-this-window)
16723 (resize-root-window, resize-root-window-vertically)
16724 (window-deletable-p, window-or-subwindow-p)
16725 (frame-root-window-p): New functions.
16726
e8b08aee
GM
167272011-06-09 Glenn Morris <rgm@gnu.org>
16728
16729 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
16730 (ange-ftp-get-files): Use it.
16731
254c37a5
AK
167322011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
16733
16734 * mail/sendmail.el (mail-recover-1, mail-recover):
16735 * files.el (recover-file, recover-session):
16736 Handle dired-listing-switches not being just a single short option.
16737
35d7dbd3
GM
167382011-06-09 Glenn Morris <rgm@gnu.org>
16739
16740 * calendar/appt.el (appt-display-message, appt-disp-window):
16741 Handle lists of appointments.
16742
387522b2
MR
167432011-06-08 Martin Rudalics <rudalics@gmx.at>
16744
2b75be67
SM
16745 * window.el (one-window-p): Move down in code.
16746 Rewrite doc-string.
16747 (window-current-scroll-bars): Rewrite doc-string.
16748 Normalize live window argument.
387522b2
MR
16749 (walk-windows, get-window-with-predicate, count-windows):
16750 Rewrite doc-string. Use window-list-1.
16751 (window-in-direction-2, window-in-direction, get-mru-window):
16752 New functions.
16753
d8e4b68b 167542011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
16755
16756 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
16757 Doc fix (Bug#8713).
16758
167592011-06-08 Chong Yidong <cyd@stupidchicken.com>
16760
16761 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
16762
167632011-06-08 Juanma Barranquero <lekktu@gmail.com>
16764
16765 * loadhist.el (unload-feature-special-hooks):
16766 Add `comint-output-filter-functions'.
16767
0de12c52
IK
167682011-06-08 Ivan Kanis <gnu@kanis.fr>
16769
16770 * calendar/appt.el (appt-check): Move some initializations into the let.
16771
f3d1777e
MR
167722011-06-08 Martin Rudalics <rudalics@gmx.at>
16773
16774 * window.el (window-height): Defalias to window-total-height.
16775 (window-width): Defalias to window-body-width.
16776
18af70d0
CY
167772011-06-07 Chong Yidong <cyd@stupidchicken.com>
16778
16779 * image-mode.el (image-toggle-animation): New command.
16780 (image-mode-map): Bind it to RET.
16781 (image-mode): Update message.
16782 (image-toggle-display-image): Avoid a spurious cache flush.
16783 (image-transform-rotation): Doc fix.
16784 (image-transform-properties): Return quickly in the normal case.
16785 (image-animate-loop): Rename from image-animate-max-time.
16786
2b75be67 16787 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
16788 (create-animated-image): Remove unnecessary function.
16789 (image-animate): Rename from image-animate-start. New arg.
2b75be67 16790 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
16791 (image-animate-timer): Use car-safe.
16792 (image-animate-timeout): Rename argument.
16793
190b47e6
MR
167942011-06-07 Martin Rudalics <rudalics@gmx.at>
16795
16796 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
16797 window.c. Rename first argument to ALL-FRAMES.
16798 Rephrase doc-strings.
16799 (get-buffer-window-list): Rewrite using window-list-1.
16800 Rephrase doc-string.
a1511caf
MR
16801 (window-safe-min-height, window-safe-min-width): New constants.
16802 (window-size-ignore, window-min-size, window-min-size-1)
16803 (window-sizable, window-sizable-p, window-size-fixed-1)
16804 (window-size-fixed-p, window-min-delta-1, window-min-delta)
16805 (window-max-delta-1, window-max-delta, window-resizable)
16806 (window-resizable-p, window-total-height, window-total-width)
16807 (window-body-width): New functions.
16808 (window-full-height-p, window-full-width-p): Rewrite using
16809 window-total-size.
16810 (window-body-height): Rewrite using window-body-size.
190b47e6 16811
85cc1f11
MR
168122011-06-06 Martin Rudalics <rudalics@gmx.at>
16813
16814 * window.el (window-right, window-left, window-child)
16815 (window-child-count, window-last-child, window-any-p)
16816 (normalize-live-buffer, normalize-live-frame)
16817 (normalize-any-window, normalize-live-window)
16818 (window-iso-combination-p, window-iso-combined-p)
16819 (window-iso-combinations)
16820 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
16821 (windows-with-parameter, window-with-parameter)
16822 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
16823 (window-atom-check, window-side-check, window-check):
16824 New functions.
85cc1f11
MR
16825 (ignore-window-parameters, window-sides, window-sides-vertical)
16826 (window-sides-slots): New variables.
16827 (window-size-fixed): Move down in code. Minor doc-string fix.
16828
e7156492
AS
168292011-06-05 Andreas Schwab <schwab@linux-m68k.org>
16830
16831 * comint.el (comint-dynamic-complete-as-filename)
16832 (comint-dynamic-complete-filename): Correctly call
16833 completion-in-region.
16834
7e821d0d
DD
168352011-06-05 Deniz Dogan <deniz@dogan.se>
16836
16837 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
16838 in last change.
16839
ac09b8a1
DD
168402011-06-05 Deniz Dogan <deniz@dogan.se>
16841
16842 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
16843 (rcirc): Use it to prompt for encryption.
16844
34699b85
RW
168452011-06-05 Roland Winkler <winkler@gnu.org>
16846
16847 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
16848 (bibtex-search-entries): New command bound to C-c C-a.
16849 (bibtex-display-entries): New function.
16850
004dedd3
RW
168512011-06-05 Roland Winkler <winkler@gnu.org>
16852
16853 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
16854 (bibtex-insert-kill): After yanking insert newline if necessary.
16855 (bibtex-initialize): Call bibtex-string-files-init only once.
16856 (bibtex-mode): Do not call easy-menu-add.
16857 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
16858 (bibtex-yank): Set arg properly if nil.
16859
022fe7ce
RW
168602011-06-05 Roland Winkler <winkler@gnu.org>
16861
2b75be67
SM
16862 * textmodes/bibtex.el (bibtex-search-entry-globally):
16863 New variable.
022fe7ce
RW
16864 (bibtex-search-entry): Use it.
16865
b7c3692a
RW
168662011-06-05 Roland Winkler <winkler@gnu.org>
16867
16868 * textmodes/bibtex.el (bibtex-entry-format): New option
16869 sort-fields.
16870 (bibtex-format-entry, bibtex-reformat): Honor this option.
16871 (bibtex-parse-entry): Return fields in proper order.
16872
8eda563d
JB
168732011-06-05 Juanma Barranquero <lekktu@gmail.com>
16874
16875 * doc-view.el (doc-view-remove-if): Move computation of result out
16876 of `dolist' to silence misleading lexical-binding warning.
16877
7dbe3dbc
CY
168782011-06-04 Chong Yidong <cyd@stupidchicken.com>
16879
16880 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
16881 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
16882
0c33dd17
MA
168832011-06-04 Michael Albinus <michael.albinus@gmx.de>
16884
16885 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
16886 "SunOS 5.10".
16887
f8f91c2b
MA
168882011-06-04 Michael Albinus <michael.albinus@gmx.de>
16889
16890 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
16891 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
16892 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
16893 (tramp-parse-putty):
16894 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
16895 (tramp-completion-function-alist-ssh)
16896 (tramp-completion-function-alist-telnet)
16897 (tramp-completion-function-alist-su)
16898 (tramp-completion-function-alist-putty): Set `tramp-autoload'
16899 cookie.
16900
16901 * net/tramp-ftp.el:
16902 * net/tramp-sh.el:
16903 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
16904 load "tramp.el" `tramp-set-completion-function'.
16905
e17d9003
SM
169062011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
16907
16908 * shell.el: Require and use pcomplete.
16909 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
16910 (shell-completion-vars): Set pcomplete-default-completion-function.
16911
6c4cab03
DD
169122011-06-04 Deniz Dogan <deniz@dogan.se>
16913
16914 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
16915 `memq' (Bug#8799).
16916
ea9fafe0
SM
169172011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16918
16919 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
16920
b3e945d3
JB
169212011-06-02 Juanma Barranquero <lekktu@gmail.com>
16922
16923 * bs.el (bs--mark-unmark, bs--nth-wrapper):
16924 * mpc.el (mpc-select-extend, mpc-songpointer-context):
16925 * vc/log-view.el (log-view-beginning-of-defun):
16926 * vc/smerge-mode.el (smerge-apply-resolution-patch)
16927 (smerge-refine-forward, smerge-refine-chopup-region):
16928 Silence warning for unused `dotimes' counter variables.
16929
7d520089
SM
169302011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16931
16932 * net/tramp.el (tramp-with-progress-reporter): Rename from
16933 with-progress-reporter. Use `declare'.
16934 * net/tramp-smb.el:
16935 * net/tramp-sh.el:
16936 * net/tramp-gvfs.el: Update all uses.
16937
a1c2400f
JB
169382011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
16939
16940 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
16941 buffer isn't killed before making it current.
16942
2403c841
SM
169432011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16944
16945 Silence various byte-compiler warnings.
16946 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
16947 `access-type' and new obsolescence format.
16948 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
16949 new format.
16950 (byte-compile-check-variable): New `access-type' argument.
16951 Only warn if the access-type is obsolete.
16952 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16953 (byte-compile-variable-set): Adjust callers.
16954 * help-fns.el (describe-variable): Adjust to new obsolescence format.
16955 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
16956 setting it as obsolete.
16957 * simple.el (minibuffer-completing-symbol):
16958 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
16959 access as obsolete.
16960 * minibuffer.el (minibuffer-completing-file-name): Don't make it
16961 obsolete yet.
16962 * international/quail.el (quail-mouse-choose-completion): Remove unused
16963 code referring to obsolete var.
16964 (quail-choose-completion-string): Remove.
16965 * server.el (server-clients-with, server-kill-buffer-query-function)
16966 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
16967 * proced.el (proced-send-signal):
16968 * emacs-lisp/lisp.el (lisp-complete-symbol):
16969 Replace completion-annotate-function with completion-extra-properties.
16970
2462470b
SM
169712011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16972
fb5b2591
SM
16973 * simple.el (goto-line): Use read-number.
16974 (overriding-map-is-bound): Remove.
16975 (saved-overriding-map): Change default.
16976 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
16977 Take the map as argument.
16978 (universal-argument, negative-argument, digit-argument): Use it.
16979 (restore-overriding-map): Adjust.
16980 (do-auto-fill): Use fill-forward-paragraph.
16981 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
16982
fd6fa53f
SM
16983 * minibuffer.el (minibuffer-inactive-mode-map): New var.
16984 (minibuffer-inactive-mode): New major mode.
16985 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
16986 the *Messages* buffer" hack.
16987 (mouse-popup-menubar): Don't burp if the event is a normal key.
16988
2462470b
SM
16989 Miscellaneous tweaks.
16990 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
16991 lexical scoping as in subr.el's dolist and dotimes.
16992 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
16993 Silence compiler warning.
16994 * thingatpt.el (forward-whitespace): Trivial coding style fix.
16995 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
16996 * international/ccl.el (ccl-compile): Trivial simplification.
16997 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
16998 * emacs-lisp/testcover.el (testcover-end): Remove spurious
16999 `printflag' argument.
17000 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17001 Purecopy the whole obsolescence data.
17002
108bf785
LL
170032011-06-01 Leo Liu <sdl.web@gmail.com>
17004
17005 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17006 improve doc-string as suggested by Marco Pessotto
17007 <melmothx@gmail.com>.
17008 (rcirc-print): Fix last change.
17009
30a23501
SM
170102011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17011
17012 * minibuffer.el (complete-with-action): Return nil for the metadata and
17013 boundaries of non-functional tables.
17014 (completion-table-dynamic): Return nil for the metadata.
17015 (completion-table-with-terminator): Add default case, using
17016 complete-with-action.
17017 (completion--metadata): New function.
17018 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17019 to try and avoid pathological performance problems.
17020 (completion--embedded-envvar-table): Return `category' metadata.
17021
bcd54f83
LMI
170222011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17023
17024 * subr.el (process-alive-p): New tiny convenience function.
17025
e227544d
SM
170262011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17027
17028 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17029 content but also its previous major mode.
17030
e8296fdc
HE
170312011-05-31 Helmut Eller <eller.helmut@gmail.com>
17032
4d61f28d 17033 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
17034 *Backtrace* buffer when we exit with C-M-c.
17035
620c53a6
SM
170362011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17037
17038 * minibuffer.el: Add metadata method to completion tables.
17039 (completion-category-overrides): New defcustom.
17040 (completion-metadata, completion--field-metadata)
17041 (completion-metadata-get, completion--styles)
17042 (completion--cycle-threshold): New functions.
17043 (completion-try-completion, completion-all-completions):
17044 Add `metadata' argument to choose completion-styles.
17045 (completion--do-completion): Use metadata to choose cycling.
17046 (completion-all-sorted-completions): Use metadata for sorting.
17047 Remove :completion-cycle-penalty which is not needed any more.
17048 (completion--try-word-completion): Add `metadata' argument.
17049 (minibuffer-completion-help): Check metadata for annotation function
17050 and sorting.
17051 (completion-file-name-table): Return `category' metadata.
17052 (minibuffer-completing-file-name): Make obsolete.
17053 * simple.el (minibuffer-completing-symbol): Make obsolete.
17054 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17055 completion-try-completion.
17056
1257e755
SM
170572011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17058
17059 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17060
3767e706
LL
170612011-05-30 Leo Liu <sdl.web@gmail.com>
17062
17063 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
17064 (rcirc-print): Decode all incoming messages (bug#8744).
17065 (rcirc-decode-coding-system): Allow value nil for automatic coding
17066 system detection.
3767e706 17067
d1a5d56a
GM
170682011-06-01 Glenn Morris <rgm@gnu.org>
17069
17070 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17071
e8cbec34
CY
170722011-05-29 Chong Yidong <cyd@stupidchicken.com>
17073
17074 * image.el (image-animate-max-time): Allow nil and t values.
17075 Default to nil.
17076 (create-animated-image): Doc fix.
17077 (image-animate-start): Remove second arg; just use
17078 image-animate-max-time.
17079 (image-animate-timeout): Doc fix. Args changed.
17080
17081 * image-mode.el (image-toggle-display-image): Ensure that the
17082 image spec passed to the animate timer is the same object as in
58179cce 17083 the buffer's display property (Bug#6981).
e8cbec34
CY
17084 (image-transform-properties): Doc fix.
17085
17086 * image.el (image-animate-max-time): Default to nil.
17087
159daf87
MR
170882011-05-29 Martin Rudalics <rudalics@gmx.at>
17089
17090 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17091 entire buffer list (Bug#8184).
17092
d66c4c7c
CY
170932011-05-29 Chong Yidong <cyd@stupidchicken.com>
17094
17095 * image.el (imagemagick-types-inhibit)
17096 (imagemagick-register-types): Doc fix.
17097
80aec780
DD
170982011-05-29 Deniz Dogan <deniz@dogan.se>
17099
17100 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17101 default.
17102
1dd3c2d9
CY
171032011-05-29 Chong Yidong <cyd@stupidchicken.com>
17104
17105 * select.el: Don't perform clipboard-manager saving in hooks;
17106 leave the hooks empty.
17107
60e56523
LL
171082011-05-28 Leo Liu <sdl.web@gmail.com>
17109
17110 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17111 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17112 (occur-edit-mode): New major mode (Bug#8463).
17113 (occur-after-change-function): New function.
17114 (occur-engine): Give Occur tags a read-only property.
17115
2b1e1a22
KR
171162011-05-28 Kevin Ryde <user42@zip.com.au>
17117
17118 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17119
5d344e88
CY
171202011-05-28 Chong Yidong <cyd@stupidchicken.com>
17121
8e6ca83d
CY
17122 * bindings.el (help-echo): Make the initial non-indicator dash
17123 empty on graphical terminals (Bug#7295).
17124
5d344e88
CY
17125 * files.el (auto-mode-alist): Move config rule after the
17126 in-stripping one (Bug#8547).
17127
bfbbace7
CY
17128 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17129
fbeba6e2
CY
17130 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17131 setting (Bug#8740).
17132
60ed8c72
AA
171332011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17134
4ac619f0
AA
17135 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17136 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17137 (Bug#8539).
60ed8c72 17138
23db196e
CY
171392011-05-28 Chong Yidong <cyd@stupidchicken.com>
17140
17141 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17142
5012f24c
DK
171432011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17144
17145 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17146 (hs-hide-block-at-point, hs-find-block-beginning)
17147 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17148 (Bug#8279).
17149
6a639b16
GM
171502011-05-28 Glenn Morris <rgm@gnu.org>
17151
17152 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17153
d43eaf2c
CY
171542011-05-28 Chong Yidong <cyd@stupidchicken.com>
17155
5199bde1
CY
17156 * help-fns.el (describe-function-1): If the function is a derived
17157 major mode, print the parent mode.
17158
d43eaf2c
CY
17159 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17160 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17161
423428a8
SM
171622011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17163
0ff8e1ba 17164 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 17165 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
17166 * progmodes/etags.el (tags-completion-at-point-function):
17167 * info-look.el (info-lookup-completions-at-point): Mark as
17168 non-exclusive.
17169 (info-complete): Adjust accordingly.
17170
423428a8
SM
17171 * info-look.el: Convert to lexical-binding and completion-at-point.
17172 (info-lookup-completions-at-point): New function.
17173 (info-complete): Use it and completion-in-region.
17174
b74aa22b
DA
171752011-05-28 Drew Adams <drew.adams@oracle.com>
17176
17177 * isearch.el: Let M-e start with point at the first mismatched char.
17178 (isearch-fail-pos): New function.
17179 (isearch-edit-string): Use it.
17180
66e2e71d
DK
171812011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17182
17183 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17184
b1890b0f 171852011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
17186
17187 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17188 traversal functions for avl-trees.
17189 (avl-tree--stack): New struct.
17190 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17191 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
17192 (avl-tree--do-enter): Add optional `updatefun' arg.
17193 Change return value.
eb95d01d 17194 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
17195 (avl-tree--do-delete): Add `test' and `nilflag' args.
17196 Change return value.
eb95d01d
TC
17197 (avl-tree-member): Add optional `nilflag'
17198 (avl-tree-member-p): New function.
17199 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17200 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17201 (avl-tree-stack-empty-p): New functions.
17202
3769ddcf
TC
17203 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17204 avl-tree--del-balance1 and make it work both ways.
17205 (avl-tree--del-balance2): Remove.
17206 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17207 make it work both ways.
17208 (avl-tree--enter-balance2): Remove.
17209 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17210 New macros.
17211 (avl-tree--mapc, avl-tree-map): Add direction argument.
17212
eb95d01d 172132011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
17214
17215 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17216
a9f737ee
CY
172172011-05-27 Chong Yidong <cyd@stupidchicken.com>
17218
17219 * select.el: Support clipboard managers with built-in function
17220 x-clipboard-manager-save, via delete-frame-functions and
17221 kill-emacs-hook.
17222 (xselect-convert-to-targets): Add MULTIPLE target to list.
17223 (xselect-convert-to-save-targets): New function.
17224
c92a1e54
KH
172252011-05-27 Kenichi Handa <handa@m17n.org>
17226
17227 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17228 let-binding rfc2047-encode-encoded-words to nil.
17229
e145f188
GM
172302011-05-27 Glenn Morris <rgm@gnu.org>
17231
5ec8a862
GM
17232 * mail/emacsbug.el: Don't require url-util.
17233
4b29d9fb
GM
17234 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17235
e145f188
GM
17236 * files.el (set-auto-mode):
17237 Also respect mode: entries at the end of the file. (Bug#8586)
17238
7d15102b
GM
172392011-05-26 Glenn Morris <rgm@gnu.org>
17240
98f593b8
GM
17241 * files.el (hack-local-variables-prop-line, hack-local-variables):
17242 Downcase mode names, as seems to be traditional.
27b48e63 17243 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 17244
7d15102b
GM
17245 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17246 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17247
51d5b4ec
JD
172482011-05-25 Julien Danjou <julien@danjou.info>
17249
17250 * textmodes/rst.el (rst-define-level-faces): Do not define face
17251 symbol if it is already defined.
17252
91513f63
VB
172532011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17254
17255 * play/5x5.el (5x5-new-game, 5x5-randomize):
17256 Reset 5x5-solver-output to nil when a new grid is cast.
17257 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17258 these debugging traces, as defmacro breaks the compiled code.
17259
4d90d6d0
DK
172602011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17261
17262 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17263
e1b90ef6
LL
172642011-05-24 Leo Liu <sdl.web@gmail.com>
17265
17266 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17267 (vc-bzr-sha1): Adapt.
17268
d8e4b68b 17269 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
17270
17271 * bindings.el: Provide sha1 feature.
17272
db0406bb 172732011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
17274
17275 * mail/sendmail.el: Require `rfc2047'.
17276 (mail-insert-from-field): Do not perform RFC2047 encoding.
17277 (mail-encode-header): New function.
17278 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
17279 buffer to the return value of select-message-coding-system.
17280 Call mail-encode-header.
b8d747b9
KH
17281
17282 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17283
db0406bb 172842011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 17285
4d90d6d0
DK
17286 * mail/supercite.el (sc-default-cite-frame):
17287 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 17288
eb8a5e9b
GM
172892011-05-24 Glenn Morris <rgm@gnu.org>
17290
f8630703
GM
17291 * progmodes/python.el (brm-menu): Declare.
17292
8831bbed
GM
17293 * emulation/viper.el (viper-set-hooks): Declare.
17294
eb8a5e9b
GM
17295 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17296 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17297 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17298 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17299 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17300 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17301
a2a25d24
SM
173022011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17303
17304 Add an :exit-function for completion-at-point.
17305
17306 * minibuffer.el (completion--done): New fun.
17307 (completion--do-completion): Use it. New arg `expect-exact'.
17308 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17309 since completion--do-completion does it for us now.
17310 (minibuffer-force-complete): Use completion--done and
17311 completion--replace. Handle sole-completion case with more care.
17312 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17313 (completion-extra-properties): New var.
17314 (completion-annotate-function): Make obsolete.
17315 (minibuffer-completion-help): Adjust accordingly.
17316 Use completion-list-insert-choice-function.
17317 (completion-at-point, completion-help-at-point):
17318 Bind completion-extra-properties.
17319 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17320 * simple.el (completion-list-insert-choice-function): New var.
17321 (completion-setup-function): Preserve it.
17322 (choose-completion): Pay attention to it, shuffle the code a bit.
17323 (choose-completion-string): New arg `insert-function'.
17324
17325 * textmodes/bibtex.el: Convert to lexical binding.
17326 (bibtex-mode-map): Use completion-at-point.
17327 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17328 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17329 (bibtex-complete): Define as obsolete alias.
17330 (bibtex-complete-internal): Remove.
17331 (bibtex-format-entry): Remove unused sub-group in regexp.
17332 * shell.el (shell--command-completion-data)
17333 (shell-environment-variable-completion):
17334 * pcomplete.el (pcomplete-completions-at-point):
17335 * comint.el (comint--complete-file-name-data): Use :exit-function
17336 instead of completion-table-with-terminator so it also works for
17337 choose-completion.
17338
e44e373d
SM
173392011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17340
4f91a816
SM
17341 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17342
782fc819
SM
17343 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17344 (bug#8710).
17345
e44e373d
SM
17346 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17347
381987c3
KM
173482011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17349
17350 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17351 customization variable and implement: If non-nil, auto-fill will
17352 be inhibited while on topic's header line.
17353
b776bc70
VB
173542011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17355
17356 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 17357 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
17358 always have a solution in grid size = 5 cases.
17359 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17360 (5x5-solver-output, 5x5-log-buffer): New vars.
17361 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17362 Make these variables buffer local to achieve 5x5 multi-session-ness.
17363 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17364 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17365 (5x5-solve-suggest): New funs.
17366 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17367 randomize a grid so that we ensure that there is always a solution.
17368 (5x5-make-random-grid): Allow other movement than flipping.
17369
7de88b6e
KR
173702011-05-23 Kevin Ryde <user42@zip.com.au>
17371
17372 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 17373 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
17374 advice and passes PREDICATE.
17375
b1ef1257
SM
173762011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17377
bbca48fe
SM
17378 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17379 byte-compile-lambda if it's actually a lambda.
17380
b1ef1257
SM
17381 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17382 Fix function quoting. Use backquote better.
17383
92a9cc65
YS
173842011-05-22 Yuanle Song <sylecn@gmail.com>
17385
17386 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17387 matching (Bug#8516).
17388
f0fb8059
JA
173892011-01-22 Jari Aalto <jari.aalto@cante.net>
17390
17391 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17392 different face (Bug#8178).
17393
d5b44c93
CY
173942011-05-22 Chong Yidong <cyd@stupidchicken.com>
17395
17396 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17397 defface (Bug#8144).
17398
79106a44
SM
173992011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17400
9c848d8a
SM
17401 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17402 funcall as well (bug#8712). Warn when performing those conversions.
17403 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17404
79106a44
SM
17405 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17406
88dfa756
GM
174072011-05-22 Glenn Morris <rgm@gnu.org>
17408
17409 * files.el (hack-local-variables-prop-line): Small simplifications.
17410 (hack-local-variables, hack-local-variables-prop-line):
17411 If MODE-ONLY, return the mode, rather than just `t'.
17412
b7cf2c79
SM
174132011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
17414
17415 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17416
3f1a8558
GM
174172011-05-21 Glenn Morris <rgm@gnu.org>
17418
7e4ccca3
GM
17419 * files.el (hack-local-variables-prop-line, hack-local-variables):
17420 If only interested in the mode, don't bother doing the other stuff.
17421
637d46ca
GM
17422 * image-mode.el (image-after-revert-hook):
17423 Redraw all frames on which the image is visible. (Bug#8567)
17424
973d955b
GM
17425 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
17426
3f1a8558
GM
17427 * wid-edit.el (widget-checklist-match-inline):
17428 Fix 2011-04-19 change. (Bug#8649)
17429
96479927
SM
174302011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
17431
1dcf791f
SM
17432 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17433 Also allow singlespace after single-letter capitals followed by a dot.
17434
96479927
SM
17435 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17436 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17437
35fd0881
N
174382011-05-20 Nix <nix@esperi.org.uk>
17439
17440 * files.el (basic-save-buffer-2):
17441 Fix handling of break-hardlink-on-save with non-existent files.
17442
82745640
DD
174432011-05-19 Deniz Dogan <deniz@dogan.se>
17444
17445 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 17446 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 17447
4a720484
GM
174482011-05-19 Glenn Morris <rgm@gnu.org>
17449
d1f21341
GM
17450 * progmodes/f90.el (f90-type-def-re):
17451 Handle "type, bind(c)". (Bug#8691)
17452
4a720484
GM
17453 * emacs-lisp/autoload.el (batch-update-autoloads):
17454 Set autoload-excludes by parsing loadup.el rather than Makefiles.
17455
2fb0a219
MA
174562011-05-18 Michael Albinus <michael.albinus@gmx.de>
17457
17458 * net/tramp.el (tramp-process-actions): Set "first-password-request"
17459 property for the correct connection in case of multihops.
17460
e565dd37
GM
174612011-05-18 Glenn Morris <rgm@gnu.org>
17462
c2571358 17463 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
17464 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17465
e565dd37
GM
17466 Rationalize calendar handling of day and month abbrev-arrays.
17467 * calendar/calendar.el (calendar-customized-p): New function.
17468 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17469 (calendar-day-name-array, calendar-month-name-array): Doc fix.
17470 Add :set function.
17471 (calendar-abbrev-length, calendar-day-abbrev-array)
17472 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17473 (calendar-day-abbrev-array, calendar-month-abbrev-array):
17474 Elements may no longer be nil.
17475 (calendar-day-name, calendar-month-name):
17476 Update for changed nature of abbrev arrays.
17477 * calendar/diary-lib.el (diary-name-pattern):
17478 Update for changed nature of abbrev arrays.
17479 (diary-mark-entries-1): Update calendar-make-alist calls.
17480 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17481 * calendar/cal-html.el (cal-html-day-abbrev-array):
17482 Simply inherit from calendar-day-abbrev-array.
17483
1d99a745
SM
174842011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17485
17486 * progmodes/grep.el (grep-mode): Disable default
17487 compilation-directory-matcher setting (bug#8684).
17488
7c1d9aa0
MA
174892011-05-17 Michael Albinus <michael.albinus@gmx.de>
17490
17491 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17492 instead of "head" and "tail". There were problems with SunOS 5.9,
17493 and it performs better.
17494
3952e9d8
GM
174952011-05-17 Glenn Morris <rgm@gnu.org>
17496
2dd12e7f
GM
17497 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17498
e4157b9c
GM
17499 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17500 Replace obsolete function.
17501
8e249bbd
GM
17502 * shell.el (pcomplete-parse-arguments-function): Declare.
17503
3952e9d8
GM
17504 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
17505 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
17506 (appt-check): Doc fixes.
17507 (appt-disp-window-function, appt-delete-window-function):
17508 Remove needless special case in custom :type.
17509 (appt-display-count): Default to 0, not nil.
17510 (appt-check): Reset appt-display-count to 0, not nil.
17511
c71a0d48 175122011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 17513
c71a0d48
GM
17514 * progmodes/python.el (python-font-lock-keywords):
17515 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 17516
31d55be9
SM
175172011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
17518
17519 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
17520
3bfacb2f
KR
175212011-05-16 Kevin Ryde <user42@zip.com.au>
17522
17523 * info-look.el (makefile-automake-mode): New setups, looking in
17524 automake manual, then makefile-mode.
17525 (makefile-mode): Remove automake manual, have it just in
17526 makefile-automake-mode since there's various things different or
17527 not relevant to plain make.
17528 (makefile-mode): Remove "other-modes" non-existent automake-mode,
17529 believe a hypothetical automake-mode would go to makefile-mode,
17530 not the other way around.
17531
c8e83751
CY
175322011-05-15 Chong Yidong <cyd@stupidchicken.com>
17533
5e9e35cd
CY
17534 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
17535 hunk-end tags (Bug#8672).
17536
c8e83751
CY
17537 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
17538 vc-annotate-show-diff-revision-at-line (Bug#8671).
17539
50b23e5a
GM
175402011-05-14 Glenn Morris <rgm@gnu.org>
17541
7210a739
GM
17542 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
17543 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
17544 (change-log-font-lock-keywords): Also handle multiple author lines
17545 with leading tabs. (Bug#8644)
7210a739 17546
4691905a
GM
17547 * calendar/appt.el (appt-check): Rename some local variables.
17548 Some simplification/reordering.
17549
50b23e5a
GM
17550 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
17551 (feedmail-sendmail-f-doesnt-sell-me-out)
17552 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17553 (feedmail-debug-sit-for, feedmail-queue-express-hook)
17554 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
17555 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
17556 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
17557 (feedmail-binmail-gnulinuxish-template):
17558 Rename from feedmail-binmail-linuxish-template.
17559 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
17560 Use insert-buffer-substring.
17561
215cda7c
BC
175622011-05-14 Bill Carpenter <bill@carpenter.org>
17563
17564 * mail/feedmail.el (feedmail-patch-level): Increase.
17565 (feedmail-debug): New custom group.
17566 (feedmail-confirm-outgoing-timeout)
17567 (feedmail-sendmail-f-doesnt-sell-me-out)
17568 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17569 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
17570 (feedmail-sender-line, feedmail-from-line)
17571 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 17572 (feedmail-spray-this-address)
215cda7c
BC
17573 (feedmail-spray-address-fiddle-plex-list)
17574 (feedmail-queue-use-send-time-for-date)
17575 (feedmail-queue-use-send-time-for-message-id)
17576 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
17577 (feedmail-buffer-eating-function):
17578 Doc fixes.
17579 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
17580 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
17581 (feedmail-message-action-scroll-down): New functions.
17582 (feedmail-queue-directory, feedmail-queue-draft-directory):
17583 Use expand-file-name.
17584 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
17585 Remove C-v help entry.
17586 (feedmail-queue-buffer-file-name): New variable.
17587 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
17588 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
17589 (feedmail-message-action-send-strong, feedmail-message-action-edit)
17590 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
17591 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
17592 (feedmail-message-action-toggle-spray)
17593 (feedmail-run-the-queue-no-prompts)
17594 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
17595 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
17596 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
17597 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
17598 (feedmail-envelope-deducer, feedmail-fiddle-from)
17599 (feedmail-fiddle-sender, feedmail-default-date-generator)
17600 (feedmail-fiddle-date, feedmail-fiddle-message-id)
17601 (feedmail-fiddle-spray-address)
17602 (feedmail-fiddle-list-of-spray-fiddle-plexes)
17603 (feedmail-fiddle-list-of-fiddle-plexes)
17604 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
17605 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
17606 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
17607 Change default. Doc fix.
17608 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
17609 (feedmail-binmail-linuxish-template): New constant.
17610 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
17611 Respect feedmail-sendmail-f-doesnt-sell-me-out.
17612 (feedmail-send-it): Add debug call.
17613 Use feedmail-queue-buffer-file-name, and
17614 feedmail-send-it-immediately-wrapper.
17615 (feedmail-message-action-send): Add debug call.
17616 Use feedmail-send-it-immediately-wrapper.
17617 (feedmail-queue-express-to-queue): Add debug call.
17618 Run feedmail-queue-express-hook.
17619 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
17620 (feedmail-message-action-help-blat):
17621 Rename from feedmail-queue-send-edit-prompt-help-first.
17622 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
17623 Check line-endings. Handle errors better.
17624 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
17625 Doc fix. Add debug call.
17626 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
17627 Use feedmail-queue-send-edit-prompt-inner.
17628 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
17629 (feedmail-queue-send-edit-prompt-inner): New function, extracted
17630 from feedmail-queue-send-edit-prompt.
17631 (feedmail-queue-send-edit-prompt-help)
17632 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
17633 (feedmail-tidy-up-slug): Add debug call.
17634 Respect feedmail-queue-slug-suspect-regexp.
17635 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
17636 (feedmail-dump-message-to-queue): Add debug call.
17637 Expand queue-directory.
17638 (feedmail-dump-message-to-queue): Change message slightly.
17639 Use feedmail-say-chatter.
17640 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
17641 (feedmail-send-it-immediately-wrapper): New function.
17642 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
17643 Insert empty string rather than newline. Handle full-frame case.
17644 Use catch/throw. Use feedmail-say-chatter.
17645 (feedmail-fiddle-from): Try mail-host-address.
17646 (feedmail-default-message-id-generator): Doc fix.
17647 Bind system-time-locale. Handle missing end.
17648 (feedmail-fiddle-x-mailer): Add debug call.
17649 Handle feedmail-x-mailer-line being nil.
17650 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
17651 Add debug call. Use buffer-substring-no-properties.
17652 (feedmail-say-debug, feedmail-say-chatter): New functions.
17653 (feedmail-find-eoh): Give an explicit error.
17654
42c7e61e
UJ
176552011-05-13 Ulf Jasper <ulf.jasper@web.de>
17656
c2571358 17657 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 17658 family from helvetica to sans.
c2571358 17659 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17660 etc/images/newsticker.
17661
c2571358 17662 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
17663 family from helvetica to sans.
17664
17665 * net/newst-plainview.el (newsticker-new-item-face)
17666 (newsticker-old-item-face, newsticker-immortal-item-face)
17667 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 17668 (newsticker-statistics-face): Change default family from
42c7e61e 17669 helvetica to sans.
c2571358 17670 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17671 etc/images/newsticker.
17672
5d3385a0
JB
17673 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
17674 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
17675 auto-marking.
17676
8497a297
DV
176772011-05-13 Didier Verna <didier@xemacs.org>
17678
17679 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
17680 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
17681 TODO entries.
8497a297
DV
17682 (lisp-lambda-list-keyword-parameter-indentation)
17683 (lisp-lambda-list-keyword-parameter-alignment)
17684 (lisp-lambda-list-keyword-alignment): New customizable user options.
17685 (lisp-indent-defun-method): Improve docstring.
17686 (extended-loop-p): Fix comment.
17687 (lisp-indent-lambda-list-keywords-regexp): New variable.
17688 (lisp-indent-lambda-list): New function.
17689 (lisp-indent-259): Use it.
17690 (lisp-indent-defmethod): Support for more than one
17691 method qualifier and properly indent methods lambda-lists.
17692 (defgeneric): Provide a missing common-lisp-indent-function property.
17693
f278f87f
SM
176942011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
17695
17696 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
17697 bounds for the empty string (bug#8667).
17698
5233edd7
GM
176992011-05-13 Glenn Morris <rgm@gnu.org>
17700
5237a44f
GM
17701 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
17702
8340026c 17703 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 17704 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 17705
5233edd7 17706 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 17707 (appt-time-msg-list): Doc fix.
a5464014 17708 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 17709
92d10796
AS
177102011-05-12 Andreas Schwab <schwab@linux-m68k.org>
17711
17712 * progmodes/ld-script.el (ld-script-keywords)
17713 (ld-script-builtins): Update keywords list.
17714
914a0ae1
SM
177152011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17716
c89be45f
SM
17717 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
17718
914a0ae1
SM
17719 * shell.el (shell-completion-vars): New function.
17720 (shell-mode):
17721 * simple.el (read-shell-command): Use it.
17722 (blink-matching-open): No need for " [...]" in minibuffer-message.
17723
98dc3df3
GM
177242011-05-12 Glenn Morris <rgm@gnu.org>
17725
17726 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
17727 (appt-check): Simplify.
17728
d2fc7e3d 177292011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 17730
4d61f28d 17731 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
17732 literal "/dev/null".
17733
d2fc7e3d 177342011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
17735
17736 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
17737 Fix typo.
17738
d2fc7e3d 177392011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 17740
3f254caa
SM
17741 * progmodes/which-func.el (which-function):
17742 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
17743 which might not be defined (Bug#8260).
17744
d45885f7
GM
177452011-05-12 Glenn Morris <rgm@gnu.org>
17746
17747 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
17748 Let byte-compile-initial-macro-environment always take precedence.
17749
488086f4
SM
177502011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17751
17752 * net/rcirc.el: Add support for SSL/TLS connections.
17753 (rcirc-server-alist): New field `encryption'.
17754 (rcirc): Check `encryption' settings.
17755 (rcirc-connect): New arg `encryption'. Use open-network-stream.
17756 Merge make-local-variable into `set'.
17757 (rcirc--connection-open-p): New function.
17758 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
17759 the process is not a network process (e.g. running gnutls-cli).
17760 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
17761 Make rcirc-(en|de)code-coding-system local here.
17762 (rcirc-mode): Merge make-local-variable into `set'.
17763 (rcirc-parent-buffer): Make permanent buffer-local.
17764 (rcirc-multiline-minor-mode): Don't do it here.
17765 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
17766 there's no server buffer.
17767
7d3b9d44
GM
177682011-05-11 Glenn Morris <rgm@gnu.org>
17769
f64049c6
GM
17770 * newcomment.el (comment-kill): Prefix "unused" local.
17771
93c9df73
GM
17772 * term/w32console.el (get-screen-color): Declare.
17773
7d3b9d44
GM
17774 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
17775 Handle symbol elements of byte-compile-initial-macro-environment.
17776
9e2dd53f
LL
177772011-05-10 Leo Liu <sdl.web@gmail.com>
17778
488086f4
SM
17779 * bookmark.el (bookmark-bmenu-mode-map):
17780 Bind bookmark-bmenu-search to `/'.
8b340240 17781
9e2dd53f 17782 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
17783 (footnote-unicode-string, footnote-unicode-regexp): New variable.
17784 (Footnote-unicode): New function.
17785 (footnote-style-alist): Add unicode style to the list.
17786 (footnote-style): Doc fix.
9e2dd53f 17787
79b70037
GM
177882011-05-10 Jim Meyering <meyering@redhat.com>
17789
17790 Fix doubled-word typos.
17791 * international/quail.el (quail-insert-kbd-layout): and and -> and
17792 * kermit.el: and and -> and
17793 * net/ldap.el (ldap-search-internal): to to -> to
17794 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
17795 * progmodes/js.el (js-mode): and and -> and
17796 * textmodes/artist.el (artist-move-to-xy): at at -> at
17797 (artist-draw-region-trim-line-endings): if if -> if
17798 And Safetyc -> Safety.
17799 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
17800
b8f82dc1 178012011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 17802 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
17803
17804 * files.el (hack-one-local-variable-eval-safep):
17805 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
17806
4f99f44b
GM
178072011-05-10 Glenn Morris <rgm@gnu.org>
17808
17809 * calendar/diary-lib.el (diary-list-entries-hook)
17810 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
17811 (diary-nongregorian-marking-hook, diary-list-entries)
17812 (diary-include-other-diary-files, diary-mark-entries)
17813 (diary-mark-included-diary-files): Doc fixes.
17814
84f29e6b
JB
178152011-05-09 Juanma Barranquero <lekktu@gmail.com>
17816
17817 * misc.el: Require tabulated-list.el during compilation.
17818
9bedd73a
CY
178192011-05-09 Chong Yidong <cyd@stupidchicken.com>
17820
488086f4
SM
17821 * progmodes/compile.el (compilation-start):
17822 Run compilation-filter-hook for the async case too.
9bedd73a
CY
17823 (compilation-filter-hook): Doc fix.
17824
797c735c
DD
178252011-05-09 Deniz Dogan <deniz@dogan.se>
17826
17827 * wdired.el: Remove outdated installation comment. Fix usage
17828 comment.
17829
5f4b1dfe
JB
178302011-05-09 Juanma Barranquero <lekktu@gmail.com>
17831
17832 * misc.el: Implement new command `list-dynamic-libraries'.
17833 (list-dynamic-libraries--loaded-only-p): New variable.
17834 (list-dynamic-libraries--refresh): New function.
17835 (list-dynamic-libraries): New command.
17836
4c44026c
CY
178372011-05-09 Chong Yidong <cyd@stupidchicken.com>
17838
488086f4
SM
17839 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17840 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
17841 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
17842 higher priority to avoid clobbering by gnu.
17843
027f966d
CY
178442011-05-08 Chong Yidong <cyd@stupidchicken.com>
17845
17846 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
17847 if the face has existing theme settings (Bug#8454).
17848
085f5d7d
CY
178492011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
17850
488086f4
SM
17851 * progmodes/perl-mode.el (perl-imenu-generic-expression):
17852 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 17853
2a86a00c
RS
17854 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
17855 special file names `.' and `..' (Bug#8259).
17856
d9c54a06
CY
178572011-05-08 Chong Yidong <cyd@stupidchicken.com>
17858
488086f4
SM
17859 * progmodes/grep.el (grep-mode-font-lock-keywords):
17860 Remove buffer-changing entries.
d9c54a06
CY
17861 (grep-filter): New function.
17862 (grep-mode): Add it to compilation-filter-hook.
17863
17864 * progmodes/compile.el (compilation-filter-hook)
17865 (compilation-filter-start): New defvars.
17866 (compilation-filter): Call compilation-filter-hook prior to
17867 updating the process mark.
17868
c4662635
SM
178692011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17870
17871 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
17872
b0512a1d
EZ
178732011-05-07 Eli Zaretskii <eliz@gnu.org>
17874
605c9376
EZ
17875 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
17876 mailclient-send-it even if window-system is nil. (Bug#8595)
17877
c4662635
SM
17878 * term/w32console.el (terminal-init-w32console):
17879 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
17880 background-mode. (Bug#8597)
17881
d1dc2cc2
SM
178822011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
17883
17884 Make bytecomp.el understand that defmethod defines funs (bug#8631).
17885 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
17886 New functions.
17887 (defgeneric, eieio--defmethod): Use them.
17888 (eieio-defgeneric): Remove.
17889 (defmethod): Call defgeneric in a way visible to the byte-compiler.
17890
915d1300
GM
178912011-05-07 Glenn Morris <rgm@gnu.org>
17892
a3961c3e
GM
17893 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
17894 Use let rather than let*.
17895 (timeclock-find-discrep): Remove unused local.
17896
314347b9
GM
17897 * calendar/diary-lib.el (diary-comment-start): Doc fix.
17898
915d1300
GM
17899 * calendar/appt.el (appt-time-msg-list): Doc fix.
17900
275b59b0
NF
179012011-05-06 Noah Friedman <friedman@splode.com>
17902
17903 * apropos.el (apropos-print-doc): Only use
17904 emacs-lisp-docstring-fill-column when it is bound to an integer,
17905 per that variable's documentation.
17906
6c19f744
SM
179072011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17908
17909 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 17910 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 17911
60f884b2
GM
179122011-05-06 Glenn Morris <rgm@gnu.org>
17913
5006e634
GM
17914 * calendar/appt.el (appt-message-warning-time): Doc fix.
17915 (appt-warning-time-regexp): New option.
17916 (appt-make-list): Respect appt-message-warning-time.
17917
548d0a63
GM
17918 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
17919 New options.
17920 (diary-add-to-list): Strip comments from the displayed string.
17921 (diary-mode): Set comment-start and comment-end.
17922
60f884b2
GM
17923 * vc/diff-mode.el (smerge-refine-subst): Declare.
17924 (diff-refine-hunk): Don't require smerge-mode when compiling.
17925
989681bb
JB
179262011-05-06 Juanma Barranquero <lekktu@gmail.com>
17927
17928 * simple.el (list-processes): Return nil as the docstring says.
17929
a6bc05e1
MA
179302011-05-05 Michael Albinus <michael.albinus@gmx.de>
17931
17932 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
17933 to "".
17934 (ange-ftp-write-region, ange-ftp-insert-file-contents)
17935 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
17936 determining of binary transfer. (Bug#7383)
17937
23c22e9a
MA
179382011-05-05 Michael Albinus <michael.albinus@gmx.de>
17939
c4662635
SM
17940 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17941 Fix port computation bug. (Bug#8618)
23c22e9a 17942
0bff894f
GM
179432011-05-05 Glenn Morris <rgm@gnu.org>
17944
b8296902
GM
17945 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
17946
1f522ce8
GM
17947 * simple.el (shell-dynamic-complete-functions)
17948 (comint-dynamic-complete-functions): Declare.
17949
cf5bee67
GM
17950 * net/network-stream.el (gnutls-negotiate):
17951 * simple.el (tabulated-list-print): Fix declarations.
17952
17953 * progmodes/gud.el (syntax-symbol, syntax-point):
17954 Remove unnecessary and incorrect declarations.
17955
0bff894f
GM
17956 * emacs-lisp/check-declare.el (check-declare-scan):
17957 Handle byte-compile-initial-macro-environment in bytecomp.el
17958
9869b3ae
SM
179592011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
17960
17961 Fix earlier half-done eieio-defmethod change (bug#8338).
17962 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
17963 Streamline and change calling convention.
17964 (defmethod): Adjust accordingly and simplify.
17965 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
17966 new eieio--defmethod.
17967 (slot-boundp): Minor CSE simplification.
17968
9c1d5ac5
MZ
179692011-05-05 Milan Zamazal <pdm@zamazal.org>
17970
17971 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
17972 (glasses-make-readable): Use glasses-separate-capital-groups.
17973
455c834e
JB
179742011-05-05 Juanma Barranquero <lekktu@gmail.com>
17975
17976 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
17977 (warning-series): Doc fix.
17978 (display-warning): Don't try to create the buffer if we just found it.
17979
9ed7c8cb
CY
179802011-05-04 Chong Yidong <cyd@stupidchicken.com>
17981
17982 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
17983 (autoload-find-generated-file): New function.
17984 (generate-file-autoloads): Bind generated-autoload-file to
17985 buffer-file-name.
9869b3ae
SM
17986 (update-file-autoloads, update-directory-autoloads):
17987 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
17988 output file (Bug#7989).
17989 (batch-update-autoloads): Doc fix.
17990
0898ca10
JB
179912011-05-04 Juanma Barranquero <lekktu@gmail.com>
17992
17993 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
17994
31dfb76c
GM
179952011-05-04 Glenn Morris <rgm@gnu.org>
17996
f330b642
GM
17997 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
17998 function, so it follows changes in calendar-date-style.
17999 (diary-fancy-date-matcher): New function.
18000 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18001 (diary-fancy-font-lock-fontify-region-function):
18002 Use diary-fancy-date-pattern as a function.
18003
31dfb76c
GM
18004 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18005 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18006
48e79d6a
TZ
180072011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18008
18009 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18010 instead of positional arguments. Allow :keylist and :crlfiles
18011 arguments.
18012 (open-gnutls-stream): Call it.
18013
18014 * net/network-stream.el (network-stream-open-starttls): Adjust to
18015 call `gnutls-negotiate' with :process and :hostname arguments.
18016
dd5a5ee0
SM
180172011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18018
ef80fc09
SM
18019 * minibuffer.el (completion--message): New function.
18020 (completion--do-completion, minibuffer-complete)
18021 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18022 (completion--do-completion): Don't ignore completion-auto-help when in
18023 icomplete-mode.
18024
dd5a5ee0
SM
18025 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18026 internal encoding (e.g. tibetan zero is not whitespace).
18027 (global-whitespace-mode): Prefer save-current-buffer.
18028 (whitespace-trailing-regexp): Remove useless save-match-data.
18029 (whitespace-empty-at-bob-regexp): Minor simplification.
18030
b7d22a83
CY
180312011-05-03 Chong Yidong <cyd@stupidchicken.com>
18032
18033 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18034
5192af46
AM
180352011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18036
18037 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 18038 Use `concat' to create string for insertion.
5192af46 18039
5767d190
SM
180402011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18041
18042 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18043 Avoid open-line which runs post-self-insert-hook.
18044 (bibtex-fill-entry): Remove unused `end' var.
18045
bf242939
AM
180462011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18047
5767d190
SM
18048 * textmodes/ispell.el (ispell-add-per-file-word-list):
18049 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 18050
25666126
LL
180512011-05-03 Leo Liu <sdl.web@gmail.com>
18052
18053 * isearch.el (isearch-yank-pop): New command.
5767d190 18054 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
18055 (isearch-forward): Mention it.
18056
52d3c2d0
SM
180572011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18058
1bcace58
SM
18059 * simple.el (minibuffer-complete-shell-command): Remove.
18060 (minibuffer-local-shell-command-map): Use completion-at-point.
18061 (read-shell-command): Setup completion vars here instead.
18062 (read-expression-map): Bind TAB to symbol completion.
18063
52d3c2d0
SM
18064 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18065 error directly rather via storing it into `results'.
18066
35813471
LL
180672011-05-02 Leo Liu <sdl.web@gmail.com>
18068
18069 * vc/diff.el: Fix description.
18070
e793a940
LMI
180712011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18072
18073 * server.el (server-eval-at): New function.
18074
8de66e05
LMI
180752011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18076
18077 * net/network-stream.el (open-network-stream): Take a :nowait
18078 parameter and pass it on to `make-network-process'.
18079 (network-stream-open-plain): Ditto.
18080
dcb79f20
AS
180812011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18082
18083 * faces.el (face-spec-set-match-display): Don't match toolkit
18084 options on terminal frames.
18085
14a7fbd8
SM
180862011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18087
7eabc1be
SM
18088 * progmodes/pascal.el: Use lexical binding.
18089 (pascal-mode-map): Remove author preferences.
18090
14a7fbd8
SM
18091 * pcomplete.el (pcomplete-std-complete): Don't abuse
18092 completion-at-point.
18093
50f84510
JB
180942011-04-28 Juanma Barranquero <lekktu@gmail.com>
18095
6e087a44
JB
18096 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18097 removing code that has been dead since 1991 or so.
18098
50f84510
JB
18099 * startup.el (command-line): When warning about "_emacs", use a
18100 delayed warning to allow the user to filter it out.
18101
0ba690bd
DD
181022011-04-28 Deniz Dogan <deniz@dogan.se>
18103
18104 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18105 user has not joined.
18106
08abfaad
SM
181072011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18108
18109 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18110 aren't any completions at point.
18111
638f053a
JB
181122011-04-28 Juanma Barranquero <lekktu@gmail.com>
18113
18114 * subr.el (display-delayed-warnings): New function.
18115 (delayed-warnings-hook): New variable.
18116
8fff8daa
SM
181172011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18118
08abfaad
SM
18119 * minibuffer.el (completion-at-point, completion-help-at-point):
18120 Don't presume that a given completion-at-point-function will always
18121 use the same calling convention.
18122
8fff8daa
SM
18123 * pcomplete.el (pcomplete-completions-at-point):
18124 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18125 pcomplete-seen is non-nil.
18126 (pcomplete-comint-setup): Also recognize the new comint/shell
18127 completion functions.
18128 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18129 pcomplete-seen is non-nil.
18130
841a1577 181312011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 18132
841a1577 18133 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 18134 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 18135 the first character in the entry. This allows for code to add its
211ec907
UJ
18136 own uid to the entry.
18137 (icalendar--convert-float-to-ical): Add export of
18138 `diary-float'-entries save for those with the optional DAY
18139 argument.
18140
2a782793
DC
181412011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18142
18143 * subr.el (shell-quote-argument): Use alternate escaping strategy
18144 when we spot a variable reference in a string.
18145
0438ce91
DC
181462011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18147
18148 * cus-start.el (all): Define customization for debug-on-event.
18149
841a1577 181502011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
18151
18152 * subr.el (shell-quote-argument): Escape correctly under Windows.
18153
d090ed6c
SM
181542011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18155
18156 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18157
bfd31217
MA
181582011-04-25 Michael Albinus <michael.albinus@gmx.de>
18159
d090ed6c
SM
18160 * net/tramp.el (tramp-process-actions): Add POS argument.
18161 Delete region between POS and (pos).
bfd31217 18162
d090ed6c
SM
18163 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18164 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
18165 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18166
18167 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18168 position in `tramp-process-actions' call.
18169
18170 * net/trampver.el: Update release number.
18171
e92f3bd3
SM
181722011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18173
850256b5
SM
18174 * custom.el (defcustom): Obey lexical-binding.
18175
e92f3bd3
SM
18176 Fix octave-inf completion problems reported by Alexander Klimov.
18177 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18178 Inherit from octave-mode-syntax-table.
18179 (inferior-octave-mode): Set info-lookup-mode.
18180 (inferior-octave-completion-at-point): New function.
18181 (inferior-octave-complete): Use it and completion-in-region.
18182 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18183 comint-filename-completion.
18184 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18185 symbol elements which shouldn't be word elements.
18186 (octave-font-lock-keywords, octave-beginning-of-defun)
18187 (octave-function-header-regexp): Adjust regexps accordingly.
18188 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18189
cd22b309
JB
181902011-04-25 Juanma Barranquero <lekktu@gmail.com>
18191
18192 * net/gnutls.el (gnutls-errorp): Declare before first use.
18193
8b492194
TZ
181942011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18195
18196 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18197 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 18198 default trustfile exists before going to use it. Add missing
5a5fa834 18199 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
18200 Reported by Claudio Bley <claudio.bley@gmail.com>.
18201 (open-gnutls-stream): Add usage example.
18202
18203 * net/network-stream.el (network-stream-open-starttls): Give host
18204 parameter to `gnutls-negotiate'.
18205 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 18206 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 18207
841a1577 182082011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 18209
cd22b309
JB
18210 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18211 Use correct match group (bug#8438).
05842630 18212
3ba7869c
CY
182132011-04-24 Chong Yidong <cyd@stupidchicken.com>
18214
512e3ae1
CY
18215 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18216 (package-menu--generate): New arg specifying packages to show.
18217 (package-menu-refresh, package-menu-execute, list-packages):
18218 Callers changed.
18219 (package-show-package-list): New function, replacing deleted
18220 package--list-packages (renamed because it is non-internal).
18221
18222 * finder.el (finder-list-matches): Use package-show-package-list
18223 instead of deleted package--list-packages.
18224
e92f3bd3
SM
18225 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18226 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
18227 (vc-annotate-mode-map): Bind it to RET.
18228
7031be6d
UR
182292011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18230
18231 * progmodes/etags.el (next-file): Don't use set-buffer to change
18232 buffers (Bug#8478).
18233
4ef177aa
CY
182342011-04-24 Chong Yidong <cyd@stupidchicken.com>
18235
c8d173eb
CY
18236 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18237
4ef177aa
CY
18238 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18239 (apropos-accumulator): Doc fix.
18240 (apropos-function, apropos-macro, apropos-command)
18241 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18242 (apropos-plist): Add face property.
18243 (apropos-symbols-internal): Fix indentation.
18244 (apropos-print): Simplify help, and recognize apropos-multi-type.
18245 (apropos-print-doc): Use button-type-get to extract the button's
18246 face property. Fill docstring (Bug#8352).
18247
4ffd0d6b 182482011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
18249
18250 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18251
c6c32125 18252 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 18253 (mpuz-mode-map): Use mapc.
c6c32125
JB
18254 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18255 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18256 Fix typos in docstrings.
18257
58d468b4
JB
18258 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18259 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18260
6470c3c6
JB
18261 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18262
4ffd0d6b 182632011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
18264
18265 * minibuffer.el (completion--do-completion): Avoid the "Next char
18266 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18267
3ad8bad0
CY
18268 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18269 mouse-2 into unread-command-events, it is interpreted correctly.
18270
71d73c9c 18271 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 18272 (image-toggle-display): Doc fix.
71d73c9c 18273
841a1577 182742011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 18275
4ffd0d6b
GM
18276 * textmodes/page.el (what-page): Use line-number-at-pos to
18277 calculate line number (Bug#6825).
6e1dbaa9 18278
c2fb1b60
JB
182792011-04-22 Juanma Barranquero <lekktu@gmail.com>
18280
18281 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18282 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18283 Pass argument NO-DEFAULT to `find-tag-interactive'.
18284
e02f48d7
JB
182852011-04-22 Juanma Barranquero <lekktu@gmail.com>
18286
18287 Lexical-binding cleanup.
18288
18289 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18290 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18291 * progmodes/ada-prj.el (ada-prj-initialize-values)
18292 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18293 (ada-prj-show-value):
18294 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18295 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18296 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18297 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18298 * progmodes/bug-reference.el (bug-reference-push-button):
18299 * progmodes/fortran.el (fortran-line-length):
18300 * progmodes/glasses.el (glasses-change):
18301 * progmodes/octave-mod.el (octave-fill-paragraph):
18302 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18303 (python-pdbtrack-grub-for-buffer, python-sentinel):
18304 * progmodes/sql.el (sql-save-connection):
18305 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18306 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18307 Mark unused parameters.
18308
18309 * progmodes/compile.el (compilation--flush-directory-cache)
18310 (compilation--flush-parse, compile-internal): Mark unused parameters.
18311 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18312 (compilation-next-error-function): Remove unused variable `timestamp'.
18313
18314 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18315 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18316
18317 * progmodes/dcl-mode.el (dcl-end-of-command):
18318 Remove unused variable `start'.
18319 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18320 (dcl-option-value-basic, dcl-option-value-offset)
18321 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18322 Mark unused parameters.
18323 (dcl-save-local-variable): Remove unused variable `val'.
18324 (mode): Declare.
18325
18326 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18327 Mark unused parameters.
18328 (delphi-ignore-changes): Move before first use.
18329 (delphi-charset-token-at): Remove unused variable `start'.
18330 (delphi-else-start): Remove unused variable `if-count'.
18331 (delphi-comment-block-start, delphi-comment-block-end):
18332 Remove unused variable `kind'.
18333 (delphi-indent-line): Remove unused variable `new-point'.
18334
18335 * progmodes/ebrowse.el (ebrowse-files-list)
18336 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18337 Mark unused parameters. Don't quote `lambda'.
18338 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18339 Don't quote `lambda'.
18340 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18341 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18342 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18343 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18344 Use `ignore-errors'.
18345 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18346 (ebrowse-view/find-file-and-search-pattern)
18347 (ebrowse-view/find-member-declaration/definition):
18348 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18349 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18350 Rename parameter PREFIX-ARG to PREFIX.
18351 (ebrowse-tags-read-name): Remove unused variables `start' and
18352 `member-info'.
18353 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18354 to `tags-file'.
18355
18356 * progmodes/etags.el (local-find-tag-hook): Declare.
18357 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18358 Mark unused parameters.
18359
18360 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18361 (executable-interpret): Mark unused parameter.
18362
18363 * progmodes/flymake.el (flymake-process-sentinel)
18364 (flymake-after-change-function)
18365 (flymake-create-temp-with-folder-structure)
18366 (flymake-get-include-dirs-dot): Mark unused parameters.
18367 (flymake-safe-delete-directory): Remove unused variable `err'.
18368
18369 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18370 (speedbar-timer-fn, speedbar-line-text)
18371 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18372 (speedbar-center-buffer-smartly): Declare functions.
18373 (gdb-find-watch-expression): Remove unused variable `array'.
18374 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18375 (gdb-starting): Mark unused parameters.
18376 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18377 (gdb-table-string): Remove unused variable `res'.
18378 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18379 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18380 (gdb-display-buffer): Remove unused variable `cur-size'.
18381
18382 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18383 allow lexical-binding compilation.
18384 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18385 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18386 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18387 Mark unused parameters.
18388 (gud-gdb-marker-filter): Remove unused variable `match'.
18389 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18390 lambda expressions and funcall them, instead of using `fset'.
18391
18392 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18393 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18394
18395 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18396 variable `header-beg'; use `let'.
18397
18398 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18399 `restart', `last-sexp' and `at-do'.
18400
18401 * progmodes/js.el (js--debug): Mark unused parameter.
18402 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18403 (js--splice-into-items): Remove unused variable `item'.
18404 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18405
18406 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18407 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18408 (makefile-complete): Remove unused variable `try'.
18409 (makefile-fill-paragraph, makefile-match-function-end):
18410 Mark unused parameters.
18411
18412 * progmodes/octave-inf.el (inferior-octave-complete):
18413 Remove unused variable `proc'.
18414 (inferior-octave-output-digest): Mark unused parameter.
18415
18416 * progmodes/perl-mode.el (perl-calculate-indent):
18417 Remove unused variable `err'.
18418
18419 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18420 (prolog-indent-line): Mark unused parameters.
18421 (prolog-indent-line): Remove unused variable `beg'.
18422
18423 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18424 (reporter-dont-compact-list): Declare.
18425
18426 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18427 Remove unused variable `char'.
18428 (sh-debug): Mark unused parameter.
18429 (sh-get-indent-info): Remove unused variable `start'.
18430 (sh-calculate-indent): Remove unused variable `var'.
18431
18432 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18433 (simula-electric-keyword): Remove unused variable `null'.
18434 (simula-search-backward, simula-search-forward): Remove unused
18435 variables `begin' and `end'.
18436
18437 * progmodes/vera-mode.el (vera-guess-basic-syntax):
18438 Remove unused variable `pos'.
18439 (vera-electric-tab, vera-comment-uncomment-region):
18440 Mark unused parameters.
18441 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18442
7ede3b65
CY
184432011-04-22 Chong Yidong <cyd@stupidchicken.com>
18444
18445 * emacs-lisp/package.el (package--builtins, package-alist)
18446 (package-load-descriptor, package-built-in-p, package-activate)
18447 (define-package, package-installed-p)
18448 (package-compute-transaction, package-buffer-info)
18449 (package--push): Doc fix. Distinguish more clearly between
18450 version strings and version lists.
18451
121656e9
JB
184522011-04-21 Juanma Barranquero <lekktu@gmail.com>
18453
18454 Lexical-binding cleanup.
18455
18456 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18457 (5x5-make-mutate-best):
18458 * play/fortune.el (fortune-in-buffer):
18459 * play/gomoku.el (gomoku-init-display):
18460 * play/solitaire.el (solitaire, solitaire-do-check):
18461 * play/tetris.el (tetris-default-update-speed-function):
18462 Mark unused parameters.
18463
18464 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18465 (bubbles--shift): Remove unused variable `char-org'.
18466 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
18467 (bubbles--show-images): Remove unused variable `char'.
18468
18469 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18470 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18471 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18472 (decipher-analyze-buffer): Use ?\s.
18473 (decipher-make-checkpoint): Remove unused variable `mapping'.
18474
18475 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18476
18477 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18478 Remove unused variable `result'; use `let'.
18479
18480 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18481 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18482 (gametree-children-shown-p, gametree-compute-reduced-score):
18483 Use `ignore-errors'.
18484
18485 * play/handwrite.el (ps-lpr-switches): Declare.
18486 (handwrite): Remove unused variables `pmin' and `lastp'.
18487
18488 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18489
18490 * play/landmark.el (landmark-init-display)
18491 (landmark-update-naught-weights): Mark unused parameters.
18492 (landmark-y): Remove unused variable `noise'. Simplify.
18493 (landmark-human-plays): Remove unused variable `score'.
18494
18495 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18496 (mpuz-try-proposal): Remove unused variable `game'.
18497
18498 * play/zone.el (life-patterns): Declare.
18499
80f499c7
JB
185002011-04-20 Juanma Barranquero <lekktu@gmail.com>
18501
18502 * vc/vc.el (ediff-vc-internal): Declare function.
18503
024ff170
SM
185042011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18505
c0a193ea
SM
18506 * shell.el: Use lexical-binding and std completion UI.
18507 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18508 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18509 comint-preoutput-filter-functions rather than on
18510 comint-output-filter-functions.
18511 (shell-command-completion, shell--command-completion-data)
18512 (shell-filename-completion, shell-environment-variable-completion)
18513 (shell-c-a-p-replace-by-expanded-directory): New functions.
18514 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
18515 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
18516 (shell-dynamic-complete-environment-variable): Use them.
18517 (shell-dynamic-complete-as-environment-variable)
18518 (shell-dynamic-complete-as-command): Remove.
18519 (shell-match-partial-variable): Match past point.
18520 * comint.el: Clean up use of completion-at-point-functions.
18521 (comint-completion-at-point): New function.
18522 (comint-mode): Use it completion-at-point-functions.
18523 (comint-dynamic-complete): Make it obsolete.
18524 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
18525 (comint-c-a-p-replace-by-expanded-history): New function.
18526 (comint-dynamic-complete-functions)
18527 (comint-replace-by-expanded-history): Use it.
18528 * minibuffer.el (completion-table-with-terminator): Allow dynamic
18529 termination strings. Try harder to avoid second try-completion.
18530 (completion-in-region-mode-map): Disable bindings that don't work yet.
18531
2dbaa080
SM
18532 * comint.el: Use lexical-binding. Require CL.
18533 (comint-dynamic-complete-functions): Use comint-filename-completion.
18534 (comint-completion-addsuffix): Tweak custom type.
18535 (comint-filename-completion, comint--common-suffix)
18536 (comint--common-quoted-suffix, comint--table-subvert)
18537 (comint--complete-file-name-data): New functions.
18538 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
18539 (comint-dynamic-list-filename-completions): Use them.
18540 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 18541
2dbaa080
SM
18542 * minibuffer.el (completion-in-region-mode):
18543 Keep completion-in-region-mode--predicate global.
18544 (completion-in-region--postch):
18545 Assume completion-in-region-mode--predicate is not null.
18546
c79a6f38
SM
18547 * progmodes/flymake.el (flymake-start-syntax-check-process):
18548 Obey `dir'. Simplify.
18549
024ff170
SM
18550 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
18551 we're in VC after all.
18552
1c6c854e
CS
185532011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
18554
18555 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 18556 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
18557 (vc-version-diff): Use vc-diff-build-argument-list-internal.
18558
bed7f140
SM
185592011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18560
332e62ab
SM
18561 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
18562 add sanity check.
18563
bed7f140
SM
18564 * obsolete/erc-hecomplete.el: Make obsolete.
18565 * obsolete/: Standardize obsolescence info in the header.
18566
f195c582
GM
185672011-04-20 Glenn Morris <rgm@gnu.org>
18568
18569 * calendar/solar.el (solar-horizontal-coordinates):
18570 Use the longitude argument rather than `calendar-longitude'.
18571 (solar-date-next-longitude): Remove unused locals.
18572
cb79b8c0
VJL
185732011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18574
18575 * whitespace.el: New version 13.2.1.
18576
185772011-04-20 felix <EmacsWiki> (tiny change)
18578
d8e4b68b 18579 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
18580 switching between major modes on a file.
18581
602ea69d
SM
185822011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
18583
18584 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
18585 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
18586 multi-line comments as well.
18587
06b60517
JB
185882011-04-19 Juanma Barranquero <lekktu@gmail.com>
18589
18590 Lexical-binding cleanup.
18591
18592 * arc-mode.el (archive-mode-revert):
18593 * cmuscheme.el (scheme-interactively-start-process):
18594 * custom.el (custom-initialize-delay):
18595 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
18596 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
18597 * emacs-lock.el (emacs-lock-clear-sentinel):
18598 * ezimage.el (defezimage):
18599 * follow.el (follow-avoid-tail-recenter):
18600 * fringe.el (set-fringe-mode-1):
18601 * generic-x.el (bat-generic-mode-compile):
18602 * help-mode.el (help-info-variable, help-do-xref)
18603 (help-mode-revert-buffer):
18604 * help.el (view-emacs-todo):
18605 * iswitchb.el (iswitchb-completion-help):
18606 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
18607 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
18608 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
18609 * locate.el (locate-update):
18610 * longlines.el (longlines-encode-region)
18611 (longlines-after-change-function):
18612 * outline.el (outline-isearch-open-invisible):
18613 * ps-def.el (declare-function, charset-dimension, char-width)
18614 (encode-char):
18615 * ps-mule.el (ps-mule-plot-string):
18616 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
18617 (recentf-edit-list-select, recentf-edit-list-validate)
18618 (recentf-open-files-action):
18619 * rect.el (delete-whitespace-rectangle-line)
18620 (rectangle-number-line-callback):
18621 * register.el (window-configuration-to-register)
18622 (frame-configuration-to-register):
18623 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
18624 * select.el (xselect-convert-to-string, xselect-convert-to-length)
18625 (xselect-convert-to-targets, xselect-convert-to-delete)
18626 (xselect-convert-to-filename, xselect-convert-to-charpos)
18627 (xselect-convert-to-lineno, xselect-convert-to-colno)
18628 (xselect-convert-to-os, xselect-convert-to-host)
18629 (xselect-convert-to-user, xselect-convert-to-class)
18630 (xselect-convert-to-name, xselect-convert-to-integer)
18631 (xselect-convert-to-atom, xselect-convert-to-identity):
18632 * subr.el (declare, ignore, process-kill-without-query)
18633 (text-clone-maintain):
18634 * terminal.el (te-get-char, te-tic-sentinel):
18635 * tool-bar.el (tool-bar-make-keymap):
18636 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
18637 * type-break.el (type-break-mode, type-break-noninteractive-query):
18638 * view.el (View-back-to-mark):
18639 * wid-browse.el (widget-browse-action, widget-browse-widget)
18640 (widget-browse-widgets, widget-browse-sexp):
18641 * widget.el (define-widget-keywords):
18642 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
18643 Mark unused parameters.
18644
18645 * align.el (align-adjust-col-for-rule): Mark unused parameter.
18646 (align-areas): Remove unused variable `look'.
18647 (align-region): Remove unused variables `real-end' and `pos-list'.
18648
18649 * apropos.el (apropos-score-doc): Remove unused variable `i'.
18650
18651 * bindings.el (mode-line-modified, mode-line-remote):
18652 Mark unused parameters.
18653 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
18654
18655 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
18656 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
18657
18658 * comint.el (comint-history-isearch-pop-state)
18659 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
18660 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
18661 (comint-substitute-in-file-name): Doc fix.
18662
18663 * completion.el (cmpl-statistics-block): Mark unused parameter.
18664 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
18665 (save-completions-to-file, load-completions-from-file):
18666 Remove unused local variable `e'.
18667
18668 * composite.el (compose-chars): Remove unused variable `len'.
18669 (lgstring-insert-glyph): Remove unused variable `g'.
18670 (compose-glyph-string): Remove unused variables `ascent',
18671 `descent', `lbearing' and `rbearing'.
18672 (compose-glyph-string-relative): Remove unused variables
18673 `lbearing', `rbearing' and `wadjust'.
18674 (compose-gstring-for-graphic): Remove unused variables `header',
18675 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
18676 (compose-gstring-for-terminal): Remove unused variables `header'
18677 and `nchars'. Use `let', not `let*'.
18678
18679 * cus-edit.el (Custom-set, Custom-save, custom-reset)
18680 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
18681 (Custom-buffer-done, custom-buffer-create-internal)
18682 (custom-browse-visibility-action, custom-browse-group-tag-action)
18683 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
18684 (widget-magic-mouse-down-action, custom-toggle-parent)
18685 (custom-add-parent-links, custom-toggle-hide-variable)
18686 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
18687 (custom-toggle-hide-face, face, hook, custom-group-link-action)
18688 (custom-face-menu-create, custom-variable-menu-create, get)
18689 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
18690 (custom-reset-standard-save-and-update): Remove unused variable `value'.
18691 (customize-apropos): Remove unused variable `tests'.
18692 (custom-group-value-create): Remove unused variable `hidden-p'.
18693 (sort-fold-case): Declare.
18694
18695 * cus-theme.el (custom-reset-standard-faces-list)
18696 (custom-reset-standard-variables-list): Declare.
18697 (customize-create-theme, custom-theme-revert, custom-theme-write)
18698 (custom-theme-choose-mode, customize-themes, custom-theme-save):
18699 Mark unused parameters.
18700
18701 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
18702
18703 * delim-col.el (delimit-columns-max): Move defvar before first use.
18704
18705 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 18706 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
18707
18708 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
18709 (auto-insert): Declare.
18710 (desktop-restore-file-buffer): Rename desktop-* parameters;
18711 mark unused ones.
18712 (desktop-create-buffer): Rename desktop-* parameters and bind them.
18713 (desktop-buffer): Rename desktop-* parameters.
18714
18715 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18716 (dframe-reposition-frame-xemacs, dframe-help-echo)
18717 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
18718 Mark unused parameters.
18719
18720 * dired-aux.el (backup-extract-version-start, overwrite-query)
18721 (overwrite-backup-query, rename-regexp-query)
18722 (rename-non-directory-query): Declare.
18723 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
18724 (dired-add-entry): Remove unused variable `orig-file-name'.
18725 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
18726 Use parameter PRESERVE-TIME instead of accessing dynamic variable
18727 `dired-copy-preserve-time' directly.
18728 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
18729 (dired-insert-subdir-newpos): Rename unused variable `pos'.
18730
18731 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
18732 (dired-virtual-revert, dired-make-relative-symlink):
18733 Mark unused parameters.
18734 (manual-program): Declare.
18735 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
18736 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
18737 wrapped in `with-no-warnings' to avoid replacing one warning by another.
18738
18739 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
18740
18741 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
18742
18743 * echistory.el (electric-history-in-progress, Helper-return-blurb):
18744 Declare.
18745
18746 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
18747
18748 * electric.el (Electric-command-loop): Rename parameter
18749 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
18750
18751 * expand.el (expand-in-literal): Remove unused variable `here'.
18752
18753 * facemenu.el (facemenu-add-new-color):
18754 Remove unused variable `docstring'.
18755
18756 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
18757 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
18758 (face-attr-construct): Mark unused parameter. Doc fix.
18759 (read-color): Remove unused variable `hex-string'.
18760
18761 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
18762 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
18763 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
18764 (display-buffer-other-frame): Remove unused variable `old-window'.
18765 (kill-buffer-hook): Declare.
18766 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
18767 Mark unused parameters.
18768 (after-find-file): Pass 1 to `auto-save-mode', not t.
18769
18770 * files-x.el (auto-insert): Declare.
18771 (modify-file-local-variable-prop-line): Remove unused variable `val'.
18772
18773 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 18774 variable `buf'. Mark unused parameter.
06b60517
JB
18775 (find-lisp-insert-directory): Mark unused parameter.
18776
18777 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
18778 (format-encode-region): Remove unused variables `cur-buf' and `result'.
18779 (format-common-tail): Remove, unused.
18780 (format-deannotate-region): Remove unused variable `loc'.
18781 (format-annotate-region): Remove unused variable `p'.
18782 (format-annotate-single-property-change): Remove unused variables
18783 `default' and `tail'.
18784
18785 * forms.el (read-file-filter): Declare.
18786 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
18787
18788 * frame.el (frame-creation-function-alist): Mark unused parameter.
18789 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
18790
18791 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
18792 Remove unused parameters.
18793 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
18794 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
18795
18796 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
18797 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
18798 (hfy-prepare-tag-map): Mark unused parameters.
18799 (htmlfontify-buffer): Use `called-interactively-p'.
18800
18801 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
18802 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
18803 (ibuffer-do-occur): Mark unused parameters.
18804 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
18805 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
18806
18807 * ibuffer.el: Don't quote `lambda'.
18808 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
18809 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
18810 Mark unused parameters.
18811
18812 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
18813 (ido-completing-read): Mark unused parameters.
18814 (ido-copy-current-word): Mark unused parameters;
18815 remove unused variable `name'.
18816 (ido-sort-merged-list): Remove unused parameter `dirs'.
18817
18818 * ielm.el (ielm-input-sender): Mark unused parameter.
18819 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
18820 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
18821 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
18822 `ielm-string' as a dynamic variable accessible from the IELM prompt.
18823 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
18824
18825 * image-dired.el (image-dired-display-thumbs): Remove unused
18826 variables `curr-file' and `count'.
18827 (image-dired-remove-tag): Remove unused variable `start'.
18828 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
18829 variable `curr-file'
18830 (image-dired-rotate-original): Remove unused variable `temp-file'.
18831 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
18832 Remove unused variable `file'.
18833 (image-dired-gallery-generate): Remove unused variable `curr'.
18834 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
18835
18836 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
18837
18838 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
18839
18840 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
18841
18842 * isearch.el (minibuffer-history-symbol): Declare.
18843 (isearch-edit-string): Remove unused variable `err'.
18844 (isearch-message-prefix, isearch-message-suffix):
18845 Mark unused parameters.
18846
18847 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
18848
18849 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
18850
18851 * makesum.el (double-column): Remove unused variable `cnt'.
18852
18853 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
18854 (ido-ignore-item-temp-list): Declare.
18855
18856 * mouse-drag.el (mouse-drag-throw): Remove unused variables
18857 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
18858 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
18859 (mouse-drag-drag): Remove unused variables `mouse-delta' and
18860 `mouse-col-delta'.
18861
18862 * mouse-sel.el (mouse-extend-internal):
18863 Remove unused variable `orig-window-frame'.
18864
18865 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
18866 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
18867 Move declarations before first use.
18868 (pcomplete-opt): Mark unused parameters; doc fix.
18869
18870 * proced.el (proced-revert): Mark unused parameter.
18871 (proced-send-signal): Remove unused variable `err'.
18872
18873 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
18874 Rename parameter PREFIX-ARG to ARG.
18875 (ps-basic-plot-string, ps-basic-plot-whitespace):
18876 Mark unused parameters.
18877
18878 * replace.el (replace-count): Define.
18879 (occur-revert-function): Mark unused parameters.
18880 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
18881 (isearch-case-fold-search, isearch-string): Declare.
18882 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
18883 bind `case-fold-search'. Remove unused variables `beg' and `end',
18884 and simplify.
18885 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
18886 COUNT and bind `replace-count'.
18887 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
18888 to COUNT.
18889
18890 * savehist.el (print-readably, print-string-length): Declare.
18891
18892 * shadowfile.el (shadow-expand-cluster-in-file-name):
18893 Remove unused variable `cluster'.
18894 (shadow-copy-file): Remove unused variable `i'.
18895 (shadow-noquery, shadow-clusters, shadow-site-cluster)
18896 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
18897 (shadow-define-literal-group, shadow-define-regexp-group)
18898 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
18899
18900 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
18901 (shell): Use `called-interactively-p'.
18902 (shell-directory-tracker): Remove unused variable `chdir-failure'.
18903
18904 * simple.el (compilation-context-lines, comint-file-name-quote-list)
18905 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
18906 (delete-backward-char): Remove unused variable `ocol'.
18907 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
18908 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
18909 (event-apply-hyper-modifier, event-apply-shift-modifier)
18910 (event-apply-control-modifier, event-apply-meta-modifier):
18911 Mark unused parameters.
18912 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
18913 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
18914
18915 * speedbar.el (speedbar-ignored-directory-expressions)
18916 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
18917 (speedbar-find-file, speedbar-dir-follow)
18918 (speedbar-directory-buttons-follow, speedbar-tag-find)
18919 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
18920 (speedbar-buffers-line-directory, speedbar-buffer-click):
18921 Mark unused parameters.
18922 (speedbar-tag-file): Remove unused variable `mode'.
18923 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
18924
18925 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
18926
18927 * talk.el (talk): Remove unused variable `display'.
18928
18929 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
18930 (tar-write-region-annotate): Mark unused parameter.
18931
18932 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
18933 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
18934 Declare them, wrapped in `with-no-warnings' to avoid replacing one
18935 warning by another.
18936
18937 * time-stamp.el (time-stamp-string-preprocess):
18938 Remove unused variable `require-padding'.
18939
18940 * tree-widget.el (widget-glyph-enable): Declare.
18941 (tree-widget-action): Mark unused parameter.
18942
18943 * w32-fns.el (x-get-selection): Mark unused parameter.
18944 (autoload-make-program, generated-autoload-file): Declare.
18945
18946 * wdired.el (wdired-revert): Mark unused parameters.
18947 (wdired-xcase-word): Remove unused variable `err'.
18948
18949 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
18950 (whitespace-help-scroll): Remove unused variable `data-help'.
18951
18952 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
18953 (widget-image-insert, widget-after-change, default)
18954 (widget-default-format-handler, widget-default-notify)
18955 (widget-default-prompt-value, widget-info-link-action)
18956 (widget-url-link-action, widget-function-link-action)
18957 (widget-variable-link-action, widget-file-link-action)
18958 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
18959 (widget-field-prompt-internal, widget-field-action, widget-field-match)
18960 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
18961 (widget-insert-button-action, widget-delete-button-action, visibility)
18962 (widget-documentation-link-action, widget-documentation-string-action)
18963 (widget-const-prompt-value, widget-regexp-match, symbol)
18964 (widget-coding-system-prompt-value)
18965 (widget-key-sequence-value-to-external, sexp)
18966 (widget-sexp-value-to-internal, character, vector, cons)
18967 (widget-choice-prompt-value, widget-boolean-prompt-value)
18968 (widget-color--choose-action): Mark unused parameters.
18969 (widget-item-match-inline, widget-choice-match-inline)
18970 (widget-checklist-match, widget-checklist-match-inline)
18971 (widget-group-match): Rename parameter VALUES to VALS.
18972 (widget-field-value-set): Remove unused variable `size'.
18973 (widget-color-action): Remove unused variables `value' and `start'.
18974
18975 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 18976 variable `dir'. Doc fix.
06b60517
JB
18977 (windmove-find-other-window): Don't pass it.
18978
18979 * window.el (count-windows): Mark unused parameter.
18980 (bw-adjust-window): Remove unused variable `err'.
18981
18982 * woman.el (woman-file-name): Remove unused variable `default'.
18983 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
18984 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
18985 (global-font-lock-mode): Declare.
18986 (woman-decode-region): Mark unused parameter.
18987 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
18988
18989 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
18990 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
18991 (x-dnd-handle-moz-url): Remove unused variable `title'.
18992 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
18993
18994 * xml.el (xml-parse-tag, xml-parse-attlist):
18995 Remove unused variable `pos'.
18996
bc4f7f3d
GM
189972011-04-19 Glenn Morris <rgm@gnu.org>
18998
18999 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19000 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19001 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19002 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19003 * calendar/cal-html.el (cal-html-insert-minical):
19004 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19005 (calendar-mark-date-pattern):
19006 Prefix "unused" locals.
19007
19008 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19009 optional argument `style'.
19010
19011 * calendar/appt.el (appt-make-list):
19012 * calendar/cal-china.el (calendar-chinese-date-string):
19013 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19014 (diary-hebrew-yahrzeit):
19015 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19016 * calendar/calendar.el (calendar-generate-window):
19017 * calendar/time-date.el (time-to-days):
19018 Remove unused local variables.
19019
16a43933
CY
190202011-04-18 Chong Yidong <cyd@stupidchicken.com>
19021
19022 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19023 glyphless-char-display table.
19024 (tabulated-list-glyphless-char-display): New var.
19025
7eed1860
SS
190262011-04-18 Sam Steingold <sds@gnu.org>
19027
19028 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19029 to acknowledgments.
19030
4d2d1ccd
GM
190312011-04-17 Glenn Morris <rgm@gnu.org>
19032
19033 * calendar/diary-lib.el (diary-sexp-entry):
19034 * calendar/holidays.el (holiday-sexp):
19035 Set debug-on-error rather than the removed stack-trace-on-error.
19036
239da61d
GM
190372011-04-16 Glenn Morris <rgm@gnu.org>
19038
19039 * progmodes/f90.el: Use lexical-binding.
19040 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19041
8b05752a
SM
190422011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19043
daca8ba5
SM
19044 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19045 (mail-mode): Setup mailalias completion here instead.
19046 * mail/mailalias.el: Use lexical-binding.
19047 (pattern, mailalias-done): Declare dynamic.
19048 (mail-completion-at-point-function): New function, from mail-complete.
19049 (mail-complete): Use it.
19050 (mail-completion-expand): New function.
19051 (mail-get-names): Use it.
19052 (mail-directory, mail-directory-process, mail-directory-stream):
19053 Don't use `pattern' for lexically bound arg.
19054
6f542485
SM
19055 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19056
037e7c3f
SM
19057 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19058 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19059 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19060
8b05752a
SM
19061 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19062 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19063 (byte-interactive-p): Define them again, for use when inlining
19064 old code.
19065
49093f60
JB
190662011-04-15 Juanma Barranquero <lekktu@gmail.com>
19067
19068 * loadup.el: Use `string-to-number', not `string-to-int'.
19069
b5b8e7de
SM
190702011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19071
19072 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19073 gud-gdb-complete-command.
19074 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19075 (gud-gdb-completion-at-point): New function.
19076 (gud-gdb-completions): Remove.
19077
f42efeb5
MA
190782011-04-14 Michael Albinus <michael.albinus@gmx.de>
19079
49093f60
JB
19080 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19081 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19082 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19083 whether `executable-find' is bound.
f42efeb5
MA
19084
19085 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19086
e240cc21
SM
190872011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19088
19089 * minibuffer.el (completion-in-region-mode-predicate)
19090 (completion-in-region-mode--predicate): New vars.
19091 (completion-in-region, completion-in-region--postch)
19092 (completion-in-region-mode): Use them.
19093 (completion--capf-wrapper): Also return the hook function.
19094 (completion-at-point, completion-help-at-point):
19095 Adjust and provide a predicate.
c2bd2ab0
SM
19096
19097 Preserve arg names for advice of subr and lexical functions (bug#8457).
19098 * help-fns.el (help-function-arglist): Consolidate the subr and
19099 new-byte-code cases. Add argument `preserve-names' to extract names
19100 from the docstring when needed.
19101 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19102 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19103 (ad-arglist): Use help-function-arglist's new arg.
19104 (ad-definition-type): Use cond.
19105
c183f693
JB
191062011-04-13 Juanma Barranquero <lekktu@gmail.com>
19107
06641a47
JB
19108 * autorevert.el (auto-revert-handler):
19109 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19110 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19111 Don't quote lambda.
19112
c183f693
JB
19113 * image-mode.el (image-transform-set-scale):
19114 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19115
1e3b6001
G
191162011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19117
19118 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 19119 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
19120 Upgrades via gnutls-cli are too slow to be done opportunistically.
19121
2d6af8dd
JB
191222011-04-12 Juanma Barranquero <lekktu@gmail.com>
19123
19124 * dframe.el (dframe-current-frame): Remove spurious quote.
19125
c0749a51
GM
191262011-04-12 Glenn Morris <rgm@gnu.org>
19127
088d0d61
GM
19128 * calendar/cal-tex.el (cal-tex-end-document):
19129 Try to automatically use latin1 input if needed.
19130
c0749a51
GM
19131 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19132 Don't try to cons a mark onto an empty element.
19133
5c90fde0
LL
191342011-04-11 Leo Liu <sdl.web@gmail.com>
19135
19136 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19137 buffers.
19138 (ido-kill-buffer-at-head): Support killing virtual buffers.
19139
369e974d
CY
191402011-04-10 Chong Yidong <cyd@stupidchicken.com>
19141
19142 * minibuffer.el (completion-show-inline-help): New var.
19143 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
19144 (minibuffer-force-complete, minibuffer-complete-word):
19145 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
19146
19147 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19148 to avoid interference from inline help (Bug#5849).
19149
37f1c930
LL
191502011-04-10 Leo Liu <sdl.web@gmail.com>
19151
099c39a4
JB
19152 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19153 Fix typo.
37f1c930 19154
a32d4040
CY
191552011-04-09 Chong Yidong <cyd@stupidchicken.com>
19156
19157 * image-mode.el (image-toggle-display-image): Signal an error if
19158 not in Image mode.
19159 (image-transform-mode, image-transform-resize)
19160 (image-transform-set-rotation): Doc fix.
daca8ba5 19161 (image-transform-set-resize): Delete.
a32d4040
CY
19162 (image-transform-set-scale, image-transform-fit-to-height)
19163 (image-transform-fit-to-width): Handle image-toggle-display-image
19164 and image-transform-resize directly.
19165
099c39a4 191662011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
19167
19168 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
19169 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19170 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
19171 (doc-view-mode-map): Add bindings for the new functions.
19172
099c39a4 191732011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 19174
4d61f28d 19175 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
19176 Fix typo in docstring.
19177
3726838a
EZ
191782011-04-08 Eli Zaretskii <eliz@gnu.org>
19179
04f33f1e
EZ
19180 * files.el (file-size-human-readable): Produce one digit after
19181 decimal, like "ls -lh" does.
19182
19183 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19184 the file size representation.
19185
3726838a
EZ
19186 * simple.el (list-processes): If async subprocesses are not
19187 available, error out with a clear error message.
19188
cbb59342
CY
191892011-04-08 Chong Yidong <cyd@stupidchicken.com>
19190
19191 * help.el (help-form-show): New function, to be called from C.
19192 Put help-form output in a buffer named differently than *Help*.
19193
e3971c44
EZ
191942011-04-08 Eli Zaretskii <eliz@gnu.org>
19195
19196 * files.el (file-size-human-readable): New function.
19197
19198 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19199 computing the representation inline. Don't require `cl'.
19200
12544bbe
GM
192012011-04-08 Glenn Morris <rgm@gnu.org>
19202
a1de6c6a
GM
19203 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19204
3c4671f4
GM
19205 * net/browse-url.el (browse-url-firefox):
19206 Test system-type, not system-configuration.
19207
b605679c
GM
19208 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19209 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19210 Use log-edit-empty-buffer-p. (Bug#7598)
19211
56442f0c
GM
19212 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19213 (rlogin-mode-map): Initialize in the defvar.
19214 (rlogin): Use ignore-errors.
19215
12544bbe
GM
19216 * replace.el (occur-mode-map): Some fixes for menu items.
19217
eb237b0f
AH
192182011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19219
19220 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19221
7d668f2c
CY
192222011-04-06 Chong Yidong <cyd@stupidchicken.com>
19223
e67a13ab
CY
19224 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19225 issuing unused warnings.
19226
19227 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19228 macro directly.
19229
7d668f2c
CY
19230 * simple.el: Lisp reimplement of list-processes. Based on an
19231 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19232 (process-menu-mode): New major mode.
19233 (list-processes--refresh, list-processes):
19234 (process-menu-visit-buffer): New functions.
19235
19236 * files.el (save-buffers-kill-emacs): Don't assume any return
19237 value of list-processes, which is undocumented anyway.
19238
a83ec3c9
CY
192392011-04-06 Chong Yidong <cyd@stupidchicken.com>
19240
19241 * emacs-lisp/tabulated-list.el: New file.
19242
e91a96fe
CY
19243 * emacs-lisp/package.el: Use Tabulated List mode.
19244 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19245 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19246 table format using Tabulated List mode variables.
19247 (package--push): New macro, replacing package-list-maybe-add.
19248 (package-menu--generate): Use package--push. Renamed from
19249 package--generate-package-list.
19250 (package-menu-refresh, list-packages): Use it.
daca8ba5 19251 (package-menu--print-info): Rename from package-print-package.
e91a96fe 19252 Return insertion data instead of inserting it directly.
099c39a4
JB
19253 (package-menu-describe-package, package-menu-execute):
19254 Use tabulated-list-get-id.
e91a96fe
CY
19255 (package-menu-mark-delete, package-menu-mark-install)
19256 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
19257 (package-menu-mark-obsolete-for-deletion):
19258 Use tabulated-list-put-tag.
e91a96fe
CY
19259 (package--list-packages, package-menu-revert)
19260 (package-menu-get-package, package-menu-get-version)
19261 (package-menu-sort-by-column): Functions deleted.
19262 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19263 (package-menu--status-predicate, package-menu--version-predicate)
19264 (package-menu--name-predicate)
19265 (package-menu--description-predicate): Handle arguments in the
19266 Tabulated List format.
19267 (package-list-packages-no-fetch): Call list-packages.
19268
3e214b50
JB
192692011-04-06 Juanma Barranquero <lekktu@gmail.com>
19270
19271 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 19272 (after-find-file): Don't bind it.
3e214b50
JB
19273 (revert-buffer-in-progress-p): New variable.
19274 (revert-buffer): Bind it.
19275 Pass nil for `after-find-file-from-revert-buffer'.
19276
19277 * saveplace.el (save-place-find-file-hook): Use new variable
19278 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19279
3f0f1700
GM
192802011-04-06 Glenn Morris <rgm@gnu.org>
19281
c0274801
GM
19282 * Makefile.in (AUTOGEN_VCS): New variable.
19283 (autoloads): Use $AUTOGEN_VCS.
19284
3f0f1700
GM
19285 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19286 * calendar/calendar.el (calendar-mode-map):
19287 Check for toolkit scroll bars. (Bug#8305)
19288
41ea9e48
CY
192892011-04-05 Chong Yidong <cyd@stupidchicken.com>
19290
19291 * minibuffer.el (completion-in-region--postch)
19292 (completion-in-region-mode): Remove unnecessary messages.
19293
6194c800
JB
192942011-04-05 Juanma Barranquero <lekktu@gmail.com>
19295
33256f14
JB
19296 * font-lock.el (font-lock-refresh-defaults):
19297 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19298 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19299
6194c800
JB
19300 * info.el (Info-directory-list, Info-read-node-name-2)
19301 (Info-split-parameter-string): Doc fixes.
19302 (Info-virtual-nodes): Reflow docstring.
19303 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19304 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19305 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19306 Fix typos in docstrings.
19307 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19308 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19309 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19310 (Info-restore-desktop-buffer): Mark unused parameters.
19311 (Info-directory-find-file, Info-directory-find-node)
19312 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19313 (Info-virtual-index-find-node, Info-apropos-find-file)
19314 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 19315 Mark unused parameters; fix typos in docstrings.
6194c800
JB
19316 (Info-virtual-index): Remove unused local variable `nodename'.
19317
b87a8200 193182011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 19319
b87a8200
DD
19320 * net/rcirc.el: Update my e-mail address.
19321 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 19322
3b2ff876
CY
193232011-04-05 Chong Yidong <cyd@stupidchicken.com>
19324
19325 * startup.el (command-line): Save the cursor's theme-face
19326 directly, instead of using face-override-spec.
19327
19328 * custom.el (load-theme): Minor optimization in assigning faces.
19329
8d17e7ca
JB
193302011-04-04 Juanma Barranquero <lekktu@gmail.com>
19331
19332 * help-fns.el (describe-variable): Complete all variables having
19333 documentation, including keywords.
19334 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19335
2fbc1934
JB
193362011-04-04 Juanma Barranquero <lekktu@gmail.com>
19337
19338 Convert to lexical-binding.
19339
19340 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19341 (bs--get-marked-string, bs--get-modified-string)
19342 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19343 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19344 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19345
19346 * ehelp.el (electric-help-execute-extended)
19347 (electric-help-ctrl-x-prefix):
19348 * hexl.el (hexl-revert-buffer-function):
19349 * linum.el (linum-after-change, linum-after-scroll):
19350 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19351
19352 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19353
74f50695
DU
193542011-04-04 Daiki Ueno <ueno@unixuser.org>
19355
19356 * epa-dired.el:
19357 * epa-mail.el:
19358 * epa-hook.el:
19359 * epa-file.el:
19360 * epa.el:
19361 * epg.el: Use lexical binding.
19362
c11325f7
CY
193632011-04-03 Chong Yidong <cyd@stupidchicken.com>
19364
0d9e9a12
CY
19365 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19366
c11325f7 19367 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
19368 dictionary case for flyspell-mark-duplications-exceptions.
19369 Use regexp matching for languages.
c11325f7
CY
19370 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19371 default dictionary (Bug#7926).
19372
da91b5f2
CY
193732011-04-02 Chong Yidong <cyd@stupidchicken.com>
19374
099c39a4
JB
19375 * emacs-lisp/package.el (package--with-work-buffer):
19376 Recognize https URLs.
da91b5f2 19377
099c39a4
JB
19378 * net/network-stream.el: Move from gnus/proto-stream.el.
19379 Change prefix to network-stream throughout.
da91b5f2
CY
19380 (open-protocol-stream): Merge into open-network-stream, leaving
19381 open-protocol-stream as an alias. Handle nil BUFFER args.
19382
19383 * subr.el (open-network-stream): Move to net/network-stream.el.
19384
afa8e9f6
GM
193852011-04-02 Glenn Morris <rgm@gnu.org>
19386
1d2e369d
GM
19387 * find-dired.el (find-exec-terminator): New option.
19388 (find-ls-option): Test for -ls support.
19389 (find-ls-subdir-switches): Test for -b in find-ls-option.
19390 (find-dired, find-grep-dired): Doc fixes.
19391 (find-dired): Use find-exec-terminator.
19392
8abb7da8 19393 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
19394 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19395 (find-name-arg): Remove purecopy.
8abb7da8 19396
f3ca7378
GM
19397 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19398 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19399 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19400 accordingly. Don't add the null-device if not needed.
19401
afa8e9f6
GM
19402 * files.el (save-some-buffers): Doc fix.
19403
35eae264
EZ
194042011-04-02 Eli Zaretskii <eliz@gnu.org>
19405
19406 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19407
26b51db5
JB
194082011-04-01 Juanma Barranquero <lekktu@gmail.com>
19409
19410 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19411 Use `dolist' rather than `mapcar'.
19412
7200d79c
SM
194132011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19414
03408648 19415 Add lexical binding.
7200d79c 19416
03408648
SM
19417 * subr.el (apply-partially): Use new closures rather than CL.
19418 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19419 (dolist, dotimes): Use slightly different expansion for lexical code.
19420 (functionp): Move to C.
19421 (letrec): New macro.
19422 (with-wrapper-hook): Use it and apply-partially instead of CL.
19423 (eval-after-load): Preserve lexical-binding.
19424 (save-window-excursion, with-output-to-temp-buffer): Turn them
19425 into macros.
7200d79c 19426
03408648
SM
19427 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19428
19429 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19430 than the arglist.
19431 (help-add-fundoc-usage): Don't add `Not documented'.
19432 (help-function-arglist): Handle closures, subroutines, and new
19433 byte-code-functions.
19434 (help-make-usage): Remove leading underscores.
19435 (describe-function-1): Handle closures.
19436 (describe-variable): Use special-variable-p for completion.
19437
19438 * files.el (lexical-binding): Declare safe.
f488fb65 19439
03408648
SM
19440 * emacs-lisp/pcase.el: Don't use destructuring-bind.
19441 (pcase--memoize): Rename from pcase-memoize. Change weakness.
19442 (pcase): Add `let' pattern.
19443 Change memoization so it actually works.
19444 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19445 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19446 <let>: New case.
f488fb65 19447
03408648
SM
19448 * emacs-lisp/macroexp.el: Use lexical binding.
19449 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
19450 Don't convert ' to #' without checking that it's indeed quoting
19451 a lambda.
19452
19453 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 19454 Use eval-sexp-add-defvars.
03408648
SM
19455 (eval-sexp-add-defvars): New fun.
19456
19457 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19458
19459 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19460 Don't autoload.
19461 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19462 than the internal `byte-compile-lambda'.
19463 (defmethod): Don't hide code under quotes.
19464 (eieio-defmethod): New `code' argument.
19465
19466 * emacs-lisp/eieio-comp.el: Remove.
19467
19468 * emacs-lisp/edebug.el (edebug-eval-defun)
19469 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19470 (edebug-toggle): Avoid `eval'.
19471
19472 * emacs-lisp/disass.el (disassemble-internal): Handle new
19473 `closure' objects.
19474 (disassemble-1): Handle new byte codes.
19475
19476 * emacs-lisp/cl.el (pushnew): Silence warning.
19477
19478 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19479 (cl-byte-compile-throw): Remove.
19480 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19481
19482 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19483 closures.
19484
19485 * emacs-lisp/cconv.el: New file.
19486
19487 * emacs-lisp/bytecomp.el: Use lexical binding instead of
19488 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
19489 (byte-compile-initial-macro-environment):
19490 Handle declare-function here.
19491 (byte-compile--lexical-environment): New var.
19492 (byte-stack-ref, byte-stack-set, byte-discardN)
19493 (byte-discardN-preserve-tos): New lap codes.
19494 (byte-interactive-p): Don't use any more.
19495 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19496 New macros.
19497 (byte-compile-lapcode): Use them and handle new lap codes.
19498 (byte-compile-obsolete): Remove.
19499 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19500 (byte-compile-arglist-warn): Check late def of inlinable funs.
19501 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19502 since they should have been expanded by now.
19503 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
19504 (byte-compile-from-buffer): Remove unused second arg.
19505 (byte-compile-preprocess): New function.
19506 (byte-compile-toplevel-file-form): New function to distinguish
19507 file-form calls from outside from file-form calls from hunk-handlers.
19508 (byte-compile-file-form): Simplify.
19509 (byte-compile-file-form-defsubst): Remove.
19510 (byte-compile-file-form-defmumble): Simplify now that
19511 byte-compile-lambda always returns a byte-code-function.
19512 (byte-compile): Preprocess.
19513 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
19514 Remove, not used any more.
19515 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
19516 (byte-compile-make-args-desc): New funs.
19517 (byte-compile-lambda): Handle lexical functions. Always return
19518 a byte-code-function.
19519 (byte-compile-reserved-constants): New var, to make up room for
19520 closed-over variables.
19521 (byte-compile-constants-vector): Obey it.
19522 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
19523 (byte-compile-macroexpand-declare-function): New function.
19524 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
19525 byte-code-functions.
19526 (byte-compile-form): Check obsolescence here.
19527 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
19528 (byte-compile-variable-ref): Remove.
19529 (byte-compile-dynamic-variable-op): New fun.
19530 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19531 (byte-compile-variable-set): New funs.
19532 (byte-compile-discard): Add 2 args.
19533 (byte-compile-stack-ref, byte-compile-stack-set)
19534 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
19535 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
19536 macroexpand-all instead.
19537 (byte-compile-quote-form): Remove.
19538 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
19539 (byte-compile-bind, byte-compile-unbind): New funs.
19540 (byte-compile-let): Handle let* and lexical binding.
19541 (byte-compile-let*): Remove.
19542 (byte-compile-catch, byte-compile-unwind-protect)
19543 (byte-compile-track-mouse, byte-compile-condition-case):
19544 Handle a new :fun-body form, used for lexical scoping.
19545 (byte-compile-save-window-excursion)
19546 (byte-compile-with-output-to-temp-buffer): Remove.
19547 (byte-compile-defun): Simplify.
19548 (byte-compile-stack-adjustment): New fun.
19549 (byte-compile-out): Use it.
19550 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
19551
19552 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
19553 handler any more.
19554
19555 * emacs-lisp/byte-opt.el: Use lexical binding.
19556 (byte-inline-lapcode): Remove (to bytecomp).
19557 (byte-compile-inline-expand): Pay attention to inlining to/from
19558 lexically bound code.
19559 (byte-compile-unfold-lambda): Don't handle byte-code-functions
19560 any more.
19561 (byte-optimize-form-code-walker): Don't handle save-window-excursion
19562 any more and don't call compiler-macros.
19563 (byte-compile-splice-in-already-compiled-code): Remove.
19564 (byte-code): Don't inline any more.
19565 (disassemble-offset): Receive `bytes' as argument rather than via
19566 dynamic scoping.
19567 (byte-compile-tag-number): Declare before first use.
19568 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
19569 `return' even if make-spliceable.
19570 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
19571 obsolete interactive-p.
19572 (byte-optimize-lapcode): Optimize new lap-codes.
19573 Don't trip up on new form of `byte-constant' lap code.
19574
19575 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
19576
19577 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
19578
19579 * custom.el (custom-initialize-default, custom-declare-variable):
19580 Use `defvar'.
19581
19582 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
19583 New variables.
19584 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
19585 (COMPILE_FIRST): Add macroexp and cconv.
19586 * makefile.w32-in: Mirror changes in Makefile.in.
19587
19588 * vc/cvs-status.el:
19589 * vc/diff-mode.el:
19590 * vc/log-edit.el:
19591 * vc/log-view.el:
19592 * vc/smerge-mode.el:
19593 * textmodes/bibtex-style.el:
090bd7cb 19594 * textmodes/css-mode.el:
03408648
SM
19595 * startup.el:
19596 * uniquify.el:
da91b5f2
CY
19597 * minibuffer.el:
19598 * newcomment.el:
19599 * reveal.el:
19600 * server.el:
19601 * mpc.el:
19602 * emacs-lisp/smie.el:
19603 * doc-view.el:
19604 * dired.el:
03408648
SM
19605 * abbrev.el: Use lexical binding.
19606
0f0c1f27
EZ
196072011-04-01 Eli Zaretskii <eliz@gnu.org>
19608
19609 * info.el (info-display-manual): New function.
19610
c82b2579
SM
196112011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
19612
19613 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
19614
221ddf68
TH
196152011-03-31 Tassilo Horn <tassilo@member.fsf.org>
19616
19617 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 19618 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 19619
cba6e77e
GM
196202011-03-31 Glenn Morris <rgm@gnu.org>
19621
e040639f
GM
19622 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
19623
cba6e77e
GM
19624 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
19625
6d0f1c9e
CS
196262011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
19627
19628 * progmodes/python.el (python-default-interpreter)
19629 (python-python-command-args, python-jython-command-args)
19630 (python-which-shell, python-which-args, python-which-bufname)
19631 (python-file-queue, python-comint-output-filter-function)
19632 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
19633 variables and functions.
19634
3e2d70fd
SM
196352011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
19636
19637 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
19638 (completion-in-region-mode): New minor mode.
19639 (completion-in-region): Use it.
19640 (completion-in-region--data, completion-in-region-mode-map): New vars.
19641 (completion-in-region--postch): New function.
19642 (completion--capf-misbehave-funs, completion--capf-safe-funs):
19643 New vars.
19644 (completion--capf-wrapper): New function.
19645 (completion-at-point): Use it to track well-behavedness of
19646 hook functions.
19647 (completion-help-at-point): New command.
19648
f3e4086c
JM
196492011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
19650
19651 * vc/add-log.el (add-change-log-entry): Don't use whitespace
19652 syntax class to search for whitespace on a single line
19653 (Message-ID: <4D938140.4030905@redhat.com>).
19654
eb7ffc14
LL
196552011-03-30 Leo Liu <sdl.web@gmail.com>
19656
19657 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
19658 New commands.
19659 (edit-abbrevs-map): Bind them here.
19660 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
19661
d806ab68
KM
196622011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
19663
19664 * allout.el (allout-hide-by-annotation, allout-flag-region):
19665 Reduce possibility of overlay leakage by making them volatile.
19666
19667 * allout-widgets.el (allout-widgets-tally): Define as nil so the
19668 hash is not shared between buffers. Mode initialization is
19669 responsible for giving it a useful starting value.
19670 (allout-item-span): Reduce possibility of overlay leakage by
19671 making them volatile.
19672 (allout-widgets-count-buttons-in-region): Add diagnostic function
19673 for tracking down button overlay leaks.
19674
ea622834
LL
196752011-03-29 Leo Liu <sdl.web@gmail.com>
19676
19677 * ido.el (ido-read-internal): Use the default history var
19678 minibuffer-history if no HISTORY is specified.
19679
b62f8267
G
196802011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
19681
03408648
SM
19682 * net/imap.el (imap-shell-open, imap-process-connection-type):
19683 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
19684 Kerberos, SSL, other subprocesses.
19685
947b6566
LL
196862011-03-28 Leo Liu <sdl.web@gmail.com>
19687
19688 * abbrev.el (abbrev-table-empty-p): New function.
19689 (prepare-abbrev-list-buffer): Place empty abbrev tables after
19690 nonempty ones. (Bug#5937)
19691
5ffb62aa
JD
196922011-03-27 Jan Djärv <jan.h.d@swipnet.se>
19693
19694 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
19695
7a097943
LL
196962011-03-27 Leo Liu <sdl.web@gmail.com>
19697
19698 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
19699 for foreground and background colors.
19700 (ansi-color-make-color-map): Adapt.
19701
c5b40130
LL
197022011-03-25 Leo Liu <sdl.web@gmail.com>
19703
1f48f7d2
LL
19704 * midnight.el (midnight-time-float): Remove. Note it calculates
19705 the microsecond component incorrectly and seconds-to-time does the
19706 same job.
625897ec 19707 Remove redundant (require 'timer).
1f48f7d2 19708
c5b40130
LL
19709 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
19710 (ido-completions): Remove unused arguments. (Bug#8329)
19711
d86d2721
SM
197122011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
19713
19714 * minibuffer.el (completion--flush-all-sorted-completions):
19715 Remove itself from hook.
19716 (completion-at-point): Let the functions perform the completion
19717 immediately and return nil or t.
19718 * comint.el (comint-dynamic-complete-functions): Now identical to
19719 completion-at-point-functions.
19720 (comint-dynamic-list-input-ring): Remove unused var `index'.
19721 (comint--match-partial-filename, comint--unquote&expand-filename):
19722 New funs, split from comint-match-partial-filename.
19723 (comint-dynamic-complete): Use completion-at-point.
19724 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
19725
e8974c48
DA
197262011-03-24 Drew Adams <drew.adams@oracle.com>
19727
19728 * thingatpt.el: Support `defun'.
19729
def71b5e
LL
197302011-03-23 Leo Liu <sdl.web@gmail.com>
19731
cb5af48e
LL
19732 * abbrevlist.el: Move to obsolete/abbrevlist.el.
19733
def71b5e
LL
19734 * help-mode.el (help-mode-finish): Tweak regexp.
19735
927c53e7
GM
197362011-03-23 Glenn Morris <rgm@gnu.org>
19737
18d05bed
GM
19738 * eshell/esh-opt.el (eshell-eval-using-options):
19739 Do not bind unused local variable `eshell-option-stub'.
19740
927c53e7
GM
19741 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
19742
9d0da923
JB
197432011-03-22 Juanma Barranquero <lekktu@gmail.com>
19744
19745 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
19746 keymap variable in `with-no-warnings' to avoid a warning when the
19747 keymap has been already `defconst'ed.
19748
4b978a67
LL
197492011-03-22 Leo Liu <sdl.web@gmail.com>
19750
19751 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
19752 encode all chars in abbrevs; otherwise use emacs-mule or
19753 utf-8-emacs. (Bug#8308)
19754
5fd62452
JB
197552011-03-22 Juanma Barranquero <lekktu@gmail.com>
19756
0b1596c6
JB
19757 * simple.el (backward-delete-char-untabify):
19758 Avoid warning about using `delete-backward-char'.
19759
5fd62452
JB
19760 * image.el (image-type-file-name-regexps): Make it variable.
19761 `imagemagick-register-types' modifies it, and the user may want
19762 to add new extensions for known image types.
19763 (imagemagick-register-types): Throw error if not using ImageMagick.
19764
0b4e93f1
LL
197652011-03-22 Leo Liu <sdl.web@gmail.com>
19766
19767 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
19768 located before rcirc-prompt-end-marker.
19769 (rcirc-complete): Error if point is not after rcirc prompt.
19770 Handle the case when table is nil.
9882e214 19771 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 19772
fccee4ab
CY
197732011-03-22 Chong Yidong <cyd@stupidchicken.com>
19774
19775 * custom.el (custom--inhibit-theme-enable): Make it affect only
19776 custom-theme-set-variables and custom-theme-set-faces.
19777 (provide-theme): Ignore custom--inhibit-theme-enable.
19778 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
19779 (custom-enabling-themes): Delete variable.
d86d2721
SM
19780 (enable-theme): Accept only loaded themes as arguments.
19781 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
19782 (custom-enabled-themes): Forbid themes from setting this.
19783 Eliminate use of custom-enabling-themes.
19784 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 19785
af896da6
LL
197862011-03-21 Leo Liu <sdl.web@gmail.com>
19787
19788 * ido.el (ido-read-internal): Add ido-selected to history instead
19789 of user input.
19790
78f64af0
SM
197912011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
19792
19793 * subr.el (deferred-action-list, deferred-action-function):
19794 Mark obsolete.
19795
b16ac1ec
LL
197962011-03-21 Leo Liu <sdl.web@gmail.com>
19797
810f7698
LL
19798 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
19799 change on 2011-02-13 (bug#8309).
19800
b16ac1ec
LL
19801 * minibuffer.el (read-file-name-function): Change default value.
19802 (read-file-name--defaults): Rename from read-file-name-defaults.
19803 (read-file-name-default): Rename from read-file-name.
19804 (read-file-name): Call read-file-name-function.
19805
4e05e67e
GM
198062011-03-21 Glenn Morris <rgm@gnu.org>
19807
19808 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
19809 Doc fixes.
19810
4359915b
CY
198112011-03-21 Chong Yidong <cyd@stupidchicken.com>
19812
19813 * cus-theme.el: Add missing provide statement.
19814 (customize-create-theme): Extract theme value correctly.
19815 (custom-theme-visit-theme): Autoload.
19816 (customize-create-theme): Prompt before inserting default faces.
19817
1fe275ee
JB
198182011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
19819
19820 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
19821 units and musical notes.
19822
cd394be1 198232011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
19824
19825 * ido.el (ido-read-internal): Use completing-read-default.
19826 (ido-completing-read): Fix compatibility with completing-read.
19827
7d476bde
CO
198282011-03-20 Christian Ohler <ohler@gnu.org>
19829
19830 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
19831 (ert-delete-all-tests): Use `called-interactively-p' rather than
19832 `interactive-p'.
19833 (ert--make-xrefs-region): Respect END.
19834
fe0fb33e
CY
198352011-03-19 Chong Yidong <cyd@stupidchicken.com>
19836
ff854b0b
CY
19837 * dired-aux.el (dired-create-directory): Signal an error if the
19838 directory already exists (Bug#8246).
19839
fe0fb33e
CY
19840 * facemenu.el (list-colors-display): Call list-faces-display
19841 inside with-help-window.
19842 (list-colors-print): Use display property to align the final
19843 column, instead of checking window-width.
19844
576bce32
EZ
198452011-03-19 Eli Zaretskii <eliz@gnu.org>
19846
4d61f28d 19847 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
19848 windows-nt systems.
19849 (emerge-protect-metachars): Quote correctly for ms-dos and
19850 windows-nt systems.
19851
89c41d68 198522011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
19853
19854 * info.el (info-initialize): Replace all uses of `:' with
19855 path-separator for compatibility with non-Unix systems.
19856 Cache quoting of path-separator. (Bug#8258)
19857
b14e3e21 198582011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
19859
19860 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
19861 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
19862 (mouse-avoidance-mode): Fix typos in docstrings.
19863
4525ce3e
CY
198642011-03-19 Chong Yidong <cyd@stupidchicken.com>
19865
19866 * startup.el (package-subdirectory-regexp): Move from package.el.
19867 Omit \\` and \\', and let callers add them.
19868
19869 * emacs-lisp/package.el (package-strip-version)
19870 (package-load-all-descriptors): Add \\` and \\' to
19871 package-subdirectory-regexp before using it.
19872 (package-untar-buffer): New arg DIR; ensure that file untars only
19873 into this expected directory. Remove superfluous delete-region.
19874 (package-unpack): Caller changed.
19875 (package-tar-file-info): Use package-subdirectory-regexp.
19876
a904a09a 198772011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 19878
a904a09a
SM
19879 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
19880 diff-mode-shared-map (bug#8284).
19881 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
19882
198832011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19884
19885 * calendar/time-date.el (format-seconds): Use assoc instead of
19886 assoc-string, since assoc-string doesn't exist in XEmacs.
19887
171fc304
JB
198882011-03-17 Juanma Barranquero <lekktu@gmail.com>
19889
19890 * custom.el (custom-known-themes): Reflow docstring.
19891 (custom-theme-load-path): Fix typo in docstring.
19892 (load-theme): Fix typo in error message.
19893 (custom-available-themes, custom-variable-theme-value):
19894 Use `let', not `let*'.
19895
d71990a1
JB
198962011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
19897
19898 * calc/README: Mention inclusion of musical notes.
19899
19900 * calc/calc-units.el (calc-lu-quant): Rename from
19901 `calc-logunits-quantity'.
19902 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
19903 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
19904 (calc-db): Rename from `calc-dblevel'.
19905 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
19906 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
19907 (calc-np): Rename from `calc-nplevel'.
19908 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
19909 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
19910 (calc-lu-plus): Rename from `calc-logunits-add'.
19911 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
19912 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
19913 (calc-lu-minus): Rename from `calc-logunits-sub'.
19914 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
19915 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
19916 (calc-lu-times): Rename from `calc-logunits-mul'.
19917 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
19918 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
19919 (calc-lu-divide): Rename from `calc-logunits-div'.
19920 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
19921 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
19922
19923 * calc/calc-ext.el (calc-init-extensions): Update the names of the
19924 functions being autoloaded.
19925
19926 * calc/calc.el (calc-lu-power-reference): Rename from
19927 `calc-logunits-power-reference'.
19928 (calc-lu-field-reference): Rename from
19929 `calc-logunits-field-reference'.
19930
7a71b18d
GM
19931 * calc/calc-help.el (calc-l-prefix-help):
19932 Mention musical note functions.
d71990a1 19933
40c2934b
SM
199342011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
19935
19936 * minibuffer.el (completion-all-sorted-completions):
19937 Use :completion-cycle-penalty text property if present.
19938
b0911414
KM
199392011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
19940
19941 * allout.el (allout-yank-processing): Adjust for new rebulleting
19942 regime so bullet being yanked is used without prompting the user
19943 for a choice.
19944
8a05b668
JB
199452011-03-16 Juanma Barranquero <lekktu@gmail.com>
19946
19947 * startup.el (command-line): Warn the user that _emacs is deprecated.
19948
5ba5fb81
JB
199492011-03-16 Juanma Barranquero <lekktu@gmail.com>
19950
19951 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
19952 (delphi-verbose, delphi-comment-face, delphi-string-face)
19953 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
19954 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
19955 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
19956 (delphi-new-comment-line, delphi-font-lock-defaults)
19957 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
19958 Fix typos in docstrings.
19959
2dab465b
KM
199602011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
19961
5ba5fb81 19962 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
19963 Invert the roles of character and string values for INSTEAD, so a
19964 string is used for the more common case of a defaulting prompt.
19965
0adf5618
SM
199662011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19967
19968 * progmodes/ruby-mode.el (ruby-backward-sexp):
19969 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
19970 * play/gamegrid.el (gamegrid-make-face):
19971 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
19972 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
19973 * notifications.el (notifications-notify):
19974 * net/xesam.el (xesam-search-engines):
19975 * net/quickurl.el (quickurl-list-insert):
19976 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
19977
d72700e5
CY
199782011-03-15 Chong Yidong <cyd@stupidchicken.com>
19979
19980 * startup.el (command-line): Update package subdirectory regexp.
19981
49c5410a
SM
199822011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19983
c6eee9aa
SM
19984 * allout.el (allout-abbreviate-flattened-numbering)
19985 (allout-mode-deactivate-hook): Fix up obsolescence "date".
19986
49c5410a
SM
19987 * subr.el (read-char-choice): Only show the cursor after the prompt,
19988 not after the answer.
19989
047b2bb9
KR
199902011-03-15 Kevin Ryde <user42@zip.com.au>
19991
19992 * help-fns.el (variable-at-point): Skip leading quotes, if any
19993 (bug#8253).
19994
0a57d256
SM
199952011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19996
19997 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
19998 warning message.
19999
77c992bc
MA
200002011-03-14 Michael Albinus <michael.albinus@gmx.de>
20001
20002 * shell.el (shell): When called interactively, offer to change the
20003 shell file name on remote hosts.
20004
eebc475d
TZ
200052011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20006
20007 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20008 integration for LDAP parameters. The host, base, user or binddn,
20009 and secret tokens can be specified in a netrc file, for instance.
20010 This is optional because an `auth-source' parameter must be
20011 specified in the search attributes.
20012
9d05d1ba
JB
200132011-03-13 Juanma Barranquero <lekktu@gmail.com>
20014
20015 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20016
09d9db2c
GM
200172011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20018
20019 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20020 into declaration. Remove redundant and harmful binding.
20021
200222011-03-12 Eli Zaretskii <eliz@gnu.org>
20023
20024 * files.el (file-ownership-preserved-p): Pass `integer' as an
20025 explicit 2nd argument to `file-attributes'. If the file's owner
20026 is the Administrators group on Windows, and the current user is
20027 Administrator, consider that a match.
20028
20029 * server.el (server-ensure-safe-dir): Consider server directory
20030 safe on MS-Windows if its owner is the Administrators group while
20031 the current Emacs user is Administrator. Use `=' to compare
20032 numerical UIDs, since they could be integers or floats.
20033
219bd536
JB
200342011-03-12 Juanma Barranquero <lekktu@gmail.com>
20035
20036 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20037
f3afd36b
MA
200382011-03-12 Michael Albinus <michael.albinus@gmx.de>
20039
20040 Sync with Tramp 2.2.1.
20041
20042 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20043
20044 * net/trampver.el: Update release number.
20045
3aaaa6f1
SM
200462011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20047
94642599
SM
20048 * progmodes/compile.el (compilation--previous-directory): Fix up
20049 various nil/dead-marker mismatches (bug#8014).
20050 (compilation-directory-properties, compilation-error-properties):
20051 Don't call it at a position past the one we're about to change.
20052
3aaaa6f1
SM
20053 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20054 Disable obsolescence warnings in the file that declares it.
20055
14239447
KM
200562011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20057
099c39a4
JB
20058 * allout-widgets.el (allout-widgets-tally):
20059 Initialize allout-widgets-tally as a hash table rather than nil to
20060 prevent mode-line redisplay warnings. Also, clarify the module
20061 description and fix a comment typo.
14239447 20062
135e287c
JB
200632011-03-11 Juanma Barranquero <lekktu@gmail.com>
20064
20065 * help-fns.el (describe-variable): Don't complete keywords.
20066 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20067
ffbf300e
CY
200682011-03-10 Chong Yidong <cyd@stupidchicken.com>
20069
ba08b241
CY
20070 * emacs-lisp/package.el (package-version-join): Impose a standard
20071 string representation for pre/alpha/beta version lists.
20072 (package-unpack-single): Standardize the directory name by passing
20073 it through package-version-join.
20074 (package-strip-rcs-id): Accept any version string that does not
20075 signal an error in version-to-list.
ffbf300e 20076
f346fd6b
MA
200772011-03-10 Michael Albinus <michael.albinus@gmx.de>
20078
20079 * simple.el (delete-trailing-whitespace): Return nil for the
20080 benefit of `write-file-functions'.
20081
ccb55d27
GM
200822011-03-10 Glenn Morris <rgm@gnu.org>
20083
5ceaac0c
GM
20084 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20085
02da65ff
GM
20086 * vc/vc-git.el (vc-git-program): New option.
20087 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20088 (vc-git--call): Use it.
20089
b2f603cc
GM
20090 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20091
5772caab
GM
20092 * cus-edit.el (Custom-newline): If no button at point, look
20093 for a subgroup button at start-of-line. (Bug#2298)
20094
ccb55d27
GM
20095 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20096
ec6ecaed
JD
200972011-03-10 Julien Danjou <julien@danjou.info>
20098
20099 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20100 `cursor-type' is nil.
20101
9d5aa01d
JB
201022011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20103
20104 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20105
b6a5875b
KM
201062011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20107
7a71b18d 20108 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
20109 preserves the existing header prefix, rebulleting it if necessary,
20110 rather than replacing it. This is necessary for proper operation
20111 of cooperative addons like allout-widgets.
1154d12e
JB
20112 (allout-make-topic-prefix, allout-rebullet-heading):
20113 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20114 value as alternate bullet to be used, instead of prompting the user
20115 for a bullet character.
b6a5875b 20116
ee545c35
MA
201172011-03-09 Michael Albinus <michael.albinus@gmx.de>
20118
d86d2721
SM
20119 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20120 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
20121 `tramp-default-port'.
20122
c47971d7
DD
201232011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20124
20125 * net/rcirc.el (rcirc-handler-001): Remove useless
20126 with-rcirc-process-buffer.
20127 (rcirc-check-auth-status): Swap arguments to string-match.
20128
13522cb4
GM
201292011-03-09 Glenn Morris <rgm@gnu.org>
20130
0be6f4f1
GM
20131 * shell.el (shell-mode):
20132 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20133
13522cb4
GM
20134 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20135 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20136
515de2e3
CY
201372011-03-08 Chong Yidong <cyd@stupidchicken.com>
20138
20139 * emacs-lisp/package.el (package-refresh-contents)
20140 (package-menu-execute): Use condition-case-no-debug.
20141
b511b994
MA
201422011-03-08 Michael Albinus <michael.albinus@gmx.de>
20143
20144 * simple.el (shell-command-to-string): Use `process-file'.
20145
20146 * emacs-lisp/package.el (package-tar-file-info): Handle also
20147 remote files.
20148
d86d2721
SM
20149 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20150 Use `equal' for upload base check.
b511b994 20151
25bbfb31
AM
201522011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20153
20154 * textmodes/texinfo.el (texinfo-environments):
20155 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20156
be996521
GM
201572011-03-08 Glenn Morris <rgm@gnu.org>
20158
e9c8529f
GM
20159 * cus-start.el (cursor-in-non-selected-windows):
20160 Fix :set quoting oddness. (Bug#8192)
20161
be996521
GM
20162 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20163 in some setf expressions. (Bug#2159)
20164
2bb5649e
CY
201652011-03-08 Chong Yidong <cyd@stupidchicken.com>
20166
20167 * custom.el (custom-available-themes): Return themes in
20168 alphabetical order.
20169
33383987 20170See ChangeLog.15 for earlier changes.
e3d51b27
MR
20171
20172;; Local Variables:
20173;; coding: utf-8
e3d51b27
MR
20174;; End:
20175
acaf905b 20176 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
20177
20178 This file is part of GNU Emacs.
20179
20180 GNU Emacs is free software: you can redistribute it and/or modify
20181 it under the terms of the GNU General Public License as published by
20182 the Free Software Foundation, either version 3 of the License, or
20183 (at your option) any later version.
20184
20185 GNU Emacs is distributed in the hope that it will be useful,
20186 but WITHOUT ANY WARRANTY; without even the implied warranty of
20187 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20188 GNU General Public License for more details.
20189
20190 You should have received a copy of the GNU General Public License
20191 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.