Make cusver handle options moved from C to lisp
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
94c66ce5
SM
12012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2
10766e9e
SM
3 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
4 (mode-line-widen, mode-line-input-method-map)
5 (mode-line-coding-system-map, mode-line-remote)
6 (mode-line-unbury-buffer, mode-line-bury-buffer)
7 (mode-line-next-buffer, mode-line-previous-buffer):
8 Replace save-selected-window+select-window => with-selected-window.
9
f754db08
SM
10 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
11 * progmodes/cc-vars.el (bq-process): Remove, unused.
12
94c66ce5
SM
13 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
14
a4ff7fe1
FEG
152012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
16
17 Implemented `backward-up-list'-like navigation.
18 * progmodes/python.el (python-nav-up-list)
19 (python-nav-backward-up-list): New functions.
20 (python-mode-map): Define substitute key for backward-up-list to
21 python-nav-backward-up-list.
22
24517d82
FEG
232012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
24
25 * progmodes/python.el (python-fill-paragraph): Rename from
26 python-fill-paragraph-function. Fixed fill-paragraph for
27 decorators (Bug#12605).
28
51867ae2
FEG
292012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
30
31 * progmodes/python.el (python-shell-output-filter): Handle extra
32 carriage return in OSX (Bug#12409).
33
a5b773c4
FEG
342012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
35
36 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 37 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
38 (python-syntax-propertize-function): Use it.
39 (python-shell-output-syntax-table): New var.
40 (inferior-python-mode): Prevent unbalanced parens/quotes from
41 previous output mess with current input context.
42
13373538
JB
432012-10-08 Juanma Barranquero <lekktu@gmail.com>
44
45 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
46 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
47
775a132d
MA
482012-10-08 Michael Albinus <michael.albinus@gmx.de>
49
50 * ffap.el (ffap-replace-file-component): Support Tramp file name
51 syntax, not only ange-ftp's one.
52
3ab44929
GM
532012-10-08 Glenn Morris <rgm@gnu.org>
54
57f1dee4
GM
55 * cus-start.el (message-log-max): Set :version.
56
3ab44929
GM
57 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
58
6a088630
MR
592012-10-08 Martin Rudalics <rudalics@gmx.at>
60
61 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
62 the minibuffer window (Bug#10851).
63
8dbce54c
FEG
642012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
65
66 Enhancements on forward-sexp movement.
67 * progmodes/python.el (python-nav-beginning-of-statement)
68 (python-nav-end-of-statement): Return point-marker.
69 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
70 (python-info-current-symbol)
71 (python-info-statement-starts-block-p): Rename from
72 python-info-beginning-of-block-p.
73 (python-info-statement-ends-block-p): Rename from
74 python-info-end-of-block-p.
75 (python-info-beginning-of-statement-p)
76 (python-info-end-of-statement-p)
77 (python-info-beginning-of-block-p, python-info-end-of-block-p):
78 New functions.
79
5acd2b3e
SM
802012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
81
82 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
83 frame-selected-windows.
84
e08348a0
DC
852012-10-08 Daniel Colascione <dancol@dancol.org>
86
87 * battery.el (battery-status-function): Check for
88 w32-battery-status itself, not system-time windows-nt.
89
90 * frame.el: Require cl-lib.
91 (display-format-alist): New variable mapping frame types to
92 functions that initialize them.
93 (window-system-for-display): New function: interprets
94 display-format-alist.
95 (make-frame-on-display): Remove existing display-selection logic
96 and just forward to make-frame, which will now DTRT.
97 (make-frame): Restructure to use window-system-for-display to
98 figure out how to create a frame on a given display.
99 (display-mouse-p): Look for frame-type w32, not a particular
100 system-type.
101
102 * loadup.el: Load w32 lisp code when we have the w32 feature.
103
104 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
105 system-type windows-nt.
106
107 * server.el (server-create-window-system-frame): Look for window
108 type.
109 (server-proces-filter): Only force a window system when windows-nt
110 _and_ w32. Explain why.
111
112 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
113 of window systems we configure for the mode.
114
115 * startup.el (command-line): Mark window system is initialized
116 after we've done it.
117
118 * common-win.el (x-select-text): Look for w32, not windows-nt.
119
120 * ns-win.el: Require cl-lib. Add ourselves to
121 display-format-alist.
122 (ns-initialize-window-system): Assert we're not initialized twice.
123
124 * w32-win.el: Enable lexical binding; require cl-lib; add
125 ourselves to display-format-alist.
126 (w32-handle-dropped-file): Convert incoming dropped files from
127 Windows paths to Cygwin ones before passing them on to the rest of
128 Emacs.
129 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
130 (w32-initialize-window-system): Assert we're not initialized twice.
131
132 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
133 (x-initialize-window-system): Assert we're not initialized twice.
134
135 * w32-common-fns.el: New File.
136 (w32-version, w32-using-nt, w32-get-clipboard-data)
137 (w32-set-clipboard-data, x-set-selection, x-get-selection)
138 (w32-charset-info-alist, x-last-selected, text)
139 (x-get-selection-value, x-selection-value): Move here.
140
141 * w32-fns.el: Require w32-common-fns.
142 (w32-version, w32-using-nt, w32-get-clipboard-data)
143 (w32-set-clipboard-data, x-set-selection, x-get-selection)
144 (w32-charset-info-alist, x-last-selected, text)
145 (x-get-selection-value, x-selection-value): Move to
146 w32-common-fns.
147
148 * w32-vars.el:
149 (w32-allow-system-shell, w32-system-shells): Define only in
150 non-cygwin case.
151
795b1482
SM
1522012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
153
154 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
155 (read-passwd): Remove a few more potential sources of leaks.
156
f27c99dc
FEG
1572012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
158
159 * progmodes/python.el (inferior-python-mode)
795b1482 160 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
161 variables copied from parent buffer.
162
fcacb558
JD
1632012-10-07 Jan Djärv <jan.h.d@swipnet.se>
164
165 * term/ns-win.el (ns-read-file-name): Update declaration to match
166 nsfns.m.
167 (ns-respond-to-change-font): Change fontsize separatly so we are sure
168 it is set when font is acted upon.
169
be0d5bae
FEG
1702012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
171
172 Enhancements to indentation.
173 * progmodes/python.el (python-indent-context): Give priority to
174 inside-string context. Make comments indentation markers.
175 (python-indent-region): Do not mess with strings, unless it's the
176 enclosing set of quotes.
177
13af0d10
SM
1782012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
179
662a9d0e
SM
180 * window.el (internal--before-save-selected-window)
181 (internal--after-save-selected-window): New functions extracted from
182 save-selected-window. Make sure we return the `alist' we construct.
183 (save-selected-window): Use them.
184
185 * textmodes/tex-mode.el (tex-recenter-output-buffer):
186 Use with-selected-window.
187
13af0d10
SM
188 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
189 forms that define macros (bug#12593).
190
6aa75fb6
KH
1912012-10-07 Kenichi Handa <handa@gnu.org>
192
13af0d10
SM
193 * international/mule-conf.el (compound-text-with-extensions):
194 Add :mime-charset property as x-ctext.
6aa75fb6 195
78d876b9
SM
1962012-10-07 Stefan Merten <smerten@oekonux.de>
197
198 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
199 (rst-indent-literal-normal, rst-indent-literal-minimized)
200 (rst-indent-comment): Correct :version tag.
557337e9 201 (rst-official-cvs-rev): Correct version string.
78d876b9 202
99a1e701
GM
2032012-10-07 Glenn Morris <rgm@gnu.org>
204
205 * mail/rmailmm.el (rmail-mime-process-multipart):
206 Do not confuse a multipart message with an epilogue
207 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
208
08f18c3d
FEG
2092012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
210
211 Fix shell output retrieval and comint-prompt-regexp init.
212 * progmodes/python.el (inferior-python-mode):
213 (python-shell-make-comint): Fix initialization of
214 comint-prompt-regexp from copied file local variables.
215 (python-shell-fetched-lines): Remove var.
216 (python-shell-output-filter-in-progress): Rename from
217 python-shell-fetch-lines-in-progress.
218 (python-shell-output-filter-buffer): Rename from
219 python-shell-fetch-lines-string.
220 (python-shell-fetch-lines-filter): Delete function.
221 (python-shell-output-filter): New function.
222 (python-shell-send-string-no-output): Use them.
223
82ed3ab4
GM
2242012-10-07 Glenn Morris <rgm@gnu.org>
225
1595ecfa
GM
226 * hi-lock.el (hi-lock-process-phrase):
227 Try to make it less fragile. (Bug#7161)
228
82ed3ab4
GM
229 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
230
f1f4dba0
GM
2312012-10-06 Glenn Morris <rgm@gnu.org>
232
addc11ed 233 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
234 non-existent mode `help'.
235 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 236
460042b8
GM
237 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
238 (reftex-create-bibtex-footer): Fix custom types.
239
67667c70
GM
240 * progmodes/sh-script.el (sh-indent-after-continuation):
241 Add explicit :group.
242
18dec750
GM
243 * textmodes/rst.el (rst-preferred-decorations)
244 (rst-shift-basic-offset): Clarify obsolescence versions.
245
d1a1c7e6
GM
246 * profiler.el (profiler): Add missing group :version tag.
247 * avoid.el (mouse-avoidance-banish-position):
248 * proced.el (proced-renice-command):
249 * calc/calc.el (calc-ensure-consistent-units):
250 * calendar/icalendar.el (icalendar-import-format-uid):
251 * net/tramp.el (tramp-save-ad-hoc-proxies):
252 * progmodes/bug-reference.el (bug-reference-bug-regexp):
253 * progmodes/flymake.el (flymake-error-bitmap)
254 (flymake-warning-bitmap, flymake-fringe-indicator-position):
255 * progmodes/sh-script.el (sh-indent-after-continuation):
256 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
257 (verilog-before-save-font-hook, verilog-after-save-font-hook):
258 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
259 (vhdl-array-index-record-field-in-sensitivity-list)
260 (vhdl-indent-comment-like-next-code-line):
261 * textmodes/reftex-vars.el (reftex-ref-style-alist)
262 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
263 (reftex-cite-key-separator, reftex-create-bibtex-header)
264 (reftex-create-bibtex-footer):
265 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
266 (rst-indent-literal-normal, rst-indent-literal-minimized)
267 (rst-indent-comment): Add missing custom :version tags.
268
ef35abb4
GM
269 * calendar/timeclock.el (timeclock-modeline-display):
270 Add missing obsolete alias for renamed user option.
271
d1aae614
GM
272 * strokes.el (strokes-modeline-string):
273 * emulation/crisp.el (crisp-mode-modeline-string):
274 * eshell/esh-mode.el (eshell-status-in-modeline):
275 Aliases to defcustoms must come before the defcustom.
276
f1f4dba0
GM
277 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
278 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
279 (cal-tex-cursor-week-monday): Doc fixes.
280 (cal-tex-cursor-week2-summary): Doc fix.
281 Rename from cal-tex-cursor-week-at-a-glance.
282
283 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
284 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
285
286 * calendar/calendar.el (calendar-mode-map):
287 Add cal-tex-cursor-week2-summary.
288
d39109c3
SM
2892012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
290
685f87b0
SM
291 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
292
d39109c3
SM
293 * subr.el (read-passwd-map): New var.
294 (read-passwd): Use `read-string' again.
295 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
296
5694896d
J
2972012-10-06 Jambunathan K <kjambunathan@gmail.com>
298
299 * register.el (append-to-register, prepend-to-register):
300 Deactivate mark, as does `copy-to-register' (bug#12389).
301
9414dd8d
CY
3022012-10-06 Chong Yidong <cyd@gnu.org>
303
304 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
305
2b89bca4
KH
3062012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
307
308 * international/characters.el: Fix simple mistake ((car chars) ->
309 elt), delete duplicated code.
310
d5acb99a
GM
3112012-10-06 Glenn Morris <rgm@gnu.org>
312
313 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
314
123ec157
JS
3152012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
316
317 * color.el (color-hsl-to-rgb): Fix incorrect results for
318 small and large hue values. (Bug#12559)
319
7fa36ccb
FEG
3202012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
321
322 Enhancements to docstring formatting when filling paragraphs.
323 * progmodes/python.el (python-fill-docstring-style): Rename from
324 python-fill-string-style. Added new style.
325 (python-fill-string): Use new style. Better checks for
326 docstrings.
327
d8788e1e
GM
3282012-10-05 Glenn Morris <rgm@gnu.org>
329
204f3953
GM
330 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
331
d8788e1e
GM
332 * color.el (color-name-to-rgb, color-rgb-to-hex)
333 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
334 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
335 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
336 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
337
8d956cef
GM
338 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
339
e8757f09 3402012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
341
342 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
343 to get the correct size across symlinks.
344
e8757f09
GM
345 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
346
0e2ae83d
JL
3472012-10-04 Juri Linkov <juri@jurta.org>
348
349 * replace.el (query-replace-interactive): Declare obsolete.
350 (query-replace-read-from): Add the last incremental search string
351 to the list of default values accessible via M-n.
352 (map-query-replace-regexp): Use `read-regexp'.
353 (query-replace, query-replace-regexp, query-replace-regexp-eval)
354 (map-query-replace-regexp, replace-string, replace-regexp):
355 Fix docstrings to replace mentions of `query-replace-interactive'
356 with alternatives. (Bug#12526)
357
93cacb6d
JL
3582012-10-04 Juri Linkov <juri@jurta.org>
359
360 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
361 (dired-pop-to-buffer): Declare obsolete.
362 (dired-mark-pop-up): Doc fix.
363
fc345011
FEG
3642012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
365
366 Allow user to set docstring style for fill-paragraph.
367 * progmodes/python.el
368 (python-fill-comment-function, python-fill-string-function)
369 (python-fill-decorator-function, python-fill-paren-function):
370 Remove :safe for defcustoms.
371 (python-fill-string-style): New defcustom
5694896d 372 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
373 (python-fill-string): Honor python-fill-string-style settings.
374
6bab5d8b
MR
3752012-10-04 Martin Rudalics <rudalics@gmx.at>
376
377 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
378 after setting its buffer (Bug#10805).
379
a1a9f411
FEG
3802012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
381
382 Fix cornercase for string syntax.
383 * progmodes/python.el (python-syntax-propertize-function):
384 Simplify and enhance the regexp for unescaped quotes. Now it also
385 matches quotes in weird situations like the single quote in
386 "something\"'".
387 (python-syntax-stringify): Simplify num-quotes detecting code.
388
05e153a6
GM
3892012-10-03 Glenn Morris <rgm@gnu.org>
390
391 * help-macro.el (three-step-help):
392 Revert 2012-09-29 change. (Bug#12567)
393
2e566ecb
MR
3942012-10-03 Martin Rudalics <rudalics@gmx.at>
395
96ef9ccd
MR
396 * menu-bar.el (kill-this-buffer): Don't do anything when
397 `menu-frame' is not alive or visible (Bug#8184).
398
2e566ecb
MR
399 * emacs-lisp/debug.el (debug): When quitting the debugger window
400 restore current buffer (Bug#12502).
401
a96e1cb7
CY
4022012-10-02 Chong Yidong <cyd@gnu.org>
403
5694896d
J
404 * progmodes/hideif.el (hif-lookup, hif-defined):
405 Handle semantic-c-takeover-hideif.
a96e1cb7 406
b3ecad33
PE
4072012-10-02 Paul Eggert <eggert@cs.ucla.edu>
408
409 Change sampling interval units from ms to ns.
410 * profiler.el (profiler-sampling-interval): Change units
411 from ms to ns, multiplying the default by 1000000 so that
412 it remains 1 ms.
413 (profiler-report-cpu-line-format): Give enough room for
414 the maximum counters on 64-bit hosts.
415 (profiler-report-render-calltree-1): Call them "CPU samples",
416 not "Time (ms)", since they are not milliseconds now (and
417 never really were).
418
8cb51b66 4192012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 420
5694896d
J
421 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
422 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 423
fd795bf4
CY
4242012-10-02 Chong Yidong <cyd@gnu.org>
425
426 * emacs-lisp/eieio.el: Restore Version header.
427
fe0a74f9
SM
4282012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
429
6be9197e
SM
430 * vc/diff-mode.el (diff--auto-refine-data): New var.
431 (diff-hunk): Use it to delay refinement.
432 (diff-mode): Remove overlays when we turn off font-lock.
433
18486139
SM
434 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
435 (table-initialize-table-fixed-width-mode)
436 (table-set-table-fixed-width-mode): Remove functions.
437 (table-command-list): Move initialization into declaration.
438 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
439 (table-with-cache-buffer): Use `declare'.
440 (table-span-cell): Simplify via CSE.
441 (table-fixed-width-mode): Use define-minor-mode.
442 (table-call-interactively, table-funcall, table-apply): Remove.
443 (table-function): New function, to replace them.
444
d83ef976
SM
445 * bookmark.el (bookmark-search-pattern): Remove var.
446 (bookmark-read-search-input): Remove function.
447 (bookmark-bmenu-search): Reimplement using a minibuffer.
448
cd386662
SM
449 * faces.el (modeline): Remove obsolete face name.
450
fe0a74f9
SM
451 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
452 and give a non-nil default value.
453 (add-change-log-entry): Simplify accordingly.
454
9f7b98f8
DG
4552012-10-01 Dmitry Gutov <dgutov@yandex.ru>
456
457 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
458 (vc-git-log-edit-toggle-amend): New function.
459 (vc-git-log-edit-toggle-signoff): New function.
460 (vc-git-log-edit-mode): New major mode.
461 (vc-git-log-edit-mode-map): Keymap for it.
462 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
463
464 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
465 header names.
466 (log-edit-toggle-header): New function.
467 (log-edit-extract-headers): Accept function values in HEADERS alist.
468
62a81506
CY
4692012-10-01 David Engster <deng@randomsample.de>
470
471 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
472 from symbol property and change message to be more consistent with
473 Emacs proper.
474 (eieio-describe-generic): Add filename for each implementation.
475 Fix indices for generic and normal methods.
476 (eieio-method-def, eieio-class-def): New buttons.
477 (eieio-help-find-method-definition)
478 (eieio-help-find-class-definition): New functions.
479 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
480 class, constructor and method definitions.
481
482 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
483 information in symbol property.
484 (scoped-class): Remove.
485 (eieio-slot-name-index, call-next-method): Check if it is bound.
486
4872012-10-01 Leo P. White <lpw25@cam.ac.uk>
488
489 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
490 (eieio-custom-mode): New major mode.
491 (eieio-customize-object): Use it.
492
4932012-10-01 Eric Ludlam <zappo@gnu.org>
494
495 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
496 specifying the expected class, and whether subclassing is allowed.
497 (eieio-persistent-convert-list-to-object):
498 (eieio-persistent-validate/fix-slot-value)
499 (eieio-persistent-slot-type-is-class-p): New functions.
500 (eieio-named::slot-missing): Doc fix.
501
502 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
503 Stop using unused publd variable.
504
505 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
506 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
507 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
508 (eieio-speedbar-handle-click): Do not specify a class for the
509 method. Fixes method invocation order problems with EDE.
510
375e49d4
SM
5112012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
512
513 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
514 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
515
16ce6ccd
KF
5162012-10-01 Karl Fogel <kfogel@red-bean.com>
517
518 * bookmark.el (bookmark-version-control): Give tags in the
519 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
520 (bookmark-write-file): Bind `print-circle' to `t' to allow
521 circular custom bookmark types. (Bug#12503)
16ce6ccd 522
19e54a4d
PE
5232012-10-01 Paul Eggert <eggert@cs.ucla.edu>
524
86ec63ba
PE
525 Revert the FOLLOW-SYMLINKS change for file-attributes.
526 * files.el (remote-file-name-inhibit-cache, after-find-file):
527 * time.el (display-time-file-nonempty-p): Undo last change.
528
19e54a4d
PE
529 * profiler.el (profiler-sampling-interval): Change default back to 1.
530 See Stefan Monnier in
531 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
532
0478776b
FEG
5332012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
534
535 Shell output catching a la gud-gdb.
536 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
537 (python-shell-fetch-lines-string, python-shell-fetched-lines):
538 New Vars.
0478776b
FEG
539 (python-shell-fetch-lines-filter): New function.
540 (python-shell-send-string-no-output): Use them.
541
c22bac2c
TM
5422012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
543
544 * profiler.el (profiler-sampling-interval): Rename from
545 profiler-sample-interval.
546 (profiler-sampling-interval): Default to 10.
547 (profiler-find-profile): New command (was profiler-find-log).
548 (profiler-find-profile-other-window): New command.
549 (profiler-find-profile-other-frame): New command.
550 (profiler-profile): Introduce API-level data structure.
551
e7a2937b
PE
5522012-09-30 Paul Eggert <eggert@cs.ucla.edu>
553
554 file-attributes has a new optional arg FOLLOW-SYMLINKS.
555 * files.el (remote-file-name-inhibit-cache):
556 * time.el (display-time-file-nonempty-p): Use it.
557 * files.el (after-find-file): Don't chase links before calling
558 file-exists-p, as file-exists-p already does the right thing.
559
4f595e15
RA
5602012-09-30 Ralf Angeli <angeli@caeruleus.net>
561
562 Merge from standalone RefTeX repository.
563
564 The following ChangeLog entries are shortened versions of the
565 original ones with file paths adapted. A not so strongly edited
566 version of the original ChangeLog can be found in the commit log.
567
568 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
569 (reftex-arg-cite): Use `reftex-cite-key-separator'.
570 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
571
572 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
573 that entries with whitespace at various places are found.
574 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
575 Include @String definitions in the resulting bib file. Add header
576 and footer defined in `reftex-create-bibtex-header' and
577 `reftex-create-bibtex-footer'.
578 (reftex-do-citation): Make it possible again to insert
579 non-existent entries. Save match data when asking for optional
580 arguments. Return all keys, not just the first one.
581 (reftex-all-used-citation-keys): Fix regexp to correctly extract
582 all citations in the same line.
583 (reftex-parse-bibtex-entry): Accept additional optional argument
584 `raw' and keep quotes or braces if it is non-nil. Match fields
585 containing hyphens besides word constituents.
586 (reftex-get-string-refs): New function.
587 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
588 and ask if it should be reread in case it did.
589 (reftex-pop-to-bibtex-entry)
590 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
591 entries with spaces or tabs in front of arguments.
592 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
593 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
594 Match entries containing numbers and symbol constituents.
595 (reftex-do-citation, reftex-figure-out-cite-format):
596 Use `reftex-cite-key-separator'.
4f595e15
RA
597
598 * textmodes/reftex-dcr.el: Move provide statement to end of file.
599 (reftex-mouse-view-crossref): Explain why point is set.
600
601 * textmodes/reftex-global.el: Whitespace changes.
602
603 * textmodes/reftex-index.el: Move provide statement to end of
604 file.
605 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
606 (reftex-index-visit-phrases-buffer): Set marker when visiting
607 buffer. This allows for returning from the phrases file to the
608 file one was just editing instead of the file where the last
609 phrases was added from.
610 (reftex-index-phrases-syntax-table): New variable. Give ?\"
611 punctuation syntax as it usually is not used as string quote in
612 TeX-related modes and may occur unmatched. The change also
613 prevents fontification of quoted content.
614 (reftex-index-phrases-mode): Use it.
615
375e49d4
SM
616 * textmodes/reftex-parse.el (reftex-parse-from-file):
617 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
618 (reftex-parse-from-file): Use beginning of match instead of end as
619 bound.
620
621 * textmodes/reftex-ref.el: Adapt creation of
622 `reftex-<package>-<macro>' functions to new structure of
623 `reftex-ref-style-alist'.
375e49d4
SM
624 (reftex-reference): Use `reftex-ref-style-list' function.
625 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
626 reference macro if `reftex-ref-macro-prompt' is non-nil.
627 (reftex-reference): Pass refstyle to `reftex-format-special'.
628 Determine reference macro by looking at
375e49d4
SM
629 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
630 Use only one special format function.
4f595e15
RA
631 (reftex-varioref-vref, reftex-fancyref-fref)
632 (reftex-fancyref-Fref): Remove definitions. The functions are now
633 generated from `reftex-ref-style-alist'.
634 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
635 Remove.
636 (reftex-format-special): New function.
637
638 * textmodes/reftex-sel.el
639 (reftex-select-cycle-ref-style-internal): Adapt to new structure
640 of `reftex-ref-style-alist'. Remove code for testing macro type.
641 (reftex-select-toggle-varioref)
642 (reftex-select-toggle-fancyref): Remove.
643 (reftex-select-cycle-ref-style-internal)
644 (reftex-select-cycle-ref-style-forward)
645 (reftex-select-cycle-ref-style-backward): New functions.
646 (reftex-select-label-map): Use `v' and `V' for general cycling
647 through reference styles. Add `p' for switching between number
648 and page reference types.
649
375e49d4
SM
650 * textmodes/reftex-toc.el (reftex-re-enlarge):
651 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
652 the horizontal version throws an error even if the parameter is 0.
653
654 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
655 (reftex-plug-into-AUCTeX): Doc fix.
656 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
657 string. Adapt to new name.
658 (reftex-ref-style-alist): Change structure so that it is not
659 possible to use multiple different package names within a style.
375e49d4
SM
660 Remove the symbols for symbols for macro type distinction.
661 Add characters for macro selection.
4f595e15
RA
662 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
663 (reftex-create-bibtex-footer): New variables.
664 (reftex-format-ref-function): Mention third argument of special
665 format function.
375e49d4
SM
666 (reftex-ref-style-alist, reftex-ref-style-default-list):
667 New variables.
4f595e15
RA
668 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
669 to new implementation. Mark as obsolete. Add compatibility code
670 for honoring the variable values in case they are set.
375e49d4
SM
671 (reftex-cite-format-builtin, reftex-bibliography-commands):
672 Add support for ConTeXt.
673 (reftex-format-ref-function, reftex-format-cite-function):
674 Fix custom type.
4f595e15
RA
675 (reftex-cite-key-separator): New variable.
676
677 * textmodes/reftex.el (reftex-syntax-table-for-bib)
678 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
679 `reftex-syntax-table' because parens have to retain their paren
680 syntax in order for parsing of BibTeX entries like @book(...) to
681 work.
682 (reftex-in-comment): Do not error out if `comment-start-skip' is
683 not set. Deal correctly with escaped comment characters.
375e49d4
SM
684 (reftex-tie-multifile-symbols): Add doc string.
685 Initialize `reftex-ref-style-list'.
4f595e15
RA
686 (reftex-untie-multifile-symbols): Add doc string.
687 (reftex-add-index-macros): Doc fix.
688 (reftex-ref-style-activate, reftex-ref-style-toggle)
689 (reftex-ref-style-list): New functions.
690 (reftex-mode-menu): Use them. Adapt to new structure of
691 `reftex-ref-style-alist'.
692 (reftex-select-with-char): Kill the RefTeX Select buffer when
693 done.
694 (reftex-remove-if): New function.
695 (reftex-erase-all-selection-and-index-buffers)
696 (reftex-mode-menu): Reference styles are now computed from
697 `reftex-ref-style-alist'. Fix typo.
698 (reftex-report-bug): New function.
699 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
700 algorithms with O(n log n). Introduce optional argument SORT (not
701 yet used).
702
440ba395
FEG
7032012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
704
705 Enhancements for triple-quote string syntax.
375e49d4
SM
706 * progmodes/python.el (python-syntax-propertize-function):
707 Match both quote cases in one regexp.
440ba395
FEG
708 (python-syntax-stringify): Handle matches properly.
709
4c478e6b
JL
7102012-09-30 Juri Linkov <juri@jurta.org>
711
712 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 713 to nil around the call to `insert' to prevent
4c478e6b
JL
714 directory time modification by lock_file. (Bug#2295)
715 * tar-mode.el (tar-summarize-buffer): Idem.
716
d80d54b2
JL
7172012-09-30 Juri Linkov <juri@jurta.org>
718
719 * facemenu.el (list-colors-sort): Add option "Luminance".
720 (list-colors-sort-key): Implement it.
721
722 * vc/diff-mode.el (diff-refine-removed):
723 * vc/ediff-init.el (ediff-fine-diff-A):
724 * vc/smerge-mode.el (smerge-refined-removed):
725 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
726
d7e642cc
JD
7272012-09-30 Jan Djärv <jan.h.d@swipnet.se>
728
729 * term/ns-win.el (x-file-dialog): New function.
730
ee41332b
JB
7312012-09-30 Juanma Barranquero <lekktu@gmail.com>
732
733 * ido.el (ido-max-directory-size): Default to nil; the current
734 default is small for POSIX systems, and impractical on Windows 7
735 now that lstat returns directory sizes for NTFS.
736
5938d519
MR
7372012-09-30 Martin Rudalics <rudalics@gmx.at>
738
739 In buffer display functions handle window-height/window-width
740 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
741 * window.el (window--display-buffer): New argument ALIST.
742 Obey window-height and window-width alist entries.
743 (window--try-to-split-window): New argument ALIST.
744 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
745 changed and window-combination-limit equals `window-size'.
746 (display-buffer-in-atom-window)
747 (display-buffer-in-major-side-window)
748 (display-buffer-in-side-window, display-buffer-same-window)
749 (display-buffer-reuse-window, display-buffer-pop-up-frame)
750 (display-buffer-pop-up-window, display-buffer-below-selected)
751 (display-buffer-at-bottom, display-buffer-in-previous-window)
752 (display-buffer-use-some-window): Adjust all callers of
753 window--display-buffer and window--try-to-split-window.
754 (fit-frame-to-buffer): New option.
755 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
756 is non-nil.
757 (display-buffer-in-major-side-window): Evaluate window-height /
758 window-width alist entries.
759
760 * help.el (temp-buffer-resize-frames)
761 (temp-buffer-resize-regexps): Remove options.
762 (temp-buffer-resize-mode): Adjust doc-string.
763 (resize-temp-buffer-window): Don't consult
764 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
765 temp-buffer-resize-frames.
766
375e49d4
SM
767 * dired.el (dired-mark-pop-up):
768 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
769 entry.
770
c4c0c2df
CY
7712012-09-30 Chong Yidong <cyd@gnu.org>
772
48de8b12
CY
773 * server.el (server-host): Document the security implications.
774 (server-auth-key): Doc fix.
775
776 * startup.el (initial-buffer-choice): Doc fix.
777
778 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
779
a97dc380
CY
780 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
781 restriction change.
782
d39d3c8e
CY
783 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
784
c4c0c2df
CY
785 * help-fns.el (help-fns--obsolete): Fix last change.
786
98a5e33b
SM
7872012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
788
34cf6f39
SM
789 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
790 (minor-mode-map-alist): Remove redundant code.
791
e01c13fe
SM
792 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
793 visited in a buffer.
794 (cvs-insert-visited-file): New function.
795 (find-file-hook): Use it.
796
797 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
798
02661b3a
SM
799 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
800 chose face.
801 (log-edit-empty-buffer-p): Don't require a space after a header.
802
43711d4b
SM
803 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
804
38a30d64
SM
805 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
806
4ffb41a9
SM
807 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
808 a proper minor-mode.
809
98a5e33b
SM
810 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
811
de82e29b
GM
8122012-09-29 Glenn Morris <rgm@gnu.org>
813
5cc2e639
GM
814 * winner.el (winner-mode): Remove variable (let define-minor-mode
815 handle it).
816 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
817 Doc fixes.
818 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
819 (winner-mode): Use define-minor-mode.
820
7bd302eb
GM
821 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
822 the full definition in loaddefs, rather than duplicating it.
823
2923922f 824 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 825
0e3e4156
GM
826 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
827 (inferior-lisp-program, inferior-lisp-load-command)
828 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 829 No need to autoload defcustoms.
0e3e4156 830
de82e29b
GM
831 * hippie-exp.el (hippie-expand-try-functions-list)
832 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
833 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
834 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 835 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
836 * progmodes/vhdl-mode.el (vhdl-line-expand):
837 Explicitly load hippie-exp, so it does not get autoloaded
838 while hippie-expand-try-functions-list is let-bound.
839
e60b51ab
GM
8402012-09-28 Glenn Morris <rgm@gnu.org>
841
277f0cfa
GM
842 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
843
e60b51ab
GM
844 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
845 Only "cl.el" counts as cl these days.
846
53baf48a
JL
8472012-09-28 Juri Linkov <juri@jurta.org>
848
849 Display archive errors in the echo area instead of inserting
850 to the file buffer.
851
852 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
853 to STDERR-TEST that can be a regexp matching a successful output.
854 Create a temporary file and redirect stderr to it. Search for
855 STDERR-TEST in the stderr output and display it in the echo area
856 if no match is found.
857 (archive-extract-by-file): New function like
858 `archive-extract-by-stdout' but extracting archives to files
859 and looking for successful matches in stdout. Function body is
860 mostly copied from `archive-rar-extract'.
861 (archive-rar-extract): Use `archive-extract-by-file'.
862 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
863
9c1228c3
LL
8642012-09-28 Leo Liu <sdl.web@gmail.com>
865
375e49d4
SM
866 * pcomplete.el (pcomplete-show-completions):
867 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 868
9c1228c3
LL
869 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
870
7f457c06
SM
8712012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
872
3df749b0
SM
873 * type-break.el: Use lexical-binding.
874 (type-break-mode): Use define-minor-mode.
875
7f457c06
SM
876 * emacs-lisp/pcase.el (pcase--mark-used): New.
877 (pcase--u1): Use it (bug#12512).
878
879 * custom.el (load-theme): Set buffer-file-name so the load is recorded
880 in load-history with the right file name.
881
c00ebc98
TH
8822012-09-28 Tassilo Horn <tsdh@gnu.org>
883
884 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
885 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
886 (doc-view-get-bounding-box): Make bounding box slicing work for
887 ODF and DVI documents.
888
96fb7170
GM
8892012-09-28 Glenn Morris <rgm@gnu.org>
890
891 * type-break.el (type-break-mode, type-break-interval)
892 (type-break-good-rest-interval, type-break-keystroke-threshold):
893 No need to autoload.
894 (type-break-good-rest-interval, type-break-keystroke-threshold):
895 Add :set-after.
896
5bc93c67
CY
8972012-09-28 Chong Yidong <cyd@gnu.org>
898
899 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
900 Add :version tag.
901
9cad61d6
SM
9022012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
903
e28e67b3 904 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 905
daee954c
GM
9062012-09-27 Glenn Morris <rgm@gnu.org>
907
a88324d4
GM
908 * faces.el (x-display-name): Declare (for without-x builds).
909
8e5064e5
GM
910 * linum.el (linum-format): Don't autoload it. Improve :type.
911
cc1783c2
GM
912 * progmodes/tcl.el: Don't require outline when compiling.
913 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
914 * textmodes/sgml-mode.el: Don't require outline when compiling.
915 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
916
48c339f2
GM
917 * term.el (term-ansi-reset):
918 Try setting term-ansi-face-already-done to nil. (Bug#11785)
919
daee954c
GM
920 * vc/vc.el (vc-next-action): Only gripe about committing read-only
921 files for RCS and SCCS. (Bug#9781)
922
b7f42161
CY
9232012-09-27 Chong Yidong <cyd@gnu.org>
924
925 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
926 change; value should be t.
927
a2e770db
SM
9282012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
929
83600dc8
SM
930 * image-mode.el: Use lexical-binding.
931 (image-mode-winprops): Use t to stand for the window of
932 a buffer that's not displayed.
933 * doc-view.el (doc-view-new-window-function): Handle the new
934 t in winprops.
935 (doc-view-enlarge): Make it a real nop if the size is not changed.
936 (doc-view-display): Handle the case where the buffer is not (yet?)
937 displayed in any window.
938 (doc-view-saved-settings): New var.
939 (doc-view-mode): Use it.
940 (doc-view-fallback-mode): Set it.
941
a2e770db
SM
942 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
943 Set lexical-binding.
944 (minibuffer-eldef-shorten-default): New var.
945 (minibuffer-default-in-prompt-regexps): Use it for new default.
946 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
947
e3b60857
JB
9482012-09-26 Juanma Barranquero <lekktu@gmail.com>
949
950 * international/uni-bidi.el:
951 * international/uni-category.el:
952 * international/uni-name.el:
953 * international/uni-numeric.el: Regenerate.
954
3a880af4
SM
9552012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
956 Stefan Monnier <monnier@iro.umontreal.ca>
957
958 * profiler.el: New file.
959
07b1a5fb
SM
9602012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
961
962 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
963 (testcover-reinstrument): Simplify with CSE.
964
42019c2e
JB
9652012-09-26 Juanma Barranquero <lekktu@gmail.com>
966
967 * window.el (temp-buffer-window-setup): Fix typo in docstring.
968
179f044b
WS
9692012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
970
971 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
972 (verilog-auto-input, verilog-auto-insert-lisp)
973 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
974 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
975 (verilog-auto-unused, verilog-auto-wire)
976 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
977 newline. Reported by Andrew Jones.
978 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
979 Reported by Brad Dobbie.
07b1a5fb
SM
980 (verilog-batch-delete-trailing-whitespace):
981 Create verilog-batch-delete-trailing-whitespace.
982 Reported by Brad Dobbie.
179f044b
WS
983 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
984 parameters from another module. Reported by Dan Katz.
985 (verilog-auto, verilog-auto-assign-modport)
986 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
987 AUTOINOUTMODPORT for UVM interface module shell generation.
988 Reported by Brad Dobbie.
989 (verilog-auto-inst-interfaced-ports): Make default nil, as more
990 standard behavior.
991 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
992 Reported by Matt Martin.
993
9c52dd5a
MR
9942012-09-25 Martin Rudalics <rudalics@gmx.at>
995
996 * window.el (window--resize-child-windows): When resizing child
997 windows proportionally, process them in reverse order to
998 preserve the "when splitting a window the new one gets the odd
999 line" behavior.
1000 (window--resize-root-window-vertically): When resizing the
1001 minibuffer window try to affect only windows at the bottom of the
1002 frame. (Bug#12419)
1003
863666eb
CY
10042012-09-25 Chong Yidong <cyd@gnu.org>
1005
1006 * subr.el (declare): Doc fix.
1007
1008 * help-fns.el (help-fns--obsolete): Handle macros properly.
1009
59f7af81
CY
10102012-09-25 Chong Yidong <cyd@gnu.org>
1011
1012 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1013 this function obsolete.
1014
1015 * calendar/cal-x.el (calendar-two-frame-setup)
1016 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1017 * calendar/calendar.el (american-calendar, european-calendar)
1018 (calendar-for-loop):
1019 * comint.el (comint-dynamic-simple-complete)
1020 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1021 * desktop.el (desktop-load-default):
1022 * dired-x.el (dired-omit-here-always)
1023 (dired-hack-local-variables, dired-default-directory):
1024 * emacs-lisp/derived.el (derived-mode-class):
1025 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1026 * emacs-lock.el (toggle-emacs-lock):
1027 * epa.el (epa-display-verify-result):
1028 * epg.el (epg-sign-keys, epg-start-sign-keys)
1029 (epg-passphrase-callback-function):
1030 * eshell/esh-util.el (eshell-for):
1031 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1032 (eshell-add-to-window-buffer-names):
1033 * files.el (locate-file-completion):
1034 * imenu.el (imenu-example--create-c-index)
1035 (imenu-example--create-lisp-index)
1036 (imenu-example--lisp-extract-index-name)
1037 (imenu-example--name-and-position):
1038 * international/mule-cmds.el (princ-list):
1039 * international/mule-diag.el (decode-codepage-char):
1040 * international/mule-util.el (detect-coding-with-priority):
1041 * iswitchb.el (iswitchb-read-buffer):
1042 * mail/mailalias.el (mail-complete):
1043 * mail/sendmail.el (mail-sent-via):
1044 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1045 (mouse-major-mode-menu):
1046 * password-cache.el (password-read-and-add):
1047 * pcomplete.el (pcomplete-parse-comint-arguments):
1048 * progmodes/sh-script.el (sh-maybe-here-document):
1049 * replace.el (query-replace-regexp-eval):
1050 * savehist.el (savehist-load):
1051 * simple.el (choose-completion-delete-max-match):
1052 * term.el (term-dynamic-simple-complete):
1053 * vc/ediff-init.el (ediff-check-version):
1054 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1055 * vc/vc.el (vc-diff-switches-list):
1056 * view.el (view-return-to-alist-update): Likewise.
1057
1058 * subr.el (eval-next-after-load, makehash, insert-string)
1059 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1060 mark obsolete.
1061 (mode-line-inverse-video): Variable deleted.
1062
1063 * international/mule-util.el (string-to-sequence): Remove.
1064
1065 * calendar/calendar.el (calendar-version):
1066 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1067 (icalendar-convert-diary-to-ical):
1068 * cus-edit.el (custom-mode):
1069 * ansi-color.el (ansi-color-unfontify-region):
1070 * international/latin1-disp.el (latin1-char-displayable-p):
1071 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
1072 * progmodes/which-func.el (which-func-update-1):
1073 Use define-obsolete-function-alias.
59f7af81
CY
1074
1075 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
1076 * net/newst-treeview.el (newsticker-groups-filename):
1077 Fix incorrect obsolescence declaration.
59f7af81
CY
1078
1079 * allout.el (allout-passphrase-hint-string): Likewise.
1080 (allout-init): Use a declare form to mark obsolete.
1081
1082 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1083 this applies to functions.
1084
1085 * iswitchb.el (iswitchb-read-buffer): Move code of
1086 iswitchb-define-mode-map here, and delete that obsolete function.
1087
1088 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1089 font-lock-reference-face.
1090
cca96c97
GM
10912012-09-25 Glenn Morris <rgm@gnu.org>
1092
b06eeda8
GM
1093 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1094 Doc fixes.
1095
cca96c97
GM
1096 * eshell/em-term.el (eshell-term-name):
1097 Default to term-term-name. (Bug#12485)
1098
dc4f818b
FEG
10992012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1100
cca96c97
GM
1101 * progmodes/python.el (python-shell-send-buffer): Better handling
1102 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 1103
289c24bd
GM
11042012-09-24 Glenn Morris <rgm@gnu.org>
1105
1106 * eshell/esh-cmd.el (eshell-find-alias-function):
1107 Tighten up file-name regexp. (Bug#12499)
1108
8fb8b88f
FEG
11092012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1110
1111 Enhancements for triple-quote string syntax.
1112 * progmodes/python.el (python-quote-syntax): Remove.
1113 (python-syntax-propertize-function): New value.
07b1a5fb
SM
1114 (python-syntax-count-quotes, python-syntax-stringify):
1115 New functions.
8fb8b88f 1116
6c27f0f8
CY
11172012-09-24 Chong Yidong <cyd@gnu.org>
1118
a5f2b6ec
CY
1119 * mail/supercite.el (sc-version): Remove obsolete function.
1120 (sc-describe): Don't mark as obsolete, since it is bound.
1121 (sc-submit-bug-report): Remove.
1122
1123 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1124 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
1125 (log-edit-require-final-newline)
1126 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
1127
1128 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1129 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1130 * vc/vc.el (vc-checkout-carefully): Likewise.
1131
1132 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1133 (emerge-version): Remove.
1134
1135 * progmodes/compile.el (compile-internal): Remove.
1136 (compilation-parse-errors-function): Fix typo.
1137
1138 * international/mule.el (set-char-table-default): Remove.
1139 (set-coding-priority, make-coding-system, generic-char-p)
1140 (charset-list, charset-bytes, charset-id): Use declare to mark
1141 functions as obsolete.
1142
1143 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1144 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1145 * vc/vc-hooks.el (vc-default-registered): Don't use
1146 vc-master-templates.
1147
07b1a5fb
SM
1148 * font-lock.el (font-lock-reference-face):
1149 Use define-obsolete-variable-alias.
6c27f0f8
CY
1150
1151 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1152 * calendar/calendar.el (calendar-font-lock-keywords):
1153 * calendar/diary-lib.el (diary-font-lock-keywords)
1154 (diary-fancy-font-lock-keywords):
1155 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1156 * textmodes/reftex-index.el (reftex-insert-index):
1157 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1158 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1159 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1160 * progmodes/prolog.el (prolog-font-lock-keywords):
1161 * progmodes/idlwave.el (idlwave-idl-keywords):
1162 * progmodes/ada-mode.el (ada-font-lock-keywords):
1163 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1164
bcc0adbf
GM
11652012-09-24 Glenn Morris <rgm@gnu.org>
1166
1167 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1168
095bb823
FEG
11692012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1170
1171 * progmodes/python.el (python-indent-line): More consistent cursor
1172 movement behavior.
1173
70efc5c9
SM
11742012-09-23 Stefan Merten <smerten@oekonux.de>
1175
1176 * textmodes/rst.el: Fix compiler warning.
1177
2f438239
RW
11782012-09-23 Roland Winkler <winkler@gnu.org>
1179
07b1a5fb
SM
1180 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1181 Transcribe also LaTeX hyphenation.
2f438239
RW
1182 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1183 bibtex-reformat-previous-options.
1184
936ad041
RW
11852012-09-23 Roland Winkler <winkler@gnu.org>
1186
1187 * proced.el (proced-renice-command): New variable.
1188 (proced-marked-processes): New function.
1189 (proced-with-processes-buffer): New macro.
1190 (proced-send-signal): Use them.
1191 (proced-renice): New command bound to r.
1192
6fab0274
RW
11932012-09-23 Roland Winkler <winkler@gnu.org>
1194
1195 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1196 ibuffer-saved-filter-groups has one element, shortcut the call of
1197 completing-read. (Bug#12331)
1198
9a930676
CY
11992012-09-23 Chong Yidong <cyd@gnu.org>
1200
1201 * bindings.el (mode-line-toggle-read-only):
1202 * bs.el (bs-toggle-readonly):
1203 * buff-menu.el (Buffer-menu-toggle-read-only):
1204 * dired.el (dired-toggle-read-only):
1205 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1206
d07ff9db
CY
12072012-09-23 Chong Yidong <cyd@gnu.org>
1208
1209 * image.el (image-type-available-p): Adapt to init-image-library
1210 argument changes.
1211
51c4474e
JL
12122012-09-22 Juri Linkov <juri@jurta.org>
1213
1214 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1215 `dired-toggle-read-only'. (Bug#12462)
1216
43bf5e8e
MR
12172012-09-22 Martin Rudalics <rudalics@gmx.at>
1218
1219 * subr.el (temp-output-buffer-show): New function.
1220 (with-output-to-temp-buffer): Call temp-output-buffer-show
1221 instead of internal-temp-output-buffer-show.
1222
c88b867f
CY
12232012-09-22 Chong Yidong <cyd@gnu.org>
1224
3df47cd5
CY
1225 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1226 (Bug#12462).
1227
c88b867f
CY
1228 * repeat.el (repeat): Doc fix (Bug#12348).
1229
1230 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1231 (Bug#10909).
1232
1233 * simple.el (shell-command-on-region): Doc fix.
3171e303 1234 (read-only-mode): Doc fix.
c88b867f 1235
df9685f3
EZ
12362012-09-22 Eli Zaretskii <eliz@gnu.org>
1237
1238 * emacs-lisp/timer.el (run-with-idle-timer)
1239 (timer-activate-when-idle): Warn against reinvoking an idle timer
1240 from within its own timer action. (Bug#12447)
1241
8e17c9ba
MR
12422012-09-22 Martin Rudalics <rudalics@gmx.at>
1243
1244 * cus-start.el (window-combination-limit): Add new optional
1245 values.
1246 * window.el (temp-buffer-window-show)
1247 (window--try-to-split-window): Handle new values of
1248 window-combination-limit (Bug#1806).
1249 (split-window): Test window-combination-limit for t instead of
1250 non-nil.
1251 (display-buffer-at-bottom): New buffer display action function.
1252 * help.el (temp-buffer-resize-regexps): New option.
1253 (temp-buffer-resize-mode): Rewrite doc-string.
1254 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 1255 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 1256
48a24920
SM
12572012-09-22 Stefan Merten <smerten@oekonux.de>
1258
70efc5c9 1259 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
1260 (rst-official-version)
1261 (rst-package-emacs-version-alist): Sync with official version
1262 V1.4.0.
1263 (rst-faces-defaults, rst-set-level-default)
1264 (rst-level-face-max, rst-level-face-base-color)
1265 (rst-level-face-base-light, rst-level-face-format-light)
1266 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1267 (rst-adornment-faces-alist): Match new setup.
1268 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1269 (rst-level-5, rst-level-6): New faces.
1270
82f8cd94
CY
12712012-09-22 Chong Yidong <cyd@gnu.org>
1272
1273 * simple.el (undo): Handle indirect buffers (Bug#8207).
1274
acfa068f 12752012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
1276
1277 IDO: Disable match re-ordering for buffer switching.
2bc9406c 1278 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
1279 (ido-set-matches-1): Use it. (Bug#2042)
1280
acfa068f 12812012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
1282
1283 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1284 Fix 2011-05-17 change. (Bug#12418)
1285
acfa068f 12862012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
1287
1288 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
1289
acfa068f 12902012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
1291
1292 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
1293 Be more robust about locating simple.el.
1294
acfa068f 12952012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
1296
1297 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
1298
acfa068f
CY
12992012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
1300
1301 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
1302
41a97e6f
JL
13032012-09-20 Juri Linkov <juri@jurta.org>
1304
eb2deaff
JL
1305 * replace.el (query-replace-read-from): Use `read-regexp' instead
1306 of `read-from-minibuffer' when `regexp-flag' is non-nil.
1307 (occur-read-primary-args): Use `read-regexp' instead of
1308 `read-string'.
1309 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
1310 `read-from-minibuffer'.
1311 * isearch.el (isearch-occur): Use `read-regexp' instead of
1312 `read-string'.
1313 * dired.el (dired-read-regexp): Use `read-regexp' instead of
1314 `read-from-minibuffer'.
1315 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
1316 of `read-string'. (Bug#7567)
1317
5825610b
JL
1318 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
1319 and allow accepting a list of strings prepended to a list of
1320 standard default values. Doc fix. (Bug#12321)
1321
eebbf404
JL
1322 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
1323
41a97e6f
JL
1324 * replace.el (read-regexp): Don't add ": " when PROMPT already
1325 ends with a colon and space. (Bug#12321)
1326
c9e452d3
TH
13272012-09-20 Tassilo Horn <tsdh@gnu.org>
1328
1329 * doc-view.el (doc-view-display): Better fix for the cl-assertion
1330 error.
1331
ee97deee
SM
13322012-09-20 Stefan Merten <smerten@oekonux.de>
1333
70efc5c9 1334 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
1335 Fixes feature request bug#11711.
1336 (rst-mode): Create `imenu-create-index-function'.
1337 (rst-get-stripped-line): Delete after refactoring.
1338 (rst-section-tree, rst-section-tree-rec)
1339 (rst-section-tree-point): Refactor and document properly.
1340 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
1341 (rst-imenu-convert-cell, rst-imenu-create-index):
1342 New function.
ee97deee 1343
f490dab9
SM
13442012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1345
95b9712e
SM
1346 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
1347 (macroexp--expand-all): Use it.
1348 (macroexp--funcall-and-return): Remove by folding it into its sole
1349 caller (macroexp--warn-and-return).
1350 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
1351 Use macroexp--obsolete-warning.
1352
f490dab9
SM
1353 * calc/calc.el: Fix last change by removing the whole chunk, since it
1354 was only needed back when Calc was not bundled.
1355
96e8d411
MR
13562012-09-20 Martin Rudalics <rudalics@gmx.at>
1357
1358 * emacs-lisp/debug.el (debug): Restore assignment to
1359 debugger-old-buffer removed on 2012-09-08.
1360
0876a82d
JL
13612012-09-20 Juri Linkov <juri@jurta.org>
1362
1363 * dired-aux.el (dired-diff): Remove (require 'diff) since
1364 `diff-latest-backup-file' is now autoloaded.
1365
9f7c28f0
CY
13662012-09-20 Chong Yidong <cyd@gnu.org>
1367
1368 * vc/diff.el (diff-latest-backup-file): Autoload.
1369
7a04bee9
SM
13702012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1371
e6f0a80d
SM
1372 * calc/calc.el: Remove redundant autoload shape check.
1373 (sel-mode): Don't defvar.
1374 (calc-get-stack-element): Add `sel-mode' arg instead.
1375 (calc-top, calc-top-list): Pass it this additional argument.
1376 * calc/calc-store.el (calc-store-map):
1377 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
1378 (calc-map-equation, calc-outer-product, calc-inner-product):
1379 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
1380
7a04bee9
SM
1381 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
1382
12734222
JL
13832012-09-19 Juri Linkov <juri@jurta.org>
1384
1385 * dired-aux.el (dired-diff): Add (require 'diff) because
1386 `diff-latest-backup-file' is not autoloaded.
1387 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
1388 of `dired-get-filename' to t to not report error when there is
1389 no default file on the current line.
1390
46624b4f
SM
13912012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1392
ce97595b
SM
1393 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
1394 macroexp--eval-if-compile.
1395 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
1396 (macroexp--expand-all): Use them (bug#12371).
1397
46624b4f
SM
1398 * doc-view.el (doc-view-guess-paper-size)
1399 (doc-view-scale-bounding-box): Fix unbound `caddr'.
1400
db8a5a18
TH
14012012-09-19 Tassilo Horn <tsdh@gnu.org>
1402
1403 New feature: set optimal slice from BoundingBox information.
1404 * doc-view.el (doc-view-mode-map): Add keybinding.
1405 (doc-view-menu): Add menu entry.
1406 (doc-view-set-slice): Adapt docstring.
1407 (doc-view-get-bounding-box, doc-view-guess-paper-size)
1408 (doc-view-scale-bounding-box)
1409 (doc-view-set-slice-from-bounding-box): New functions.
1410 (doc-view-paper-sizes): New defvar.
1411
69f6644c
GM
14122012-09-19 Glenn Morris <rgm@gnu.org>
1413
35f5b19d
GM
1414 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
1415 (byte-compile-log-warning): Autoload. (Bug#12371)
1416
69f6644c
GM
1417 * calendar/calendar.el (calendar-american-month-header)
1418 (calendar-european-month-header, calendar-iso-month-header)
1419 (calendar-month-header): New options.
1420 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
1421 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
1422
e543ae91
JD
14232012-09-19 Jan Djärv <jan.h.d@swipnet.se>
1424
1425 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
1426
2fd5e67d
JL
14272012-09-18 Juri Linkov <juri@jurta.org>
1428
1429 * dired-aux.el (dired-diff): Restore original functionality of
1430 getting the default value, but keep new feature of using the
1431 latest existing backup file (`diff-latest-backup-file').
1432
42917e79
JL
14332012-09-18 Juri Linkov <juri@jurta.org>
1434
1435 * dired.el (dired-mark): If the region is active in Transient Mark
1436 mode, mark all files in the active region. Doc fix.
1437 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
1438 Doc fix. (Bug#10624)
1439
20f70ede
JL
14402012-09-18 Juri Linkov <juri@jurta.org>
1441
1442 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
1443 attributes for M-n are pulled from the file at point.
1444 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
1445 Suggested by Drew Adams. (Bug#10624)
1446
32fb8162
DG
14472012-09-18 Dmitry Gutov <dgutov@yandex.ru>
1448
1449 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
1450 whitespace after "end".
1451 (ruby-do-end-to-brace): Collapse block to one line if it fits
1452 within fill-column.
1453
37ab5092
MR
14542012-09-18 Martin Rudalics <rudalics@gmx.at>
1455
1456 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
1457 value.
1458 (debug): Don't remove debugger window when debugger is expected
1459 to be back.
1460
ed1f0bd3
CY
14612012-09-18 Chong Yidong <cyd@gnu.org>
1462
1463 * custom.el (defface): Doc fix.
1464
1465 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
1466
a11035b8
MB
14672012-09-18 Martin Blais <blais@furius.ca> (tiny change)
1468
1469 * progmodes/compile.el (compilation-start): Use compilation-always-kill
1470 to initialize query-on-exit; then test that instead (bug#12288).
1471
64f6a736
SM
14722012-09-17 Stefan Merten <smerten@oekonux.de>
1473
70efc5c9 1474 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
1475 (rst-defcustom-testcover, rst-testcover-add-compose)
1476 (rst-testcover-add-1value): New functions.
1477 (rst-portable-mark-active-p): Replace by `use-region-p'.
1478 (rst-update-section, rst-classify-adornment)
1479 (rst-find-title-line): Mark `1value' forms.
1480 (rst-classify-adornment): Remove superfluous form.
1481 (rst-update-section, rst-get-adornments-around)
1482 (rst-adornment-complete-p, rst-get-next-adornment)
1483 (rst-adjust, rst-promote-region)
1484 (rst-display-adornments-hierarchy, rst-straighten-adornments)
1485 (rst-find-pfx-in-region, rst-section-tree-rec)
1486 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
1487 (rst-toc-node, rst-toc, rst-forward-section)
1488 (rst-iterate-leftmost-paragraphs)
1489 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
1490 (rst-bullet-list-region)
1491 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
1492 (rst-compile-find-conf, rst-compile)
1493 (rst-repeat-last-character): Fix style.
1494
580bd868
CY
14952012-09-17 Chong Yidong <cyd@gnu.org>
1496
1497 * comint.el (comint--complete-file-name-data): Don't add a space
1498 if the status is `sole'; that adds a gratuitous space in the
1499 completion-cycling case (Bug#12092).
1500
1501 * pcomplete.el (pcomplete-completions-at-point): Likewise.
1502
69de3ec6
RS
15032012-09-17 Richard Stallman <rms@gnu.org>
1504
0dee970c
RS
1505 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
1506 only in the mime-shown mode, not in raw mode.
1507 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 1508 mime processing. (Bug#12305)
0dee970c 1509
6b250df6
GM
1510 * mail/rmail.el (rmail-retry-failure):
1511 Turn off mime processing first. (Bug#12037)
acb1c47b 1512
69de3ec6
RS
1513 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
1514
d079ee5f
CY
15152012-09-17 Chong Yidong <cyd@gnu.org>
1516
1517 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
1518 (shell-dynamic-complete-functions): Convert to defcustom.
1519 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
1520
865fe16f
CY
1521 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
1522 * comint.el (comint-prompt-read-only):
1523 * custom.el (defcustom):
1524 * hi-lock.el (hi-lock-mode):
1525 * ibuffer.el (ibuffer-formats):
1526 * ielm.el (ielm-prompt-read-only):
1527 * novice.el (disable-command):
1528 * saveplace.el (toggle-save-place):
1529 * speedbar.el (speedbar-supported-extension-expressions):
1530 * startup.el (auto-save-list-file-prefix, init-file-user)
1531 (after-init-hook, inhibit-startup-echo-area-message):
1532 * strokes.el (strokes-help):
1533 * time-stamp.el (time-stamp):
1534 * calendar/calendar.el (calendar, diary-file):
1535 * calendar/diary-lib.el (diary-mail-entries, diary)
1536 (diary-list-entries-hook):
1537 * calendar/holidays.el (holidays, calendar-holidays):
1538 * calendar/lunar.el (lunar-phases):
1539 * calendar/solar.el (sunrise-sunset):
1540 * emulation/edt.el (edt-load-keys):
1541 * emulation/viper.el (viper-mode):
1542 * eshell/em-alias.el (eshell-command-aliases-list):
1543 * eshell/esh-util.el (eshell-convert-numeric-arguments):
1544 * international/ogonek.el (ogonek-information):
1545 * net/tramp-cmds.el (tramp-bug):
1546 * net/quickurl.el (quickurl-reread-hook-postfix):
1547 * play/decipher.el (decipher-font-lock-keywords):
1548 * progmodes/cc-styles.el (c-set-style):
1549 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
1550 * progmodes/inf-lisp.el (inferior-lisp-prompt):
1551 * progmodes/octave-mod.el (octave-mode):
1552 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
1553 * progmodes/verilog-mode.el (verilog-read-defines):
1554 * textmodes/two-column.el (2C-mode): Likewise.
1555
48093eb9
KY
15562012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
1557
1558 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
1559 that holds many addresses.
1560
c584eaf9
CY
15612012-09-16 Chong Yidong <cyd@gnu.org>
1562
40d70ecb
CY
1563 * align.el (align-areas): Call the indication function with
1564 positions instead of markers for arguments (Bug#12343).
1565
1667e065
CY
1566 * files.el (parse-colon-path): Use split-string (Bug#12351).
1567
fdc2806d 1568 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 1569 (display-buffer-function): Mark as obsolete.
fdc2806d 1570
f1be615c 1571 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
1572 values similar to font-lock-keywords (Bug#12136).
1573 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
1574 (compilation-error-regexp-alist): Doc fix.
1575
f40a9709
GM
15762012-09-15 Glenn Morris <rgm@gnu.org>
1577
72aa16e1
GM
1578 * version.el (emacs-bzr-version-bzr): New function.
1579 (emacs-bzr-get-version): Add optional EXTERNAL argument.
1580
82375160
GM
1581 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
1582 checkouts, check the parent dirstate matches the branch.
1583 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
1584 empty string.
1585
f40a9709
GM
1586 * version.el (emacs-bzr-version): Doc fix.
1587 (emacs-bzr-version-dirstate): New function.
1588 (emacs-bzr-get-version): For lightweight checkouts, if the parent
1589 is local try and check that it matches the branch. If not, just
1590 use dirstate information. (Bug#12441)
1591
cb26b7f5
JL
15922012-09-14 Juri Linkov <juri@jurta.org>
1593
1594 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
1595 (Bug#12399)
1596
2de39f08
SM
15972012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1598
0fb3cb7c
SM
1599 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
1600
2de39f08
SM
1601 * emacs-lisp/edebug.el: Miscellaneous cleanup.
1602 Remove obsolete byte-compiler hack that tried to silence some warnings.
1603 (edebug-submit-bug-report): Remove.
1604 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
1605 Remove aliases, use the un-prefixed name instead.
1606 (edebug-pop-to-buffer): Consider other frames.
1607 (edebug-original-read):: Make it more obvious that it's always defined.
1608 (edebug--make-form-data-entry, edebug--form-data-name)
1609 (edebug--form-data-begin, edebug--form-data-end): Rename from the
1610 single-dashed name, and implement with cl-defstruct.
1611 (edebug-set-form-data-entry): Use the standard accessors.
1612 (edebug-make-top-form-data-entry): Use push.
1613 (edebug-no-match): Drop useless `funcall'.
1614 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
1615 to functions.
1616 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
1617 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
1618 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
1619 (easy-menu-define, with-custom-print): Remove redundant specs.
1620 (edebug-outside-overriding-local-map)
1621 (edebug-outside-overriding-terminal-local-map): Remove, unused.
1622 (edebug--display): Bind unread-command-events directly to nil rather
1623 than binding it to unread-command-events and later setting it to nil.
1624 (edebug--display): Kill edebug-eval-buffer here...
1625 (edebug--recursive-edit): ...rather than here.
1626 Bind standard-output and standard-input.
1627 (edebug-eval): Check cl-macroexpand-all is fboundp.
1628 (edebug-temp-display-freq-count): Fix last change.
1629
1630 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
1631 * subr.el (noreturn, 1value): Add `debug' spec.
1632 * emacs-lisp/advice.el: Require cl-lib.
1633 (ad-copy-tree): Remove, use copy-tree instead.
1634 (ad-dolist): Remove use dolist or cl-dolist instead.
1635 (ad-do-return): Remove, use cl-return instead.
1636 (defadvice): Add `debug' spec.
1637
5b68b333
JL
16382012-09-13 Juri Linkov <juri@jurta.org>
1639
1640 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
1641 (Bug#12399)
1642
b9800ec4
GM
16432012-09-13 Glenn Morris <rgm@gnu.org>
1644
6a2e6868
GM
1645 * calc/calc.el (math-compose-expr):
1646 * calc/calc-ext.el (math-compose-expr):
1647 * progmodes/cc-defs.el (cl-macroexpand-all):
1648 * progmodes/cc-langs.el (delete-duplicates, mapcan)
1649 (cl-macroexpand-all): Update declarations.
1650
b9800ec4
GM
1651 * vc/vc.el: No need to require ediff.
1652 (ediff-load-version-control): Declare.
1653 (ediff-vc-internal): Fix declaration.
1654 (vc-version-ediff): Require ediff.
1655
c18e885b
PE
16562012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1657
1658 Use a more backwards-compatible timer format (Bug#12430).
1659 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
1660 being right after USECS, as that better supports old code that
1661 inadvisedly looked directly at the timer vector.
1662
d607d303
KH
16632012-09-13 Kenichi Handa <handa@gnu.org>
1664
1665 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
1666 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
1667 `coding-priority' property of these language environment.
1668
72eac303
PE
16692012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1670
1671 Fix glitches caused by addition of psec to timers (Bug#12430).
1672 * image.el (image-animate-timer):
1673 * time.el (display-time-world-timer):
1674 Use timer--function and timer--args rather than raw access to
1675 timer vector.
1676
2168fe4f
GM
16772012-09-13 Glenn Morris <rgm@gnu.org>
1678
1679 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
1680 If not compiling a file, try using load-file-name.
1681
bd8d6108
SM
16822012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1683
c0c54fbd
SM
1684 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
1685 Fix last change.
1686 (edebug-update-eval-list): Use `push'.
1687
bd8d6108
SM
1688 * emacs-lisp/edebug.el: Use lexical-binding.
1689 Remove the "edebug-" prefix from non-dynamically-scoped variables.
1690 Mark unused args with underscore.
1691 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
1692 (edebug-form-data): Use defvar-local.
1693 (edebug-make-before-and-after-form, edebug-make-after-form):
1694 Use backquote.
1695 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
1696 Not dynamically scoped any more.
1697 (edebug--enter-trace): Add arguments `function' and `args'.
1698 Rename from edebug-enter-trace.
1699 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
1700 (edebug--update-coverage): Add `after-index' and `value' args.
1701 Rename from edebug-update-coverage.
1702 (edebug-slow-after): Call it accordingly.
1703 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
1704 edebug-recursive-edit.
1705 (edebug--display): Call it accordingly. Add args `value',
1706 `offset-index', and `arg-mode'. Rename from edebug-display.
1707 (edebug-debugger, edebug): Call it accordingly.
1708 (edebug-eval-display-list): Use dolist.
1709
a9f9d9de
JL
17102012-09-12 Juri Linkov <juri@jurta.org>
1711
1712 * info.el (Info-search): Don't check for isearch-mode and
1713 isearch-regexp before let-binding search-spaces-regexp to
1714 Info-search-whitespace-regexp.
1715 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
1716 search-whitespace-regexp if isearch-lax-whitespace or
1717 isearch-regexp-lax-whitespace is non-nil.
1718 (Info-mode): Don't set local variable search-whitespace-regexp.
1719 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
1720
bfeae2cf
SM
17212012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1722
1723 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
1724 (debugger-env-macro): Remove support for unread-command-char.
1725
1726 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
1727 the temporary map re-appearing on emulation-mode-map-alists.
1728
1729 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
1730 since 22.1.
1731
1732 * ehelp.el (with-electric-help): Accept functions in
1733 electric-help-form-to-execute.
1734 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
1735 And replace unread-command-char -> unread-command-events.
1736
fbbcaf1b
MA
17372012-09-12 Michael Albinus <michael.albinus@gmx.de>
1738
1739 Sync with Tramp 2.2.6.
1740
1741 * net/tramp.el (tramp-accept-process-output): Don't use
1742 JUST-THIS-ONE in the XEmacs case.
1743
1744 * net/trampver.el: Update release number.
1745
4dece104
MR
17462012-09-12 Martin Rudalics <rudalics@gmx.at>
1747
bfeae2cf
SM
1748 * emacs-lisp/debug.el (debugger-previous-window-height):
1749 New variable.
4dece104
MR
1750 (debug): When debugger-jumping-flag is non-nil try to restore
1751 height of debugger window. (Bug#8789)
1752
45b82ad0
SM
17532012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1754
60c49c0f
SM
1755 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
1756 overriding-local-map and pre/post-command-hook here.
1757 (edebug-recursive-edit): Do it here instead (bug#12345).
1758 (edebug-outside-unread-command-char): Remove all uses of
1759 unread-command-char.
1760
45b82ad0
SM
1761 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
1762 inhibit-debugger is bound instead.
1763
baa26ea0
BG
17642012-09-11 Bastien Guerry <bzg@gnu.org>
1765
1766 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 1767 (Bug#12346)
baa26ea0 1768
04e8abfa
BG
17692012-09-11 Bastien Guerry <bzg@gnu.org>
1770
96d03571 1771 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 1772 (Bug#12347)
96d03571
BG
1773
17742012-09-11 Bastien Guerry <bzg@gnu.org>
1775
fc0c31f8 1776 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 1777
04e082b0
MM
17782012-09-10 Michael R. Mauger <mmaug@yahoo.com>
1779
1780 * progmodes/sql.el: Version 3.1
1781 (sql-db2-escape-newlines): New variable.
1782 (sql-escape-newlines-filter): Use it.
1783
399a361b
JB
17842012-09-10 Juanma Barranquero <lekktu@gmail.com>
1785
1786 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
1787
0780c517
DN
17882012-09-10 Dan Nicolaescu <dann@gnu.org>
1789
45b82ad0
SM
1790 * vc/diff-mode.el (diff-mode-menu):
1791 Bind diff-remove-trailing-whitespace.
0780c517 1792
9b851e25
SM
17932012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1794
1795 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
1796 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
1797 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
1798 (eval-sexp-add-defvars): Don't skip defvars in column >0.
1799 (eval-defun-2): Remove bogus interactive spec.
1800 (lisp-indent-line): Remove redundant whole-exp code, now done in
1801 indent-according-to-mode.
1802 (save-match-data): Remove redundant indent data.
1803
1804 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
1805 Use `declare'.
1806
3231d532
JL
18072012-09-09 Juri Linkov <juri@jurta.org>
1808
1809 * replace.el (replace-regexp-lax-whitespace): New defcustom.
1810 (replace-lax-whitespace, query-replace-regexp)
1811 (query-replace-regexp-eval, replace-regexp): Doc fix.
1812 (perform-replace, replace-highlight): Let-bind
1813 isearch-lax-whitespace to replace-lax-whitespace and
1814 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
1815
1816 * isearch.el (isearch-query-replace): Let-bind
1817 replace-lax-whitespace to isearch-lax-whitespace and
1818 replace-regexp-lax-whitespace to
1819 isearch-regexp-lax-whitespace. (Bug#10885)
1820
70fe8236
SM
18212012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
1822
1823 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
1824
8ed43f15
AM
18252012-09-09 Alan Mackenzie <acm@muc.de>
1826
70fe8236
SM
1827 * progmodes/cc-engine.el (c-state-cache-init):
1828 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
1829 (c-record-parse-state-state):
1830 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 1831
bfabf70a
AS
18322012-09-09 Andreas Schwab <schwab@linux-m68k.org>
1833
1834 * register.el (register-separator): Rename from
1835 separator-register. All uses changed. Doc fix.
1836 (register): Fix version.
1837
011474aa
CY
18382012-09-09 Chong Yidong <cyd@gnu.org>
1839
1840 * replace.el (query-replace-map): Bind four new symbols for
1841 requesting window scrolling.
1842
1843 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
1844 query-replace-map (Bug#8948).
1845
1846 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
1847
1848 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
1849 since they are now in query-replace-map.
1850
1851 * window.el (scroll-other-window-down): Make the arg optional.
1852
a8b7cd8d
CY
18532012-09-09 Chong Yidong <cyd@gnu.org>
1854
1855 * files.el (hack-local-variables-confirm): Use quit-window to kill
1856 the *Local Variables* buffer.
1857
c3268831
DG
18582012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1859
1860 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
1861 not just expect to be at its beginning. Adjust callees.
1862 Succeed when do-end block has no space before the pipe character.
1863 (ruby-brace-to-do-end): When the original block is one-liner,
1864 convert to multiline. Reindent the result.
1865
0979429b
J
18662012-09-08 Jambunathan K <kjambunathan@gmail.com>
1867
1868 * register.el (register): New group.
27359e99 1869 (separator-register): New user option.
0979429b
J
1870 (increment-register): Route it to `append-to-register', if
1871 register contains text. Implication is that `C-x r +' can now be
1872 used for appending to a text register (bug#12217).
1873 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 1874 `separator-register'.
0979429b 1875
ace2989a
AM
18762012-09-08 Alan Mackenzie <acm@muc.de>
1877
1878 AWK Mode: make auto-newline work when there's "==" in the pattern.
1879 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
1880 correctly.
0979429b
J
1881 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
1882 Test more rigorously for "=" token.
ace2989a 1883
616c6c36
DG
18842012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1885
0979429b
J
1886 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
1887 Only fail when reached LIMIT.
616c6c36 1888
35d98877
CY
18892012-09-08 Chong Yidong <cyd@gnu.org>
1890
1891 * dired.el (dired-mode-map): Don't bind M-=.
1892
1893 * dired-aux.el (dired-diff): Use backup file as default.
1894
1715f2db
DA
18952012-09-08 Drew Adams <drew.adams@oracle.com>
1896
1897 * subr.el (add-to-history): Fix delete usage (Bug#12314).
1898
6dcef6ec
CY
18992012-09-08 Chong Yidong <cyd@gnu.org>
1900
1901 * subr.el (syntax-after, syntax-class): Doc fix.
1902
fa2bcf43
MR
19032012-09-08 Martin Rudalics <rudalics@gmx.at>
1904
1905 * window.el (display-buffer-in-previous-window): New buffer
1906 display action function.
1907
1908 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
1909 (debugger-previous-window): New variable.
1910 (debug): Rewrite using display-buffer-in-previous-window,
1911 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
1912
daac280a
SM
19132012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1914
1915 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
1916
9dd40b00
MM
19172012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
1918
daac280a
SM
1919 * progmodes/python.el (python-shell-send-string):
1920 When default-directory is remote, create temp file on remote
9dd40b00
MM
1921 filesystem.
1922 (python-shell-send-file): When file is remote, pass local view of
1923 file paths to remote Python interpreter. (Bug#12340)
1924
145823ec
CY
19252012-09-07 Chong Yidong <cyd@gnu.org>
1926
cee2e90d
CY
1927 * window.el (switch-to-buffer): Doc fix (Bug#12181).
1928
0d7eb2ea
CY
1929 * files.el (after-find-file): Don't fail on a read-only buffer if
1930 require-final-newline is `visit' or `visit-save' (Bug#11156).
1931
145823ec
CY
1932 * subr.el (read-char-choice): Allow quitting via ESC ESC.
1933
daac280a
SM
1934 * userlock.el (ask-user-about-supersession-threat):
1935 Use read-char-choice (Bug#12093).
145823ec 1936
74c582e6
CY
19372012-09-07 Chong Yidong <cyd@gnu.org>
1938
e5c2edf7
CY
1939 * subr.el (buffer-narrowed-p): New function.
1940
1941 * ses.el (ses-widen):
1942 * simple.el (count-words--buffer-message):
1943 * net/browse-url.el (browse-url-of-buffer): Use it
1944
1945 * simple.el (count-words-region): Don't signal an error if there
1946 is a non-nil prefix arg and the mark is not set.
c640e87d 1947
74c582e6
CY
1948 * help.el (describe-key-briefly): Allow the message to be seen
1949 when invoked from the minibuffer (Bug#7014).
1950
d81ceaaf
DG
19512012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1952
1953 * progmodes/ruby-mode.el (ruby-end-of-defun)
1954 (ruby-beginning-of-defun): Simplify, allow indentation before
1955 block beginning and end keywords.
8f06acce
DG
1956 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
1957 (ruby-end-of-defun): Expect that the point is at the beginning of
1958 the defun.
d81ceaaf 1959
d458ef98
SM
19602012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1961
1962 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
1963 (bug#12367).
1964 (cl--make-usage-args): Strip _ from argument names.
1965
20367d28
RS
19662012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1967
1968 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
1969 obsolete alias speedbar-key-map.
1970 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
1971 (vhdl-index-menu-init): Don't use obsolete variable
1972 font-lock-maximum-size.
1973
3424a4f6
CY
19742012-09-06 Chong Yidong <cyd@gnu.org>
1975
1976 * frame.el (window-system-version): Mark as obsolete.
1977
fcbfbdea
CY
1978 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
1979 of obsolete variable speedbar-key-map.
1980
826b3235
JL
19812012-09-06 Juri Linkov <juri@jurta.org>
1982
1983 * replace.el (replace-lax-whitespace): New defcustom.
1984 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1985 (replace-string, replace-regexp): Mention it in docstrings.
1986 (perform-replace, replace-highlight): Let-bind
1987 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
1988 to the values of replace-lax-whitespace and regexp-flag.
1989 Don't let-bind search-whitespace-regexp. (Bug#10885)
1990
1991 * isearch.el (isearch-query-replace): Let-bind
1992 replace-lax-whitespace instead of let-binding
1993 replace-search-function and replace-re-search-function.
1994 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
1995 and isearch-regexp-lax-whitespace to lazy-highlight variables.
1996 (isearch-toggle-symbol): Set isearch-regexp to nil
1997 in isearch-word mode (like in isearch-toggle-word).
1998
1ec5e41d
JL
19992012-09-06 Juri Linkov <juri@jurta.org>
2000
2001 * replace.el (replace-search-function)
2002 (replace-re-search-function): Set default values to nil.
2003 (perform-replace): Let-bind isearch-related variables based on
2004 replace-related values, call `isearch-search-fun' and let-bind
2005 the result to `search-function'. Remove code that sets
2006 `search-function' and `search-string' separately for
2007 `delimited-flag'.
2008 (replace-highlight): Add new argument `delimited-flag' and
2009 rename other arguments to the names used in `perform-replace'.
2010 Let-bind `isearch-word' to the argument `delimited-flag'.
2011 (Bug#10885, bug#10887)
2012
0ba2d4b6
DG
20132012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2014
2015 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2016 ruby-beginning-of-indent, simplify, allow all keywords to have
2017 indentation before them.
2018 (ruby-beginning-of-indent): Adjust for above. Search until the
2019 found point is not inside a string or comment.
2020 (ruby-font-lock-keywords): Allow symbols to start with "@"
2021 character, give them higher priority than variables.
2022 (ruby-syntax-propertize-function)
2023 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2024 matchers. Expression expansions are not comments when inside a
2025 string, and there comment syntax status is irrelevant.
2026 (ruby-match-expression-expansion): New function. Check that
2027 expression expansion is inside a string, and it's not escaped.
2028 (ruby-font-lock-keywords): Use it.
2029
ef654460
MR
20302012-09-05 Martin Rudalics <rudalics@gmx.at>
2031
2032 * help.el (temp-buffer-max-height): New default value.
2033 (temp-buffer-resize-frames): New option.
2034 (resize-temp-buffer-window): Optionally resize frame.
2035
2036 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2037 (fit-frame-to-buffer): New function.
2038
7e570fbf 20392012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
2040
2041 * emulation/cua-rect.el (cua--init-rectangles):
2042 * textmodes/picture.el (picture-mode-map):
2043 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2044 like forward-char and backward-char. (Bug#12317)
2045
7e570fbf 20462012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
2047
2048 * progmodes/flymake.el (flymake-warning-re): New variable.
2049 (flymake-parse-line): Use it.
2050
7e570fbf 20512012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
2052
2053 * calendar/holidays.el (holiday-christian-holidays):
2054 Rename an entry. (Bug#12289)
2055
7e570fbf 20562012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
2057
2058 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2059 (bug#12222).
2060
972debf2
SM
20612012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2062
2063 * loadup.el: Load macroexp. Remove hack.
2064 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2065 (macroexp--expand-all): Use it to get better warnings.
2066 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2067 (internal-macroexpand-for-load): New functions.
2068 (macroexp--pending-eager-loads): New var.
2069 (emacs-startup-hook): New hack to replace one in loadup.el.
2070 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2071 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2072 (cl-psetf): Simplify.
2073 (cl-defstruct): Add indent rule.
2074
8ce192e3
LI
20752012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2076
2077 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2078 over `user-mail-address' for the SMTP MAIL FROM envelope.
2079 (smtpmail-via-smtp): Ditto.
2080
6578b4d8
DG
20812012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2082
2083 * progmodes/ruby-mode.el: Clean up keybindings.
2084 (ruby-mode-map): Don't bind ruby-electric-brace,
2085 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2086 backward-kill-word, reindent-then-newline-and-indent.
2087 (ruby-mark-defun): Remove.
2088 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2089 (ruby-mode): Set local beginning-of-defun-function and
2090 end-of-defun-function values.
2091
c5e28e39
MR
20922012-09-03 Martin Rudalics <rudalics@gmx.at>
2093
2094 * window.el (temp-buffer-window-setup-hook)
2095 (temp-buffer-window-show-hook): New hooks.
2096 (temp-buffer-window-setup, temp-buffer-window-show)
2097 (with-temp-buffer-window): New functions.
972debf2
SM
2098 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2099 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
2100
2101 * help.el (temp-buffer-resize-mode): Fix doc-string.
2102 (resize-temp-buffer-window): New optional argument WINDOW.
2103
2104 * files.el (recover-file, save-buffers-kill-emacs):
2105 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2106
73406194
MA
21072012-09-02 Michael Albinus <michael.albinus@gmx.de>
2108
2109 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2110 remote definition of `default-directory', ensure we can connect.
2111
63dd1c6f
JL
21122012-09-02 Juri Linkov <juri@jurta.org>
2113
2114 Toggle whitespace matching mode with M-s SPC.
2115 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2116
2117 * isearch.el (search-whitespace-regexp): Doc fix.
2118 Remove cons cell customization.
2119 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2120 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2121 New variables.
2122 (isearch-forward, isearch-forward-regexp): Doc fix.
2123 (isearch-toggle-lax-whitespace): New command.
2124 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2125 (re-search-forward-lax-whitespace)
2126 (re-search-backward-lax-whitespace): New functions.
2127 (isearch-whitespace-regexp): Remove function.
2128 (isearch-query-replace): Let-bind replace-search-function and
2129 replace-re-search-function.
2130 (isearch-occur): Let-bind search-spaces-regexp according to the
2131 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2132 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2133 condition for C-q SPC.
2134 (isearch-search-fun-default): Use new functions mentioned above.
2135 (isearch-search-forward, isearch-search-backward): Remove functions.
2136 (isearch-search): Don't let-bind search-spaces-regexp.
2137 (isearch-lazy-highlight-space-regexp): Remove variable.
2138 (isearch-lazy-highlight-lax-whitespace)
2139 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2140 (isearch-lazy-highlight-new-loop): Use them.
2141 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2142
af7dda05
CY
21432012-09-02 Chong Yidong <cyd@gnu.org>
2144
2145 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2146
d67d3afd
GM
21472012-09-02 Glenn Morris <rgm@gnu.org>
2148
2149 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2150
69678719
GM
21512012-09-01 Glenn Morris <rgm@gnu.org>
2152
2153 * term.el: Tidy up menu definitions.
2154 (term-mode-map): Use easymenu for In/Out, Complete menus.
2155 (term-pager-break-map): Initialize in the defvar.
2156 (term-terminal-menu, term-signals-menu): Define with easymenu.
2157 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2158 (term-pager-menu): New, extracted from term-process-pager.
2159 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2160 (term-update-mode-line): Propertize line/char and page items.
2161 (term-process-pager): Move keymap initialization elsewhere.
2162
78dd6ab1
MR
21632012-09-01 Martin Rudalics <rudalics@gmx.at>
2164
2165 * window.el (switch-to-prev-buffer): Handle additional values of
2166 BURY-OR-KILL argument. Don't switch in minibuffer window.
2167 (switch-to-next-buffer): Don't switch in minibuffer window.
2168 (quit-restore-window): New function based on quit-window.
2169 Handle additional values of former KILL argument.
2170 (quit-window): Call quit-restore-window with appropriate
2171 interpretation of KILL argument.
2172 (display-buffer-below-selected): New buffer display action
2173 function.
2174
3d10e134
SM
21752012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2176
2177 * minibuffer.el (completion-at-point-functions): Complete docstring
2178 (bug#12254).
2179
0e23ef9d
PE
21802012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2181
2182 Better seed support for (random).
2183 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2184 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2185 * play/mpuz.el, play/tetris.el, play/zone.el:
2186 * calc/calc-comb.el (math-init-random-base):
2187 * play/blackbox.el (bb-init-board):
2188 * play/life.el (life):
2189 * server.el (server-use-tcp):
2190 * type-break.el (type-break):
2191 Remove unnecessary call to (random t).
2192 * net/sasl.el (sasl-unique-id-function):
2193 Change (random t) to (random), now that the latter is more random.
2194 * play/life.el (life-initialized): Remove no-longer-needed var.
2195
862382df
MR
21962012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2197
2198 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2199 Consider frame's buffer predicate when choosing the buffer.
2200 (Bug#12081)
2201
262a66e1
RS
22022012-08-30 Richard Stallman <rms@gnu.org>
2203
2204 * simple.el (special-mode-map): Delete binding for `z'.
2205
f17e1d00
AS
22062012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2207
2208 * progmodes/compile.el (compilation-always-kill): Doc fix.
2209
24777832
CY
22102012-08-30 Chong Yidong <cyd@gnu.org>
2211
2212 * window.el (display-buffer-reuse-frames): Make the obsolescence
2213 message more informative.
2214
69ba1f04
GM
22152012-08-30 Glenn Morris <rgm@gnu.org>
2216
2217 * paren.el (show-paren-delay):
2218 Add a :set function. Doc fix. (Bug#12297)
2219
f0019ede
MB
22202012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2221
2222 * progmodes/compile.el (compilation-always-kill): New var.
2223 (compilation-start): Use it.
2224
35e62fc9
SM
22252012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2226
af070a1c
SM
2227 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2228 * files.el (read-only-mode): Move to simple.el.
2229
35e62fc9
SM
2230 * files.el (read-only-mode): New minor mode.
2231 (toggle-read-only): Use it and mark obsolete.
2232 (find-file--read-only):
2233 * vc/vc.el (vc-next-action, vc-checkout):
2234 * vc/vc-cvs.el (vc-cvs-checkout):
2235 * obsolete/vc-mcvs.el (vc-mcvs-update):
2236 * ffap.el (ffap--toggle-read-only): Update callers.
2237
c2c43c23
MA
22382012-08-29 Michael Albinus <michael.albinus@gmx.de>
2239
2240 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
2241 remote shell scripts.
2242 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
2243
2244 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2245 "/usr/local/sbin".
2246
9fba804b
SM
22472012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2248
2249 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2250
eada0861 22512012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 2252
806f0cc7
LL
2253 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2254 completion-at-point. (Bug#12220)
2255
3bb213b9
LL
2256 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2257
22ab32ef
LL
2258 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2259
eada0861 22602012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 2261
19c17fc1
CY
2262 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2263 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 2264
eada0861 22652012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
2266
2267 * progmodes/hideif.el (hif-compress-define-list):
2268 Fix typo. (Bug#11951)
2269
eada0861 22702012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
2271
2272 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2273 buffer local setting.
2274
27d6c5a8
LL
2275 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2276 rcirc-encode-coding-system.
2277
eada0861 22782012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
2279
2280 * net/rcirc.el (rcirc-split-message): New function.
2281 (rcirc-send-message): Use it. (Bug#12051)
2282
d44688e4
JL
22832012-08-28 Juri Linkov <juri@jurta.org>
2284
2285 * info.el (Info-fontify-node): Hide empty lines at the end of
2286 the node. (Bug#12272)
2287
34f10d41
MR
22882012-08-27 Drew Adams <drew.adams@oracle.com>
2289
2290 * dired.el (dired-pop-to-buffer): Make window start at beginning
2291 of buffer (Bug#12281).
2292
77f1f99c
CY
22932012-08-26 Chong Yidong <cyd@gnu.org>
2294
2295 * window.el (special-display-regexps, special-display-frame-alist)
2296 (special-display-buffer-names, special-display-function)
2297 (display-buffer-reuse-frames): Mark as obsolete.
2298
2299 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2300
2301 * help.el (help-print-return-message): Don't treat
2302 display-buffer-reuse-frames specially.
2303
d97af5a0
CY
23042012-08-26 Chong Yidong <cyd@gnu.org>
2305
9fba804b
SM
2306 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2307 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
2308 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2309 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2310 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2311 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2312 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2313 the functions directly with gdb-display-buffer-other-frame-action.
2314 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2315 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2316 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2317 (gdb-display-registers-buffer): Define directly.
2318 (def-gdb-display-buffer): Macro deleted.
2319 (gdb-display-buffer): Remove second and third args, callers don't
2320 use them. Defer to the default display-buffer behavior, apart
2321 from making windows dedicated.
2322 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2323
2324 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2325
2326 * window.el (display-buffer-pop-up-frame): Handle a
2327 pop-up-frame-parameters alist entry.
2328 (display-buffer): Document it.
2329
dd7ffad6
CY
23302012-08-26 Chong Yidong <cyd@gnu.org>
2331
2332 * isearch.el (search-whitespace-regexp): Make string and nil
2333 values apply to both ordinary and regexp search. Allow a cons
2334 cell value to distinguish between the two.
2335 (isearch-whitespace-regexp, isearch-search-forward)
2336 (isearch-search-backward): New functions.
2337 (isearch-occur, isearch-search-fun-default, isearch-search)
2338 (isearch-lazy-highlight-new-loop): Use them.
2339 (isearch-forward, isearch-forward-regexp): Doc fix.
2340
4c47bd1e
CY
23412012-08-26 Chong Yidong <cyd@gnu.org>
2342
2343 * faces.el (help-argument-name): Always inherit from italic
2344 (Bug#12213).
2345
9aba119d
MR
23462012-08-25 Martin Rudalics <rudalics@gmx.at>
2347
2348 * window.el (window--even-window-heights): Even heights when
2349 WINDOW and the selected window form a vertical combination.
2350 (display-buffer-use-some-window): Provide that window used gets
2351 sized back by quit-window. (Bug#11880) and (Bug#12091)
2352
ca5256ad
PE
23532012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2354
2355 Fix file time stamp problem with bzr and CVS (Bug#12001).
2356 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2357 in the file's time stamp, since the version control system loses
2358 that information.
2359
d1c0d176
JL
23602012-08-22 Juri Linkov <juri@jurta.org>
2361
2362 * info.el (Info-fontify-node): Hide the suffix of the
2363 Info file name in the header line. (Bug#12187)
2364
141562ff
GM
23652012-08-22 Glenn Morris <rgm@gnu.org>
2366
2367 * calendar/cal-tex.el (cal-tex-weekly-common):
2368 Restore leading blank page.
2369
61a48e19 23702012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
2371
2372 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
2373 the region under `shift-select-mode'. (Bug#12231)
2374
23752012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
2376
2377 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2378 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2379 gives details on why the space is never needed.
2380
ea95074e
MR
23812012-08-22 Martin Rudalics <rudalics@gmx.at>
2382
9fba804b
SM
2383 * window.el (walk-window-tree, window-with-parameter):
2384 New optional argument MINIBUF to control whether these functions
ea95074e
MR
2385 should run on the minibuffer window.
2386 (window-at-side-list): Don't operate on minibuffer window.
2387 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
2388 (window--size-ignore): Rename to window--size-ignore-p.
2389 Update callers.
caceae25
MR
2390 (display-buffer-in-atom-window, window--major-non-side-window)
2391 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
2392 (delete-side-window, display-buffer-in-side-window):
2393 New functions.
caceae25
MR
2394 (window--side-check, window-deletable-p, delete-window)
2395 (delete-other-windows, split-window): Handle side windows and
2396 atomic windows appropriately.
2397 (window--display-buffer): Call display-buffer-record-window also
2398 when the window buffer did not change.
ea95074e 2399
80a51fa0
CS
24002012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2401
2402 * help-fns.el (help-fns--key-bindings):
2403 Abbreviate non-symbol remap targets. (Bug#12174)
2404
fbb6300b
MR
24052012-08-22 Martin Rudalics <rudalics@gmx.at>
2406
2407 * dired.el (dired-mark-remembered): Don't clobber point.
2408 (Bug#11795)
2409
2b2c0794
GM
24102012-08-22 Glenn Morris <rgm@gnu.org>
2411
2412 * progmodes/bug-reference.el (bug-reference): New custom group.
2413 (bug-reference-bug-regexp): Make it a defcustom.
2414
37219830
DU
24152012-08-22 Daiki Ueno <ueno@unixuser.org>
2416
2417 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2418 (js-paren-indent-offset, js-square-indent-offset)
2419 (js-curly-indent-offset): Add :safe (Bug#12257).
2420
94e0e559
EC
24212012-08-22 Edward O'Connor <hober0@gmail.com>
2422
2423 * json.el (json-key-format): Add error properties.
2424 (json-encode-key): New function.
2425 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2426 Use json-encode-key.
2427
da485f5e
GM
24282012-08-22 Glenn Morris <rgm@gnu.org>
2429
2430 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2431 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2432 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2433 Update for above change.
2434
c6cc78b8
AS
24352012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2436
2437 * cus-face.el (custom-face-attributes): Fix customize type for the
2438 :underline attribute. (Bug#11805)
2439
5481664a
MR
24402012-08-21 Martin Rudalics <rudalics@gmx.at>
2441
2442 * window.el (window-point-1, set-window-point-1): Remove.
2443 (window-in-direction, record-window-buffer)
2444 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
2445 (window--state-get-1, display-buffer-record-window):
2446 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
2447 window-point and set-window-point respectively.
2448
6d74698e
GM
24492012-08-21 Glenn Morris <rgm@gnu.org>
2450
b7fa2691
GM
2451 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2452 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2453 Use it.
2454
52f56d5a
GM
2455 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2456 (cal-tex-shortday): New function.
2457 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2458 (cal-tex-cursor-filofax-daily): Use the above.
2459
9f1ee09e
GM
2460 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2461 New functions.
2462 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2463 (cal-tex-cursor-filofax-week): Use them.
2464
79858159
GM
2465 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2466 New constants.
2467 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2468 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2469
d346b2b4
GM
2470 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2471 (cal-tex-end-document): Don't rely on buffer name.
2472
b2403709
GM
2473 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2474 Use cal-tex-vspace.
2475 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2476 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
2477 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2478 Use cal-tex-arg.
b2403709 2479
1cebb5c0
GM
2480 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2481 (cal-tex-cursor-week, cal-tex-cursor-week2)
2482 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2483 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2484 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2485 (cal-tex-insert-preamble, cal-tex-b-document)
2486 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2487 Improve cal-tex-cmd usage.
2488
c68cd5d4
GM
2489 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2490 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2491 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2492 (cal-tex-weekly-paper): New function.
2493 (cal-tex-cursor-week, cal-tex-cursor-week2)
2494 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2495 (cal-tex-cursor-day): Use it.
2496
9dca4801
GM
2497 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2498 (cal-tex-cursor-filofax-week): Remove leading blank page.
2499
1941e134
GM
2500 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2501 Add autoload cookie. For now at least, don't use color, since
2502 no other cal-tex function does.
2503
6d74698e
GM
2504 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2505 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2506 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2507
64cde199
JL
25082012-08-21 Juri Linkov <juri@jurta.org>
2509
2510 * info.el (Info-file-attributes): New variable.
2511 (info-insert-file-contents): Add file attributes to
2512 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2513 `Info-toc-nodes' when previous modtime of the Info file is less
2514 than new modtime.
2515 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2516 of info.el. (Bug#12230)
2517
32757648
GM
25182012-08-20 Glenn Morris <rgm@gnu.org>
2519
2520 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2521 * calendar/holidays.el (calendar-holiday-list):
2522 Report errors with display-warning rather than beep'n'sleep.
2523
a32fbbcf
MA
25242012-08-20 Michael Albinus <michael.albinus@gmx.de>
2525
2526 * net/tramp.el (tramp-accept-process-output): Accept only output
2527 from PROC. Otherwise, process filters and sentinels might be
2528 confused. (Bug#12145)
2529
a05731a0
CY
25302012-08-20 Chong Yidong <cyd@gnu.org>
2531
2532 * descr-text.el (describe-text-properties-1): Use overlays-in to
2533 report on empty overlays (Bug#3322).
2534
36e8d1eb
GM
25352012-08-20 Glenn Morris <rgm@gnu.org>
2536
3d300447
GM
2537 * mail/rmailout.el (rmail-output-read-file-name):
2538 Trap and report errors in rmail-output-file-alist elements.
2539
36e8d1eb
GM
2540 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2541 since most non-font-lock faces are not also variables).
2542
b96e5814
ER
25432012-08-20 Edward Reingold <reingold@iit.edu>
2544
2545 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2546 New function. (Bug12160)
2547
7cef3569
GM
25482012-08-19 Glenn Morris <rgm@gnu.org>
2549
2550 * mail/rmailout.el (rmail-output-read-file-name):
2551 Fix previous change (when the alist is nil or does not match).
2552
17975d7f
CY
25532012-08-19 Chong Yidong <cyd@gnu.org>
2554
2555 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2556 (Bug#12228).
2557
2170b1bd
CY
25582012-08-18 Chong Yidong <cyd@gnu.org>
2559
2560 * simple.el (yank-handled-properties): New defcustom.
2561 (yank-excluded-properties): Add font-lock-face and category.
2562 (yank): Doc fix.
2563
9fba804b
SM
2564 * subr.el (remove-yank-excluded-properties):
2565 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
2566 and category is now done this way, instead of being hard-coded.
2567 (insert-for-yank-1): Remove font-lock-face handling.
2568 (yank-handle-font-lock-face-property)
2569 (yank-handle-category-property): New function.
2570
ee218151
GM
25712012-08-17 Glenn Morris <rgm@gnu.org>
2572
2573 * mail/rmailout.el (rmail-output-read-file-name):
2574 Check rmail-output-file-alist against the full message body
2575 in the correct rmail buffer. (Bug#12214)
2576
4a6bc3fd
MA
25772012-08-17 Michael Albinus <michael.albinus@gmx.de>
2578
9fba804b
SM
2579 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2580 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 2581
383dcbf9
CY
25822012-08-17 Chong Yidong <cyd@gnu.org>
2583
2584 * mouse.el (mouse-appearance-menu): If x-select-font returns a
2585 font spec, set the font directly (Bug#3228).
2586
998c4a6a
MR
25872012-08-17 Martin Rudalics <rudalics@gmx.at>
2588
2589 * window.el (delete-window): Fix last fix.
2590
52162052
MR
25912012-08-16 Martin Rudalics <rudalics@gmx.at>
2592
2593 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
2594 (window-child, window-child-count, window-last-child)
2595 (window-normalize-window, window-combined-p)
2596 (window-combinations, window-atom-root, window-min-size)
2597 (window-sizable, window-sizable-p, window-size-fixed-p)
2598 (window-min-delta, window-max-delta, window--resizable)
2599 (window--resizable-p, window-resizable, window-total-size)
2600 (window-full-height-p, window-full-width-p, window-body-size)
2601 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2602 (minimize-window, window-deletable-p, delete-window)
2603 (delete-other-windows, set-window-buffer-start-and-point)
2604 (next-buffer, previous-buffer, split-window, balance-windows-2)
2605 (set-window-text-height, window-buffer-height)
2606 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
2607 (truncated-partial-width-window-p): Minor code adjustments.
2608 In doc-strings state whether the argument window has to denote a
85c2386b 2609 live, valid or any window.
52162052 2610
1c308380
PS
26112012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
2612
2613 * progmodes/subword.el (subword-forward-function)
2614 (subword-backward-function, subword-forward-regexp)
2615 (subword-backward-regexp): New variables.
2616 (subword-forward, subword-forward-internal, subword-backward-internal):
2617 Use new variables, eg so that different "word" definitions
2618 can be easily used. (Bug#11411)
2619
94c9ece1
SM
26202012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2621
2622 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2623 for composite selectors.
2624 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2625 operation just because we can't find a previous revision.
2626
f2045622
CY
26272012-08-15 Chong Yidong <cyd@gnu.org>
2628
2629 * frame.el (set-frame-font): Accept font objects.
2630
582db660
SM
26312012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2632
2633 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2634
2f29c200
WJ
26352012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
2636
456e62c2
WJ
2637 * man.el (Man-overstrike-face, Man-underline-face)
2638 (Man-reverse-face): Remove variables.
2639 (Man-overstrike, Man-underline, Man-reverse): New faces.
2640 (Man-fontify-manpage): Use them instead of the variables.
2641 (Man-cleanup-manpage): Comment change.
2642 (Man-ansi-color-map): New variable.
2643 (Man-fontify-manpage): Use it.
2644 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
2645
2f29c200
WJ
2646 Implement ANSI SGR parameters 22-27 (bug#12146).
2647 * ansi-color.el (ansi-colors): Doc fix.
2648 (ansi-color-context, ansi-color-context-region): Doc fix.
2649 (ansi-color--find-face): New function.
2650 (ansi-color-apply, ansi-color-apply-on-region): Use it.
2651 Rename the local variable `face' to `codes' since it is now a list of
2652 ansi codes. Doc fix.
2653 (ansi-color-get-face): Remove.
2654 (ansi-color-parse-sequence): New function, derived from
2655 ansi-color-get-face.
2656 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
2657 codes 22-27.
2658
b4f5e9df
SM
26592012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
2660
2661 * subr.el (read-passwd): Allow use from a minibuffer.
2662
ba025fbd
EZ
26632012-08-14 Eli Zaretskii <eliz@gnu.org>
2664
2665 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
2666 inside comments and strings as identifiers.
2667
2668 * progmodes/gud.el (gud-tooltip-print-command): Quote the
2669 expression to evaluate. This allows to evaluate expressions with
2670 embedded whitespace.
2671 (gud-tooltip-tips): Add a blank before the newline in the
2672 message-box text, for the benefit of message-box emulation on
2673 MS-Windows.
2674
2675 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
2676 messages from GDB, pop them up in a tooltip to give feedback to
2677 user.
b4f5e9df
SM
2678 (gdb-tooltip-print-1): Quote the expression to evaluate.
2679 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
2680 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
2681 if the TTY name is nil or empty (which happens when communicating
2682 with the inferior via pipes, e.g. on MS-Windows).
2683 (gdb-internals): If GDB sends a "&\n" empty debugging message,
2684 don't send that to the GUD buffer.
2685
c548f821
GM
26862012-08-14 Glenn Morris <rgm@gnu.org>
2687
2688 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
2689 Optimize away setq-default with no args, as for setq. (Bug#12195)
2690
55802e4a
CY
26912012-08-14 Chong Yidong <cyd@gnu.org>
2692
4abcdac8
CY
2693 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
2694
55802e4a
CY
2695 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
2696 (Bug#12085).
2697
3c3cda1a
GM
26982012-08-14 Glenn Morris <rgm@gnu.org>
2699
2700 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
2701
e1873bd0
MA
27022012-08-14 Michael Albinus <michael.albinus@gmx.de>
2703
2704 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
2705 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2706 Use cached shell name.
2707
925411b4
FEG
27082012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2709
2710 * progmodes/python.el (python-shell-send-string):
3c3cda1a 2711 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 2712
e636fafe
DG
27132012-08-14 Dmitry Gutov <dgutov@yandex.ru>
2714
2715 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
2716 (ruby-percent-literal-beg-re): New constant.
2717 (ruby-syntax-general-delimiters-goto-beg): Rename to
2718 `ruby-syntax-enclosing-percent-literal', improve literal type check.
2719 (ruby-syntax-propertize-general-delimiters): Rename to
2720 `ruby-syntax-propertize-percent-literal', it's a shorter and more
2721 popular term. Adjust comments everywhere.
2722 (ruby-syntax-propertize-percent-literal): Only propertize when not
2723 inside a simple string or comment. When the literal is unclosed,
2724 leave the text after it unpropertized.
f063063a
DG
2725 (ruby-syntax-methods-before-regexp): New constant.
2726 (ruby-syntax-propertize-function): Use it to recognize regexps.
2727 Don't look at the text after regexp, just use the whitelist.
e636fafe 2728
e5b19827
AS
27292012-08-14 Andreas Schwab <schwab@linux-m68k.org>
2730
2731 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
2732 non-nil always load the compiled file if it exists. (Bug#12197)
2733
a9f6f311
CY
27342012-08-14 Chong Yidong <cyd@gnu.org>
2735
2736 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
2737 (hi-lock-set-pattern): When deciding whether to use font lock or
2738 overlays, look at font-lock-mode instead of font-lock-fontified
2739 (Bug#12168).
2740 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
2741 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
2742
7d806b1e
DU
27432012-08-14 Daiki Ueno <ueno@unixuser.org>
2744
2745 * subr.el (internal--after-with-selected-window): Fix typo
2746 (Bug#12193).
2747
5beed586
FEG
27482012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2749
2750 Use `completion-table-dynamic' for completion functions.
2751 * progmodes/python.el
2752 (python-shell-completion--do-completion-at-point)
e636fafe
DG
2753 (python-shell-completion--get-completions):
2754 Remove functions.
5beed586
FEG
2755 (python-shell-completion-complete-at-point): New function.
2756 (python-completion-complete-at-point): Use it.
2757
92cb3b04
J
27582012-08-13 Jambunathan K <kjambunathan@gmail.com>
2759
2760 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
2761 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
2762
89660017
SM
27632012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2764
3c98c962
SM
2765 * subr.el (function-get): Refine `autoload' arg so it can also
2766 autoload functions for gv.el (bug#12191).
2767 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
2768 autoloads macros.
2769
aa7c6dbe
SM
2770 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
2771 Prefer pcase-let over destructuring-bind.
2772 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
2773 Also, remove whitespace as we go, rather than after accumulating the
2774 various places.
2775
89660017
SM
2776 * subr.el (internal--before-with-selected-window)
2777 (internal--after-with-selected-window): Fix typo seleted->selected.
2778 (with-selected-window): Adjust callers.
2779 Reported by Dmitry Gutov <dgutov@yandex.ru>.
2780
31cd32c9
BG
27812012-08-13 Bastien Guerry <bzg@gnu.org>
2782
0fcd3d9f 2783 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
2784 enhancement. (Bug#12172)
2785
1b15d8ad
AS
27862012-08-13 Andreas Schwab <schwab@linux-m68k.org>
2787
31e54db0
AS
2788 * tar-mode.el (tar-header-data-end): Only ignore size for files of
2789 type 1-6.
2790 (tar-header-block-summarize, tar-get-descriptor): Handle pax
2791 extended headers.
2792
1b15d8ad
AS
2793 * files.el (hack-local-variables-filter): Remove useless eval.
2794
35cb9c06
MR
27952012-08-13 Martin Rudalics <rudalics@gmx.at>
2796
2797 * subr.el (with-selected-window): Fix last change.
2798
1439443b
SM
27992012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2800
2801 * subr.el (internal--before-with-seleted-window)
2802 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
2803 (with-selected-window): Use them, to replace dependency on
2804 tty-top-frame.
1439443b 2805
0d9e2599
NN
28062012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
2807
2808 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
2809 binding for `newline'.
2810 (ruby-move-to-block): When moving backward, stop at block opening,
2811 not indentation.
2812 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
2813 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
2814 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2815 `ruby-toggle-block'.
2816
ba10c48c
SM
28172012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2818
2819 * ibuffer.el (ibuffer-do-toggle-read-only):
2820 * dired.el (dired-toggle-read-only):
2821 * buff-menu.el (Buffer-menu-toggle-read-only):
2822 * bindings.el (mode-line-toggle-read-only):
2823 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
2824
9229c658
AS
28252012-08-12 Andreas Schwab <schwab@linux-m68k.org>
2826
2827 * descr-text.el (describe-char): Put the overlays over the
2828 "displayed as" character.
2829
0fd09128
JB
28302012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
2831
2832 * calc/calc-units.el (math-default-units-table): Give an
2833 initial value.
2834 (math-put-default-units): Add options to put composite units and
2835 unit systems in the default units table.
2836 (calc-convert-units): Send composite units to
2837 `math-put-default-units' when appropriate.
2838
9ff9402d 28392012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 2840
fbb5e336
GM
2841 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
2842
7aacaf15
GM
2843 * tutorial.el (help-with-tutorial):
2844 * emacs-lisp/copyright.el (copyright-update-directory):
2845 * emacs-lisp/autoload.el (autoload-find-generated-file)
2846 (autoload-find-file): Disable local eval: (for insurance).
2847
f40b9f10
GM
2848 * files.el (hack-local-variables-filter): If an eval: form is not
2849 known to be safe, and enable-local-variables is :safe, then ignore
2850 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 2851 This is CVE-2012-3479.
f40b9f10 2852
daa9f1a6
SM
28532012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2854
2855 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
2856 (rx-form): Simplify.
2857
9cd80478
DG
28582012-08-09 Dmitry Gutov <dgutov@yandex.ru>
2859
0d9e2599
NN
2860 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
2861 ?, _, and : are symbol constituents, ! is not (but kinda should be).
2862 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
2863 (ruby-syntax-propertize-function): Adjust for changes in
2864 `ruby-syntax-propertize-heredoc'.
2865
28662012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
2867
9cd80478
DG
2868 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
2869 binding (use `M-;' instead).
9cd80478 2870 (ruby-singleton-class-p): New function.
0d9e2599 2871 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 2872
d301b413
SM
28732012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2874
2875 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
2876
1530c98e
CY
28772012-08-10 Chong Yidong <cyd@gnu.org>
2878
2879 * progmodes/python.el (python-shell-get-process-name): Don't mess
2880 with same-window-buffer-names.
2881
2882 * eshell/eshell.el (eshell-add-to-window-buffer-names)
2883 (eshell-remove-from-window-buffer-names): Make obsolete.
2884 (eshell-buffer-name, eshell-unload-hook): Don't use them.
2885 (eshell): Just use pop-to-buffer-same-window instead.
2886
e1293765
CY
28872012-08-10 Chong Yidong <cyd@gnu.org>
2888
2889 * bindings.el: Bind M-= back to count-words-region.
2890
2891 * simple.el (count-words-region): Accept a prefix arg for acting
2892 on the entire buffer.
2893 (count-words--buffer-message): New helper function.
2894
e1894109
SM
28952012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2896
2897 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
2898 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
2899 (event-start, event-end): Use posn-at-point to return a more
2900 informative posn.
2901 (posnp): New function.
2902 * mouse.el (popup-menu-normalize-position): Use it.
2903
c69f56a2
MY
29042012-08-10 Masatake YAMATO <yamato@redhat.com>
2905
2906 * mouse.el (popup-menu-normalize-position): New function.
2907 (popup-menu): Use `popup-menu-normalize-position' to normalize
2908 the form for POSITION argument.
2909
2910 * term/x-win.el (x-menu-bar-open):
2911 Use the value returend from (posn-at-point) as position
2912 passed to `popup-menu'.
2913
31673780
JB
29142012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2915
2916 * calc/calccomp.el (math-compose-expr): Add extra argument
2917 indicating that parentheses should be put around products in
2918 denominators. Give multiplication precedence over division during
2919 composition.
2920
dab7711b
CY
29212012-08-09 Chong Yidong <cyd@gnu.org>
2922
dee4ef93
CY
2923 * man.el (Man-switches, Man-sed-command, Man-awk-command)
2924 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
2925 (Man-untabify-command, manual-program): Convert to defcustom
2926 (Bug#10429).
2927
73e2bbc5
CY
2928 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
2929
3e861c8a
CY
2930 * descr-text.el (describe-char): Don't insert extra newlines
2931 (Bug#10127).
2932
a9f5a649
CY
2933 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
2934 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
2935
dab7711b
CY
2936 * align.el (align-region): Delete temporary markers (Bug#10047).
2937 Plus some code cleanups.
2938
e0cc4efa
FEG
29392012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2940
2941 * progmodes/python.el (python-pdbtrack-tracked-buffer)
2942 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
2943 (python-shell-internal-last-output): Use make-local-variable
2944 instead of make-variable-buffer-local.
2945
489af14f
FEG
29462012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2947
2948 * progmodes/python.el: Enhancements to forward-sexp.
2949 (python-nav-forward-sexp): Rename from
2950 python-nav-forward-sexp-function.
c69f56a2
MY
2951 (python-nav--forward-sexp, python-nav--backward-sexp):
2952 New functions.
489af14f 2953
0fc50303
JB
29542012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2955
2956 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
2957 modes and simplification modes.
2958
5d65606a
SM
29592012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2960
2961 * delsel.el (delete-selection-pre-hook): Don't propagate the
2962 file-supersession signals (bug#12161).
2963
4250fdf5
SM
29642012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2965
2966 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
2967 (cl-map-extents): Add compatibility aliases (bug#12135).
2968
d9f9b465
MA
29692012-08-08 Michael Albinus <michael.albinus@gmx.de>
2970
2971 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
2972 tests by `ignore-error'.
2973 (tramp-find-shell): Open also a new shell, when cache is already
2974 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
2975
ce0fcefa
JL
29762012-08-08 Juri Linkov <juri@jurta.org>
2977
2978 * bookmark.el: Add `defaults' property to the bookmark record.
2979 (bookmark-current-buffer): Doc fix.
2980 (bookmark-make-record): Add `defaults' property with default values
2981 to the bookmark record.
2982 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
2983 with `bookmark-insert-current-bookmark'.
2984 (bookmark-set): Get `defaults' property from the bookmark record
2985 and use it in `read-from-minibuffer'.
2986 (bookmark-insert-current-bookmark): Remove function.
2987
2988 * info.el (Info-bookmark-make-record): Add `defaults' property
2989 with values of canonical Info node name, the current Info file
2990 name and the current Info node name. (Bug#12107)
2991
53fa8652
JL
29922012-08-08 Juri Linkov <juri@jurta.org>
2993
2994 * files.el (basic-save-buffer): Use `buffer-name' as the default
2995 of `read-file-name' when buffer is not visiting a file (bug#12128).
2996
242c0a95
JL
29972012-08-08 Juri Linkov <juri@jurta.org>
2998
2999 * info.el (Info-isearch-search): Doc fix.
3000 (Info-search): Change search-failed message from "initial node" to
3001 "end of node" (bug#12078).
3002 (Info-isearch-search): Change `isearch-string-state' to
3003 `isearch--state-string'.
3004
32ac3a6b
GM
30052012-08-08 Glenn Morris <rgm@gnu.org>
3006
3007 * language/persian.el: Remove file.
f8c1afd5 3008 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
3009 * loadup.el: Remove language/persian.
3010
2c2d9c9c
OF
30112012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3012
3013 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3014
2d79ec42
FEG
30152012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3016
3017 * progmodes/python.el Fixed defsubst warning.
3018 (python-syntax-context) Rename from python-info-ppss-context.
3019 (python-syntax-context-type): Rename from
3020 python-info-ppss-context-type.
3021 (python-syntax-comment-or-string-p): Rename from
3022 python-info-ppss-comment-or-string-p.
3023
2bd255dd
JB
30242012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3025
3026 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3027
c395097f
AS
30282012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3029
6125983e
AS
3030 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3031 a defcustom that is quoted with backquote.
3032
4250fdf5
SM
3033 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3034 Fix handling of interactive spec when the body uses return.
651eaf36
AS
3035 (math-do-arg-check, math-define-function-body): Use backquote forms.
3036 * calc/calc-ext.el (math-defcache): Likewise.
3037 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3038 * allout.el (allout-new-exposure): Likewise.
3039 * calc/calcalg2.el (math-tracing-integral): Likewise.
3040 * info.el (Info-last-menu-item): Likewise.
3041 * emulation/vip.el (vip-loop): Likewise.
3042 * textmodes/artist.el (artist-funcall): Likewise.
3043 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3044 Construct menu-item directly.
3045
4250fdf5
SM
3046 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3047 Don't declare.
c395097f 3048
5fb50dd3
CY
30492012-08-07 Chong Yidong <cyd@gnu.org>
3050
3051 * simple.el (deactivate-mark): Preserve text properties when
3052 saving the primary selection (Bug#8384).
3053
54eea618
KR
30542012-08-07 Kevin Ryde <user42@zip.com.au>
3055
3056 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3057 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3058 and continue processing (Bug#12110).
3059
638eaeb9
SM
30602012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3061
3062 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3063 syntax-propertize-function (bug#10095).
3064
ea376861
SM
30652012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3066
f91b35be
SM
3067 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3068 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3069 describe-function-1.
3070 (describe-function-1): Use them. Move compiler macro after sig.
3071 (help-fns--compiler-macro): Use function-get. Assume we're already in
3072 standard-output. Adjust layout to new call order.
3073
ea376861
SM
3074 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3075 re-binding a symbol that has a symbol-macro (bug#12119).
3076
d5be7bd0
MB
30772012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3078
3079 * language/persian.el: New file. (Bug#11812)
3080 * loadup.el: Add language/persian.el.
3081
90749b53
CY
30822012-08-06 Chong Yidong <cyd@gnu.org>
3083
3084 * window.el (window--maybe-raise-frame): New function.
3085 (window--display-buffer): Split off from here.
3086 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3087 (display-buffer-pop-up-window, display-buffer-use-some-window):
3088 Obey an inhibit-switch-frame action alist entry.
3089 (display-buffer): Update doc.
3090
3091 * replace.el (occur-after-change-function): Avoid losing focus by
3092 using the inhibit-switch-frame display parameter (Bug#12139).
3093
ba7b0154
FEG
30942012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3095
3096 Make internal shell process buffer names start with space.
3097 * progmodes/python.el (python-shell-make-comint): Add optional
3098 argument INTERNAL.
3099 (run-python-internal): Use it.
3100 (python-shell-internal-get-or-create-process): Check for new
3101 internal buffer names.
3102
5eaeacb5
GM
31032012-08-06 Glenn Morris <rgm@gnu.org>
3104
e296d94b 3105 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
3106 Do less getting and setting of environment variables.
3107
b7ccbdc2
CY
31082012-08-05 Chong Yidong <cyd@gnu.org>
3109
777fe95e
CY
3110 * proced.el (proced): Add substitution string to docstring to
3111 trigger autoloading of the proced library on C-h f (Bug#1768).
3112
4250fdf5
SM
3113 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3114 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
3115
3116 * imenu.el (imenu-generic-expression): Move documentation here
3117 from imenu--generic-function.
3118 (imenu--generic-function): Refer to imenu-generic-expression.
3119
9e3b7800 31202012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
3121
3122 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3123 indentation declaration.
3124 (viper-loop): Add indentation declaration (Bug#7025).
3125
e5d9c0d1
CY
31262012-08-05 Chong Yidong <cyd@gnu.org>
3127
f0422feb
CY
3128 * help-fns.el (describe-variable): Add hyperlink for
3129 directory-local variables files. Improve buffer-local and
3130 permanent-local reporting; suggested by MON KEY (Bug#6644).
3131
3132 * help-mode.el (help-dir-local-var-def): New button type.
3133
e5d9c0d1
CY
3134 * files.el (kill-buffer-hook): Provide a defvar.
3135
a4f2deaa
GM
31362012-08-05 Glenn Morris <rgm@gnu.org>
3137
3138 * eshell/esh-ext.el (eshell/addpath):
3139 Also update eshell-path-env. (Bug#12013)
3140
a9dd5754
CY
31412012-08-05 Chong Yidong <cyd@gnu.org>
3142
a4f2deaa 3143 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 3144
d014c740
CY
3145 * fringe.el (fringe-styles): Add docstring.
3146 (fringe--check-mode): New function.
3147 (set-fringe-mode, set-fringe-style): Use it.
3148 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3149
a9dd5754
CY
3150 * files.el (set-auto-mode): Fix invalid setq call.
3151
7c2dc8bd
SM
31522012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3153
3154 * isearch.el: Misc simplification; use defstruct.
3155 (isearch-mode-map): Dense maps now work like sparse ones.
3156 (isearch--state): New defstruct.
3157 (isearch-string-state, isearch-message-state, isearch-point-state)
3158 (isearch-success-state, isearch-forward-state)
3159 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3160 (isearch-wrapped-state, isearch-barrier-state)
3161 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3162 replaced by defstruct's accessors.
3163 (isearch--set-state): Rename from isearch-top-state and change
3164 calling convention.
3165 (isearch-push-state): Use new isearch--get-state.
3166 (isearch-toggle-word): Disable regexp when enabling word.
3167 (isearch-message-prefix): Remove unused arg _c-q-hack.
3168 (isearch-message-suffix): Remove unused arg _ellipsis.
3169
7fcc0070
AS
31702012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3171
3172 * simple.el (list-processes--refresh): For a server use :host or
3173 :local as the address.
97ad0769 3174 (list-processes): Doc fix.
7fcc0070 3175
a11035b8 31762012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
3177
3178 * lisp/mpc.el: Support password in host argument.
3179 (mpc--proc-connect): Parse and use new password element.
3180 Set mpc-proc variable instead of returning process.
3181 (mpc-proc): Adjust accordingly.
3182
6dad7178
EZ
31832012-08-03 Eli Zaretskii <eliz@gnu.org>
3184
18949c2f
EZ
3185 * whitespace.el (whitespace-display-mappings): Use Unicode
3186 codepoints, instead of emacs-mule codepoints. See
3187 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3188 for the details.
3189
6dad7178
EZ
3190 * files.el (file-truename): Don't skip symlink-chasing part on
3191 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
3192 Windows into the loop that recursively chases symlinks.
3193 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
3194 MS-DOS.
3195
385b0198
CY
31962012-08-03 Chong Yidong <cyd@gnu.org>
3197
6200f3c4
CY
3198 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3199
385b0198
CY
3200 * sort.el (sort-regexp-fields): Doc fix.
3201
b9e74744
TH
32022012-08-03 Tassilo Horn <tsdh@gnu.org>
3203
3204 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3205 labels regex position point at the expected place.
3206
41013cb4
MK
32072012-08-03 MON KEY <monkey@sandpframing.com>
3208
3209 * net/imap.el (imap-interactive-login, imap-authenticate)
3210 (imap-mailbox-lsub, imap-mailbox-list)
3211 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3212 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3213 (imap-parse-response): Doc fix.
3214
0ffee616
JT
32152012-08-03 João Távora <joaotavora@gmail.com>
3216
3217 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3218 if sexp scanning does not move point (Bug#5734).
3219
cfcc9cc8
TH
32202012-08-02 Tassilo Horn <tsdh@gnu.org>
3221
3222 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3223 Add listings, minted, and ctable packages.
3224 (reftex-label-alist-builtin): Move listings, minted, and ctable
3225 entries before LaTeX.
a01bbb84 3226 (reftex-label-alist): Docfix.
cfcc9cc8 3227
66ec2442
BG
32282012-08-02 Bastien Guerry <bzg@gnu.org>
3229
3230 * replace.el (occur): Fix docstring (bug#12122).
3231
837b365b
GM
32322012-08-02 Glenn Morris <rgm@gnu.org>
3233
3234 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3235
e098de97
PE
32362012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3237
3238 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3239 * international/mule-cmds.el: Create
3240 inactivate-current-input-method-function as an obsolete alias for
3241 deactivate-current-input-method-function. See Katsumi Yamaoka in
3242 <http://bugs.gnu.org/10150#46>.
3243
a0f95636
JB
32442012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3245
3246 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3247 of nested `if's.
3248
0d26d7c4
GM
32492012-08-01 Glenn Morris <rgm@gnu.org>
3250
3251 * progmodes/autoconf.el (autoconf-definition-regexp):
3252 Add AH_TEMPLATE, adjust submatch numbering.
3253 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3254 (autoconf-current-defun-function): Update for above change.
3255 (autoconf-current-defun-function): First skip to end of current word.
3256
b686ba06
RS
32572012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3258
3259 * calendar/cal-html.el (cal-html-insert-agenda-days):
3260 Fix typo. (Bug#12018)
3261
0d49da68
FEG
32622012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3263
3264 Shell processes: enhancements to startup and CEDET compatibility.
3265 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3266 (python-shell-make-comint): accept-process-output at startup.
3267 (run-python-internal): Set inferior-python-mode-hook to nil.
3268 (python-shell-internal-get-or-create-process): call sit-for.
3269 (python-preoutput-result): Add obsolete alias.
3270 (python-shell-internal-send-string): Use it.
3271 (python-shell-send-setup-code): Remove call to
3272 accept-process-output.
3273
f1a71c6e
AS
32742012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3275
3276 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3277 (Bug#12108)
3278
d2605269
JB
32792012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3280
3281 * calc-mode.el (calc-basic-simplification-mode): Rename from
3282 `calc-limited-simplification-mode'.
3283 (calc-alg-simplification-mode): New function.
fc0c31f8 3284 (calc-set-simplify-mode): Adjust message.
f1a71c6e 3285
d2605269
JB
3286 * calc.el (calc-set-mode-line): Adjust mode line display for
3287 basic simplification mode.
3288
3289 * calc-help.el (calc-m-prefix-help): Update help message.
3290
3291 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3292 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3293
a3827a43
BG
32942012-07-31 Bastien Guerry <bzg@gnu.org>
3295
3296 * man.el (man): Fix comment. (bug#12101)
3297
502e3f89
MR
32982012-07-31 Martin Rudalics <rudalics@gmx.at>
3299
3300 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3301 Don't return a non-nil value when no suitable buffer was found.
3302
d7714961
FEG
33032012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3304
3305 * progmodes/python.el (run-python-internal): Disable font lock for
3306 internal shells.
3307
1f45e27e
SM
33082012-07-30 Stefan Merten <smerten@oekonux.de>
3309
70efc5c9 3310 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
3311 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3312 (rst-official-version, rst-official-cvs-rev)
3313 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3314 (rst-mode-map): New key binding.
3315
0aee6912
PE
33162012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3317
3318 Update .PHONY listings in makefiles.
3319 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3320 autoloads, update-subdirs, updates, bzr-update, update-authors,
3321 compile-onefile, compile-calc, backup-compiled-files,
3322 compile-after-backup, compile-one-process, mh-autoloads,
3323 bootstrap-clean, distclean, maintainer-clean.
3324
9052f9f0
JB
33252012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3326
1823ac5a
JB
3327 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3328 (calc-set-mode-line): Don't display "AlgSimp ".
3329
3330 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3331 (calc-lim-simplify-mode): New function.
3332 (calc-set-simplify-mode): Default to 'alg.
3333 (calc-default-simplify-mode): Make algebraic simplifications
3334 the default.
3335
3336 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3337 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3338
8d7c7eed 3339 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
3340 indicate new simplification modes.
3341
1823ac5a
JB
3342 * calc/README: Mention new default simplification mode.
3343
9052f9f0
JB
3344 * calc/calc.el (math-normalize-error): New variable.
3345 (math-normalize): Set `math-normalize-error' to t
3346 when there's an error.
3347
3348 * calc/calc-alg.el (math-simplify): Don't simplify when
3349 `math-normalize' returns an error.
3350
20ba0cb4
EZ
33512012-07-29 Eli Zaretskii <eliz@gnu.org>
3352
3353 * international/mule-cmds.el (set-locale-environment): Revert last
3354 change, since display-graphic-p returns nil when this function is
3355 called during startup. Instead...
3356
3357 * term/w32console.el (terminal-init-w32console): ...setup the
3358 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3359
a5dcc929
JL
33602012-07-29 Juri Linkov <juri@jurta.org>
3361
3362 * simple.el (goto-line): Don't display default line number in the
3363 prompt because it should be displayed by `read-number' (bug#9952).
3364 Add the current line number to the defaults of `goto-line' to
3365 allow its easier modification by users with `M-n' (bug#9201).
3366
3367 * subr.el (read-number): Support multiple default values like in
3368 other minibuffer reading functions. Replace `read' with
3369 `string-to-number' for consistency with `number-to-string'.
3370
72b255c7
PE
33712012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3372
3373 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3374 * emulation/viper-init.el (viper-deactivate-input-method-action):
3375 Rename from viper-inactivate-input-method-action.
3376 (viper-deactivate-input-method):
3377 Rename from viper-inactivate-input-method.
3378 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3379 * international/mule-cmds.el (deactivate-input-method):
3380 Rename from inactivate-input-method.
3381 Also run input-method-deactivate-hook.
3382 (deactivate-current-input-method-function):
3383 Rename from inactivate-current-input-method-function.
3384 (input-method-deactivate-hook): New hook.
3385 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
3386 (inactivate-input-method): Mark obsolete.
3387
72b255c7
PE
3388 * international/quail.el (quail-activate):
3389 Also run quail-deactivate-hook.
3390 (quail-deactivate): Rename from quail-inactivate.
3391 * international/robin.el (robin-activate):
3392 Also run robin-deactivate-hook.
3393 (robin-deactivate): Rename from robin-inactivate.
3394
2549c068
CY
33952012-07-29 Chong Yidong <cyd@gnu.org>
3396
3397 * simple.el (indicate-copied-region): New function.
3398 (kill-ring-save): Split off from here.
3399
3400 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3401 (kill-rectangle): Set deactivate-mark to t on read-only error.
3402
3403 * register.el (copy-to-register, copy-rectangle-to-register):
3404 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
3405 (append-to-register, prepend-to-register): Call indicate-copied-region.
3406
34072012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
3408
3409 * simple.el (async-shell-command-buffer): New defcustom.
3410 (shell-command): Use it. (Bug#4719)
3411
01bd1b0d
EZ
34122012-07-28 Eli Zaretskii <eliz@gnu.org>
3413
3414 * international/mule-cmds.el (set-locale-environment): In a
3415 console session on MS-Windows, set up keyboard and terminal
3416 encoding from the OEM codepage, not the ANSI codepage.
3417 (Bug#12055)
3418
a55739d3
CY
34192012-07-28 Chong Yidong <cyd@gnu.org>
3420
3421 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3422 gdb-get-location.
3423
0e1a094f 34242012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
3425
3426 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3427 the alist (bug#12029).
3428
20329d73
EZ
34292012-07-28 Eli Zaretskii <eliz@gnu.org>
3430
3431 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3432 (compile-always, compile-first)
3433 ($(lisp)/calendar/cal-loaddefs.el)
3434 ($(lisp)/calendar/diary-loaddefs.el)
3435 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3436 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3437 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3438 instead of on update-subdirs.
3439 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3440
345a2258
CY
34412012-07-28 Chong Yidong <cyd@gnu.org>
3442
1eee6341
CY
3443 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3444 directory if vc-deduce-backend returns nil (Bug#7350).
3445
345a2258
CY
3446 * simple.el (delete-trailing-lines): New option.
3447 (delete-trailing-whitespace): Obey it (Bug#11879).
3448
049a0936
DE
34492012-07-28 David Engster <deng@randomsample.de>
3450
3451 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3452 Explanation of new 'symbol-qnames feature in doc-strings.
3453 (xml-maybe-do-ns): Return expanded names as plain symbols if
3454 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3455 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3456
aa81af71
FEG
34572012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3458
3459 Consistent completion in inferior python with emacs -nw.
3460 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3461 binding in inferior-python-mode-map with "\t".
3462 (python-shell-completion-complete-at-point)
3463 (python-completion-complete-at-point): Remove interactive spec.
3464
e827b1eb
JB
34652012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3466
3467 * calc/calccomp.el (math-compose-expr): Undo previous change.
3468
a90dfb95
FEG
34692012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3470
4250fdf5 3471 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
3472 run-python.
3473 (python-shell-make-comint): Fix pop-to-buffer call.
3474 (run-python): Autoload. New arg SHOW.
3475 (python-shell-get-or-create-process): Do not pop python process
3476 buffer.
3477
32770973 34782012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
3479
3480 * notifications.el (notifications-on-action-signal)
3481 (notifications-on-closed-signal): Use also the bus address for the map.
3482 (notifications-notify, notifications-close-notification)
fc0c31f8 3483 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 3484
86332df2
TH
34852012-07-27 Tassilo Horn <tsdh@gnu.org>
3486
4250fdf5
SM
3487 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3488 Add support for the lstlisting and minted environments, and for the
86332df2
TH
3489 ctable macro.
3490 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3491 labels written in keyvals syntax.
3492
ca1302a4
JB
34932012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3494
3495 * calc/calccomp.el (math-compose-expr): Use parentheses when
3496 there is a product in the denominator of a fraction.
3497
f8b91036
EZ
34982012-07-26 Eli Zaretskii <eliz@gnu.org>
3499
3500 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3501 ($(lisp)/calendar/diary-loaddefs.el)
3502 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
3503 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3504 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
3505 rewritten while the autoload files are built at the same time,
3506 which needs to load subdirs.el.
3507
c8e5a42c
MR
35082012-07-26 Martin Rudalics <rudalics@gmx.at>
3509
3510 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3511 (mouse-drag-line): Don't exit tracking when a switch-frame or
3512 switch-window event occurs (Bug#12006).
3513
670d85ea
SM
35142012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3515
3516 * mouse.el (popup-menu): Fix last change.
3517
7abaf5cc
SM
35182012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3519
3520 Autoload from Lisp with more care. Follow aliases when looking for
3521 function properties.
3522 * subr.el (autoloadp): New function.
3523 (symbol-file): Use it.
3524 (function-get): New function.
3525 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3526 autoload-do-load.
3527 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3528 (lisp-indent-function):
3529 * emacs-lisp/gv.el (gv-get):
3530 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3531 * emacs-lisp/byte-opt.el (byte-optimize-form):
3532 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3533 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3534 Use function-get.
3535 * emacs-lisp/cl.el: Don't propagate function properties any more.
3536
3537 * speedbar.el (speedbar-add-localized-speedbar-support):
3538 * emacs-lisp/disass.el (disassemble-internal):
3539 * desktop.el (desktop-load-file):
3540 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3541 (describe-function-1):
3542 * emacs-lisp/find-func.el (find-function-noselect):
3543 * emacs-lisp/elp.el (elp-instrument-function):
3544 * emacs-lisp/advice.el (ad-has-proper-definition):
3545 * apropos.el (apropos-safe-documentation, apropos-macrop):
3546 * emacs-lisp/debug.el (debug-on-entry):
3547 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3548 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3549 * calc/calc.el (name): Use autoloadp & autoload-do-load.
3550
b1364986
AA
35512012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
3552
3553 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3554 function, not an obsolete variable (Bug#12046).
3555
67ada220
AS
35562012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3557
3558 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
3559
f08088e3
CS
35602012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
3561
3562 * emacs-lisp/pp.el (pp-display-expression): Select old selected
3563 window only if it is still live (Bug#12034).
3564
8137e7b3
MR
35652012-07-25 Martin Rudalics <rudalics@gmx.at>
3566
3567 * subr.el (redirect-frame-focus): Add advertised calling
3568 convention (Bug#12030).
3569
09ae5da1
PE
35702012-07-25 Paul Eggert <eggert@cs.ucla.edu>
3571
3572 Prefer typical American spelling for "acknowledgment".
3573 * vc/add-log.el (change-log-acknowledgment): Rename from
3574 change-log-acknowledgement, with an alias for the old name.
3575
3cc5a3a8
JB
35762012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
3577
3578 * calc-alg.el (math-simplify-divide): Don't cross multiply
3579 in an equation when the lhs is a variable.
3580
b7af7f62
JD
35812012-07-24 Julien Danjou <julien@danjou.info>
3582
3583 * net/netrc.el (netrc-find-service-number, netrc-store-data):
3584 Remove, unused.
3585
ec1b09b1
EZ
35862012-07-23 Eli Zaretskii <eliz@gnu.org>
3587
3588 * startup.el (command-line): Don't display an empty user name in
3589 the error message about non-existent home directory, when
3590 init-file-user was set to an empty string. See
3591 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3592 for the details and context.
3593
b525fd8a
VB
35942012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
3595
3596 * ses.el (ses-cell-formula-aset): New macro.
3597 (ses-cell-references-aset): New macro.
3598 (ses-cell-p): New function.
3599 (ses-rename-cell): Do no longer rely on complex operations like
3600 ses-cell-set-formula or ses-set-cell to change the cell and handle
3601 the undo at the same time, but rather use lower level new macros
3602 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 3603 the undo directly. Refresh the mode line.
b525fd8a 3604
2c73e345
LL
36052012-07-21 Leo Liu <sdl.web@gmail.com>
3606
670d85ea
SM
3607 * progmodes/cc-cmds.el (c-defun-name):
3608 Use match-string-no-properties instead for consistency.
2c73e345 3609
542dfbde
LL
36102012-07-20 Leo Liu <sdl.web@gmail.com>
3611
3646bcd6
LL
3612 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3613 (Bug#7879)
3614
542dfbde
LL
3615 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3616
25721031
CY
36172012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3618
3619 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3620 * progmodes/bug-reference.el, misearch.el: Provide themselves
3621 (bug#11915).
3622
3623 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3624 of narrowed buffer (bug#11966).
3625
316e68a7
VB
36262012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
3627
3628 * ses.el (ses-rename-cell): Set new name also in reference list of
3629 cells of which the renamed cell depends.
3630
bbf0e7d9
MY
36312012-07-20 Masatake YAMATO <yamato@redhat.com>
3632
3633 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3634 to check whether menu-bar is shown or not. If not shown,
3635 show the menu-bar as a popup menu instead of using tmm.
3636 * mouse.el (popup-menu): Accept `point' as `position' argument.
3637
c28662a8
DG
36382012-07-20 Dmitry Gutov <dgutov@yandex.ru>
3639
3640 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
3641 up inside string symbol literal (bug#11923).
3642
87ab808f
EZ
36432012-07-20 Eli Zaretskii <eliz@gnu.org>
3644
3645 * startup.el (fancy-startup-text): Read the whole tutorial, not
3646 just its first 256 bytes. Prevents gibberish in display of the
3647 tutorial title.
3648
89dea803
DA
36492012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
3650
3651 Drop idle buffer compaction due to an absence of the
3652 proved efficiency.
3653 * compact.el: Remove.
3654
8a4e6db8
SS
36552012-07-19 Sam Steingold <sds@gnu.org>
3656
3657 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
3658 vc-bzr-pull & vc-bzr-merge-branch.
3659 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
3660 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
3661 for consistency with compilation-error-regexp-alist.
3662 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
3663 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
3664 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
3665 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
3666
5db81e33
SM
36672012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3668
3669 * emacs-lisp/chart.el: Use lexical-binding.
3670 (chart-emacs-storage): Don't hardcode the list of entries.
3671
5b835e1d
DA
36722012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3673
3674 Next round of tweaks caused by Fgarbage_collect changes.
3675 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
3676
9cd47b72
DA
36772012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3678
3679 Compact buffers when idle.
3680 * compact.el: New file.
3681
1d6fc0df
SM
36822012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3683
3684 * subr.el (eventp): Presume that if it looks vaguely like an event,
3685 it's an event (bug#10190).
3686
1d29cc7d
FEG
36872012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
3688
3689 Enhancements to ppss related code (thanks Stefan).
3690 * progmodes/python.el (python-indent-context)
3691 (python-indent-calculate-indentation, python-indent-dedent-line)
3692 (python-indent-electric-colon, python-nav-forward-block)
3693 (python-mode-abbrev-table)
1d6fc0df 3694 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
3695 for ppss context.
3696 (python-info-continuation-line-p): Cleanup.
3697 (python-info-ppss-context): Do not catch 'quote.
3698 (python-info-ppss-context-type)
3699 (python-info-ppss-comment-or-string-p): Simplify.
3700
d583cbe6
FEG
37012012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
3702
3703 * progmodes/python.el: Enhancements to eldoc support.
3704 (python-info-current-symbol): New function.
3705 (python-eldoc-at-point): Use python-info-current-symbol.
3706 (python-info-current-defun): Fix cornercase on first defun scan.
3707 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
3708 and signal error when no inferior python process is available.
3709
eceb6feb
DG
37102012-07-18 Dmitry Gutov <dgutov@yandex.ru>
3711
3712 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
3713 assume it's always t.
3714 (vc-git-registered): Remove caching, the function is only called
3715 once.
3716 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
3717
4c8ff0fe
CY
37182012-07-18 Chong Yidong <cyd@gnu.org>
3719
19fb7186
CY
3720 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
3721
9587c688
CY
3722 * simple.el (count-words): Report on narrowing (Bug#9959).
3723
0fe776a1
CY
3724 * bindings.el: Bind M-= to count-words.
3725
4c8ff0fe
CY
3726 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
3727
7f5331cc
MY
37282012-07-18 Masatake YAMATO <yamato@redhat.com>
3729
3730 * progmodes/sh-script.el (sh-imenu-generic-expression):
3731 Capture a function with `function' keyword and without parentheses
3732 like "function FOO" (bug#11856).
3733
2dc2a609
TH
37342012-07-18 Tassilo Horn <tassilo@member.fsf.org>
3735
3736 * window.el (split-window-sensibly): Make WINDOW argument
3737 optional.
3738
439f7677
CY
37392012-07-18 Chong Yidong <cyd@gnu.org>
3740
9aeb25a6
CY
3741 * subr.el (keyboard-translate): Doc fix (Bug#7261).
3742
439f7677
CY
3743 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
3744 and make C-x 8 RET exit isearch (Bug#11439).
3745
3746 * international/iso-transl.el: Move isearch-mode-map key
3747 definitions to isearch.el.
3748
12999ea8
SM
37492012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
3750
3751 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
3752 (eieio-defclass): Use gv-define-setter when possible.
3753
3ab6e069
DA
37542012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
3755
3756 Reflect recent changes in Fgarbage_collect.
3757 * emacs-lisp/chart.el (chart-emacs-storage): Change to
3758 reflect new format of data returned by Fgarbage_collect.
3759
0a60bc10
FEG
37602012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3761
3762 New utility functions + python-info-ppss-context fix (Bug#11910).
3763 * progmodes/python.el (python-info-beginning-of-block-statement-p)
3764 (python-info-ppss-comment-or-string-p): New functions.
3765 (python-info-ppss-context): Small fix for string check.
3766
6dafa0d5
JL
37672012-07-17 Juri Linkov <juri@jurta.org>
3768
3769 * dired-aux.el (dired-do-async-shell-command): Doc fix.
3770 (dired-do-async-shell-command): Don't add `*' at the end of the
3771 command (Bug#11815).
3772 (dired-do-shell-command): Doc fix.
3773 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
3774 Join the individual commands using either "&" or ";" as the
3775 separator depending on the values of these trailing characters.
3776 At the end re-add the trailing "&". (Bug#10598)
3777
3778 * simple.el (async-shell-command): Sync the interactive spec with
3779 `shell-command'. Doc fix.
3780 (shell-command): Doc fix.
3781
b19dd9d1
JL
37822012-07-17 Juri Linkov <juri@jurta.org>
3783
3784 * descr-text.el (describe-char): Fix format args. (Bug#10129)
3785
bcdc27d7 37862012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 3787
bcdc27d7 3788 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
3789 * progmodes/python.el (python-nav-beginning-of-statement):
3790 Rename from python-nav-statement-start.
bcdc27d7
FEG
3791 (python-nav-end-of-statement): Rename from
3792 python-nav-statement-end.
3793 (python-nav-beginning-of-block): Rename from
3794 python-nav-block-start.
3795 (python-nav-end-of-block): Rename from python-nav-block-end.
3796
191da00e
FEG
37972012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3798
7f5331cc
MY
3799 * progmodes/python.el (python-shell-send-string-no-output):
3800 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
3801 future interactions (Bug#11868).
3802
4dc7c8d5 38032012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 3804
88ecaf8f
SM
3805 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
3806
ef501ef0
SM
3807 * emacs-lisp/elint.el (elint-find-args-in-code):
3808 Use help-function-arglist, so as to handle lexical byte-code.
3809
aa7aaf8f
SM
3810 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
3811 change (bug#11826).
3812
45fd731c
SM
38132012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3814
2143fa32
SM
3815 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
3816 Avoid spuriously marking the buffer as modified because of c-is-sws.
3817
efc26dbe
SM
3818 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
3819 as not-a-comment (bug#11946).
3820
f5695c9a
SM
3821 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
3822 for uninterned vars.
3823
3824 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
3825 Use read-event since we don't really want to read chars but bytes.
3826
45fd731c
SM
3827 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
3828 $$..$$ but also $..$ using regexps (bug#11953).
3829 Use tex-verbatim for \url and \path.
3830 (tex-font-lock-keywords): Define as defconst like the others.
3831 (tex-common-initialization): Don't use font-lock-syntax-table any more.
3832
ddfc8813
RK
38332012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
3834
3835 * international/mule-cmds.el (ucs-insert): Make it an obsolete
3836 alias for insert-char.
3837
758e556a
FEG
38382012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3839
3840 * progmodes/python.el: Simplified imenu implementation.
3841 (python-nav-jump-to-defun): Remove command.
3842 (python-mode-map): Use `imenu' instead.
3843 (python-nav-list-defun-positions-cache)
3844 (python-imenu-include-defun-type, python-imenu-make-tree)
3845 (python-imenu-subtree-root-label, python-imenu-index-alist):
3846 Remove vars.
3847 (python-nav-list-defun-positions, python-nav-read-defun)
3848 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
3849 (python-imenu-make-tree, python-imenu-create-index):
3850 Remove functions.
758e556a
FEG
3851 (python-mode): Update to interact with imenu by setting
3852 `imenu-extract-index-name-function' only.
3853
032d23ab
FEG
38542012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3855
3856 * progmodes/python.el: Enhancements to navigation commands.
3857 (python-nav-backward-sentence)
3858 (python-nav-forward-sentence): Remove.
3859 (python-nav-backward-statement, python-nav-forward-statement)
3860 (python-nav-statement-start, python-nav-statement-end)
3861 (python-nav-backward-block, python-nav-forward-block)
3862 (python-nav-block-start, python-nav-block-end)
3863 (python-nav-forward-sexp-function)
3864 (python-info-current-line-comment-p)
3865 (python-info-current-line-empty-p): New functions.
3866 (python-indent-context): Use `python-nav-statement-start'.
3867
01795a1b
MA
38682012-07-16 Michael Albinus <michael.albinus@gmx.de>
3869
9328d9aa
MA
3870 * eshell/em-ls.el (eshell/ls): Use `apply'.
3871
3872 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
3873 multi-hops, instead of Tramp internals.
3874
01795a1b
MA
3875 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
3876
3877 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
3878 when F1 and F2 are located on different hosts.
3879
63408057
CY
38802012-07-14 Chong Yidong <cyd@gnu.org>
3881
3882 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
3883 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
3884 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
3885 (xterm-mouse--read-event-sequence-1000)
3886 (xterm-mouse--read-event-sequence-1006): New functions. For old
3887 mouse protocol, handle M-mouse-X events correctly.
3888 (xterm-mouse-event): New arg specifying mouse protocol.
3889 (turn-on-xterm-mouse-tracking-on-terminal)
3890 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
3891 sequence to toggle extended coordinates on newer XTerms.
3892 This appears to be harmless on terminals which do not support this.
63408057 3893
cd276f6e
LL
38942012-07-14 Leo Liu <sdl.web@gmail.com>
3895
28ca98ac
LL
3896 Add fringe bitmap indicators for flymake. (Bug#11253)
3897 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
3898 (flymake-make-overlay): New arg BITMAP.
3899 (flymake-error-bitmap, flymake-warning-bitmap)
3900 (flymake-fringe-indicator-position): New user variables.
3901
cd276f6e
LL
3902 * fringe.el: New bitmap exclamation-mark.
3903
04408072
JD
39042012-07-14 Jan Djärv <jan.h.d@swipnet.se>
3905
3906 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
3907 also (Bug#7879).
3908
b5cf7fc4
CY
39092012-07-14 Chong Yidong <cyd@gnu.org>
3910
3911 * electric.el (electric-pair-post-self-insert-function): Fix pair
3912 insertion in empty-region case (Bug#11520).
3913
be755c79
RT
39142012-07-14 Chong Yidong <cyd@gnu.org>
3915
45fd731c
SM
3916 * bindings.el: Consolidate ctl-x-r-map bindings.
3917 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
3918
3919 * rect.el, register.el: Move bindings to bindings.el.
3920
39212012-07-14 Reuben Thomas <rrt@sc3d.org>
3922
3923 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
3924
7f5b3198
AS
39252012-07-13 Andreas Schwab <schwab@linux-m68k.org>
3926
3927 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
3928
97662200
JB
39292012-07-13 Juanma Barranquero <lekktu@gmail.com>
3930
80185fed
JB
3931 * bindings.el (top): Use `mapc' instead of `mapcar'.
3932
97662200
JB
3933 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
3934
2bb1ae55
MA
39352012-07-13 Michael Albinus <michael.albinus@gmx.de>
3936
3937 * progmodes/sql.el (sql-comint): Suppress the check for program on
3938 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
3939 (Bug#11908)
3940
dea31bd3
CY
39412012-07-13 Chong Yidong <cyd@gnu.org>
3942
3943 * bindings.el: Assign a non-nil permanent-local property to
3944 per-buffer variables which lack a default value (Bug#11930).
3945
3946 * help-fns.el (describe-variable): In the "automatically becomes
3947 local" notice, take note of permanent-local variables.
3948
b68b3337
CY
39492012-07-13 Chong Yidong <cyd@gnu.org>
3950
3951 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
3952 to allow printing the message when called from Lisp.
3953
3954 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3955 Remove toggle-read-only.
3956
3957 * bs.el (bs-toggle-readonly):
45fd731c
SM
3958 * buff-menu.el (Buffer-menu-toggle-read-only):
3959 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
3960
3961 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
3962 Remove with-no-warnings around toggle-read-only.
3963 (ffap-read-only, ffap-read-only-other-window)
3964 (ffap-read-only-other-frame): Callers changed.
3965
3966 * help-mode.el: Don't require view package.
3967 (help-mode-finish): Set buffer-read-only instead of calling
3968 toggle-read-only.
3969
3970 * bindings.el (mode-line-toggle-read-only):
3971 * dired.el (dired-toggle-read-only):
3972 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
3973 with non-nil second arg.
3974
3975 * emacs-lisp/eieio-custom.el (eieio-customize-object):
3976 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
3977 directly.
3978
56bc1586
EZ
39792012-07-12 Eli Zaretskii <eliz@gnu.org>
3980
3981 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
3982 not incf.
3983
a464a6c7
SM
39842012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
3985
3986 More CL cleanups and reduction of use of cl.el.
3987 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
3988 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
3989 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
3990 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
3991 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
3992 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
3993 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
3994 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
3995 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
3996 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
3997 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
3998 * eshell/em-cmpl.el, eshell/em-banner.el:
3999 * calendar/parse-time.el: Use cl-lib.
4000 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4001 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4002 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4003 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4004 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4005 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4006 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4007 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4008 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4009 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4010 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4011 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4012 `lambda' rather than with `quote'.
4013 (eshell-do-opt): Adjust accordingly.
4014 (eshell-process-option): Simplify.
4015 * eshell/esh-var.el:
4016 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4017 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4018 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4019 to `pcase--dontcare'.
4020 * emacs-lisp/cl.el (labels): Mark obsolete.
4021 (cl--letf, letf): Move to cl-lib.
4022 (cl--letf*, letf*): Remove.
4023 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4024 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4025 (cl-progv): Rewrite.
4026 (cl--letf, cl-letf): Move from cl.el.
4027 (cl-letf*): New macro.
4028 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4029
7ad4afe1
MA
40302012-07-11 Michael Albinus <michael.albinus@gmx.de>
4031
4032 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4033
9af57756
CY
40342012-07-11 Chong Yidong <cyd@gnu.org>
4035
4036 * vc/log-edit.el (log-edit-vc-backend): New variable.
4037 (log-edit): Doc fix.
4038
4039 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4040 argument of log-edit to set up all local variables.
4041 (vc-start-logentry): New optional arg specifying VC backend.
4042
4043 * vc/vc.el (vc-checkin): Use it.
4044 (vc-deduce-fileset): Handle Log Edit buffers.
4045 (vc-diff): Make first argument optional too.
4046
4047 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4048
8477cc7a
MA
40492012-07-10 Michael Albinus <michael.albinus@gmx.de>
4050
4051 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4052 command, just in case. The function is not needed anymore.
4053 (eshell-external-command): Do not call `eshell-remote-command'.
4054
19faa8e8
SM
40552012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4056
f58e0fd5
SM
4057 Reduce use of (require 'cl).
4058 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4059 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4060 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4061 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4062 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4063 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4064 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4065 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4066 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4067 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4068 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4069 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4070 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4071 (byte-compile-unfold-bcf, byte-compile-check-variable):
4072 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4073 (byte-compile-nilconstp):
4074 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4075 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4076
2519d43a
SM
4077 * emacs-lisp/gv.el (cond): Make it a valid place.
4078 (if): Simplify slightly.
4079
19faa8e8
SM
4080 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4081 (pcase--self-quoting-p): New function.
4082 (pcase--u1): Use it.
4083
c4907a5e
GM
40842012-07-10 Glenn Morris <rgm@gnu.org>
4085
4086 * emacs-lisp/authors.el (authors-fixed-entries):
4087 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4088
c4444d16
PE
40892012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4090
4091 Rename configure.in to configure.ac (Bug#11603).
4092 * emacs-lisp/authors.el (authors-canonical-file-name):
4093 * progmodes/autoconf.el (autoconf-mode):
4094 Prefer configure.ac to configure.in.
4095
d75be97d
CY
40962012-07-08 Chong Yidong <cyd@gnu.org>
4097
01ac65bd
CY
4098 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4099 Implement the mouse-1-click-follows-link handling properly.
4100
4101 * info.el (Info-link-keymap): Use follow-link mechanism for
4102 header-line links (Bug#374).
4103
d75be97d
CY
4104 * simple.el (deactivate-mark): Do not set the primary selection
4105 if another program has acquired it (Bug#11772).
4106
87a92845 41072012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
4108
4109 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4110 (woman-decode-region): Replace escaped-escapes without destroying
4111 bold or underline (Bug#11552).
87a92845 4112 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 4113
621b9d6c
CY
41142012-07-07 Chong Yidong <cyd@gnu.org>
4115
4116 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
4117 (interprogram-cut-function, interprogram-paste-function):
4118 Mention that we typically mean the clipboard.
621b9d6c 4119
133a11fc
GM
41202012-07-06 Glenn Morris <rgm@gnu.org>
4121
0d27a45e
GM
4122 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4123
133a11fc
GM
4124 * files.el (toggle-read-only): Restrict message to interactive use.
4125
07b151f1
MA
41262012-07-06 Michael Albinus <michael.albinus@gmx.de>
4127
4128 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4129
4130 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4131
211b896b
GM
41322012-07-06 Glenn Morris <rgm@gnu.org>
4133
50394322
GM
4134 * Makefile.in (compile-one-process): Rename from "recompile".
4135
211b896b
GM
4136 * Makefile.in (bzr-update): "compile" is the same as "recompile
4137 autoloads", but parallelizable, so use that instead.
4138
4737eec9
DG
41392012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4140
4141 * window.el (quit-window): Always restore window height when
8137e7b3 4142 it's saved in quit-restore parameter (Bug#11810).
4737eec9 4143
226c3633 41442012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
4145
4146 * simple.el (kill-whole-line): Doc tweak.
4147
226c3633 41482012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
4149
4150 * files.el (file-relative-name): Compare file names
4151 case-insensitively if on MS-Windows or MS-DOS, or if
4152 read-file-name-completion-ignore-case is non-nil. Don't use
4153 case-fold-search for this purpose. (Bug#11827)
4154
4dc7c8d5
SM
41552012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4156
4157 * calendar/cal-dst.el (calendar-current-time-zone):
4158 Return calendar-current-time-zone-cache if non-nil.
4159
41602012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 41612012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4162
19faa8e8
SM
4163 * calendar/cal-dst.el (calendar-current-time-zone):
4164 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4165
60198fc9
GM
41662012-07-06 Glenn Morris <rgm@gnu.org>
4167
4168 * Makefile.in (cvs-update): Remove old alias.
4169
957b3189
MA
41702012-07-05 Michael Albinus <michael.albinus@gmx.de>
4171
4172 Sync with Tramp 2.2.6-pre.
4173
4174 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4175 compatible declaration.
4176
19faa8e8
SM
4177 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4178 Protect `list-load-path-shadows' call.
957b3189
MA
4179
4180 * net/tramp-compat.el (top): Require packages, which aren't
4181 autoloaded anymore for XEmacs. Protect call of
4182 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4183 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4184 it hurts at least for SXEmacs.
4185 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4186 standard-value for `temporary-file-directory'.
4187
4188 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4189 Redirect stderr to /dev/null.
4190 (tramp-sh-handle-write-region): uid and gid can be floats.
4191 Reported by Russell Sim <russell.sim@gmail.com>.
4192 (tramp-sh-handle-vc-registered): Hide errors.
4193 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4194 and `start-file-process'.
4195 (tramp-maybe-open-connection): Check also whether `non-essential'
4196 is bound.
4197
566df3fc
CY
41982012-07-04 Chong Yidong <cyd@gnu.org>
4199
4200 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4201 (xml-parse-tag): Likewise, and avoid changing entity tables.
4202 (xml-syntax-table): Define from scratch, making sure not to give
4203 x2000 and other Unicode spaces whitespace syntax, since those are
4204 not spaces in XML.
4205 (xml-parse-fragment): Delete unused function.
4206 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4207 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4208 (xml-entity-ref, xml-pe-reference-re)
4209 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4210 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4211 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4212 (xml-entity-value-re): Use syntax references in regexps where
4213 possible; no need to define inside a let-binding.
4214 (xml-parse-dtd): Use xml-pe-reference-re.
4215 (xml-entity-or-char-ref-re): New defconst.
4216 (xml-parse-string, xml-substitute-special): Use it.
4217
30eabd7a
SM
42182012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4219
0781098a
SM
4220 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4221 (find-file--read-only): New function.
4222 (find-file-read-only, find-file-read-only-other-window)
4223 (find-file-read-only-other-frame): Use it.
4224 (insert-file-contents-literally): Don't `fset'.
4225 (get-free-disk-space): Use locate-dominating-file.
4226
b5771c0d
SM
4227 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4228 function is already compiled.
4229
30eabd7a
SM
4230 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4231
b4886f6e
MA
42322012-07-03 Michael Albinus <michael.albinus@gmx.de>
4233
4234 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4235 files on the same host.
4236
b9d82339
AS
42372012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4238
4239 * help-fns.el (describe-function-1): Only call
4240 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4241
a76e6535
CY
42422012-07-03 Chong Yidong <cyd@gnu.org>
4243
4244 * xml.el: Protect parser against XML bombs.
4245 (xml-entity-expansion-limit): New variable.
4246 (xml-parse-string, xml-substitute-special): Use it.
4247 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4248
b544fef2
GM
42492012-07-03 Glenn Morris <rgm@gnu.org>
4250
4251 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4252 Allow linking to specific messages in debbugs reports (eg 123#5).
4253
a7aef6f5
CY
42542012-07-02 Chong Yidong <cyd@gnu.org>
4255
4256 * xml.el: Fix entity and character reference expansion, allowing
4257 them to expand into markup as per XML spec.
4258 (xml-default-ns): New variable.
4259 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
4260 (xml-parse-region): Make first two arguments optional.
4261 Discard text properties.
4262 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4263 All callers changed.
a7aef6f5
CY
4264 (xml-parse-tag): Call xml-parse-tag-1. For backward
4265 compatibility, this function should not modify buffer contents.
4266 (xml-parse-tag-1): Fix opening-tag regexp.
4267 (xml-parse-string): Rewrite, handling entity and character
4268 references properly.
4269 (xml--entity-replacement-text): Signal an error if a parameter
4270 entity is undefined.
4271
3df31c9f
SM
42722012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4273
2b5208f1
SM
4274 * comint.el (comint-output-filter): Filter out repeated prompts.
4275
3df31c9f
SM
4276 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4277 and file-name-absolute-p.
4278 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4279 internal calls.
4280
e3ac1281
PE
42812012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4282
4283 Spelling fixes.
4284 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4285 Rename from byte-compile--refiy-function. All uses changed.
4286
fbf2e7ad
CY
42872012-07-01 Chong Yidong <cyd@gnu.org>
4288
4289 * xml.el (xml--parse-buffer): New function. Move most of
4290 xml-parse-region here.
4291 (xml-parse-region): Copy region into a temporary buffer, since
4292 parameter entity substitution requires changing buffer contents.
4293 Use xml--parse-buffer.
4294 (xml-parse-file): Use xml--parse-buffer.
4295 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 4296 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 4297
9bf0aa15
GM
42982012-06-30 Glenn Morris <rgm@gnu.org>
4299
bbce2853
GM
4300 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4301
9bf0aa15
GM
4302 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4303 Remove outdated and unnecessary dbus declarations.
4304
0d23c240
EZ
43052012-06-30 Eli Zaretskii <eliz@gnu.org>
4306
4307 * emacs-lisp/timer.el (timer-until): Subtract results of
4308 float-time, instead of taking float-time of the result of
4309 time-subtract, since float-time signals an error for negative time
4310 arguments.
4311
b3218de1
CY
43122012-06-30 Chong Yidong <cyd@gnu.org>
4313
4314 * xml.el (xml-*-re): Convert defvars into defconsts, and
4315 eval-and-compile them so eval-and-compile works on derivatives.
4316 (xml--entity-replacement-text): Use eval-and-comple.
4317
a40c87a0
MA
43182012-06-30 Michael Albinus <michael.albinus@gmx.de>
4319
4320 * vc/vc-git.el (vc-git-registered): Use cache property
4321 `git-registered'.
4322 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4323 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 4324 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 4325
ac87de97
DG
43262012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4327
4328 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 4329 removed (likely outside Emacs). (Bug#11757)
ac87de97 4330
ac10fe06
SM
43312012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4332
3df31c9f 4333 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 4334
7f3fbd5d
CY
43352012-06-30 Chong Yidong <cyd@gnu.org>
4336
4337 * xml.el: Implement XML parameter entities.
4338 (xml-parameter-entity-alist): New variable.
4339 (xml-parse-region, xml-parse-fragment): Preserve previous values
4340 of xml-entity-alist and xml-parameter-entity-alist, so that
4341 repeated calls on different documents do not change them.
4342 (xml-parse-tag): Fix doctype regexp.
4343 (xml--entity-replacement-text): New function.
4344 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4345 properly requires url retrieval which is unimplemented.
4346 (xml-escape-string): Doc fix.
4347
3cfbebba
SM
43482012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4349
4350 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4351
2af3565e
DA
43522012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4353
4354 * fringe.el (fringe-mode): Doc fix.
4355
929df0e7
MA
43562012-06-29 Michael Albinus <michael.albinus@gmx.de>
4357
4358 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4359 is non-nil.
4360 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4361 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4362
c8d3a25c 43632012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4364
c8d3a25c
GM
4365 * calendar/cal-dst.el (calendar-current-time-zone):
4366 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4367
c8d3a25c 43682012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
4369
4370 * progmodes/which-func.el (which-func-format):
4371 Add mouse-face. (Bug#11698)
4372
c8d3a25c
GM
43732012-06-29 Leo Liu <sdl.web@gmail.com>
4374
4375 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4376
43772012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4378
4379 * minibuffer.el (minibuffer-confirm-exit-commands):
4380 Add completion-at-point (bug#11725).
4381
43822012-06-29 Glenn Morris <rgm@gnu.org>
4383
4384 * progmodes/f90.el (f90-font-lock-keywords-2):
4385 Add some preprocessor elements. (Bug#10499)
4386
43872012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4388
4389 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4390 Use syntax-propertize (bug#11739).
4391
2badeec4
JB
43922012-06-28 Juanma Barranquero <lekktu@gmail.com>
4393
4394 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4395
ae4969c2
JD
43962012-06-28 Julien Danjou <julien@danjou.info>
4397
4398 * term.el (term-handle-colors-array): Use a set of new faces to
4399 color the terminal. Also uses :inverse-video property.
4400 (term-default-fg-color): Set to nil by default, deprecate in favor
4401 of `term-face'.
4402 (term-default-bg-color): Set to nil by default, deprecate in favor
4403 of `term-face'.
4404 (term-current-face): Use `term-face' by default.
4405 (term-bold-attribute): Variable deleted.
4406
1c9bd870
GM
44072012-06-28 Glenn Morris <rgm@gnu.org>
4408
4409 * simple.el (completion-list-mode-finish):
4410 Don't use toggle-read-only. (Since completion-list-mode has
4411 a special mode-class, it wasn't doing anything extra anyway.)
4412
c207708c
SM
44132012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4414
4415 Make inlining of other-mode interpreted functions work (bug#11799).
4416 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4417 (byte-compile): Use it to fix compilation of lexical-binding closures.
4418 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4419 function, if needed.
4420
3fd56834
SM
44212012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4422
04901786
SM
4423 * help-mode.el (help-make-xrefs): Don't just withstand
4424 cyclic-variable-indirection but any error in documentation-property.
4425
1ec4b7b2
SM
4426 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4427 memory use.
4428 * bindings.el (bindings--define-key): New function.
4429 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4430 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4431 * bindings.el: Use it to purecopy define-key bindings.
4432
e309e2a5
SM
4433 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4434
d5c6faf9
SM
4435 * emacs-lisp/cl.el (flet): Mark obsolete.
4436 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4437 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4438 * progmodes/js.el (js-c-fill-paragraph):
4439 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4440 (ebrowse-switch-member-buffer-to-derived-class):
4441 * play/5x5.el (5x5-solver): Use cl-flet.
4442
6e9590e2
SM
4443 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4444 (cl--symbol-function): New macro.
4445 (cl--letf, cl--letf*): Use it.
4446
3fd56834
SM
4447 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4448 Strip "toggle-" if any.
4449
35ff222c
GM
44502012-06-27 Glenn Morris <rgm@gnu.org>
4451
1ba6038a
GM
4452 * info.el (Info-default-directory-list): Move here from paths.el.
4453 * paths.el: Remove file, which is now empty.
4454 * loadup.el: No longer load "paths".
4455
0ea0e51b
GM
4456 * custom.el (custom-initialize-delay): Doc fix.
4457
35ff222c
GM
4458 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4459 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4460 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4461 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4462 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4463 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4464 * eshell/eshell.el (eshell-defgroup): Remove alias.
4465
c89926a5
CY
44662012-06-27 Chong Yidong <cyd@gnu.org>
4467
4468 * help.el (help-enable-auto-load): New variable.
4469
4470 * help-fns.el (help-fns--autoloaded-p): New function.
4471 (describe-function-1): Refer to a function as "autoloaded" if it
4472 was autoloaded at any time in the past. Perform autoloading if
4473 help-enable-auto-load is non-nil.
4474
cc06e7e7
EZ
44752012-06-26 Eli Zaretskii <eliz@gnu.org>
4476
4477 * makefile.w32-in (compile, compile-always): Depend on
4478 update-subdirs, not on subdirs.el. Otherwise, several different
4479 sub-targets of 'bootstrap' running in parallel could
4480 simultaneously write to subdirs.el, producing a garbled file.
4481
d2c32364
SS
44822012-06-26 Sam Steingold <sds@gnu.org>
4483
4484 * files.el (file-name-base): New convenience function.
0d14cc21
GM
4485 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4486 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4487 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4488 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4489 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
4490 * textmodes/tex-mode.el: Use it.
4491 Did not touch cedet and org because they are maintained elsewhere.
4492
5cf983b2
MR
44932012-06-26 Martin Rudalics <rudalics@gmx.at>
4494
4495 * calendar/calendar.el (calendar-exit): Don't try to delete or
4496 iconify last frame. See:
4497 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4498
8c4f2952
JD
44992012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
4500
4501 * server.el (server-process-filter): Remember dir in the
4502 process's `server-client-directory' properties.
4503
772b2e2c
CY
45042012-06-24 Chong Yidong <cyd@gnu.org>
4505
4506 * xml.el (xml-parse-tag): Correctly handle comment embedded in
4507 non-tag text.
4508
711b11e1
JB
45092012-06-23 Juanma Barranquero <lekktu@gmail.com>
4510
4511 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4512
dc5d230c
SM
45132012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4514
4515 * help-fns.el (describe-variable): Don't croak when doc is not found.
4516 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4517 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4518 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4519 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4520 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4521 ((lambda ..) ..).
4522 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4523
136e1c1d
CY
45242012-06-23 Chong Yidong <cyd@gnu.org>
4525
e8c1cabf
CY
4526 * info.el (Info-mouse-follow-link): Accept symbol values of
4527 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
4528 (Info-fontify-node): Use Info-link-keymap for all navigation
4529 buttons, with link-args property to perform the desired action.
4530 (Info-link-keymap): Doc fix.
4531 (Info-next-link-keymap, Info-prev-link-keymap)
4532 (Info-up-link-keymap): Delete now-unused keymaps.
4533
0e9e6c6a
CY
45342012-06-23 Chong Yidong <cyd@gnu.org>
4535
05e89fea
CY
4536 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4537
0e9e6c6a
CY
4538 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4539 system abbrevs.
4540
4541 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4542
e33c6771
SM
45432012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4544
b68581e2
SM
4545 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4546 (bug#11719).
4547
e33c6771
SM
4548 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4549 the requote function doesn't work properly (bug#11714).
4550
7117e105
GM
45512012-06-23 Glenn Morris <rgm@gnu.org>
4552
4553 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4554
36cec983
SM
45552012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4556
4557 Further GV/CL cleanups.
4558 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4559 gv-expander.
4560 (gv--defun-declaration): New function.
4561 (defun-declarations-alist): Use it.
4562 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4563 (gv-place): Autoload.
4564 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4565 original definition of dotimes and dolist.
4566 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4567 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4568 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4569 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4570 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4571 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4572 to the function's definition.
4573 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4574 * window.el:
4575 * files.el:
4576 * faces.el:
4577 * env.el: Don't use CL.
4578
d35af63c
PE
45792012-06-22 Paul Eggert <eggert@cs.ucla.edu>
4580
4581 Support higher-resolution time stamps (Bug#9000).
4582
4583 * calendar/time-date.el (with-decoded-time-value): New arg
4584 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
4585 (encode-time-value): New optional arg PICO. New type 3.
4586 (time-to-seconds) [!float-time]: Support the new picoseconds
4587 component if it's used.
4588 (seconds-to-time, time-subtract, time-add):
4589 Support ps-resolution time stamps as well.
4590
4591 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
4592 (timerp): Timer vectors now have length 9, not 8.
4593 (timer--time): Support new-style (4-part) time stamps.
4594 (timer-next-integral-multiple-of-time): Time stamps now have
4595 picosecond resolution, so take a bit more care about rounding.
4596 (timer-relative-time, timer-inc-time): New optional arg psecs.
4597 (timer-set-time-with-usecs): Set psecs to 0.
4598 (timer--activate): Check psecs component, too.
4599
4600 * proced.el (proced-time-lessp): Support ps-resolution stamps.
4601
ac77b21a
SM
46022012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4603
f143bfe3
SM
4604 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4605 Move the non-essential binding to the post/pre-command-hook where it is
4606 more obviously correct.
4607
ac77b21a
SM
4608 * subr.el (read-passwd): Don't use a history at all.
4609 * savehist.el (savehist-save): Remove password saved accidentally
4610 because of the above bug.
4611
76386c5a
BG
46122012-06-22 Bastien Guerry <bzg@gnu.org>
4613
4614 * files.el (toggle-read-only): Display a message telling whether
4615 the buffer is read-only or not (bug#11726).
4616
2ee3d7f0
SM
46172012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4618
4619 * emacs-lisp/gv.el: New file.
4620 * subr.el (push, pop): Extend to generalized variables.
4621 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4622 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4623 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
4624 gv-define-simple-setter, and gv-define-expander.
4625 Remove setf-methods defined in gv. Rename cl-setf -> setf.
4626 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4627 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4628 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
4629 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
4630 gv-letplace.
4631 (cl-defstruct): Don't define setf-method any more.
4632 * emacs-lisp/cl.el (flet): Don't autoload.
4633 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4634 (define-setf-expander, defsetf, define-modify-macro)
4635 (cl-struct-setf-expander): Move from cl-lib.el.
4636 * emacs-lisp/syntax.el:
4637 * emacs-lisp/ewoc.el:
4638 * emacs-lisp/smie.el:
4639 * emacs-lisp/cconv.el:
4640 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
4641 (timer--time): Use gv-define-simple-setter.
4642 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
4643 to avoid coding-system problems in subr.el. Adjust all users.
4644 (macroexp--maxsize, macroexp-small-p): New functions.
4645 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
4646 * scroll-bar.el (scroll-bar-mode):
4647 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4648 (normal-erase-is-backspace-mode): Don't use the `eq' place.
4649 * winner.el (winner-configuration, winner-make-point-alist)
4650 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
4651 * files.el (locate-file-completion-table): Avoid list*.
4652
c5695d1d
CY
46532012-06-22 Chong Yidong <cyd@gnu.org>
4654
4655 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
4656 (dired-create-files): Doc fix (Bug#11329).
4657 (dired-do-copy): Doc fix (Bug#11334).
4658 (dired-mark-read-string): Doc fix (Bug#11553).
4659
2ee3d7f0
SM
4660 * dired.el (dired-recursive-copies, dired-recursive-deletes):
4661 Doc fix (Bug#11326).
c5695d1d
CY
4662 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
4663 (dired-dwim-target): Doc fix.
4664
4665 * wdired.el (wdired-mode): Doc fix.
4666
89b5595a
GM
46672012-06-22 Glenn Morris <rgm@gnu.org>
4668
575db3f1
GM
4669 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
4670 (pcmpl-rpm-cache-stamp-file): New constant.
4671 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
4672 (pcmpl-rpm-packages): Optionally cache list of packages.
4673
a4c8dd51
GM
4674 * pcmpl-rpm.el (pcmpl-rpm): New group.
4675 (pcmpl-rpm-query-options): New option.
4676 (pcmpl-rpm-packages): No need to inline it.
4677 Use pcmpl-rpm-query-options.
4678
89b5595a
GM
4679 * calendar/calendar.el (calendar-in-read-only-buffer):
4680 Avoid some needless mode changes.
4681
e76f0800
CY
46822012-06-21 Chong Yidong <cyd@gnu.org>
4683
4684 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
4685 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 4686 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 4687
297a8f1d
CY
46882012-06-20 Chong Yidong <cyd@gnu.org>
4689
4690 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
4691
d34c18b1
DR
46922012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
4693
4694 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
4695 (bug#11201).
4696
32f7f28e
CY
46972012-06-20 Chong Yidong <cyd@gnu.org>
4698
4699 * term.el (term-window-width): Handle the case of a missing right
4700 fringe (Bug#8837).
4701 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
4702 (term-mode): Use define-derived-mode. Minor cleanups.
4703 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
4704 (term-move-columns, term-insert-char, term-emulate-terminal)
4705 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 4706
493c6688
MA
47072012-06-20 Michael Albinus <michael.albinus@gmx.de>
4708
d34c18b1
DR
4709 * net/ange-ftp.el (ange-ftp-get-passwd):
4710 Bind `enable-recursive-minibuffers'.
493c6688
MA
4711 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
4712
3f06ecf4
DR
47132012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
4714
4715 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
4716
68f12411
GM
47172012-06-19 Glenn Morris <rgm@gnu.org>
4718
4719 * progmodes/python.el (python-mode): Derive from prog-mode.
4720
b3820318
KG
47212012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
4722
4723 * emulation/edt.el (edt-default-menu-bar-update-buffers)
4724 (edt-user-menu-bar-update-buffers): New functions.
4725 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
4726
c6bf3022
CY
47272012-06-19 Chong Yidong <cyd@gnu.org>
4728
4729 * subr.el (with-selected-window): Preserve the selected window's
4730 terminal's top-frame (Bug#4702).
4731
4732 * window.el (save-selected-window): Likewise.
4733
25f09295
SM
47342012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4735
4736 * progmodes/python.el (python-rx-constituents): Move backquote.
4737 (python-skeleton-define, python-define-auxiliary-skeleton):
4738 Use `declare'.
4739
6b11952a
MA
47402012-06-18 Michael Albinus <michael.albinus@gmx.de>
4741
4742 * minibuffer.el (read-file-name-default): Revert the patch from
4743 2012-06-17.
4744
ee4b1330
SM
47452012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4746
4747 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
4748 (pcase--u1, pcase--q1): Don't use apply-partially.
4749
35647f79
GM
47502012-06-18 Glenn Morris <rgm@gnu.org>
4751
4752 * progmodes/python.el (python-proc, python-buffer)
4753 (python-send-receive, python-send-string): Fix obsolete versions.
4754
24b0cff0
MR
47552012-06-18 Martin Rudalics <rudalics@gmx.at>
4756
4757 * window.el (special-display-p): Completely remove stringp
4758 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
4759
29855149
MA
47602012-06-17 Michael Albinus <michael.albinus@gmx.de>
4761
4762 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
4763
4764 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
4765
4766 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
4767 * net/tramp-sh.el (tramp-maybe-open-connection):
4768 Throw if `non-essential' is non-nil.
4769
07463363
MR
47702012-06-17 Martin Rudalics <rudalics@gmx.at>
4771
4772 * window.el (special-display-p): Signal an error if BUFFER-NAME
4773 is not a string (Bug#11713).
4774
48d1354e
PE
47752012-06-17 Paul Eggert <eggert@cs.ucla.edu>
4776
4777 * progmodes/python.el (python-info-beginning-of-backslash):
4778 Rename from python-info-beginning-of-backlash, as a spelling fix.
4779
eb4a8a9a
CY
47802012-06-17 Chong Yidong <cyd@gnu.org>
4781
4782 * term.el (term-emulate-terminal): If term-check-size is called,
4783 move point to the process mark without resetting point (Bug#4635).
4784
ddfbf826 47852012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
4786
4787 * international/mule-cmds.el (mule-menu-keymap)
4788 (set-language-environment, set-locale-environment): Doc tweaks.
4789
9b0e3eba
AA
47902012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
4791
4792 * cus-face.el (custom-face-attributes): Add wave-style underline
4793 attribute.
4794 * faces.el (set-face-attribute): Update docstring to describe
4795 wave-style underline attribute.
4796
771e3eae
CY
47972012-06-16 Chong Yidong <cyd@gnu.org>
4798
4799 * term/xterm.el (terminal-init-xterm): Discard input before
4800 querying background mode (Bug#10959).
4801
7ae2ea10
SM
48022012-06-16 Stefan Merten <smerten@oekonux.de>
4803
4804 * textmodes/rst.el: Added and corrected some comments.
4805 (rst-re-alist-def): Improve symbol syntax.
4806 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
4807 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4808 (rst-official-version, rst-official-cvs-rev): Update version
4809 information.
7ae2ea10 4810
b6974efa
JB
48112012-06-15 Juanma Barranquero <lekktu@gmail.com>
4812
4813 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
4814 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
4815
8826d473
GM
48162012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
4817
4818 * progmodes/python.el: New python.el merge.
4819 (python-guess-indent): Obsolete var.
4820 (python-indent-guess-indent-offset): New defcustom.
4821 (python-indent): Obsolete var.
4822 (python-indent-offset): New defcustom.
4823 (python-python-command, python-jython-command): Delete var.
4824 (python-shell-interpreter): New defcustom.
4825 (python-pdbtrack-do-tracking-p): Delete var.
4826 (python-pdbtrack-activate): New defcustom.
4827 (python-use-skeletons): Obsolete var.
4828 (python-skeleton-autoinsert): New defcustom.
4829 (inferior-python-filter-regexp, python-continuation-offset)
4830 (python-honour-comment-indentation, python-indent-string-contents)
4831 (python-jython-packages, python-mode-hook)
4832 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
4833 (python-shell-prompt-alist)
4834 (python-source-modes): Delete defcustoms.
4835 (python-check-buffer-name, python-eldoc-setup-code)
4836 (python-eldoc-string-code, python-ffap-setup-code)
4837 (python-ffap-string-code, python-fill-comment-function)
4838 (python-fill-decorator-function, python-fill-paren-function)
4839 (python-fill-string-function, python-imenu-include-defun-type)
4840 (python-imenu-make-tree, python-imenu-subtree-root-label)
4841 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
4842 (python-shell-compilation-regexp-alist)
4843 (python-shell-completion-module-string-code)
4844 (python-shell-completion-pdb-string-code)
4845 (python-shell-completion-setup-code)
4846 (python-shell-completion-string-code)
4847 (python-shell-enable-font-lock, python-shell-exec-path)
4848 (python-shell-extra-pythonpaths)
4849 (python-shell-internal-buffer-name, python-shell-interpreter-args)
4850 (python-shell-process-environment)
4851 (python-shell-prompt-block-regexp)
4852 (python-shell-prompt-output-regexp)
4853 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
4854 (python-shell-send-setup-max-wait, python-shell-setup-codes)
4855 (python-shell-virtualenv-path): New defcustoms.
4856 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
4857 (inferior-python-mode-syntax-table, python--prompt-regexp)
4858 (python-buffer, python-command python-python-command)
4859 (python-default-template, python-imports, python-indent-index)
4860 (python-indent-list, python-indent-list-length)
4861 (python-mode-running, python-pdbtrack-is-tracking-p)
4862 (python-preoutput-continuation, python-preoutput-leftover)
4863 (python-preoutput-result, python-preoutput-skip-next-prompt)
4864 (python-prev-dir/file, python-recursing)
4865 (python-saved-check-command, python-version-checked)
4866 (python-which-func-length-limit)
4867 (view-return-to-alist): Delete vars.
4868 (python-check-custom-command, python-dotty-syntax-table)
4869 (python-imenu-index-alist, python-indent-current-level)
4870 (python-indent-dedenters, python-indent-levels)
4871 (python-nav-beginning-of-defun-regexp)
4872 (python-nav-list-defun-positions-cache)
4873 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
4874 (python-shell-internal-buffer)
4875 (python-skeleton-available): New vars.
4876 (def-python-skeleton): Delete macro.
4877 (python-skeleton-define): New macro.
4878 (python-define-auxiliary-skeleton, python-rx): New macros.
4879 (python-insert-class): Delete command.
4880 (python-skeleton-class): New command.
4881 (python-insert-def): Delete command.
4882 (python-skeleton-def): New command.
4883 (python-insert-for): Delete command.
4884 (python-skeleton-for): New command.
4885 (python-insert-if): Delete command.
4886 (python-skeleton-if): New command.
4887 (python-insert-try/except, python-insert-try/finally): Delete commands.
4888 (python-skeleton-try): New command.
4889 (python-insert-while): Delete command.
4890 (python-skeleton-while): New command.
4891 (python-backspace): Delete command.
4892 (python-indent-dedent-line-backspace): New command.
4893 (python-electric-colon): Delete command.
4894 (python-indent-electric-colon): New command.
4895 (python-guess-indent): Delete command.
4896 (python-indent-guess-indent-offset): New command.
4897 (python-shift-left): Delete command.
4898 (python-indent-shift-left): New command.
4899 (python-shift-right): Delete command.
4900 (python-indent-shift-right): New command.
4901 (python-find-function): Delete command.
4902 (python-nav-jump-to-defun): New command.
4903 (python-next-statement): Delete command.
4904 (python-nav-forward-sentence): New command.
4905 (python-previous-statement): Delete command.
4906 (python-nav-backward-sentence): New command.
4907 (python-fill-paragraph): Delete command.
4908 (python-fill-paragraph-function): New command.
4909 (python-send-buffer): Delete command.
4910 (python-shell-send-buffer): New command.
4911 (python-send-defun): Delete command.
4912 (python-shell-send-defun): New command.
4913 (python-send-region, python-send-region-and-go): Delete commands.
4914 (python-shell-send-region)
4915 (python-shell-switch-to-shell): New commands.
4916 (python-send-string): Delete command.
4917 (python-shell-send-string): New command.
4918 (python-switch-to-python): Delete command.
4919 (python-shell-switch-to-shell): New command.
4920 (python-describe-symbol): Delete command.
4921 (python-eldoc-at-point): New command.
4922 (python--set-prompt-regexp, python-args-to-list)
4923 (python-after-info-look, python-check-version)
4924 (python-check-comint-prompt, python-find-imports)
4925 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
4926 (python-unload-function, python-expand-template)
4927 (python-maybe-jython, python-preoutput-filter)
4928 (python-pdbtrack-get-source-buffer)
4929 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
4930 (python-pdbtrack-toggle-stack-tracking)
4931 (python-pdbtrack-track-stack-file, python-initial-text)
4932 (python-first-word, python-comment-line-p, python-send-command)
4933 (python-setup-brm, python-sentinel, python-set-proc)
4934 (python-skip-out, python-input-filter, python-outdent-p)
4935 (python-outline-level, python-backslash-continuation-line-p)
4936 (python-end-of-block, python-end-of-statement, python-mark-block)
4937 (python-beginning-of-block, python-beginning-of-statement)
4938 (python-blank-line-p, python-beginning-of-string)
4939 (python-open-block-statement-p): Delete functions.
4940 (python-indent-line, python-indent-line-1): Delete functions.
4941 (python-indent-line): New function.
4942 (python-indentation-levels): Delete function.
4943 (python-indent-calculate-levels): New function.
4944 (python-proc): Delete function.
4945 (python-shell-get-process): New function.
4946 (python-send-receive): Delete function.
4947 (python-shell-send-string-no-output): New function.
4948 (python-module-path): Delete function.
4949 (python-ffap-module-path): New function.
4950 (python-completion-at-point)
4951 (python-symbol-completions): Delete functions.
4952 (python-completion-complete-at-point): New function.
4953 (python-load-file): Delete function.
4954 (python-shell-send-file): New function.
4955 (python-calculate-indentation): Delete function.
4956 (python-indent-calculate-indentation): New function.
4957 (python-skip-comments/blanks): Delete function.
4958 (python-util-forward-comment): New function.
4959 (python-continuation-line-p): Delete function.
4960 (python-info-continuation-line-p): New function.
4961 (python-which-func, python-current-defun): Delete function.
4962 (python-info-current-defun): New function.
4963 (python-beginning-of-defun): Delete function.
4964 (python-nav-beginning-of-defun): New function.
4965 (python-close-block-statement-p)
4966 (python-block-end-p): Delete function.
4967 (python-info-closing-block): New function.
4968 (python-comint-output-filter-function)
4969 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
4970 (python-fill-comment, python-fill-decorator, python-fill-paren)
4971 (python-fill-string, python-imenu-make-element-tree)
4972 (python-imenu-make-tree, python-imenu-tree-assoc)
4973 (python-indent-context, python-indent-dedent-line)
4974 (python-indent-line-function)
4975 (python-indent-post-self-insert-function)
4976 (python-indent-toggle-levels)
4977 (python-info-assignment-continuation-line-p)
4978 (python-info-beginning-of-backlash)
4979 (python-info-block-continuation-line-p)
4980 (python-info-closing-block-message)
4981 (python-info-line-ends-backslash-p)
4982 (python-info-looking-at-beginning-of-defun)
4983 (python-info-ppss-context, python-info-ppss-context-type)
4984 (python-nav-list-defun-positions, python-nav-read-defun)
4985 (python-nav-sentence-end, python-nav-sentence-start)
4986 (python-pdbtrack-comint-output-filter-function)
4987 (python-pdbtrack-set-tracked-buffer)
4988 (python-shell-calculate-exec-path)
4989 (python-shell-calculate-process-environment)
4990 (python-shell-completion--do-completion-at-point)
4991 (python-shell-completion--get-completions)
4992 (python-shell-completion-complete-at-point)
4993 (python-shell-completion-complete-or-indent)
4994 (python-shell-get-or-create-process)
4995 (python-shell-get-process-name)
4996 (python-shell-internal-get-or-create-process)
4997 (python-shell-internal-get-process-name)
4998 (python-shell-internal-send-string, python-shell-make-comint)
4999 (python-shell-parse-command, python-shell-send-setup-code)
5000 (python-skeleton-add-menu-items)
5001 (python-util-clone-local-variables, python-util-position)
5002 (run-python-internal, python-indentation-levels)
5003 (python-nav-beginning-of-defun)
5004 (python-completion-complete-at-point): New functions.
5005 (run-python): Change arguments. New API requirements.
5006
4302f5ba
SM
50072012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5008
f38ea36d
SM
5009 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5010 (bug#11649).
5011
5012 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5013 (macroexp--expand-all): Use it.
5014
4302f5ba
SM
5015 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5016 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5017 Use `cl-function' instead.
5018
33377562
JB
50192012-06-14 Juanma Barranquero <lekktu@gmail.com>
5020
5021 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5022 Suggested by Stefan Monnier while discussing bug#11657.
5023
54c5ba1a
SS
50242012-06-14 Sam Steingold <sds@gnu.org>
5025
5026 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5027
f9f1b1fe
AS
50282012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5029
5030 * play/doctor.el (doctor-doc): Remove parameter and use
5031 doctor-sent instead of sent.
5032 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5033
a81068ba
SM
50342012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5035
5a315f9c
SM
5036 * files.el: Require cl-lib.
5037 (file-name-non-special): Replace case -> cl-case.
5038
5039 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5040
a81068ba
SM
5041 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5042 mapping from #' to function*.
5043
8cca9703
CY
50442012-06-13 Chong Yidong <cyd@gnu.org>
5045
5046 * mouse.el (mouse-drag-track): Do not set the mark if the user
5047 releases the mouse without selecting anything (Bug#11588).
5048
a12ac9d7
SM
50492012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5050
ccf1dc18
SM
5051 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5052 as well (bug#11646).
5053
ef62b23d
SM
5054 * loadup.el: Count byte-code functions as well.
5055
c4c8444a
SM
5056 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5057 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5058
a12ac9d7
SM
5059 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5060 (bug#11649). Add cl-defun and cl-defmacro.
5061
87e6e64f
DA
50622012-06-13 Drew Adams <drew.adams@oracle.com>
5063
5064 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5065 Fix last change.
5066
682cefaf
MA
50672012-06-13 Michael Albinus <michael.albinus@gmx.de>
5068
5069 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5070 Otherwise, it blocks in batch mode.
5071
773e1f08
JB
50722012-06-13 Juanma Barranquero <lekktu@gmail.com>
5073
5074 * help-mode.el (bookmark-make-record-default): Declare.
5075
60057926
CY
50762012-06-13 Chong Yidong <cyd@gnu.org>
5077
5078 * emacs-lisp/package.el (list-packages): Compute a list of
5079 packages that are newly-available since the last list-packages
5080 invocation.
5081 (package-menu--new-package-list): New var.
5082 (package-menu--generate, package-menu--print-info)
5083 (package-menu--status-predicate, package-menu-mark-install):
5084 Handle new status label "new".
5085
ad4d226c
SM
50862012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5087
5088 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5089 conversion to backquotes.
5090
f1a4e679
CY
50912012-06-12 Chong Yidong <cyd@gnu.org>
5092
5093 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5094 Rename from gud-inhibit-global-bindings.
5095
5096 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5097
5098 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5099 hook from nxml-glyph-set-hook.
5100
5101 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5102 declaration.
5103
5104 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5105
5106 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5107 Convert to defcustom.
5108
0c9e42b5
DA
51092012-06-12 Drew Adams <drew.adams@oracle.com>
5110
5111 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5112 New functions.
5113 (help-mode): Use them.
5114
09e06855
GM
51152012-06-11 Glenn Morris <rgm@gnu.org>
5116
5117 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5118 Use preprocessor face for directives.
5119 (fortran-directive-re): Doc fix.
5120
71adb94b
SM
51212012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5122
2eb87922
SM
5123 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5124 conversion to backquotes (bug#11652).
5125
71adb94b
SM
5126 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5127 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5128 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5129 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5130 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5131 (cl-ninth, cl-tenth): Mark them as inlinable.
5132 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5133 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5134 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5135 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5136 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5137 (cl-list*, cl-adjoin): Don't put an autoload manually.
5138 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5139 (cl--compiler-macro-list*): Add autoload cookie.
5140 (cl--compiler-macro-cXXr): New function.
2eb87922 5141
71adb94b
SM
5142 * help-fns.el (help-fns--compiler-macro): New function extracted from
5143 describe-function-1; follow aliases and use `compiler-macro' property.
5144 (describe-function-1): Use it.
5145
a6674402
CY
51462012-06-11 Chong Yidong <cyd@gnu.org>
5147
5148 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5149 is uninstalled, if imagemagick is installed.
5150
bb3faf5b
SM
51512012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5152
5153 * emacs-lisp/cl-lib.el: Use lexical-binding.
5154 (cl-map-extents, cl-maclisp-member): Remove.
5155 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5156 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5157 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5158 * emacs-lisp/cl-extra.el: Use lexical-binding.
5159 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5160 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5161 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5162 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5163 * emacs-lisp/cl-seq.el: Use lexical-binding.
5164 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5165 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5166 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5167 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5168 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5169 CL's internals.
5170
2fe4b125
MA
51712012-06-11 Michael Albinus <michael.albinus@gmx.de>
5172
5173 Sync with Tramp 2.2.6-pre.
5174
5175 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5176 `print-length' and `print-level' to nil, in order to avoid
5177 truncation. Reported by Christopher Schmidt
5178 <christopher@ristopher.com>.
5179
5180 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5181
5182 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5183 New defmacro.
5184 (tramp-compat-copy-directory): Add optional argument
5185 COPY-CONTENTS. It is not handled yet.
5186
5187 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5188 (tramp-ftp-file-name-p): Simplify.
5189
5190 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5191 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5192 connection vector.
5193
5194 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5195 (tramp-methods): Do not use `tramp-password-end-of-line'.
5196 (tramp-completion-function-alist-putty): Handle UNIX case.
5197 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5198 (tramp-do-file-attributes-with-stat)
5199 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5200 gid as real numbers. They could run out of integer range on cygwin.
5201 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5202 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
5203 (tramp-open-connection-setup-interactive-shell):
5204 Use `tramp-cleanup'. Move check for busyboxes ...
5205 (tramp-find-shell): ... here. Simplify implementation.
5206 Set "remote-shell" property also for alternative shells.
5207 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5208 If failing, a regular file would be written otherwise.
5209 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
5210 (tramp-find-inline-encoding): Cache the coding commands in the
5211 process cache. Apply test command on the remote side, if defined.
5212 (tramp-find-inline-compress): Cache the compress commands in the
5213 process cache.
5214 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5215 when requested. Handle hops.
5216 (tramp-current-connection): New defvar.
87e6e64f
DA
5217 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5218 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 5219 Handle user interrupt. (Bug#10187)
87e6e64f
DA
5220 (tramp-get-inline-compress, tramp-get-inline-coding):
5221 Read connection properties from the process cache.
2fe4b125
MA
5222
5223 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
5224 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5225 New defconsts.
2fe4b125
MA
5226 (tramp-smb-prompt): Extend for powershell prompt.
5227 (tramp-smb-file-name-handler-alist): Add handlers for
5228 `process-file', `shell-command' and `start-file-process'.
5229 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5230 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5231 (tramp-smb-file-name-p): Simplify.
5232 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5233 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5234 (tramp-smb-shell-quote-argument): New defuns.
5235 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5236 Implement using "tar". By this, time-stamps are preserved.
5237 (tramp-smb-handle-copy-file): Handle also the case of directories.
5238 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
5239 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5240 Use `tramp-get-connection-buffer').
2fe4b125
MA
5241 (tramp-smb-handle-rename-file): Use "rename", when source and
5242 target are on the same share.
87e6e64f
DA
5243 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5244 Use `tramp-smb-server-version'.
2fe4b125
MA
5245 (tramp-smb-wait-for-output): Remove prompt.
5246
5247 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
5248 (tramp-methods, tramp-rsh-end-of-line):
5249 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
5250 (tramp-save-ad-hoc-proxies): New defcustom.
5251 (tramp-completion-function-alist): Adapt docstring.
5252 (tramp-default-password-end-of-line): Remove defcustom.
5253 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5254 (tramp-user-regexp, tramp-file-name-regexp-unified)
5255 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5256 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5257 (tramp-remote-file-name-spec-regexp): New defconst.
5258 (tramp-file-name-structure): Extend structure for hops.
5259 (tramp-get-method-parameter): Move up.
5260 (tramp-file-name-p, tramp-dissect-file-name)
5261 (with-parsed-tramp-file-name): Handle hops.
5262 (tramp-file-name-hop): New defun.
5263 (tramp-make-tramp-file-name): New optional arg HOP.
5264 (tramp-message-show-progress-reporter-message): New defvar.
5265 (tramp-with-progress-reporter): Use it. We cannot use
5266 `tramp-message-show-message' here, because this suppresses also
5267 error buffers.
5268 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
5269 `tramp-message-show-message' is nil.
5270 Use `tramp-get-connection-buffer'.
2fe4b125
MA
5271 (tramp-cleanup): New defun.
5272 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5273 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5274 an error unchanged.
5275 (tramp-completion-handle-file-name-all-completions): Handle hops.
5276 Fix an error when called from ido.
5277 (tramp-completion-dissect-file-name): Use better local variable
5278 name. Add hop to the vector.
5279 (tramp-handle-insert-file-contents): Use progress-reporter for the
5280 whole scenario.
5281 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5282 to `t'.
5283 (tramp-check-for-regexp): Simplify search.
5284 (tramp-enter-password): Remove it. Move implementation ...
5285 (tramp-action-password): ... here.
5286 (tramp-mode-string-to-int, tramp-local-host-p)
5287 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
5288 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5289 Set tramp-autoload cookie.
2fe4b125
MA
5290
5291 * net/trampver.el: Update release number.
5292
52932012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5294 Michael Albinus <michael.albinus@gmx.de>
5295
5296 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5297 (tramp-parse-group, tramp-parse-file)
5298 (tramp-parse-shostkeys-sknownhosts): New defuns.
5299 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5300 (tramp-parse-shosts-group, tramp-parse-sconfig)
5301 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5302 (tramp-parse-sknownhosts, tramp-parse-hosts)
5303 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5304 Use them.
5305 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5306 (tramp-parse-putty-group): Don't narrow.
5307 (tramp-parse-putty): Make a loop.
5308 (tramp-file-name-handler): Catch the `suppress' signal.
5309
72834e10
CY
53102012-06-11 Chong Yidong <cyd@gnu.org>
5311
5312 * image.el (imagemagick-register-types): Put the ImageMagick entry
5313 at the end of image-type-file-name-regexps.
5314
a4712e11
JB
53152012-06-11 Johan Bockgård <bojohan@gnu.org>
5316
5317 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5318 (pcase, pcase-let*, pcase-dolist): Use them.
5319
82ad98e3
SM
53202012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5321
5322 * emacs-lisp/pcase.el (pcase--let*): New function.
5323 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5324 (pcase--expand): Use macroexp-let².
5325
f80efb86
SM
53262012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5327
5328 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5329 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5330 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5331 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5332 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5333 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5334
31ca4639 53352012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 5336
31ca4639
CY
5337 * mail/rmail.el (rmail-yank-current-message): Leave point at
5338 correct position. (Bug#11660)
94f0aa34 5339
31ca4639 53402012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 5341
31ca4639 5342 * allout-widgets.el: Fix code header.
9e1b8ec4 5343
31ca4639 53442012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 5345
f80efb86
SM
5346 * cus-edit.el (customize-changed-options-previous-release):
5347 Bump to 24.1.
31ca4639 5348
642b6d30
AS
53492012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5350
5351 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5352
4f5d2ba1
CY
53532012-06-09 Chong Yidong <cyd@gnu.org>
5354
5355 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5356
e75852fd
MR
53572012-06-09 Martin Rudalics <rudalics@gmx.at>
5358
5359 * window.el (special-display-popup-frame): Don't use
5360 window--display-buffer (Bug#11651).
5361
1e48e282
EZ
53622012-06-09 Eli Zaretskii <eliz@gnu.org>
5363
8a26b487
EZ
5364 Fix parallel builds: make sure loaddefs.el is not being written
5365 while Lisp files are compiled.
5366 (compile): Don't depend on 'mh-autoloads'.
5367 (compile-CMD, compile-SH): Depend on 'autoloads'.
5368 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5369
1e48e282
EZ
5370 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5371
6175e34b
CY
53722012-06-09 Chong Yidong <cyd@gnu.org>
5373
5374 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5375 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5376 Doc fixes (Bug#11225).
5377
d9857e53
SM
53782012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5379
5380 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5381 a function if there's a clear indication that it has a compiler-macro.
5382 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5383 (macro-declarations-alist): Add arglist to declaration functions.
5384 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5385 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5386 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5387 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5388 Also add autoload to find the compiler macro.
5389 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5390 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5391 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5392 (cl--compiler-macro-get): New functions, replacing calls to
5393 cl-define-compiler-macro.
5394 (cl-typep) [compiler-macro]: Use macroexp-let².
5395
f81298f8 53962012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
5397
5398 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5399 string properly, fixes Bug#11473.
5400
4b56d0fe
CY
54012012-06-08 Chong Yidong <cyd@gnu.org>
5402
5403 * faces.el (set-face-attribute): Doc fix.
5404 (modify-face): Don't use :bold and :italic.
5405 (error, warning, success): Tweak definitions.
5406
5407 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5408 (custom-modified, custom-set, custom-changed, custom-themed)
5409 (custom-saved, custom-button, custom-button-mouse)
5410 (custom-button-pressed, custom-state, custom-comment-tag)
5411 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5412 (custom-group-subtitle): Use new-style face specs.
5413 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5414 (custom-set-face, custom-changed-face, custom-saved-face)
5415 (custom-button-face, custom-button-pressed-face)
5416 (custom-documentation-face, custom-state-face)
5417 (custom-comment-face, custom-comment-tag-face)
5418 (custom-variable-tag-face, custom-variable-button-face)
5419 (custom-face-tag-face, custom-group-tag-face-1)
5420 (custom-group-tag-face): Remove obsolete face alias.
5421
5422 * epa.el (epa-validity-high, epa-validity-medium)
5423 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5424 (epa-field-name, epa-field-body):
5425 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5426 (font-lock-keyword-face, font-lock-builtin-face)
5427 (font-lock-function-name-face, font-lock-variable-name-face)
5428 (font-lock-type-face, font-lock-constant-face):
5429 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5430 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5431 * speedbar.el (speedbar-button-face, speedbar-file-face)
5432 (speedbar-directory-face, speedbar-tag-face)
5433 (speedbar-selected-face, speedbar-highlight-face)
5434 (speedbar-separator-face):
5435 * whitespace.el (whitespace-newline, whitespace-space)
5436 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5437 (whitespace-line, whitespace-space-before-tab)
5438 (whitespace-space-after-tab, whitespace-indentation)
5439 (whitespace-empty):
5440 * emulation/cua-base.el (cua-global-mark):
5441 * eshell/em-prompt.el (eshell-prompt):
5442 * net/newst-plainview.el (newsticker-new-item-face)
5443 (newsticker-old-item-face, newsticker-immortal-item-face)
5444 (newsticker-obsolete-item-face, newsticker-date-face)
5445 (newsticker-statistics-face, newsticker-default-face):
5446 * net/newst-reader.el (newsticker-feed-face)
5447 (newsticker-extra-face, newsticker-enclosure-face):
5448 * net/newst-treeview.el (newsticker-treeview-face)
5449 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5450 (newsticker-treeview-immortal-face)
5451 (newsticker-treeview-obsolete-face)
5452 (newsticker-treeview-selection-face):
5453 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5454 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5455 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5456 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5457 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5458 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5459 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5460 (mpuz-text):
5461 * progmodes/vera-mode.el (vera-font-lock-number)
5462 (vera-font-lock-function, vera-font-lock-interface):
5463 * textmodes/table.el (table-cell): Use new-style face specs, and
5464 don't use the old :bold and :italic attributes.
5465
5466 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5467 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5468 (ebrowse-member-class, ebrowse-progress): Likewise.
5469 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5470 (ebrowse-file-name-face, ebrowse-default-face)
5471 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5472 (ebrowse-progress-face): Remove obsolete faces.
5473
5474 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5475 Inherit from error and warning faces respectively.
5476
5477 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5478 Likewise.
f80efb86
SM
5479 (flyspell-incorrect-face, flyspell-duplicate-face):
5480 Remove obsolete aliases.
4b56d0fe 5481
03310646
MA
54822012-06-08 Michael Albinus <michael.albinus@gmx.de>
5483
5484 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5485 Avoid infloop.
5486
513749ee
SM
54872012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5488
5489 * startup.el (argv, argi): Make lexically scoped.
5490 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5491 * emacs-lisp/cl-macs.el: Use lexical-binding.
5492 Rename cl-bind-* to cl--bind-*.
5493 * files.el: Don't require `cl' since it doesn't use it.
5494 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5495
595ef4ad
JB
54962012-06-08 Juanma Barranquero <lekktu@gmail.com>
5497
5498 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5499 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5500 instead of calling external sort utility.
5501 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5502
e9f66fcb
EZ
55032012-06-08 Eli Zaretskii <eliz@gnu.org>
5504
5505 * descr-text.el (describe-char): Mention how to insert the
5506 character, if the current input method doesn't support it.
5507 See the discussion in this thread for the details:
5508 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5509
3d10db47
SS
55102012-06-08 Sam Steingold <sds@gnu.org>
5511
5512 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5513 XF86Back to previous-buffer.
5514 (minibuffer-local-map): Bind them to next-history-element and
5515 previous-history-element respectively.
5516 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5517 help-go-back respectively.
5518 * info.el (Info-mode-map): Bind them to Info-history-forward and
5519 Info-history-back respectively.
5520 These are the keys next to Up on the ThinkPad keyboard.
5521
de7e2b36
SM
55222012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5523
5524 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5525 * emacs-lisp/cl-macs.el: Provide itself.
5526 (cl--labels-convert-cache): New var.
5527 (cl--labels-convert): New function.
5528 (cl-flet, cl-labels): New implementation with new semantics, relying on
5529 lexical-binding.
5530 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5531 (cl-closure-vars, cl--function-convert-cache)
5532 (cl--function-convert): Move from cl-macs.el.
5533 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5534 rename by removing the "cl-" prefix.
5535 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5536
6fa6c4ae
SM
55372012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5538
5539 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5540 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5541 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5542 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5543 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5544 (cl-hash-table-count): Add old compatibility aliases.
5545
5546 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5547 Use macroexpand-all-environment instead.
5548 (cl--old-macroexpand): New var.
5549 (cl--sm-macroexpand): New function.
5550 (cl-symbol-macrolet): Use it during macro expansion.
5551 (cl--function-convert-cache): New var.
5552 (cl--function-convert): New function, extracted from
5553 cl-macroexpand-all.
5554 (cl-lexical-let): Use it.
5555
5556 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5557 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5558 (cl-member): Remove old alias.
5559
5560 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5561 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5562 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5563 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5564 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5565 (cl-macroexpand-cmacs): Remove var.
5566 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5567 Use macroexpand-all instead.
5568
4dd1c416
SM
55692012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5570
5571 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5572 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5573 (macroexp-copyable-p): New functions and macros.
5574 * emacs-lisp/edebug.el (edebug-unwrap):
5575 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5576 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5577 (pcase--let*): Remove.
5578 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5579 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
5580 macroexp-const-p instead.
5581 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5582
5583 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5584 instead of "cl-" for internal definitions. Use macroexp-const-p.
5585 (cl-old-bc-file-form): Remove var.
5586 (cl-const-exprs-p): Remove fun.
5587 (cl-labels, cl-macrolet): Use backquote.
5588 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
5589 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5590 (cl-define-setf-expander): Rename from cl-define-setf-method.
5591 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5592
5593 * international/mule-cmds.el: Don't require CL.
5594 (view-hello-file): Don't use `letf'.
5595
ed8bd4d7
SM
55962012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5597
7287f2f3
SM
5598 * tmm.el (tmm-prompt): Use string-prefix-p.
5599 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5600 (tmm-add-prompt): Use minibuffer-completion-help.
5601 (tmm-delete-map): Remove.
5602
ed8bd4d7
SM
5603 * subr.el (kbd): Make it its own function.
5604
7b4cdbf4
SM
56052012-06-07 Stefan Merten <smerten@oekonux.de>
5606
5607 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5608 Silence compiler warnings. Fix versions.
ed8bd4d7 5609 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 5610 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 5611 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
5612 (rst-package-emacs-version-alist): Correct Emacs version to
5613 represent major merge with upstream.
ed8bd4d7 5614 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 5615
2b48d721
GM
56162012-06-06 Glenn Morris <rgm@gnu.org>
5617
5618 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5619 Only print environment variables if set.
5620
fa779ab0
SM
56212012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5622
5623 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5624 (macroexp--cons): Rename from maybe-cons.
5625 (macroexp--accumulate): Rename from macroexp-accumulate.
5626 (macroexp--all-forms): Rename from macroexpand-all-forms.
5627 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5628 (macroexp--expand-all): Rename from macroexpand-all-1.
5629
628299e0
SS
56302012-06-06 Sam Steingold <sds@gnu.org>
5631
5632 * calendar/calendar.el (calendar-in-read-only-buffer):
5633 Call `special-mode' to enable the standard read-only keybindings.
5634
b7bb5838
SM
56352012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5636
5637 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
5638 with "loading" messages (bug#11635).
5639
dfb308ba
MA
56402012-06-06 Michael Albinus <michael.albinus@gmx.de>
5641
5642 * files.el (enable-remote-dir-locals): New option.
5643 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
5644
0372ee92
MA
5645 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5646 Ensure, that the temp directory is local.
5647
5648 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
5649 `temporary-file-directory'.
5650
eed0bb91
MA
5651 * progmodes/python.el (python-send-region): Ensure, that the
5652 temporary file is created also in the remote case.
5653
7a58f64d
GM
56542012-06-06 Glenn Morris <rgm@gnu.org>
5655
f7dd4e98
GM
5656 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
5657 (vc-rcs-update-changelog): Use it.
5658
090bd7cb 5659 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 5660
7a58f64d
GM
5661 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
5662 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
5663 (vc-sccs-diff): Replace use of the external vcdiff script.
5664
daed4003
GM
56652012-06-05 Glenn Morris <rgm@gnu.org>
5666
5667 * ledit.el: Move to obsolete/.
5668
48c455c7
SS
56692012-06-05 Sam Steingold <sds@gnu.org>
5670
ed9265fc 5671 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
5672 patch (Bug#11140).
5673
57a7d507
SM
56742012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5675
090bd7cb 5676 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 5677
53aacf21
SM
5678 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
5679 compiler-macro expansion.
5680
57a7d507
SM
5681 Add native compiler-macro support.
5682 * emacs-lisp/macroexp.el (macroexpand-all-1):
5683 Support compiler-macros directly. Properly follow aliases and apply
5684 the compiler macros more thoroughly.
5685 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
5686 macroexpand now properly follows aliases.
5687 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
5688 (cl-compiler-macroexpand): Use new prop.
5689 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
5690
5691 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
5692
51a5f9d8
MR
56932012-06-05 Martin Rudalics <rudalics@gmx.at>
5694
5695 * window.el (get-lru-window, get-mru-window, get-largest-window):
5696 New argument NOT-SELECTED to avoid picking the selected window.
5697 (window--display-buffer-1, window--display-buffer-2): Replace by
5698 new function window--display-buffer
5699 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
5700 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5701 Use window--display-buffer.
51a5f9d8
MR
5702 (display-buffer-use-some-window): Remove temporary dedication
5703 hack by calling get-lru-window and get-largest-window with
5704 NOT-SELECTED argument non-nil. Call window--display-buffer.
5705
08f9f738
GM
57062012-06-05 Glenn Morris <rgm@gnu.org>
5707
5708 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
5709 Replace external vcdiff script.
5710
e364a2b7
SM
57112012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5712
5713 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
5714
041df390
CY
57152012-06-04 Chong Yidong <cyd@gnu.org>
5716
e364a2b7
SM
5717 * image.el (imagemagick-types-inhibit): Revert last change.
5718 Add INFO and M.
47b36b94 5719 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 5720
7c1898a7
SM
57212012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5722
5723 * emacs-lisp/cl-lib.el: Rename from cl.el.
5724 * emacs-lisp/cl.el: New compatibility file.
5725 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
5726 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
5727 to obey the "cl-" prefix.
5728 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
5729
0c3461de
GM
57302012-06-03 Glenn Morris <rgm@gnu.org>
5731
1e266c88
GM
5732 * emacs-lisp/authors.el (authors-aliases): Addition.
5733
0c3461de
GM
5734 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
5735 Fix :version.
5736
d8a52e15
SM
57372012-06-03 Stefan Merten <smerten@oekonux.de>
5738
5739 * textmodes/rst.el: Add comments.
5740 (rst-transition, rst-adornment): New faces.
5741 (rst-adornment-faces-alist): Make default safe to reevaluate.
5742 Fixes
5743 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
5744 Improve customization tags.
5745 (rst-define-level-faces): Clarify meaning.
5746
5205d6f6
CY
57472012-06-03 Chong Yidong <cyd@gnu.org>
5748
5749 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
5750 (compilation-mode-line-run, compilation-mode-line-exit):
5751 New faces.
5205d6f6
CY
5752 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
5753
757ee657
JD
57542012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
5755
7c1898a7
SM
5756 * progmodes/which-func.el (which-func-update-ediff-windows):
5757 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 5758
5f2c76c6
CY
57592012-06-03 Chong Yidong <cyd@gnu.org>
5760
5761 * bindings.el: Remove explicit help text from format-mode-line.
5762 It is now supplied by mode-line-default-help-echo.
5763 (mode-line-front-space, mode-line-end-spaces)
5764 (mode-line-misc-info): New variables.
5765 (mode-line-modes, mode-line-position): Move the default value to
5766 the variable definition.
5767 (mode-line-default-help-echo): New defcustom.
383f7350
CY
5768 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
5769 (mode-line-modified-help-echo): New functions.
5770 (mode-line-mule-info, mode-line-modified): Use them.
5771 (mode-line-eol-desc, propertized-buffer-identification):
5772 Consistency fixes for help text.
cbe46e5f
CY
5773 (mode-line-coding-system-map): Allow using mouse-3 to invoke
5774 set-buffer-file-coding-system (Bug#289).
5775 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 5776
f2d6a3df
SM
57772012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5778
5779 * simple.el (execute-extended-command): Set real-this-command
5780 (bug#11506).
5781
37269466
CY
57822012-06-02 Chong Yidong <cyd@gnu.org>
5783
5784 Remove incorrect uses of "modeline" in comments, docstrings, and
5785 function/variable names (Bug#10329).
5786
5787 * cus-edit.el (mode-line):
5788 * dframe.el (dframe-mouse-hscroll):
5789 * emacs-lisp/re-builder.el:
5790 * emacs-lisp/easy-mmode.el (define-minor-mode):
5791 * frame.el (set-frame-name):
5792 * help.el (lookup-minor-mode-from-indicator):
5793 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
5794 * progmodes/cc-cmds.el (c-toggle-auto-newline)
5795 (c-toggle-hungry-state):
5796 * progmodes/antlr-mode.el (antlr-language-alist):
5797 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
5798 * progmodes/vhdl-mode.el (vhdl-mode):
5799 * progmodes/which-func.el (which-func, which-func-cleanup-function):
5800 * term/ns-win.el (ns-face-at-pos):
5801 * term/sup-mouse.el (sup-mouse-report):
5802 * textmodes/flyspell.el (flyspell-mode-line-string):
5803 * textmodes/ispell.el (ispell-highlight-face):
5804 * textmodes/reftex-global.el:
5805 * vc/vc-arch.el (vc-arch-mode-line-string):
5806 * vc/vc-cvs.el (vc-cvs-mode-line-string):
5807 * vc/vc-git.el (vc-git-mode-line-string):
5808 * vc/vc-hooks.el (vc-display-status)
5809 (vc-default-mode-line-string):
5810 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
5811
5812 * ansi-color.el (ansi-color-faces-vector): Change default faces.
5813
5814 * dired.el (dired-sort-set-mode-line): Rename from
5815 dired-sort-set-modeline. All callers changed.
5816
5817 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
5818 eshell-status-in-modeline.
5819
5820 * foldout.el (foldout-mode-line-string): Rename from
5821 foldout-modeline-string. All callers changed.
5822 (foldout-update-mode-line): Rename from foldout-update-modeline.
5823
5824 * subr.el (redraw-modeline): Make into obsolete alias.
5825
5826 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
5827 timeclock-modeline-display. Make old name an alias.
5828 (timeclock-update-mode-line): Likewise. All callers changed.
5829 (timeclock-mode-line-display): No need to check before using
5830 add-hook.
5831 (timeclock-relative, timeclock-day-over-hook)
5832 (timeclock-use-elapsed, timeclock-mode-string)
5833 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
5834
5835 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
5836 crisp-mode-modeline-string.
5837
5838 * play/solitaire.el (solitaire-build-mode-line): Rename from
5839 solitaire-build-modeline. All callers changed.
5840
5841 * play/zone.el (zone-hiding-mode-line): Rename from
5842 zone-hiding-modeline. All callers changed.
5843 (zone): Remove unusued `modeline-hidden-level' property.
5844
5845 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
5846 xscheme-modeline-initialize. All callers changed.
5847
5848 * strokes.el (strokes-lighter): Rename from
5849 strokes-modeline-string.
5850
5851 * textmodes/sgml-mode.el (html-face-tag-alist)
5852 (html-tag-face-alist): Use mode-line face instead of obsolete
5853 alias modeline.
5854
42152ee4
SM
58552012-06-02 Stefan Merten <smerten@oekonux.de>
5856
5857 * textmodes/rst.el: Always require `cl'.
4cf9b38d 5858 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 5859
95f520b5
CY
58602012-06-02 Chong Yidong <cyd@gnu.org>
5861
5862 * image.el (imagemagick-enabled-types): Rename from
5863 imagemagick-types-enable. Add many more types.
5864 (imagemagick-types-inhibit): Change default to nil.
5865 (imagemagick-filter-types): Caller changed.
5866
4a5f187a
SM
58672012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5868
03fef3e6
SM
5869 * emacs-lisp/cl-macs.el: Use backquotes.
5870 (cl-transform-function-property): Use eval-and-compile rather than
5871 abusing `require'.
5872 (defstruct): Use declare-function instead of with-no-warnings.
5873
4a5f187a
SM
5874 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
5875 (byte-compile-output-docform): Re-add the print-circle bindings.
5876 (byte-compile-fix-header): Use #$ just because it's shorter.
5877 (byte-compile-output-file-form): Remove defun/defmacro.
5878
bd56924f
MR
58792012-06-01 Martin Rudalics <rudalics@gmx.at>
5880
5881 * simple.el (choose-completion): Remove now obsolete binding for
5882 owindow.
5883
046e38ce
MA
58842012-06-01 Michael Albinus <michael.albinus@gmx.de>
5885
5886 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
5887 in order to avoid "Stack overflow in regexp matcher".
5888
32d72c2f
GM
58892012-05-31 Glenn Morris <rgm@gnu.org>
5890
5891 * image.el: For clarity, call imagemagick-register-types at
5892 top-level, rather than relying on a custom :initialize.
5893 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
5894 (imagemagick-filter-types): New function. (Bug#7406)
5895 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
5896 If disabling support, remove elements altogether rather
5897 than using an impossible regexp.
5898 (imagemagick-types-inhibit): Give it the default init function.
5899
dd41169b
SM
59002012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5901
4a5f187a
SM
5902 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
5903 Handle arbitrary file name lengths (Bug#11585).
dd41169b 5904
efc00ab1 59052012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
5906
5907 * desktop.el (desktop-read): Clear previous and next buffers for
5908 all windows and bury *Messages* buffer (bug#11556).
5909
500fcedc
SM
59102012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5911
5912 Add `declare' for `defun'. Align `defmacro's with it.
5913 * emacs-lisp/easy-mmode.el (define-minor-mode)
5914 (define-globalized-minor-mode): Don't autoload the var definitions.
5915 * emacs-lisp/byte-run.el: Use lexical-binding.
5916 (defun-declarations-alist, macro-declarations-alist): New vars.
5917 (defmacro, defun): Use them.
5918 (make-obsolete, define-obsolete-function-alias)
5919 (make-obsolete-variable, define-obsolete-variable-alias):
5920 Use `declare'.
5921 (macro-declaration-function): Mark obsolete.
5922 * emacs-lisp/autoload.el: Use lexical-binding.
5923 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
5924
6e8a1786
AM
59252012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5926
5927 * textmodes/ispell.el (ispell-with-no-warnings):
5928 Define as a macro.
500fcedc
SM
5929 (ispell-kill-ispell, ispell-change-dictionary):
5930 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
5931 `interactive-p'.
5932
61b108cc
SM
59332012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5934
5935 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
5936 (macro-declaration-function): Move var from C code.
5937 (macro-declaration-function): Define function with defalias.
5938 * emacs-lisp/macroexp.el (macroexpand-all-1):
5939 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
5940 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
5941 defun/defmacro any more.
5942 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
5943 Provide fallback for unknown arglist.
5944 (byte-compile-arglist-warn): Change calling convention.
5945 (byte-compile-output-file-form): Move print-vars binding.
5946 (byte-compile-output-docform): Simplify accordingly.
5947 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
5948 (byte-compile-defmacro-declaration): Remove.
5949 (byte-compile-file-form-defmumble): Generalize to defalias.
5950 (byte-compile-output-as-comment): Return byte-positions.
5951 Simplify callers accordingly.
5952 (byte-compile-lambda): Use `assert'.
5953 (byte-compile-defun, byte-compile-defmacro): Remove.
5954 (byte-compile-file-form-defalias):
5955 Use byte-compile-file-form-defmumble.
5956 (byte-compile-defalias-warn): Remove.
5957
6d3f7c2f
SM
59582012-05-29 Stefan Merten <smerten@oekonux.de>
5959
5960 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 5961 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
5962
5963 (rst-mode-abbrev-table): Merge definition.
5964 (rst-mode): Make sure `font-lock-defaults' is buffer local.
5965 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
5966
6dbaa1c7
UJ
59672012-05-29 Ulf Jasper <ulf.jasper@web.de>
5968
5969 * calendar/icalendar.el
5970 (icalendar-export-region): Export UID properly.
5971
d209e2fb 59722012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
5973 * calendar/icalendar.el (icalendar-import-format):
5974 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
5975 (icalendar-import-format-uid): New.
5976 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
5977 Export UID.
5978
6876a58d
SM
59792012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5980
5981 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
5982 different alternative patterns.
5983 (pcase-codegen): Be more careful to preserve identity.
5984 (pcase--u1): Don't forget to mark vars as used.
5985
5986 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
5987 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
5988 (byte-compile-from-buffer): ...rather than here.
5989
5990 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
5991 functions from byte-compile-function-environment.
5992
46b7967e
TN
59932012-05-29 Troels Nielsen <bn.troels@gmail.com>
5994
5995 * window.el (window-deletable-p): Avoid deleting the root window
5996 of a frame with an active minibuffer.
5997
69d565e2
MR
59982012-05-29 Martin Rudalics <rudalics@gmx.at>
5999
6000 * simple.el (choose-completion): Use quit-window (Bug#11567).
6001
a149fa51
CY
60022012-05-29 Chong Yidong <cyd@gnu.org>
6003
6004 * whitespace.el (whitespace-cleanup): Fix usage of
6005 whitespace-empty-at-bob-regexp (Bug#11492).
6006
2b311310
AH
60072012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6008
6009 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6010 revert (Bug#11488).
6011
b9cb2387
JL
60122012-05-29 Juri Linkov <juri@jurta.org>
6013
6014 * isearch.el (isearch-mode-map): Bind `M-s _' to
6015 `isearch-toggle-symbol'. Bind `M-s c' to
6016 `isearch-toggle-case-fold'.
6017 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6018 (isearch-forward): Add `M-s _' to the docstring.
6019 (isearch-forward-symbol, isearch-toggle-case-fold)
6020 (isearch-symbol-regexp): New functions. (Bug#11381)
6021
d5e61c1c
JL
60222012-05-29 Juri Linkov <juri@jurta.org>
6023
6024 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6025 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6026 a function, call it to get the regexp.
6027 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6028 property `isearch-message-prefix' instead of the string "word ".
6029 (isearch-search-fun-default): For the case of `isearch-word',
6030 return a lambda that calls re-search-forward/re-search-backward
6031 with a regexp returned by `word-search-regexp' or by the function
6032 in `isearch-word'.
6033
8cbd80f7
JL
60342012-05-29 Juri Linkov <juri@jurta.org>
6035
6036 * isearch.el (isearch-search-fun-default): New function.
6037 (isearch-search-fun): Move default part to the new function
6038 `isearch-search-fun-default'.
6039 (isearch-search-fun-function): Set the default value to
6040 `isearch-search-fun-default'. (Bug#11381)
6041
6042 * comint.el (comint-history-isearch-end):
6043 Use `isearch-search-fun-default'.
6044 (comint-history-isearch-search): Use `isearch-search-fun-default'
6045 and remove spacial case for `isearch-word'.
6046 (comint-history-isearch-wrap): Remove spacial case for
6047 `isearch-word'.
6048
6049 * hexl.el (hexl-isearch-search-function):
6050 Use `isearch-search-fun-default'.
6051
6052 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6053 Use `word-search-regexp' for `isearch-word'.
6054
6055 * misearch.el (multi-isearch-search-fun):
6056 Use `isearch-search-fun-default'.
6057
6058 * simple.el (minibuffer-history-isearch-search):
6059 Use `isearch-search-fun-default' and remove spacial case for
6060 `isearch-word'.
6061 (minibuffer-history-isearch-wrap): Remove spacial case for
6062 `isearch-word'.
6063
6064 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6065 Remove spacial case for `isearch-word'.
6066 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6067
85c8c5b6
AM
60682012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6069
6070 Decrease XEmacs incompatibilities.
6071 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6072 Use `string-match'.
6073 (flyspell-delete-region-overlays): Use alternative definition for
6074 XEmacs.
6075 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6076 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6077 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6078 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6079 `define-obsolete-face-alias' under XEmacs, but old method.
6080
6081 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6082 `with-no-warnings' definition or Emacs alias.
6083 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6084 (ispell-word): Do not use `region-p' if XEmacs.
6085
8cab9efc
AM
60862012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6087
6088 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6089 Check for `ispell-dictionary-base-alist' instead of full
6090 `ispell-dictionary-alist'.
6091 (ispell-init-process): Show spellchecker when starting new Ispell
6092 process.
6093
fda91268
RZ
60942012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6095
6096 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6097 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6098
694ea8e3
JB
60992012-05-27 Juanma Barranquero <lekktu@gmail.com>
6100
6101 * version.el (motif-version-string, gtk-version-string)
6102 (ns-version-string): Declare.
6103
e4d4f539
JL
61042012-05-27 Juri Linkov <juri@jurta.org>
6105
6106 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6107 after the `eval-defun-1' specialcaseing
6108 like in `edebug-eval-defun' (bug#10181).
6109
6110 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6111 like in `eval-defun-1'.
6112
33017faf 61132012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 6114
fda91268
RZ
6115 * mail/sendmail.el (mail-yank-region):
6116 Recognize rmail-yank-current-message in addition to insert-buffer.
6117 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
6118 a *mail* buffer created through rmail-start-mail with sendmail as
6119 mail-user-agent.
6120
33017faf
GM
61212012-05-27 Chong Yidong <cyd@gnu.org>
6122
6123 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6124 Default to 256 (Bug#11267).
6125
6126 * help.el (describe-mode): Doc fix.
6127
04188bb9
GM
61282012-05-26 Glenn Morris <rgm@gnu.org>
6129
38264cc9
GM
6130 * w32-fns.el (w32-init-info): Remove.
6131 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6132
eb7afdad
GM
6133 * info.el (info-initialize): For self-contained NS builds, put the
6134 included info/ directory at the front. (Bug#2791)
6135
04188bb9
GM
6136 * paths.el (Info-default-directory-list): Make it a defcustom,
6137 mainly so that we can use custom-initialize-delay.
6138
a179e3f7
SM
61392012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6140
43416392
SM
6141 * subr.el (buffer-has-markers-at): Mark obsolete.
6142
a179e3f7 6143 * subr.el (lambda): Use declare.
43416392 6144
a179e3f7
SM
6145 * emacs-lisp/lisp-mode.el (lambda):
6146 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6147
34a008d9
AH
61482012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6149
6150 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6151
0a3b289f
GM
61522012-05-26 Glenn Morris <rgm@gnu.org>
6153
6154 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6155
758c81e8
GM
61562012-05-25 Glenn Morris <rgm@gnu.org>
6157
f9f334f0
GM
6158 * paths.el: Remove no-byte-compile.
6159 * loadup.el: No need to load paths.el uncompiled.
6160
87eb79c2
GM
6161 * image.el (imagemagick-types-inhibit): Doc fix.
6162
758c81e8
GM
6163 * version.el: Remove no-byte-compile and associated formatting.
6164 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6165 is ancient code from when there was an "inc-vers.el".
6166
e7e85dc0
SM
61672012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6168
6169 * progmodes/gdb-mi.el: Minor style changes.
6170 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6171 Turn into minor modes.
6172 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6173 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6174 (gdb-shell): Remove unneeded let-binding.
6175 (gdb-get-many-fields): Eliminate O(n²) behavior.
6176
f31237a4
EZ
61772012-05-25 Eli Zaretskii <eliz@gnu.org>
6178
6179 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6180 platforms that don't link in fontset.c.
6181
bc1b21bb
JL
61822012-05-25 Juri Linkov <juri@jurta.org>
6183
6184 Use the same diff color scheme as in modern VCSes (bug#10181).
6185
6186 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6187 to avoid confusion with `diff-added' that now uses green colors.
6188 (diff-removed): Use shades of red.
6189 (diff-added): Use shades of green.
6190 (diff-changed): Leave just the yellow color.
6191 (diff-use-changed-face): New variable.
6192 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6193 how to highlight context diff changes.
6194 (diff-refine-change): Use shades of yellow.
6195 (diff-refine-removed): New face that uses shades of red.
6196 (diff-refine-added): New face that uses shades of green.
6197 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6198 `diff-refine-removed' in the call to `smerge-refine-subst'
6199 depending on the value of `diff-use-changed-face'.
6200
6201 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6202 (smerge-other): Use shades of green.
6203 (smerge-base): Use shades of yellow.
6204 (smerge-refined-change): Empty face.
6205 (smerge-refined-removed): New face that uses shades of red.
6206 (smerge-refined-added): New face that uses shades of green.
6207 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6208 args `props-r' and `props-a', and use them. Doc fix.
6209 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6210 on its value use different faces `smerge-refined-change',
6211 `smerge-refined-removed', `smerge-refined-added' in the call to
6212 `smerge-refine-subst'.
6213
6214 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6215 Add face condition `min-colors 88' with shades of red.
6216 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6217 `min-colors 88' with shades of green.
6218 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6219 `min-colors 88' with shades of yellow.
6220
6df9112c
GM
62212012-05-24 Glenn Morris <rgm@gnu.org>
6222
ead5edc0
GM
6223 * paths.el (prune-directory-list, remote-shell-program): Move to...
6224 * files.el (prune-directory-list, remote-shell-program): ...here.
6225 For the latter, delay initialization, prefer ssh, just search PATH.
6226
f18b81e6
GM
6227 * paths.el (term-file-prefix): Move to faces.el (the only user).
6228 * faces.el (term-file-prefix): Move here, make it a defcustom.
6229
ee2f89a6
GM
6230 * paths.el (news-directory, news-path, news-inews-program):
6231 Move to gnus/nnspool.el.
61a583ca 6232
f8815e4c
GM
6233 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6234
c8f3b42c
GM
6235 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6236 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6237 Make the latter a defcustom, with a delayed initialization.
6238
6df9112c
GM
6239 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6240 These were deleted from Gnus itself late 2010.
6241
5dadff36
JB
62422012-05-22 Juanma Barranquero <lekktu@gmail.com>
6243
9e1701c6
JB
6244 * progmodes/which-func.el (which-func-ff-hook):
6245 Check against user-error, not error.
6246
bd7239f5 6247 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
6248 cl-specs.el, which no longer exists.
6249
3290526d
GM
62502012-05-22 Glenn Morris <rgm@gnu.org>
6251
6252 * info.el (info-emacs-bug): New command.
6253 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6254 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6255
ff0c3cfb
GM
62562012-05-21 Glenn Morris <rgm@gnu.org>
6257
6258 * makefile.w32-in (update-subdirs-SH):
6259 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6260
5814f126
SM
62612012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6262
a52c0aa0
SM
6263 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6264
5814f126
SM
6265 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6266 Simplify Maven regexp, and make sure the file can't start with a space
6267 (bug#11517).
6268
b847032c
GM
62692012-05-21 Glenn Morris <rgm@gnu.org>
6270
6271 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6272 Scrap superfluous subshells.
6273
3858bfe7
SM
62742012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6275
6276 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6277 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6278
d14b0029
JB
62792012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6280
6281 * calc/calc.el (calc-ensure-consistent-units): New variable.
6282
a52c0aa0
SM
6283 * calc/calc-units.el (math-consistent-units-p)
6284 (math-check-unit-consistency): New functions.
6285 (calc-quick-units, calc-convert-units):
6286 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6287 is non-nil.
d14b0029
JB
6288 (calc-extract-units): Fix typo.
6289
60c4db3a
SM
62902012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6291
77f3b62e
SM
6292 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6293
60c4db3a
SM
6294 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6295 (flyspell-default-deplacement-commands): Don't spell check after
6296 repeated window/frame switches (e.g. triggered by mouse-movement).
6297 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6298 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6299 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6300 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6301 Remove unused vars.
6302 (flyspell-get-casechars, flyspell-get-not-casechars):
6303 Simplify; Don't bother removing a ] just to add it back.
6304 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6305
d209e2fb 63062012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
6307
6308 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6309 New functions.
bd7239f5 6310 (math-function-table): Add support for more C functions.
b1a10716 6311
3f1b25b5
AM
63122012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6313
090bd7cb
JB
6314 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6315 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6316 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 6317
b581bb5c
SM
63182012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6319
6320 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6321 their respective macro declarations.
6322 * skeleton.el (define-skeleton):
6323 * progmodes/compile.el (define-compilation-mode):
6324 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6325 (define-ibuffer-filter):
6326 * emacs-lisp/generic.el (define-generic-mode):
6327 * emacs-lisp/easy-mmode.el (define-minor-mode)
6328 (define-globalized-minor-mode):
6329 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6330 * emacs-lisp/byte-run.el (defsubst):
6331 * custom.el (deftheme): Add doc-string metadata.
6332
70b8ef8f
SM
63332012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6334
6335 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6336
b1198e17
SM
63372012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6338
9abdc45d
SM
6339 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6340
b1198e17
SM
6341 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6342 * emacs-lisp/cl-macs.el: Idem.
6343 * emacs-lisp/cl-specs.el: Remove.
6344
4735906a
SM
63452012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6346
6347 Minor renaming of internal CL functions and variables.
6348 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6349 (cl--position): Rename from cl-position.
6350 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6351 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6352 (cl--random-state): Rename from *random-state*.
6353
ac348012
SM
63542012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6355
6356 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6357 parens around the arg list (bug#11499).
6358
a0a79cde
JL
63592012-05-17 Juri Linkov <juri@jurta.org>
6360
6361 * isearch.el (word-search-regexp, word-search-backward)
6362 (word-search-forward, word-search-backward-lax)
6363 (word-search-forward-lax): Move functions from search.c
6364 (bug#10145, bug#11381).
6365
65034a51
AM
63662012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6367
090bd7cb
JB
6368 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6369 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6370 Delay for otherchars as for normal word components.
65034a51 6371
1a72a195
SM
63722012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6373
6374 * minibuffer.el (completion--sifn-requote): Fix last change.
6375 (minibuffer-local-must-match-filename-map):
6376 Move define-obsolete-variable-alias before its var.
6377
fdb058c2
SM
63782012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6379
c41045e6
SM
6380 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6381
036dfb8b
SM
6382 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6383 behavior.
6384 (completion--string-equal-p): New function.
6385 (completion--twq-all): Use it to get better assertion failure data.
6386
2473256d
SM
6387 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6388 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6389 (shell--requote-argument): New functions.
6390 (shell-completion-vars): Use them.
6391 (shell--parse-pcomplete-arguments): Rename from
6392 shell-parse-pcomplete-arguments.
6393 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6394 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6395 Obey comint-file-name-quote-list.
6396
fdb058c2
SM
6397 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6398 (smie-indent-keyword): Use it.
6399
51fa99f1
SM
64002012-05-14 Stefan Merten <smerten@oekonux.de>
6401
6402 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6403
e18afed7 64042012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
6405
6406 * net/rlogin.el (rlogin-mode-map): Fix last change.
6407
e18afed7 64082012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
6409
6410 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6411 the following \r\n using a single `process-send-string', since the
6412 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 6413 with two `process-send-string's (Bug#11444).
8633b1f4 6414
e18afed7 64152012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 6416
fdb058c2
SM
6417 * shell.el (shell-parse-pcomplete-arguments):
6418 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 6419
2d21d7f6
WJ
64202012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6421
e18afed7 6422 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
6423 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6424 (image-transform-width, image-transform-fit-width): New functions.
6425 (image-transform-properties): Use them.
6426 (image-transform-check-size): New function.
6427 (image-toggle-display-image): Use it (for testing).
6428 (image-transform-set-rotation): Reduce angle mod 360.
6429 Delete obsolete comment.
6430
7102e6d0
WJ
64312012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6432
6433 * image-mode.el: Fix scaling (bug#11399).
6434 (image-transform-resize): Doc fix.
6435 (image-transform-properties): Default scale is 1 and height should
6436 be an integer.
6437
06bc5e6e
SM
64382012-05-13 Johan Bockgård <bojohan@gnu.org>
6439
6440 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6441 than hard-coding `car', to fix misbehavior when moving forward.
6442
0ae03b6a
CY
64432012-05-13 Chong Yidong <cyd@gnu.org>
6444
6445 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6446 (tabulated-list-entries, tabulated-list-padding)
6447 (tabulated-list-sort-key): Make permanent-local.
6448
6449 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6450 (electric-buffer-list): Put electric buffer menu
6451 command descriptions in this docstring, instead of the docstring
6452 of electric-buffer-menu-mode. Code cleanups.
6453 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6454 Electric-buffer-menu-mode.
6455 (electric-buffer-update-highlight): Minor code cleanup.
6456
205a7391
MA
64572012-05-13 Michael Albinus <michael.albinus@gmx.de>
6458
6459 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6460 (Bug#11447)
6461
e5bd0a28
SM
64622012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6463
6464 Move define-obsolete-variable-alias before the var's definition.
6465 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6466 * tooltip.el (tooltip-hook):
6467 * textmodes/reftex-toc.el (reftex-toc-map):
6468 * textmodes/reftex-sel.el (reftex-select-label-map)
6469 (reftex-select-bib-map):
6470 * textmodes/reftex-index.el (reftex-index-map)
6471 (reftex-index-phrases-map):
6472 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6473 * progmodes/meta-mode.el (meta-mode-map):
6474 * novice.el (disabled-command-hook):
6475 * loadhist.el (unload-hook-features-list):
6476 * frame.el (blink-cursor):
6477 * files.el (find-file-not-found-hooks, write-file-hooks)
6478 (write-contents-hooks):
6479 * emulation/tpu-edt.el (GOLD-map):
6480 * emacs-lock.el (emacs-lock-from-exiting):
6481 * emacs-lisp/generic.el (generic-font-lock-defaults):
6482 * emacs-lisp/chart.el (chart-map):
6483 * dos-fns.el (register-name-alist):
6484 * dired-x.el (dired-omit-files-p):
6485 * desktop.el (desktop-enable):
6486 * cus-edit.el (custom-mode-hook):
6487 * buff-menu.el (buffer-menu-mode-hook):
6488 * bookmark.el (bookmark-read-annotation-text-func)
6489 (bookmark-exit-hooks):
6490 * allout.el (allout-mode-deactivate-hook)
6491 (allout-exposure-change-hook, allout-structure-added-hook)
6492 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6493 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6494 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6495 comes before the corresponding variable's definition.
6496
ac59c2f6
CY
64972012-05-12 Chong Yidong <cyd@gnu.org>
6498
6499 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
6500 (Buffer-menu-mouse-select): Restore function (Bug#11459).
6501 (Buffer-menu-mode-map): Bind it.
6502 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 6503
dee6c9a3
SM
65042012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6505
2171cea5
SM
6506 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
6507 (prolog-upper-case-string, prolog-lower-case-string)
6508 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6509 (prolog-use-smie, prolog-smie-grammar): New vars.
6510 (prolog-smie-forward-token, prolog-smie-backward-token)
6511 (prolog-smie-rules): New funs.
6512 (prolog-comment-indent): Remove.
6513 (prolog-mode-variables): Use default comment indentation instead.
6514 Setup SMIE.
6515 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6516 (prolog-mode): Don't call them any more.
6517 (prolog-electric-colon, prolog-electric-dash)
6518 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6519
aa0382bd
SM
6520 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6521
dbacb4bd
SM
6522 * minibuffer.el (completion--twq-all): Again, allow case differences.
6523
13bdd94c
SM
6524 * term.el: Move keymap initialization code to be more idiomatic.
6525 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6526 (term-terminal-menu): Move initialization into declaration.
6527 (term-escape-char): Let the user set it in her .emacs.
6528
ff46c759
SM
6529 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6530 Provide SMIE-based indentation (not enabled by default yet).
6531 (sh-mode-map): Don't bind electric keys.
6532 Use electric-pair-mode instead of skeleton-pair.
6533 (sh-assignment-regexp): Fit within 80 columns.
6534 (sh-indent-supported): Specify actual shell name instead of boolean.
6535 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6536 (sh-maybe-here-document): Use it. Make obsolete.
6537 (sh-electric-here-document-mode) New minor mode.
6538 (sh-mode): Use it. Don't set sh-indent-supported-here here.
6539 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6540 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6541 (sh-smie-rc-grammar, sh-use-smie): New vars.
6542 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6543 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6544 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6545 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6546 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6547 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6548 (sh-set-shell): Use smie-setup if requested.
6549
dee6c9a3
SM
6550 * term.el (term-set-escape-char): Properly set term-escape-char.
6551 See http://stackoverflow.com/questions/10524656.
6552
9f9aa044
CY
65532012-05-10 Chong Yidong <cyd@gnu.org>
6554
6555 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6556 Use url-generic-parse-url, and handle host names and Windows
6557 filenames properly.
6558 (ffap-url-unwrap-remote): Use url-generic-parse-url.
6559 (ffap-url-unwrap-remote): Accept list values, specifying a list of
6560 URL schemes to work on.
6561 (ffap--toggle-read-only): New function.
6562 (ffap-read-only, ffap-read-only-other-window)
6563 (ffap-read-only-other-frame): Use it.
6564 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6565 necessary for ffap-url-unwrap-remote.
6566
836d29b3
DA
65672012-05-10 Dave Abrahams <dave@boostpro.com>
6568
6569 * cus-start.el (create-lockfiles): Add it.
6570
00fd78ed
CY
65712012-05-09 Chong Yidong <cyd@gnu.org>
6572
6573 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6574 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6575
666b903b 65762012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
6577
6578 * shell.el (shell-completion-vars): Fix last change (bug#11348).
6579
666b903b 65802012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
6581
6582 * ansi-color.el (ansi-color-process-output): Check for validity of
6583 comint-last-output-start before using it. This avoids a bad
6584 interaction with gdb-mi's input/output buffer.
6585
666b903b 65862012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
6587
6588 * files.el (dir-locals-read-from-file):
6589 Mention dir-locals in any error message.
6590
666b903b 65912012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
6592
6593 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6594 package (Bug#11410).
6595
f677562b
CY
6596 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6597 variables into description.
6598
666b903b 65992012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
6600
6601 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6602 shell-delimiter-argument-list (bug#11348).
6603 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6604
b499d8d0
JB
66052012-05-09 Juanma Barranquero <lekktu@gmail.com>
6606
8f6b6da8
JB
6607 * textmodes/rst.el: Silence byte-compiler warnings.
6608 (rst-re-alist, rst-reset-section-caches): Move around.
6609 (rst-re): Use `characterp', not `char-valid-p'.
6610 (font-lock-beg, font-lock-end): Declare.
6611
4824146a
JB
6612 * progmodes/idlw-shell.el (specs): Remove reference to deleted
6613 variable `idlwave-shell-activate-alt-keybindings' and simplify.
6614
b499d8d0
JB
6615 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6616
ad89bb83
GM
66172012-05-08 Glenn Morris <rgm@gnu.org>
6618
6619 * files.el (auto-mode-alist): Treat ".make" like ".mk".
6620
8bba5a75
SM
66212012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6622
49ed9c8e
SM
6623 * vc/log-edit.el: Add GNU coding standards highlighting.
6624 (log-edit-font-lock-gnu-style)
6625 (log-edit-font-lock-gnu-keywords): New vars.
6626 (log-edit-font-lock-keywords): New fun.
6627 (log-edit-mode): Don't fold case in font-lock.
6628 (log-edit-font-lock-keywords): Do not assume case-folding.
6629
07d00b56
SM
6630 * imenu.el: Misc cleanup. Make docstrings out of comments.
6631 Use lexical-binding.
6632 (imenu--index-alist, imenu--last-menubar-index-alist)
6633 (imenu-menubar-modified-tick): Use defvar-local.
6634 (imenu--split-menu): Remove unused var.
6635 (imenu--cleanup-seen): Declare as global.
6636 (imenu--cleanup): Use dolist.
6637
8bba5a75
SM
6638 * subr.el (defvar-local): Add debug spec and doc-string position.
6639
5075bdb5
GM
66402012-05-08 Glenn Morris <rgm@gnu.org>
6641
090bd7cb 6642 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
6643 * language/english.el, language/georgian.el, language/greek.el:
6644 * language/japanese.el, language/khmer.el, language/korean.el:
6645 * language/lao.el, language/misc-lang.el, language/romanian.el:
6646 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
6647 * language/thai.el, language/utf-8-lang.el:
6648 Remove no-byte-compile setting.
6649
5075bdb5
GM
6650 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
6651
06f679a7
AH
66522012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6653
6654 * progmodes/make-mode.el (makefile-browse):
6655 Remove unnecessary interactive. (Bug#11324)
6656
03794570
GM
66572012-05-07 Glenn Morris <rgm@gnu.org>
6658
af8630f4
GM
6659 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
6660
03794570
GM
6661 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
6662
f0809a9d
SM
66632012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6664
28be5ce7
SM
6665 * loadup.el: Preload newcomment.el.
6666 * newcomment.el: Move autoload-only code to toplevel.
6667
f0809a9d
SM
6668 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
6669 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6670 Handle new :right-align column property.
6671 (tabulated-list-print-col): Idem, plus use `display' text-property to
6672 try and preserve alignment for variable pitch fonts.
6673
1241b724
CY
66742012-05-07 Chong Yidong <cyd@gnu.org>
6675
6676 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
6677 (tabulated-list-use-header-line): New var.
6678 (tabulated-list-init-header): Use it.
6679 (tabulated-list-print-fake-header): New function.
6680 (tabulated-list-print): Use it.
6681 (tabulated-list-sort-button-map): Add non-header-line commands.
6682 (tabulated-list-init-header): Add column name property to basic
6683 labels as well.
6684 (tabulated-list-col-sort): Handle non-header-line button case.
6685 (tabulated-list--sort-by-column-name): Fix a corner case.
6686
f0809a9d
SM
6687 * buff-menu.el (list-buffers--refresh):
6688 Handle Buffer-menu-use-header-line.
1241b724 6689
e5f9458f
CY
66902012-05-06 Chong Yidong <cyd@gnu.org>
6691
6692 * buff-menu.el: Convert to Tabulated List mode.
6693 (Buffer-menu-buffer+size-width): Make obsolete.
6694 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
6695 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
6696 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
6697 documentation into docstring of buffer-menu.
6698 (Buffer-menu-toggle-files-only): Add an informative message.
6699 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
6700 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
6701 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
6702 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
6703 (Buffer-menu-execute, Buffer-menu-select)
6704 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
6705 (Buffer-menu-bury): Use Tabulated List machinery.
6706 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
6707 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 6708 Delete.
e5f9458f
CY
6709 (list-buffers--refresh): New function.
6710 (list-buffers-noselect): Use it.
6711 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
6712 (Buffer-menu--pretty-file-name): New helper functions.
6713
6714 * loadup.el: Preload tabulated-list.
6715
6716 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
6717 tabulated-list-sort-column.
6718 (tabulated-list-init-header): Add the initial aligning space even
6719 if tabulated-list-padding is zero.
6720
e129292c
CS
67212012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
6722
6723 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
6724 whose cdr is not a cons cell correctly (bug#11038).
6725
6632d361
CY
67262012-05-06 Chong Yidong <cyd@gnu.org>
6727
e129292c
CS
6728 * emacs-lisp/tabulated-list.el (tabulated-list-format):
6729 Accept additional plist in column descriptors.
6632d361
CY
6730 (tabulated-list-init-header): Obey it.
6731 (tabulated-list-get-entry): New function.
6732 (tabulated-list-put-tag): Use it. Use string-width instead of
6733 length.
6734 (tabulated-list--column-number): New function.
6735 (tabulated-list-print): Use it.
e129292c
CS
6736 (tabulated-list-print-col): New function.
6737 Set `tabulated-list-column-name' property on each column's text.
6632d361 6738 (tabulated-list-print-entry): Use it.
e129292c
CS
6739 (tabulated-list-delete-entry, tabulated-list-set-col):
6740 New functions.
6632d361
CY
6741 (tabulated-list-sort-column): New command (Bug#11337).
6742
3cc99f68
CY
6743 * buff-menu.el (list-buffers): Move C-x C-b binding from
6744 buff-menu.el to bindings.el.
6745
6746 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
6747 :advertised-binding feature.
6748
52b61776
TN
67492012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
6750
6751 * progmodes/compile.el (compilation-internal-error-properties):
6752 Calculate start position correctly when end-col is set but
6753 end-line is not (Bug#11382).
6754
ebfe2597
WJ
67552012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
6756
6757 * man.el (Man-unindent): Use text-property-default-nonsticky to
6758 prevent untabify from inheriting face properties (Bug#11408).
6759
6d3f7c2f
SM
67602012-05-05 Stefan Merten <smerten@oekonux.de>
6761
6762 * textmodes/rst.el: Major merge with upstream development up to
6763 Docutils SVN r7399 / rst.el V1.2.1.
6764
6765 Clarify maintainership and authors.
6766
6767 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
6768 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
6769 (rst-official-version, rst-official-cvs-rev, rst-version)
6770 (rst-package-emacs-version-alist): New functions and variables
6771 for version information.
6772
6773 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
6774 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
6775 (rst-mode-syntax-table, rst-mode): New and corrected functions
6776 and variables representing reStructuredText features.
6777
6778 (rst-re): New function for reStructuredText regexes. Use in
6779 many places.
6780
6781 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
6782 (rst-mode-map): Rebind keys.
6783
6784 (rst-mode-lazy, rst-font-lock-keywords)
6785 (rst-font-lock-extend-region)
6786 (rst-font-lock-extend-region-internal)
6787 (rst-font-lock-extend-region-extend)
6788 (rst-font-lock-find-unindented-line-limit)
6789 (rst-font-lock-find-unindented-line-match)
6790 (rst-adornment-level, rst-font-lock-adornment-level)
6791 (rst-font-lock-adornment-match)
6792 (rst-font-lock-handle-adornment-pre-match-form)
6793 (rst-font-lock-handle-adornment-matcher): Major revision of
6794 font-locking. Integrate with other code. Use `jit-lock-mode'.
6795
6796 (rst-preferred-adornments, rst-adjust-hook)
6797 (rst-new-adornment-down, rst-preferred-bullets)
6798 (rst-preferred-bullets, rst-indent, rst-indent-width)
6799 (rst-indent-field, rst-indent-literal-normal)
6800 (rst-indent-literal-minimized, rst-indent-comment): Change,
6801 extend and improve customization.
6802
6803 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
6804 (rst-normalize-cursor-position, rst-get-decoration)
6805 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
6806 (rst-rstrip, rst-toc-insert-find-delete-contents)
6807 (rst-shift-fill-region, rst-compute-bullet-tabs)
6808 (rst-debug-print-tabs, rst-debug-mark-found)
6809 (rst-shift-region-guts, rst-shift-region-right)
6810 (rst-shift-region-left, rst-use-char-classes)
6811 (rst-font-lock-keywords-function)
6812 (rst-font-lock-indentation-point)
6813 (rst-font-lock-find-unindented-line-begin)
6814 (rst-font-lock-find-unindented-line-end)
6815 (rst-font-lock-find-unindented-line)
6816 (rst-font-lock-adornment-point, rst-font-lock-level)
6817 (rst-adornment-level-alist): Remove functions and variables.
6818
6819 (rst-compare-adornments, rst-get-adornment-match)
6820 (rst-suggest-new-adornment, rst-get-adornments-around)
6821 (rst-adornment-complete-p, rst-get-next-adornment)
6822 (rst-adjust-adornment, rst-display-adornments-hierarchy)
6823 (rst-straighten-adornments): Standardize function names to
6824 use "adornment" instead of "decoration". Correct callers.
6825 Similar standardizing in many places.
6826
6827 (rst-update-section, rst-adjust, rst-promote-region)
6828 (rst-enumerate-region, rst-bullet-list-region)
6829 (rst-repeat-last-character): Correct use of `interactive'.
6830
6831 (rst-classify-adornment, rst-find-all-adornments)
6832 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
6833 (rst-find-leftmost-column, rst-repeat-last-character):
6834 Refactor functions.
6835
6836 (rst-find-title-line, rst-reset-section-caches)
6837 (rst-get-adornments-around, rst-adjust-adornment-work)
6838 (rst-arabic-to-roman, rst-roman-to-arabic)
6839 (rst-insert-list-pos, rst-insert-list-new-item)
6840 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
6841 New functions.
6842
6843 (rst-all-sections, rst-section-hierarchy)
6844 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
6845 New variables.
6846
6847 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
6848 configuration instead of only buffer. Change where necessary.
6849
6850 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
6851 (rst-shift-region, rst-adaptive-fill): New functions for
6852 indentation and filling.
6853
6854 (rst-comment-line-break, rst-comment-indent)
6855 (rst-comment-insert-comment, rst-comment-region)
6856 (rst-uncomment-region): New functions for handling comments.
6857
6858 (rst-compile): Quote shell arguments.
6859
6860 (rst-compile-pdf-preview, rst-compile-slides-preview):
6861 Delete temporary files after use.
6862
a43f98b3
GM
68632012-05-05 Glenn Morris <rgm@gnu.org>
6864
48176e8b
GM
6865 * calendar/cal-html.el: Optionally include holidays in the output.
6866 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
6867 (cal-html-holidays): New option.
6868 (cal-html-css-default): Add holiday entry.
6869 (holiday-in-range): Autoload it.
6870 (cal-html-htmlify-entry): Add optional class argument.
6871 (cal-html-htmlify-list): Add optional holidays argument.
6872 (cal-html-insert-agenda-days): Include holidays in the output.
6873 (cal-html-one-month): Maybe include holidays.
6874
a43f98b3
GM
6875 * calendar/holidays.el (holiday-in-range):
6876 Move here from cal-tex-list-holidays.
6877 * calendar/cal-tex.el (cal-tex-list-holidays):
6878 Make it an obsolete alias for holiday-in-range. Update all callers.
6879
fef9d149 68802012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
6881
6882 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
6883 Nextstep.
6884
248da2f4
RW
68852012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
6886
6887 * files.el (file-auto-mode-skip): New var.
6888 (set-auto-mode-1): Use it.
6889
f95e9344
SM
68902012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6891
df96ab1e
SM
6892 * repeat.el: Use lexical-binding.
6893 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
6894 (repeat-undo-count): Remove.
6895 (repeat):
6896 * progmodes/octave-mod.el (octave-abbrev-start):
6897 * progmodes/f90.el (f90-abbrev-start):
6898 * face-remap.el (text-scale-adjust):
6899 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
6900
5342bb06
SM
6901 * emacs-lisp/pcase.el (pcase--let*): New function.
6902 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
6903 a bit more.
6904 (pcase--split-pred): Be more clever about ruling out overlap between
6905 a predicate and some constant pattern.
6906 (pcase--q1): Use `null' instead of (eq foo nil).
6907
f95e9344
SM
6908 * subr.el (setq-local, defvar-local): New macros.
6909 (kbd): Redefine as an alias.
6910 (with-selected-window): Leave unrelated frames alone.
6911 (set-temporary-overlay-map): New function.
6912
71873e2b
SM
69132012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6914
6915 * subr.el (user-error): New function.
6916 * window.el (switch-to-buffer):
6917 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
6918 (smerge-match-conflict):
6919 * simple.el (previous-matching-history-element)
6920 (next-matching-history-element, goto-history-element, undo-more)
6921 (undo-start):
6922 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
6923 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
6924 (next-file, tags-loop-scan, list-tags, complete-tag):
6925 * progmodes/compile.el (compilation-loop):
6926 * mouse.el (mouse-minibuffer-check):
6927 * man.el (Man-bgproc-sentinel, Man-goto-page):
6928 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
6929 (Info-history-forward, Info-follow-reference, Info-menu)
6930 (Info-extract-menu-item, Info-extract-menu-counting)
6931 (Info-forward-node, Info-backward-node, Info-next-menu-item)
6932 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
6933 (Info-next-reference, Info-prev-reference, Info-index)
6934 (Info-index-next, Info-follow-nearest-node)
6935 (Info-copy-current-node-name):
6936 * imenu.el (imenu--make-index-alist)
6937 (imenu-default-create-index-function, imenu-add-to-menubar):
6938 * files.el (basic-save-buffer, recover-file):
6939 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6940 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
6941 (checkdoc-message-text, checkdoc-defun):
6942 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
6943 * cus-edit.el (customize-changed-options, customize-rogue)
6944 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
6945 (custom-variable-mark-to-reset-standard)
6946 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
6947 (custom-file):
6948 * completion.el (check-completion-length):
6949 * comint.el (comint-search-arg)
6950 (comint-previous-matching-input-string-position)
6951 (comint-previous-matching-input)
6952 (comint-replace-by-expanded-history-before-point, comint-send-input)
6953 (comint-copy-old-input, comint-backward-matching-input)
6954 (comint-goto-process-mark, comint-set-process-mark):
6955 * calendar/calendar.el (calendar-cursor-to-date): Use it.
6956 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
6957
8a61ee22
SM
69582012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6959
66408d1e
SM
6960 * dabbrev.el (dabbrev--ignore-case-p): New function.
6961 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
6962 Use it.
6963
8a61ee22
SM
6964 * files.el (automount-dir-prefix): Mark as obsolete.
6965
3c74813a
GM
69662012-05-04 Glenn Morris <rgm@gnu.org>
6967
6968 * patcomp.el, play/bruce.el: Move to obsolete/.
6969
0bfcf5c5
PE
69702012-05-04 Paul Eggert <eggert@cs.ucla.edu>
6971
6972 Fix minor Y10k bugs.
6973 * arc-mode.el (archive-unixdate):
6974 * autoinsert.el (auto-insert-alist):
6975 * calc/calc-forms.el (math-this-year):
6976 * emacs-lisp/copyright.el (copyright-current-year)
6977 (copyright-update-year, copyright):
6978 * tar-mode.el (tar-clip-time-string):
6979 * time.el (display-time-update):
6980 Don't assume years have 4 digits.
6981
78f3273a
CY
69822012-05-04 Chong Yidong <cyd@gnu.org>
6983
6984 * dos-w32.el (file-name-buffer-file-type-alist)
6985 (direct-print-region-use-command-dot-com):
6986 * ffap.el (ffap-menu-regexp):
6987 * find-file.el (ff-special-constructs):
6988 * follow.el (follow-debug):
6989 * forms.el (forms--debug):
6990 * iswitchb.el (iswitchb-all-frames):
6991 * ido.el (ido-all-frames):
6992 * emacs-lisp/timer.el (timer-max-repeats):
6993 * mail/feedmail.el (feedmail-mail-send-hook)
6994 (feedmail-mail-send-hook-queued):
6995 * mail/footnote.el (footnote-signature-separator):
6996 * mail/mailabbrev.el (mail-alias-separator-string)
6997 (mail-abbrev-mode-regexp):
6998 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
6999 * progmodes/idlwave.el (idlwave-libinfo-file)
7000 (idlwave-default-completion-case-is-down)
7001 (idlwave-library-routines): Convert defvars to defcustoms.
7002
7003 * mail/rmail.el (rmail-decode-mime-charset):
7004 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7005 (idlwave-shell-fix-inserted-breaks)
7006 (idlwave-shell-activate-alt-keybindings)
7007 (idlwave-shell-use-breakpoint-glyph):
7008 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7009
f7ae6719
SM
70102012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7011
7012 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7013
47086495
WS
70142012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7015
7016 * progmodes/verilog-mode.el (font-lock-keywords):
7017 Fix mis-highligting auto. Reported by Craig Barner.
7018 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 7019 defines from global name space. Reported by Dan Dever.
47086495
WS
7020 (verilog-auto-reset, verilog-auto-reset-widths)
7021 (verilog-auto-tieoff): Support using unbased numbers for
7022 AUTORESET and AUTOTIEOFF.
7023 (verilog-submit-bug-report): Update variable list.
7024 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 7025 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
7026 (verilog-auto-template-lint): Fix hash error when linting modules
7027 with no used templates.
7028 (verilog-warn, verilog-warn-error)
7029 (verilog-warn-fatal): When non-interactive report multiple
7030 warnings before exiting. Suggested by Brad Dobbie.
7031 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7032 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7033 to report unused template errors. Reported by Brad Dobbie.
7034 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 7035 nets, bug438. Reported by Vns Blore.
47086495
WS
7036 (verilog-auto-inout-module, verilog-auto-reg)
7037 (verilog-read-decls, verilog-read-sub-decls-sig)
7038 (verilog-signals-edit-wire-reg, verilog-signals-with):
7039 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 7040 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
7041 "reg" for backwards compatibility presuming Verilog 2001.
7042 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7043 (verilog-preprocess): Fix replication of preprocess output.
7044 Reported by Brad Dobbie.
7045 (verilog-auto-inst-interfaced-ports):
7046 Create verilog-auto-inst-interfaced-ports, bug429.
7047 Reported by Julian Gorfajn.
7048 (verilog-after-save-font-hook)
7049 (verilog-before-save-font-hook): New variable.
7050 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7051 (verilog-save-font-mods): Wrap disabling fontification, reported
7052 by David Rogoff.
7053 (verilog-do-indent, verilog-pretty-declarations-auto)
7054 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7055 Reported by Pierre-David Pfister.
7056 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7057 of class declarations, bug292. Reported by Kevin Heilman.
7058 (verilog-read-decls): Fix 'parameter type' not appearing in
7059 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7060 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 7061 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
7062 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7063 Reported by David Kravitz.
7064
70652012-05-03 Michael McNamara <mac@mail.brushroad.com>
7066
7067 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7068 assignment with tests in ifs and for loops.
7069 (verilog-extended-complete-re, verilog-complete-reg): Change so
7070 that DPI inport functions don't look like fuction declarations.
7071 (verilog-pretty-expr): Don't line up assignment
7072 operations to the test and increment in if and for loops
7073 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 7074 that DPI inport functions don't look like fuction declarations.
47086495 7075
2e51d4b5
KH
70762012-05-03 Kenichi Handa <handa@m17n.org>
7077
7078 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 7079 decoding, and show a warning message without signaling an error
2e51d4b5
KH
7080 (Bug#11282).
7081
2bd785a2
SM
70822012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7083
7084 * emacs-lisp/bytecomp.el
7085 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7086 since cconv.el might have introduced :fun-body, internal-make-closure,
7087 and friends for bytecomp to handle (bug#11391).
7088 * custom.el (defcustom): Avoid ((λ ..) ..).
7089
99d27583
SM
70902012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7091
7092 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7093
55a71479
JB
70942012-05-02 Juanma Barranquero <lekktu@gmail.com>
7095
7096 * notifications.el (dbus-debug):
7097 * term/linux.el (gpm-mouse-enable):
7098 * term/screen.el (xterm-register-default-colors): Declare.
7099
7b97c764
CY
71002012-05-02 Chong Yidong <cyd@gnu.org>
7101
2bc356d7
CY
7102 * cus-start.el (gc-cons-percentage, exec-suffixes)
7103 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7104 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7105 (make-cursor-line-fully-visible, void-text-area-pointer)
7106 (font-list-limit): Add customization data.
7107
7b97c764
CY
7108 * allout.el (allout-exposure-change-functions)
7109 (allout-structure-added-functions)
7110 (allout-structure-deleted-functions)
7111 (allout-structure-shifted-functions): Rename abnormal hooks from
7112 *-hook, and convert to defcustoms.
5d3385a0
JB
7113 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7114 Convert to defcustoms.
7b97c764
CY
7115 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7116
7117 * allout-widgets.el: Hook callers changed.
7118
90207a15 71192012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
7120
7121 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7122 the yanked message in preference to the default value of
7123 buffer-file-coding-system.
7124
90207a15 71252012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 7126
5d3385a0
JB
7127 * window.el (display-buffer--action-function-custom-type):
7128 Fix entry.
d9558cad 7129
90207a15 71302012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
7131
7132 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7133
d80ac57b
GM
71342012-05-01 Glenn Morris <rgm@gnu.org>
7135
976f7668
GM
7136 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7137
beb83b5a
GM
7138 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7139
d80ac57b
GM
7140 * cus-edit.el (custom-variable-documentation): Simplify with format.
7141
b593d6a9 71422012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 7143 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
7144
7145 * simple.el (suggest-key-bindings, execute-extended-command):
7146 Move from keyboard.c.
7147
782fbf2a
CY
71482012-05-01 Chong Yidong <cyd@gnu.org>
7149
7150 * follow.el: Eliminate advice.
7151 (set-process-filter, process-filter, sit-for): Advice deleted.
7152 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
7153 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7154 Vars deleted.
782fbf2a
CY
7155 (follow-auto): Use a :set function.
7156 (follow-mode): Rewritten. Don't advise process filters.
7157 (follow-switch-to-current-buffer-all, follow-scroll-up)
7158 (follow-scroll-down): Assume follow-mode is bound.
7159 (follow-comint-scroll-to-bottom)
7160 (follow-align-compilation-windows): New functions.
7161 (follow--window-sorter): New function.
7162 (follow-all-followers): Use it to explicitly sort windows by their
7163 positions; don't make assumptions about next-window order.
7164 (follow-windows-start-end, follow-delete-other-windows-and-split)
7165 (follow-calc-win-start): Doc fix.
7166 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7167 vertical-motion unnecessarily.
7168 (follow-adjust-window): New function.
7169 (follow-post-command-hook): Use it.
7170 (follow-call-set-process-filter, follow-call-process-filter)
7171 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7172 (follow-stop-intercept-process-output, follow-generic-filter):
7173 Functions deleted.
7174 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
7175 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7176 New functions, replacing advice on scroll-bar-* commands.
87233a14 7177 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
7178
7179 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
7180 (comint-postoutput-scroll-to-bottom): Use it.
7181 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 7182
290af740
GM
71832012-05-01 Glenn Morris <rgm@gnu.org>
7184
7185 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7186 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7187 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7188 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7189 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7190 Remove no-byte-compile setting.
7191
6eac8dc9
SM
71922012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7193
7194 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7195 all-completions code to not return a number in the last cdr.
7196
9cc7819c
LL
71972012-04-30 Leo Liu <sdl.web@gmail.com>
7198
7199 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7200 read-only error.
7201
c93b886f
CY
72022012-04-29 Chong Yidong <cyd@gnu.org>
7203
7204 * follow.el (follow-calc-win-end): Rewrite to handle partial
7205 screen lines correctly (Bug#8390).
7206 (follow-avoid-tail-recenter): Minor cleanup.
7207
8b6c19f4
SM
72082012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7209
7210 Avoid the obsolete `assoc' package.
7211 * speedbar.el (speedbar-refresh): Avoid adelete.
7212 (speedbar-file-lists): Simplify and avoid aput.
7213 * man.el (Man--sections, Man--refpages): New vars, replacing
7214 Man-sections-alist and Man-refpages-alist.
7215 (Man-build-section-alist, Man-build-references-alist):
7216 Use them; avoid aput.
7217 (Man--last-section, Man--last-refpage): New vars.
7218 (Man-follow-manual-reference): Use them.
7219 Use the `default' arg of completing-read.
7220 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7221
c5bb7569
CY
72222012-04-27 Chong Yidong <cyd@gnu.org>
7223
d1d2e2e8
CY
7224 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7225
15cd8efd
CY
7226 * startup.el (x-apply-session-resources): New function.
7227
7228 * term/ns-win.el (ns-initialize-window-system):
7229 * term/w32-win.el (w32-initialize-window-system):
7230 * term/x-win.el (x-initialize-window-system): Use it to properly
7231 set menu-bar-mode and other vars from X resources, even if the
7232 initial frame is not a window-system frame (Bug#2299).
7233
c5bb7569
CY
7234 * subr.el (read-key): Avoid running filter function when setting
7235 up temporary tool bar entries (Bug#9922).
7236
a8e7d6d7 72372012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
7238
7239 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7240 (Bug#11344)
7241
a8e7d6d7 72422012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
7243
7244 * select.el (xselect--encode-string): New function, split from
7245 xselect-convert-to-string.
7246 (xselect-convert-to-string): Use it.
7247 (xselect-convert-to-filename, xselect-convert-to-os)
7248 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7249 returned strings are properly encoded (Bug#11315).
7250
a8e7d6d7 72512012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
7252
7253 * simple.el (delete-active-region): Move to killing custom group.
7254
a8e7d6d7 72552012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
7256
7257 * progmodes/which-func.el (which-func-current): Quote %
7258 characters for mode-line processing.
7259
578c1d4b 72602012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
7261
7262 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7263 reaching eob (Bug#11286).
7264
a8e7d6d7 72652012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
7266
7267 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7268 (gdb): Make it buffer-local and init to zero.
7269 (gdb-control-commands-regexp): New variable.
7270 (gdb-send): Don't wrap in "-interpreter-exec console" if
7271 gdb-control-level is positive. Increment gdb-control-level
7272 whenever the command matches gdb-control-commands-regexp, and
7273 decrement it each time the command is "end". (Bug#11279)
7274
a8e7d6d7 72752012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
7276
7277 * window.el (adjust-window-trailing-edge, enlarge-window)
7278 (shrink-window, window-resize):
7279 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7280 windows (Bug#11276).
7281
b3608390
CY
72822012-04-27 Chong Yidong <cyd@gnu.org>
7283
7284 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 7285 fix "missing prefix" warning. All callers changed.
b3608390 7286
797e6e88
SM
72872012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7288
7289 * emacs-lisp/assoc.el: Move to obsolete/.
7290
e95a67dc
SM
72912012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7292
657c21e4 7293 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
7294
7295 * term/ns-win.el (ns-define-service):
7296 * progmodes/pascal.el (pascal-goto-defun):
7297 * progmodes/js.el (js--read-tab):
7298 * progmodes/etags.el (tags-lazy-completion-table):
7299 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7300 * emacs-lisp/ewoc.el (ewoc--wrap):
7301 * emacs-lisp/assoc.el (aput, adelete, amake):
7302 * doc-view.el (doc-view-convert-current-doc):
7303 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7304
cb3e7ae0
CY
73052012-04-26 Chong Yidong <cyd@gnu.org>
7306
dce04f7f
CY
7307 * image.el (image-type-from-buffer): Only return supported image
7308 type (Bug#9045).
7309
cb3e7ae0
CY
7310 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7311 value, for symmetry with diff-end-of-hunk.
7312 (diff-split-hunk, diff-find-source-location)
7313 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7314 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7315 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7316 compute the relevant hunk or file properly (Bug#6005).
7317 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7318
0d42eb3e
SM
73192012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7320
7321 * vc/vc-mtn.el:
7322 * vc/vc-hg.el:
7323 * vc/vc-git.el:
7324 * vc/vc-dir.el:
7325 * vc/vc-cvs.el:
7326 * vc/vc-bzr.el:
7327 * vc/vc-arch.el:
7328 * vc/vc.el: Replace lexical-let by lexical-binding.
7329 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7330 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7331 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7332
f08ae1c9
CY
73332012-04-26 Chong Yidong <cyd@gnu.org>
7334
8b71081d
CY
7335 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7336 (diff-mode-shared-map): Bind it to / and [remap undo].
7337
f08ae1c9
CY
7338 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7339 (ediff-window-setup-function): Use it as the default, to set up
7340 windows based on whether the current frame is graphical (Bug#2138).
7341 (ediff-choose-window-setup-function-automatically): Make obsolete.
7342
7343 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7344
ef24141c
SM
73452012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7346
cc356a5d
SM
7347 * ffap.el: Remove old code for obsolete package.
7348 (ffap-complete-as-file-p): Remove.
7349
b4ff4f1f
SM
7350 Use completion-table-with-quoting for comint and pcomplete.
7351 * comint.el (comint--unquote&requote-argument)
7352 (comint--unquote-argument, comint--requote-argument): New functions.
7353 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7354 (comint-quote-filename): Use regexp-opt-charset.
7355 (comint--common-suffix, comint--common-quoted-suffix)
7356 (comint--table-subvert): Remove.
7357 (comint-unquote-function, comint-requote-function): New vars.
7358 (comint--complete-file-name-data): Use them with
7359 completion-table-with-quoting.
7360 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7361 * pcomplete.el (pcomplete-arg-quote-list)
7362 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7363 (pcomplete-unquote-argument-function): Default to non-nil.
7364 (pcomplete-unquote-argument): Simplify.
7365 (pcomplete--common-quoted-suffix): Remove.
7366 (pcomplete-requote-argument-function): New var.
7367 (pcomplete--common-suffix): New function.
7368 (pcomplete-completions-at-point): Use completion-table-with-quoting
7369 and completion-table-subvert.
7370
79c4eeb4
SM
7371 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7372 (minibuffer--double-dollars): Preserve properties.
7373 (completion--sifn-requote): New function.
7374 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7375
ef24141c
SM
7376 * minibuffer.el: Add support for completion of quoted/escaped data.
7377 (completion-table-with-quoting, completion-table-subvert): New funs.
7378 (completion--twq-try, completion--twq-all): New functions.
7379 (completion--nth-completion): New function.
7380 (completion-try-completion, completion-all-completions): Use it.
7381
784e7d6e
LL
73822012-04-25 Leo Liu <sdl.web@gmail.com>
7383
dd2ac746
SM
7384 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7385 Use compilation-message if available to find real filename.
784e7d6e 7386
07875ee7
CY
73872012-04-25 Chong Yidong <cyd@gnu.org>
7388
7389 * vc/diff-mode.el (diff-setup-whitespace): New function.
7390 (diff-mode): Use it.
7391
7392 * vc/diff.el (diff-sentinel):
7393 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7394 Whitespace mode variables based on diff style (Bug#8612).
7395
5055880d
LL
73962012-04-25 Leo Liu <sdl.web@gmail.com>
7397
daf75653
LL
7398 * progmodes/python.el (python-send-region): Add suffix .py to the
7399 temp file.
7400
5055880d
LL
7401 * files.el (auto-mode-alist): Use javascript-mode instead.
7402
db9b177b
AH
74032012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7404
ef24141c 7405 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 7406
090bd7cb 7407 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 7408 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 7409 references, see Bug#9.
ef24141c 7410 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 7411 when receiving a fault reply.
ef24141c 7412 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 7413
090bd7cb 7414 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 7415 (soap-inspect-simple-type): New function.
db9b177b 7416
090bd7cb 7417 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 7418 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
7419 (soap-decode-basic-type, soap-encode-basic-type):
7420 support unsignedInt and double basic types.
db9b177b 7421 (soap-resolve-references-for-simple-type)
ef24141c
SM
7422 (soap-parse-simple-type, soap-encode-simple-type): New function.
7423 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 7424
090bd7cb 7425 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
7426 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7427 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7428 the local name of "soapenc:Array".
7429 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
7430 decoding integer, byte and anyURI xsd types.
7431
1fc6097b
CY
74322012-04-25 Chong Yidong <cyd@gnu.org>
7433
7434 * cus-edit.el (custom-buffer-create-internal): Update header text.
7435
afc6df87
EZ
74362012-04-25 Eli Zaretskii <eliz@gnu.org>
7437
7438 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7439 settings on 'system-type', not on 'window-system'. On MS-Windows,
7440 set interactive-mode on in GDB.
7441
dfbd787f
SM
74422012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7443
7444 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7445 (ruby-syntax-propertize-regexp): Remove.
7446 (ruby-syntax-propertize-function): Split regexp into chunks.
7447 Match following code directly.
7448
85222d44
DG
74492012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7450
51a8ea2a
DG
7451 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7452 (ruby-syntax-propertize-regexp): New function.
7453 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7454 by a special keyword.
7455
85222d44
DG
7456 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7457 (ruby-syntax-general-delimiters-goto-beg)
7458 (ruby-syntax-propertize-general-delimiters): New functions.
7459 (ruby-syntax-propertize-function): Use them to handle GDL.
7460 (ruby-font-lock-keywords): Move old handling of GDL...
7461 (ruby-font-lock-syntactic-keywords): .. to here.
7462 (ruby-calculate-indent): Adjust indentation for GDL.
7463
b613912b
MA
74642012-04-24 Michael Albinus <michael.albinus@gmx.de>
7465
b5380639
MA
7466 * notifications.el (top): Remove unneeded declarations.
7467 (notifications-specification-version): Change to "1.2".
e43042fe 7468 (notifications-interface, notifications-notify-method)
b613912b
MA
7469 (notifications-close-notification-method): Fix docstring.
7470 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
7471 (notifications-notify): Add :action-items, :resident and
7472 :transient hints. Change "image_data" to "image-data" and
7473 "image_path" to "image-path".
b613912b
MA
7474 (notifications-get-capabilities): New defun.
7475
257440aa
LL
74762012-04-24 Leo Liu <sdl.web@gmail.com>
7477
7478 * progmodes/python.el: Move hideshow setup to the end.
7479
b1bac16e
MR
74802012-04-24 Martin Rudalics <rudalics@gmx.at>
7481
7482 * window.el (handle-select-window): Clear echo area since this is
7483 no more done by read_char (Bug#11304).
7484
d81bd059
SM
74852012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7486
7487 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7488 and `/ M' to filter-derived-mode.
7489 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7490 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7491 (ibuffer-mark-by-mode): Use default rather than initial-input.
7492 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7493
c4cf6d91
IA
74942012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7495
7496 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7497 (ibuffer-filter-by-derived-mode): New filter.
7498 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7499
7511ded8
CY
75002012-04-23 Andreas Politz <politza@fh-trier.de>
7501
7502 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7503
775c916b
CY
75042012-04-23 Chong Yidong <cyd@gnu.org>
7505
7506 * cus-edit.el (customize-apropos, customize-apropos-options):
7507 Disable matching of non-option variables (Bug#11176).
7508 (customize-option, customize-option-other-window)
7509 (customize-changed-options): Doc fix.
7510 (customize-apropos-options, customize-apropos-faces)
7511 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7512
7513 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 7514 Fix word list splitting (Bug#11132).
46c71e23
CY
7515 (apropos-symbol, apropos-keybinding, apropos-label)
7516 (apropos-property, apropos-function-button)
7517 (apropos-variable-button, apropos-misc-button): New faces.
7518 (apropos-symbol-face, apropos-keybinding-face)
7519 (apropos-label-face, apropos-property-face, apropos-match-face):
7520 Variables removed (Bug#8396).
7521 (apropos-library-button, apropos-format-plist, apropos-print)
7522 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 7523
2df41f9c
MA
75242012-04-23 Michael Albinus <michael.albinus@gmx.de>
7525
7526 * net/xesam.el (xesam-mode-map): Use let-bound map in
7527 initialization. (Bug#11292)
7528
da00640a
AM
75292012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7530
7531 Preserve ispell session localwords when switching back to
7532 original buffer.
7533
090bd7cb
JB
7534 * textmodes/ispell.el (ispell-buffer-session-localwords):
7535 New buffer-local variable to hold buffer session localwords.
ed9265fc 7536 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
7537 localwords.
7538 (ispell-command-loop, ispell-change-dictionary)
7539 (ispell-buffer-local-words): Preserve session localwords when
7540 needed.
7541
090bd7cb
JB
7542 * textmodes/flyspell.el (flyspell-process-localwords)
7543 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 7544
f621ccf5
AM
75452012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7546
090bd7cb
JB
7547 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7548 using obsolete `translation-table-for-input'.
ef24141c
SM
7549 (ispell-word, ispell-process-line, ispell-complete-word):
7550 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 7551
c2d1019e
CY
75522012-04-22 Chong Yidong <cyd@gnu.org>
7553
7554 * cus-edit.el (custom-variable-menu)
7555 (custom-variable-reset-saved, custom-face-menu)
7556 (custom-face-reset-saved): If there is no saved value, make the
7557 "reset-saved" operation bring back the default (Bug#9509).
7558 (custom-face-state): Properly detect themed faces.
7559
eeddc531
CY
7560 * faces.el (face-spec-set): Stop supporting deprecated form of
7561 third arg.
7562
dcbf5805
MA
75632012-04-22 Michael Albinus <michael.albinus@gmx.de>
7564
7565 Move functions from C to Lisp. Make non-blocking method calls
7566 the default. Implement further D-Bus standard interfaces.
7567
ef24141c
SM
7568 * net/dbus.el (dbus-message-internal): Declare function.
7569 Remove unneeded function declarations.
dcbf5805
MA
7570 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7571 (dbus-message-type-method-return, dbus-message-type-error)
7572 (dbus-message-type-signal): Declare variables. Remove local
7573 definitions.
7574 (dbus-interface-dbus, dbus-interface-peer)
7575 (dbus-interface-introspectable, dbus-interface-properties)
7576 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7577 Adapt docstring.
7578 (dbus-interface-objectmanager): New defconst.
7579 (dbus-call-method, dbus-call-method-asynchronously)
7580 (dbus-send-signal, dbus-method-return-internal)
7581 (dbus-method-error-internal, dbus-register-service)
7582 (dbus-register-signal, dbus-register-method): New defuns, moved
7583 from dbusbind.c
7584 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
7585 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7586 New defuns.
dcbf5805
MA
7587 (dbus-call-method-non-blocking): Make it an obsolete function.
7588 (dbus-unregister-object, dbus-unregister-service)
7589 (dbus-handle-event, dbus-register-property)
7590 (dbus-property-handler): Obey the new structure of
7591 `bus-registered-objects'.
7592 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
7593 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7594 Use `dbus-call-method'.
7595
cf20dee0
CY
75962012-04-22 Chong Yidong <cyd@gnu.org>
7597
7598 * cus-edit.el (custom-commands, custom-reset-menu)
7599 (Custom-reset-standard): Tweak labels.
7600 (custom-reset-button-menu): Change default to t.
7601 (custom-buffer-create-internal): For the custom-reset-button-menu
7602 case, put the revert button first.
7603 (custom-group-subtitle): New face.
7604 (custom-group-value-create): Align docstring to a specific column.
7605
7606 * wid-edit.el (widget-documentation-link-add): Don't handle
7607 indentation in this function.
7608 (widget-documentation-string-indent-to): New function.
7609 (widget-documentation-string-value-create): Use it.
7610
7611 * autorevert.el (auto-revert):
7612 * epg-config.el (epg):
7613 * ibuffer.el (ibuffer):
7614 * mpc.el (mpc):
7615 * ses.el (ses):
7616 * eshell/eshell.el (eshell):
7617 * net/ange-ftp.el (ange-ftp):
7618 * progmodes/ebnf2ps.el (postscript):
7619 * progmodes/flymake.el (flymake):
7620 * progmodes/prolog.el (prolog):
7621 * progmodes/verilog-mode.el (verilog-mode):
7622 * progmodes/which-func.el (which-func):
7623 * term/xterm.el (xterm):
7624 * textmodes/picture.el (picture):
7625 * textmodes/tildify.el (tildify):
7626 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7627 customization buffers.
7628
583e23bd
AM
76292012-04-22 Alan Mackenzie <acm@muc.de>
7630
7631 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7632 Adding a ) can hide the resulting (..) from searches. Fix it.
7633 Bound the backward search to the position of the existing (.
7634
7dd51bf1
JB
76352012-04-21 Juanma Barranquero <lekktu@gmail.com>
7636
7637 * progmodes/verilog-mode.el (verilog-mode): Check whether
7638 which-func-modes is t before adding verilog-mode.
7639 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7640
d64a438f
LL
76412012-04-21 Leo Liu <sdl.web@gmail.com>
7642
7dd51bf1 7643 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 7644
081e8d65
MV
76452012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
7646
7647 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
7648 filling of the last column of a table (Bug#5635).
7649 (woman-find-next-control-line): New arg, specifying an additional
7650 regexp component for the control line.
7651 (woman2-roff-buffer): Use it.
7652 (woman-break-table): New function.
7653 (woman2-TS): Use it.
7654
76552012-04-21 Chong Yidong <cyd@gnu.org>
7656
7657 * woman.el (woman-set-buffer-display-table, woman-decode-region)
7658 (woman-horizontal-escapes, woman-negative-vertical-space)
7659 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
7660 (WoMan-warn-ignored): Use ?\s instead of ?\ .
7661
ed571ccb
SM
76622012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7663
7664 * minibuffer.el (completion-file-name-table): Complete user names.
7665
39773899
LL
76662012-04-20 Leo Liu <sdl.web@gmail.com>
7667
7668 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
7669 and pcase-let*.
7670
de6ff46d
CY
76712012-04-20 Chong Yidong <cyd@gnu.org>
7672
7673 * server.el (server-execute): Respect initial-buffer-choice if it
7674 is a string and there are no files to open (Bug#2825).
7675 (server-create-window-system-frame, server-create-tty-frame):
7676 Don't switch buffers here.
2d0e8e61
CY
7677 (server-process-filter): Only try to open a window system frame if
7678 compiled with graphical support (Bug#8314).
de6ff46d 7679
54071013
DN
76802012-04-20 Dan Nicolaescu <dann@gnu.org>
7681
7682 * battery.el (battery-echo-area-format): Display remaining time
7683 for sysfs backend too (Bug#11269).
7684 (battery-linux-sysfs): Fix conditional for the charge.
7685
f30d612a
CY
76862012-04-20 Chong Yidong <cyd@gnu.org>
7687
c07a4c0b 7688 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
7689 (gdb-inferior-io--init-proc): New function.
7690 (gdb-init-1): Use it.
7691 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
7692 responsible for allocating a new pty and hooking it to gdb when
7693 the old pty gets an EIO due to process exit.
7694 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
7695 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
7696 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
7697
2116e93c
EZ
76982012-04-20 Eli Zaretskii <eliz@gnu.org>
7699
7700 * window.el (window-min-size, window-sizable, window-min-delta)
7701 (window-max-delta, window--resizable, window-resizable)
7702 (window-total-size, window-full-height-p, window-full-width-p)
7703 (window-in-direction, window--resize-mini-window, window-resize)
7704 (window--resize-child-windows-normal)
7705 (window--resize-child-windows, window--resize-siblings)
7706 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 7707 (enlarge-window, shrink-window): Doc fixes.
2116e93c 7708
c07a4c0b 77092012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 7710
ef24141c
SM
7711 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
7712 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
7713 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
7714 pty process (Bug#11273).
7715 (gdb-update): New arg to suppress talking to the gdb process.
7716 (gdb-done-or-error): Use it.
7717 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
7718 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
7719 sentinel not being called.
7720
7721 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
7722
d02766ab
CY
7723 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
7724
c07a4c0b 77252012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
7726
7727 * net/network-stream.el (open-network-stream): Doc fix.
7728
c07a4c0b 77292012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
7730
7731 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
7732
c07a4c0b 77332012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
7734
7735 Ensure searching for keywords is case sensitive.
7736
7737 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
7738 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
7739 (c-defun-name, c-mark-function, c-cpp-define-name)
7740 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 7741 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 7742
ef24141c
SM
7743 * progmodes/cc-mode.el (c-font-lock-fontify-region):
7744 Bind case-fold-search to nil.
f0f6bc35 7745
c07a4c0b 77462012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
7747
7748 * mail/sendmail.el (mail-bury): Call return action with the right
7749 Rmail buffer (Bug#11242).
7750
9a864fa2
CY
7751 * server.el (server-process-filter): Handle corner case where both
7752 tty and nowait options are present (Bug#11102).
7753
539aa513
EZ
77542012-04-20 Eli Zaretskii <eliz@gnu.org>
7755
7756 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
7757 (top level): Put into the executable the ident-style '$Id:' tag on
7758 windows-nt as well.
539aa513 7759
cfc7d5da
SM
77602012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7761
7762 * electric.el (electric-indent-post-self-insert-function): Check that
7763 electric-indent-mode is enabled in current buffer.
7764
5b01685c
JB
77652012-04-19 Juanma Barranquero <lekktu@gmail.com>
7766
7767 * imenu.el (imenu-progress-message): Restore; it is "used" in
7768 erc/erc-imenu.el and net/snmp-mode.el.
7769
4d6769e1
JB
77702012-04-19 Juanma Barranquero <lekktu@gmail.com>
7771
7772 * avoid.el (mouse-avoidance-mode): Mark unused arg.
7773 (mouse-avoidance-nudge-mouse): Remove unused binding.
7774
7775 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
7776
7777 * descr-text.el (describe-char):
7778 * progmodes/python.el (python-describe-symbol):
7779 Don't call `toggle-read-only', set `buffer-read-only'.
7780
7781 * imenu.el (imenu-default-goto-function): Mark unused args.
7782 (imenu-progress-message): Remove obsolete macro; all callers changed.
7783
7784 * subr.el (keymap-canonicalize): Remove unused binding.
7785 (read-passwd): Mark unused arg.
7786
7787 * tutorial.el (tutorial--display-changes): Remove unused binding.
7788 (tutorial--save-tutorial-to): Remove unused variable.
7789
7790 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
7791 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
7792 (package-generate-autoloads, package-menu--generate)
7793 (package-menu--find-upgrades): Remove unused bindings.
7794
7795 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
7796 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
7797 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
7798 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
7799 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
7800 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
7801 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
7802 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
7803 (cua-delete-char-rectangle): Mark unused args.
7804 (cua-align-rectangle): Remove unused binding.
7805
7806 * mail/rmail.el (compilation--message->loc)
7807 (epa--find-coding-system-for-mime-charset): Declare.
7808
7809 * net/dbus.el (dbus-register-service): Declare.
7810 (dbus-name-owner-changed-handler): Remove unused binding.
7811
7812 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
7813 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
7814 (nxml-scan-backward-within): Mark unused arg.
7815 (nxml-dynamic-markup-word): Remove unused binding.
7816
7817 * mouse.el (mouse-menu-major-mode-map):
7818 * emacs-lisp/authors.el (authors-scan-change-log)
7819 (authors-add-to-author-list):
7820 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
7821 * emacs-lisp/smie.el (smie-auto-fill):
7822 * mail/sendmail.el (mail-bury):
7823 * mail/unrmail.el (unrmail):
7824 * net/tls.el (open-tls-stream):
7825 * textmodes/picture.el (picture-mouse-set-point):
7826 Remove unused bindings.
7827
8c8fc5df
MA
78282012-04-19 Michael Albinus <michael.albinus@gmx.de>
7829
7830 * net/tramp.el (tramp-action-password): Let-bind
7831 `enable-recursive-minibuffers' to t.
7832
a77b0ac9
SS
78332012-04-18 Sam Steingold <sds@gnu.org>
7834
7835 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
7836 instead of 'string to accommodate values like [f11].
7837 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
7838 * progmodes/gdb-mi.el: Likewise.
7839
12a106a9
LL
78402012-04-18 Leo Liu <sdl.web@gmail.com>
7841
7842 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
7843 current buffer.
7844 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
7845 LOCAL is nil.
7846
bc6494ef
CY
78472012-04-18 Chong Yidong <cyd@gnu.org>
7848
7849 * simple.el (line-move): Use forward-line if in batch mode
7850 (Bug#11053).
7851
c09c46b2
CS
78522012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
7853
7854 * files.el (after-find-file): Do not try to add a final newline if
7855 the buffer is read-only (Bug#11156).
7856
5f6530ea
RS
78572012-04-17 Richard Stallman <rms@gnu.org>
7858
7859 * mail/rmail.el (rmail-start-mail):
7860 Pass (rmail-mail-return...) for the return-action.
7861 Pass (rmail-yank-current-message...) for the yank-action.
7862 (rmail-yank-current-message): New function.
7863 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
7864 (rmail-reply): Likewise.
7865 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
7866
7867 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 7868 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
7869 buffer, not newbuf.
7870
197b6f3c
JB
78712012-04-17 Juanma Barranquero <lekktu@gmail.com>
7872
7873 * server.el (server-ensure-safe-dir): Simplify.
7874
2311d8e5 78752012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 7876
2311d8e5
GM
7877 * emacs-lisp/smie.el: Provide smarter auto-filling.
7878 (smie-auto-fill): New function.
7879 (smie-setup): Use it.
98fb480e 7880
2311d8e5
GM
7881 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
7882
78832012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
7884
7885 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
7886 (comment-indent): Use it.
7887
2311d8e5 78882012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
7889
7890 * ses.el: The overall change is to add cell renaming, that is
7891 setting fancy names for cell symbols other than name matching
7892 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 7893 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 7894 (ses-create-cell-variable): New defun.
2311d8e5 7895 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
7896 (ses-relocate-formula): Relocate formulas only for cells the
7897 symbols of which are not renamed, i.e. symbols whose names do not
7898 match regexp "\\`[A-Z]+[0-9]+\\'".
7899 (ses-relocate-all): Relocate values only for cells the symbols of
7900 which are not renamed.
7901 (ses-load): Create cells variables as the (ses-cell ...) are read,
7902 in order to check row col consistency with cell symbol name only
7903 for cells that are not renamed.
7904 (ses-replace-name-in-formula): New defun.
7905 (ses-rename-cell): New defun.
4bdf2ad2 7906
fc72b15c
PO
79072012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
7908
7909 * progmodes/perl-mode.el (perl-indent-parens-as-block):
7910 New option (bug#11118).
7911 (perl-calculate-indent): Respect it.
7912
12e10e61
GM
79132012-04-17 Glenn Morris <rgm@gnu.org>
7914
7915 * dired-aux.el (dired-mark-read-string): Doc fix.
7916
30009afd
DA
79172012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
7918
7919 * dired-aux.el (dired-mark-read-string): Offer optional completion.
7920 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
7921
41f03f4d
GM
79222012-04-17 Glenn Morris <rgm@gnu.org>
7923
7924 * mouse.el (mouse-drag-track):
7925 * speedbar.el (speedbar-frame-mode):
7926 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
7927
f45f90f3
LL
79282012-04-16 Leo Liu <sdl.web@gmail.com>
7929
7930 * progmodes/python.el: Trivial cleanup.
7931
94ee8db5
GM
79322012-04-16 Glenn Morris <rgm@gnu.org>
7933
121b8917
GM
7934 * vc/vc.el (vc-string-prefix-p):
7935 * vc/pcvs-util.el (cvs-string-prefix-p):
7936 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
7937 * mpc.el (mpc-string-prefix-p):
7938 Make all of these into obsolete aliases for string-prefix-p.
7939 Update callers.
7940 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
7941
1197ecfa
GM
7942 * textmodes/two-column.el: Move custom options to the start.
7943 (frame-width): Remove compat definition.
7944 (2C-associate-buffer, 2C-dissociate):
7945 Use with-current-buffer rather than save-excursion.
7946 (2C-dissociate): Force a mode-line update.
7947 (2C-autoscroll): Use ignore-errors.
7948
099e7202
GM
7949 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
7950 Autoload trivia.
7951
bf350d6a
GM
7952 * emacs-lisp/cl-extra.el (*random-state*):
7953 Remove unnecessary declaration.
7954
0e829eab
GM
7955 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
7956
e3ad7552
GM
7957 * play/cookie1.el (cookie-snarf):
7958 Give an explicit error if input file cannot be read.
7959
68892d27
GM
7960 * play/yow.el (yow-file): Use expand-file-name rather than concat.
7961
20f0c46d
GM
7962 * progmodes/perl-mode.el (c-macro-expand):
7963 Remove unnecessary autoload (it is in loaddefs.el).
7964
5a0978ce
GM
7965 * textmodes/picture.el (picture-desired-column)
7966 (picture-update-desired-column): Convert comments to doc-strings.
7967 (picture-substitute): Remove function.
7968 (picture-mode-map): Initialize in the defvar.
7969
6b955486
GM
7970 * woman.el: Remove eval-after-load for tar-mode.
7971 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
7972 (woman-tar-extract-file): Autoload it.
7973
94ee8db5
GM
7974 * frame.el (automatic-hscrolling): Make this alias obsolete.
7975
177eca34
AM
79762012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7977
090bd7cb 7978 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 7979 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
7980 (ispell-dictionary-base-alist): Revert to original XEmacs
7981 friendly version for default. [:alpha:] will be added in
090bd7cb 7982 `ispell-set-spellchecker-params' if needed.
177eca34 7983
c505aaeb
CY
79842012-04-16 Chong Yidong <cyd@gnu.org>
7985
b19dd9d1 7986 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
7987 (imagemagick-register-types): Use it.
7988 (imagemagick-types-inhibit): Add :set function. Allow new value
7989 of t to inhibit all types.
7990
7991 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
7992 so we can preload it.
7993
7994 * loadup.el (fboundp): Preload regexp-opt, needed by
7995 imagemagick-register-types.
7996
60efac0f
CY
79972012-04-15 Chong Yidong <cyd@gnu.org>
7998
7999 * frame.el (scrolling): Remove nearly unused customization group.
8000
8001 * scroll-all.el (scroll-all-mode): Move to windows group.
8002
5dd1713e
CY
80032012-04-15 Chong Yidong <cyd@gnu.org>
8004
8005 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8006
e6fd457e
CY
80072012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8008
8009 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 8010 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 8011
e153c136
GM
80122012-04-15 Glenn Morris <rgm@gnu.org>
8013
8014 * simple.el (process-file-side-effects): Doc fix.
8015
e6fd457e 80162012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
8017
8018 * international/mule-cmds.el (set-language-environment): Doc fix.
8019
3603c3b1
JB
80202012-04-14 Juanma Barranquero <lekktu@gmail.com>
8021
8022 * server.el (server-auth-key, server-generate-key): Doc fixes.
8023 (server-get-auth-key): Doc fix. Use `string-match-p'.
8024 (server-start): Reflow docstring.
8025
e6de100c
LI
80262012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8027
8028 * server.el (server-generate-key): `called-interactively-p'
8029 requires a parameter.
8030
29734c21
MN
80312012-04-14 Michal Nazarewicz <mina86@mina86.com>
8032
8033 * server.el (server-auth-key): New variable.
75f1671a 8034 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
8035 (server-start): Use the new variable and functions to allow
8036 setting a permanent server key (bug#9423).
8037
d65c9521
LL
80382012-04-14 Leo Liu <sdl.web@gmail.com>
8039
8040 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8041
5ae255c7
PE
80422012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8043
8044 Spelling fixes.
8045 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8046 Emacs uses American spelling.
8047
d5e6342e
JB
80482012-04-14 Juanma Barranquero <lekktu@gmail.com>
8049
8050 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8051 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8052 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8053 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8054
ab036cd7
SM
80552012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8056
8057 * progmodes/which-func.el (which-func-modes): Change default.
8058
35dc09a1 80592012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
8060
8061 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8062 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8063
35dc09a1 80642012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
8065
8066 * custom.el (custom-theme-set-variables): Doc fix.
8067
35dc09a1 80682012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
8069
8070 * international/mule.el (set-auto-coding-for-load): Doc fix.
8071
35dc09a1 80722012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 8073
35dc09a1
GM
8074 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8075 imenu work again for Objective C Mode. Correct the *-index values,
8076 these having been disturbed by a previous change in 2011-08.
57f845ee 8077
0de3da9f
AM
8078 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8079 Correct two search limits.
8080
35dc09a1 80812012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
8082
8083 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8084
35dc09a1 80852012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
8086
8087 * international/characters.el: Fix sorting.
8088
35dc09a1 80892012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
8090
8091 * international/characters.el: Add more missing Latin case pairs.
8092
35dc09a1 80932012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
8094
8095 * files.el (dir-locals-set-class-variables): Doc fix.
8096
35dc09a1 80972012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 8098
3f1b5bf8
EZ
8099 * international/characters.el: Add set-case-syntax-pair call for
8100 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8101 counterpart. (Bug#11209)
8102
9f847f41
EZ
8103 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8104
35dc09a1 81052012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
8106
8107 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8108
35dc09a1 81092012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 8110
35dc09a1
GM
8111 * textmodes/ispell.el (ispell-dictionary-base-alist):
8112 Add data for Hebrew.
e2627d21 8113
35dc09a1 81142012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 8115
35dc09a1
GM
8116 * net/rcirc.el (rcirc-cmd-quit):
8117 Revert 2012-03-18 change (Bug#11192).
5c14e333 8118
35dc09a1 81192012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
8120
8121 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8122
35dc09a1 81232012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 8124
4517fe3a
SM
8125 * minibuffer.el (completion-in-region-mode-map):
8126 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 8127
b472a594
VD
81282012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8129
8130 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8131
09b95ce3
MY
81322012-04-13 Masatake YAMATO <yamato@redhat.com>
8133
8134 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8135 to allow `C-M-f' and `C-M-b' to move to the nearest path
8136 separator (bug#9511).
8137
4b63a9ca
LI
81382012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8139
8140 * avoid.el: Require cl when compiling. And also move the
8141 `provide' to the end.
8142
7b55b8bf
TV
81432012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8144
8145 * avoid.el (mouse-avoidance-banish-position): New variable.
8146 (mouse-avoidance-banish-destination): Use it (bug#10165).
8147
adedaa1f
LL
81482012-04-13 Leo Liu <sdl.web@gmail.com>
8149
8150 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8151
70e74021
KB
81522012-04-13 Ken Brown <kbrown@cornell.edu>
8153
8154 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 8155 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
8156 (browse-url-filename-alist): For the same reason, don't modify
8157 file:// URLs on Cygwin.
8158
e75e89ba
SM
81592012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8160
8161 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8162 the region on shift if the binding is already shifted (bug#11221).
8163
82f289a4
GM
81642012-04-12 Glenn Morris <rgm@gnu.org>
8165
8166 * mail/mailpost.el: Move to obsolete/.
8167
d333dc4c
DA
81682012-04-12 Drew Adams <drew.adams@oracle.com>
8169
8170 * imenu.el (imenu--generic-function): Ignore invisible definitions
8171 (bug#10123).
8172
0d15b5ba
VD
81732012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8174
8175 * hexl.el (hexl-bits): New variable.
8176 (hexl-options): Mention the variable in the doc string.
75f1671a 8177 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 8178 (hexl-mode): Mention the new variable.
75f1671a
JB
8179 (hexl-mode, hexl-current-address, hexl-current-address):
8180 Use the displen.
0d15b5ba
VD
8181 (hexl-ascii-start-column): New function.
8182 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8183 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8184
64a440db
AM
81852012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8186
8187 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8188 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8189 the encoding, as expected by hunspell.
8190
6decb6c2
SM
81912012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8192
8193 * battery.el (battery--linux-sysfs-regexp): New const.
8194 (battery-status-function): Use it. Remove yeeloong special case.
8195 (battery-yeeloong-sysfs): Remove.
8196 (battery-echo-area-format): Remove yeeloong special case.
8197
088be6fb
SM
81982012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8199
6622e416
SM
8200 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8201 Reported by Noah Friedman.
8202
088be6fb
SM
8203 * subr.el (read-passwd): Use read-string.
8204
b49f886e
LMI
82052012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8206
8207 * vcursor.el (vcursor-move): Increase the priority of the overlay
8208 (bug#9663).
8209
a63067fc
DD
82102012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8211
8212 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8213 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8214
ac3cf14a
WS
82152012-04-11 William Stevenson <yhvh2000@gmail.com>
8216
8217 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8218 define-minor-mode (bug#10760).
8219
c4fc691b 82202012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 8221
4d6769e1 8222 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
8223 that directories matching `grep-find-ignored-files' won't be
8224 pruned (bug#10351).
8225
af23e2e5
CY
82262012-04-11 Chong Yidong <cyd@gnu.org>
8227
8228 * startup.el (command-line): Remove support for long-obsolete
8229 variable font-lock-face-attributes.
8230
ab7ce8c1
GM
82312012-04-11 Glenn Morris <rgm@gnu.org>
8232
8233 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8234
de8c03dc
SM
82352012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8236
8237 * window.el (window--state-get-1): Obey window-point-insertion-type.
8238
050cc68b
LB
82392012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8240
8241 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8242 to previous function when point is on the first character of a
75f1671a 8243 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 8244
a38c310c
GM
82452012-04-11 Glenn Morris <rgm@gnu.org>
8246
effed0c2
GM
8247 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8248 not just file-errors.
8249
a38c310c
GM
8250 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8251 (vc-bzr-sha1): Use internal sha1.
8252
0221e323
SM
82532012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8254
8255 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8256
43956923
SG
82572012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8258
8259 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8260 that start in the middle of the line (bug#10496).
8261
6a8c9eaf
DN
82622012-04-10 Dan Nicolaescu <dann@gnu.org>
8263
8264 * battery.el (battery-linux-proc-acpi): Only one battery is
8265 discharged at a time, but that seems to confuse battery.el when
8266 computing `rate-type' for the battery not being discharged
8267 (bug#10332).
8268
1930bf5d
SM
82692012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8270
2a718f6f
SM
8271 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8272
599430d0
SM
8273 * international/quail.el: Use dolist and simplify.
8274 (quail-define-package, quail-update-keyboard-layout)
8275 (quail-define-rules): Use dolist.
8276 (quail-insert-kbd-layout, quail-get-translation): CSE.
8277
a2754b6c
SM
8278 * tmm.el: Use dolist, remove left over hook.
8279 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8280 Use dolist.
8281 (calendar-load-hook): Don't mess with it.
8282
1930bf5d
SM
8283 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8284 Use derived-mode-p. Run the diff asynchronously.
8285
9f67961c
LMI
82862012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8287
8288 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8289
2a8ce227
JB
82902012-04-10 Juanma Barranquero <lekktu@gmail.com>
8291
8292 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8293 (list-dynamic-libraries--loaded): New function.
8294 (list-dynamic-libraries--refresh): Use it.
8295
8f33b5f8
NW
82962012-04-10 Nathan Weizenbaum <nweiz@google.com>
8297
1930bf5d
SM
8298 * progmodes/python.el (python-fill-paragraph):
8299 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
8300 disabled (bug#7018).
8301
b12f0439
L
83022012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
8303
1930bf5d 8304 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
8305 DOS/MS Windows for the Baltic languages. There are still plenty
8306 of texts written in this encoding/codepage (bug#6519).
b12f0439 8307
57c3bd01
GM
83082012-04-10 Glenn Morris <rgm@gnu.org>
8309
8310 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8311 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8312
6c3eab30
FA
83132012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8314
1930bf5d 8315 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
8316 next-line "n" and previous-line "p" in order to make recentf more
8317 consistent with ibuffer, dired or org-mode (bug#9387).
8318
24d78a88
LMI
83192012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8320
bc72b5d9
LMI
8321 * image.el (put-image): Return the overlay created instead of the
8322 optional input string (bug#7834). Note that this may break code
8323 that is (for some reason or other) depending on `put-image'
8324 returning the string.
8325
bd2dba5a
LMI
8326 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8327
74beb59f
LMI
8328 * simple.el (zap-to-char): Allow zapping using input methods
8329 (bug#1580).
8330
24d78a88
LMI
8331 * textmodes/fill.el (fill-region): Leave point and mark where they
8332 were before filling (bug#5399).
8333
263f20cd
GM
83342012-04-09 Glenn Morris <rgm@gnu.org>
8335
8336 * version.el (emacs-bzr-get-version):
8337 Handle lightweight checkouts of local branches.
8338
58d1f797
AS
83392012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8340
263f20cd 8341 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 8342
b4d3bc10
CY
83432012-04-09 Chong Yidong <cyd@gnu.org>
8344
8345 * custom.el (custom-variable-p): Return nil for non-symbol
8346 arguments instead of signaling an error.
8347 (user-variable-p): Obsolete alias for custom-variable-p.
8348
8349 * apropos.el (apropos-variable):
8350 * files-x.el (read-file-local-variable):
8351 * simple.el (set-variable):
8352 * woman.el (woman-mini-help):
8353 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8354
fd06db5d
GM
83552012-04-09 Glenn Morris <rgm@gnu.org>
8356
e5fcdb5e
GM
8357 * startup.el (normal-top-level): Don't look for leim-list.el
8358 in places where it will not be found. (Bug#910)
8359
fd06db5d
GM
8360 * international/mule-cmds.el (set-default-coding-systems):
8361 * files.el (normal-mode):
8362 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8363 This function was removed with ucs-tables.el in 2008.
8364
b39bb7e1
EZ
83652012-04-08 Eli Zaretskii <eliz@gnu.org>
8366
8367 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8368 ispell-encoding8-command to "-i", without a trailing space.
8369 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8370 separate command-line arguments, to specify the encoding, since
8371 that's how hunspell expects it.
8372
5c5b8e23
GM
83732012-04-08 Glenn Morris <rgm@gnu.org>
8374
8375 * loadup.el: Load bindings before cus-start.
8376 This reduces somewhat the number of "rogue" settings in emacs -Q.
8377
a1ed8b05
GM
83782012-04-07 Glenn Morris <rgm@gnu.org>
8379
8380 * version.el (emacs-bzr-get-version): New function.
dfae128a 8381 (emacs-bzr-version): New variable.
a1ed8b05
GM
8382 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8383 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8384
b142f158
EZ
83852012-04-07 Eli Zaretskii <eliz@gnu.org>
8386
dfae128a
GM
8387 * international/uni-bidi.el, international/uni-category.el:
8388 * international/uni-combining.el, international/uni-decimal.el:
8389 * international/uni-decomposition.el, international/uni-digit.el:
8390 * international/uni-lowercase.el, international/uni-mirrored.el:
8391 * international/uni-name.el, international/uni-numeric.el:
8392 * international/uni-titlecase.el, international/uni-uppercase.el:
8393 Update for Unicode 6.1.
b142f158 8394
9078ead6
EZ
83952012-04-07 Eli Zaretskii <eliz@gnu.org>
8396
8397 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8398
f23d2c7d
LMI
83992012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8400
8401 * window.el (shrink-window): Mention the `window-min-height'
8402 variable in the doc string.
8403
0a0a3573
BG
84042012-04-05 Bastien Guerry <bzg@altern.org>
8405
8406 * color.el (color-lighten-name): Fix typo.
8407
e5248ac9
SM
84082012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8409
8410 * server.el (server--on-display-p): New function.
8411 (server--on-display-p): Use it.
8412
b4243e22
GV
84132012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8414
8415 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8416 (bug#11145).
8417
305d9f44
SM
84182012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8419
8420 * comint.el (comint--common-quoted-suffix): Check string boundary
8421 before comparing (bug#11158).
8422 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8423
3d439cd1
CY
84242012-04-04 Chong Yidong <cyd@gnu.org>
8425
321cc491
CY
8426 * minibuffer.el (completion-extra-properties): Doc fix.
8427
3d439cd1
CY
8428 * subr.el (delayed-warnings-hook): Doc fix.
8429
2d562c0f
DU
84302012-04-04 Daiki Ueno <ueno@unixuser.org>
8431
8432 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8433 selection (Bug#11159).
8434 (epa-insert-keys): Inform that the default public key will be
8435 exported if no key is selected.
8436
4443f204
RS
84372012-04-04 Richard Stallman <rms@gnu.org>
8438
8439 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8440
529c06b6
CY
84412012-04-03 Chong Yidong <cyd@gnu.org>
8442
8443 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8444 mail-insert-file, not its obsolete alias mail-attach-file.
8445
66b907dc
MA
84462012-04-03 Michael Albinus <michael.albinus@gmx.de>
8447
8448 * notifications.el (notifications-notify): Fix docstring.
8449
c0ea195d
GM
84502012-04-02 Glenn Morris <rgm@gnu.org>
8451
8452 * emacs-lisp/authors.el (authors-aliases): Another addition.
8453
5ca64e00
MA
84542012-04-02 Michael Albinus <michael.albinus@gmx.de>
8455
8456 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8457 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8458 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8459
42ee526b
CY
84602012-04-01 Chong Yidong <cyd@gnu.org>
8461
8462 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8463 Handle root directory properly.
8464 (copy-directory): Caller changed.
8465
8466 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8467 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8468
0b021094
GM
84692012-03-31 Glenn Morris <rgm@gnu.org>
8470
40f86458
GM
8471 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8472
7019c177
GM
8473 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8474
a1daddd6
GM
8475 * calendar/calendar.el (calendar-window-list)
8476 (calendar-hide-window): Restore. (Bug#11140)
8477 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8478
0b021094
GM
8479 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8480
40311efc
TV
84812012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8482
8483 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8484 Check if file is a symlink (Bug#10489).
8485
8486 * files.el (copy-directory): Likewise.
8487
5319014e
CY
84882012-03-30 Chong Yidong <cyd@gnu.org>
8489
8490 * image.el (imagemagick-types-inhibit)
8491 (imagemagick-register-types): Doc fix.
8492
935d1290
AM
84932012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8494
090bd7cb 8495 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 8496 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 8497 and treats ~word as ordinary words in pipe mode.
935d1290 8498
61c6e8fd
GM
84992012-03-30 Glenn Morris <rgm@gnu.org>
8500
8501 * tutorial.el (help-with-tutorial): Ensure local variables don't
8502 happen to make the buffer read-only. (Bug#11127)
8503
81fdff00
SM
85042012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8505
8506 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8507 (perl-calculate-indent): Return `noindent' in strings.
8508
6e7a6ec0
SS
85092012-03-28 Sam Steingold <sds@gnu.org>
8510
8511 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8512 instead of the broken adhockery which does not prevent calendar
8513 buffers from being displayed at random after exit.
8514 (calendar-window-list, calendar-hide-window): Remove the broken
8515 adhockery.
8516
fee88ca0
GM
85172012-03-28 Glenn Morris <rgm@gnu.org>
8518
8519 * replace.el (query-replace-map): Doc fix.
8520
38de3354
AS
85212012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8522
8523 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8524 contents. (Bug#11109)
8525
b973155e
SM
85262012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8527
8528 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8529 (bug#11077).
8530 (avl-tree--check, avl-tree--check-node): New funs.
8531
dcb6e7b3
MR
85322012-03-27 Martin Rudalics <rudalics@gmx.at>
8533
8534 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
8535 (switch-to-prev-buffer, switch-to-next-buffer):
8536 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
8537 showing a buffer already is done on the same frame.
8538
b4fa35fa
GM
85392012-03-27 Glenn Morris <rgm@gnu.org>
8540
8541 * startup.el (mail-host-address): Doc fix.
8542
f9210e18
SM
85432012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8544
8545 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8546 than 197 variables.
8547
c0bf7753
AF
85482012-03-26 Ami Fischman <ami@fischman.org>
8549
8550 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8551
33da7b16
GM
85522012-03-26 Glenn Morris <rgm@gnu.org>
8553
02243d9d
GM
8554 * files.el (save-buffers-kill-emacs): Doc fix.
8555
33da7b16
GM
8556 * startup.el (normal-top-level, command-line, command-line-1):
8557 Give them doc strings.
8558
e5a69fd0
EZ
85592012-03-25 Eli Zaretskii <eliz@gnu.org>
8560
8561 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 8562 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 8563
9a69676a
CY
85642012-03-25 Chong Yidong <cyd@gnu.org>
8565
4125cb8b
CY
8566 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8567 theme if it was previously enabled before (Bug#11031).
8568
dd470960
CY
8569 * cus-theme.el (custom-theme-write-faces): Retrieve current face
8570 spec with custom-face-get-current-spec if its :shown-value is not
8571 determined yet (Bug#9337).
4125cb8b 8572 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 8573
9a69676a
CY
8574 * button.el (button-at): Minor addition to docstring.
8575
6e7e90fa
SL
85762012-03-24 Simon Leinen <simon.leinen@gmail.com>
8577
8578 * vc/vc.el (vc-merge): Fix a prompt.
8579
f06e2758
CY
85802012-03-24 Chong Yidong <cyd@gnu.org>
8581
8582 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8583 point (Bug#9623).
8584
6e7e90fa
SL
8585 * button.el (button-at): Minor addition to docstring.
8586
b9d0879b
SM
85872012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8588
8589 * newcomment.el (comment-choose-indent): No space after BOL.
8590
e71cebb3
SS
85912012-03-22 Sam Steingold <sds@gnu.org>
8592
8593 * window.el (switch-to-prev-buffer): Revert last patch because the
8594 bug turned out to be an advertised feature (Elisp manual 28.14).
8595
335aff35
GM
85962012-03-22 Glenn Morris <rgm@gnu.org>
8597
8598 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
8599 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8600
c676576a
LMI
86012012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8602
8603 * net/network-stream.el (network-stream-open-starttls): Make error
8604 message under Windows be less misleading.
8605
126f3d39
LW
86062012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
8607
8608 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8609 understands (bug#9942).
8610
64fee311
CY
86112012-03-22 Chong Yidong <cyd@gnu.org>
8612
8613 * simple.el (end-of-visible-line): Handle return value of
8614 next-single-property-change properly (Bug#9371).
8615
a640d29a
KH
86162012-03-22 Kenichi Handa <handa@m17n.org>
8617
8618 * international/quail.el (quail-insert-kbd-layout): Fix previous
8619 change. To avoid unwanted bidi reordering, use
8620 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8621
39675016
DG
86222012-03-21 Dmitry Gutov <dgutov@yandex.ru>
8623
8624 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8625 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8626 (ruby-beginning-of-indent): Be more careful with the difference
8627 between word-boundary and symbol boundary.
8628 (ruby-mode-syntax-table): Make : a symbol constituent.
8629
0a6934fc 86302012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 8631
3d008e4f
SM
8632 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8633
0a6934fc
SM
86342012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8635
af67c9d7
SM
8636 * progmodes/etags.el (tags-completion-at-point-function):
8637 Improve last fix.
8638
1acad97c
SM
8639 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
8640
e298b5da
SS
86412012-03-21 Sam Steingold <sds@gnu.org>
8642
8643 * progmodes/etags.el (tags-completion-at-point-function):
8644 Avoid the error when point is inside the pattern.
8645
91d82a70
JY
86462012-03-21 John Yates <john@yates-sheets.org> (tiny change)
8647
8648 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
8649 line (Bug#10855).
8650
69188b79
CY
86512012-03-21 Drew Adams <drew.adams@oracle.com>
8652
8653 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
8654
99fc91fe
AK
86552012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
8656
8657 * ido.el (ido-set-current-directory, ido-read-internal)
8658 (ido-choose-completion-string, ido-completion-help): Handle nil
8659 value of ido-completion-buffer (Bug#11008).
8660
087bbb4c
SS
86612012-03-21 Sam Steingold <sds@gnu.org>
8662
8663 * window.el (switch-to-prev-buffer): Do not switch to a visible
8664 window previous buffer, just like with the frame previous buffers.
8665
fb5b8aca
CY
86662012-03-21 Chong Yidong <cyd@gnu.org>
8667
8668 * faces.el (make-face, make-empty-face, copy-face):
8669 * face-remap.el (face-remap-add-relative, face-remap-set-base):
8670 Doc fixes.
8671
dc9924b8
SM
86722012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8673
8674 * wid-edit.el (widget-complete-field): Remove (bug#11051).
8675 (widget-complete): Remove broken use of it.
8676
f0bcceb9
CY
86772012-03-20 Chong Yidong <cyd@gnu.org>
8678
dc9924b8
SM
8679 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8680 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
8681 characters.
8682
ee52ebf3
TH
86832012-03-20 Tassilo Horn <tassilo@member.fsf.org>
8684
8685 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
8686 to draw rectangles, not squares. (Regression introduced by revno
8687 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
8688
4c5779ab
CY
86892012-03-18 Chong Yidong <cyd@gnu.org>
8690
8691 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
8692 it is not yet defined (for temacs).
8693
15360934
LL
86942012-03-18 Leo Liu <sdl.web@gmail.com>
8695
735135f9
PE
8696 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
8697 prefix.
15360934 8698
d9a8eb66
EZ
86992012-03-17 Eli Zaretskii <eliz@gnu.org>
8700
8701 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
8702 (ispell-choices-win-default-height, ispell-silently-savep)
8703 (ispell-dictionary-alist, ispell-encoding8-command)
8704 (ispell-check-version, ispell-aspell-find-dictionary)
8705 (ispell-valid-dictionary-list, ispell-words-keyword)
8706 (ispell-get-word, ispell-internal-change-dictionary)
8707 (ispell-region, ispell-skip-region-list)
8708 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
8709 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
8710 (ispell-message-text-end, ispell-message)
8711 (ispell-buffer-local-parsing): Doc fix.
8712
f02ff80d
J
87132012-03-13 Jambunathan K <kjambunathan@gmail.com>
8714
8715 * htmlfontify.el: Add support for code block fontification for ODT
8716 export (Bug #9914).
8717 (hfy-optimisations): Define new option
8718 `body-text-only'
8719 (hfy-fontify-buffer): Honor above setting.
8720 (hfy-begin-span, hfy-end-span): New routines factored out form
8721 `hfy-fontify-buffer'.
8722 (hfy-begin-span-handler, hfy-end-span-handler): New variables
8723 that permit insertion of custom tags.
8724 (hfy-fontify-buffer): Use above handlers.
8725 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
8726 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 8727 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 8728 over multiple runs. This is made possible by having the caller let
f02ff80d
J
8729 bind a special variable `hfy-user-sheet-assoc'.
8730 (htmlfontify-string): New defun.
8731 (hfy-compile-face-map): Make sure that the last char in the
8732 buffer is correctly fontified.
8733 (hfy-face-resolve-face): Whitespace only change.
8734
9ac7a13f
EZ
87352012-03-17 Eli Zaretskii <eliz@gnu.org>
8736
8737 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
8738 message more clear.
8739
e2b5bdd7
LL
87402012-03-16 Leo Liu <sdl.web@gmail.com>
8741
8742 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
8743
2e492df3
AM
87442012-03-16 Alan Mackenzie <acm@muc.de>
8745
8746 Further optimise the handling of large macros.
8747
8748 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
8749 limit to a call of `c-literal-limits'.
8750 (c-determine-+ve-limit): New function.
dc9924b8
SM
8751 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
8752 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
8753 In CASE 5B, restrict a search limit to 500.
8754 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
8755
8756 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
8757 Restrict macro bounds to +-500 from after-change's BEG END.
8758
50e94f0c
LL
87592012-03-16 Leo Liu <sdl.web@gmail.com>
8760
8761 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
8762
6f09f6ed
AH
87632012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
8764
8765 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 8766 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 8767
c7e73d51
GM
87682012-03-16 Glenn Morris <rgm@gnu.org>
8769
da986230
GM
8770 * view.el (view-buffer, view-buffer-other-window)
8771 (view-buffer-other-frame): Doc fixes re special mode-class.
8772
0835f01e
GM
8773 * subr.el (eval-after-load): If named feature is provided not from
8774 a file, run after-load forms. (Bug#10946)
8775
c7e73d51
GM
8776 * calendar/calendar.el (calendar-insert-at-column):
8777 Handle non-unit-width characters a bit better. (Bug#10978)
8778
3f2eafd1
CY
87792012-03-15 Chong Yidong <cyd@gnu.org>
8780
8781 * emacs-lisp/ring.el (ring-extend): New function.
8782 (ring-insert+extend): Extend the ring correctly (Bug#11019).
8783
8784 * comint.el (comint-read-input-ring)
8785 (comint-add-to-input-history): Grow comint-input-ring lazily.
8786
103af3fe
SM
87872012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8788
663b1677
SM
8789 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
8790 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
8791
103af3fe
SM
8792 * imenu.el: Fix multiple inheritance breakage (bug#9199).
8793 (imenu-add-to-menubar): Don't add a redundant index.
8794 (imenu-update-menubar): Handle a dynamically composed keymap.
8795
899cb7cb
KY
87962012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
8797
8798 * mail/sendmail.el (mail-encode-header):
8799 Bind rfc2047-encode-encoded-words to nil.
8800
3809f91d
GM
88012012-03-13 Glenn Morris <rgm@gnu.org>
8802
8803 * calendar/calendar.el (calendar-string-spread):
8804 Handle non-unit-width characters a bit better. (Bug#10978)
8805
9e345a01
LL
88062012-03-13 Leo Liu <sdl.web@gmail.com>
8807
8808 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
8809 directory and file as argument (Bug#10822).
8810
4a07df36
KS
88112012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8812
8813 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
8814 For dynamically generated code, follow $PC.
8815 (gdb-disassembly-handler-custom): Handle no function name case.
8816
4aaa9356
TL
88172012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
8818
8819 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
8820 * emulation/ws-mode.el (ws-query-replace):
8821 * sort.el (sort-regexp-fields):
8822 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
8823
225979da
SM
88242012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8825
8826 * dabbrev.el: Fix cycle completion order (bug#10963).
8827 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
8828 (dabbrev-completion): Don't use an obarray; provide
8829 a cycle-sort-function.
8830
e2f1fdab
LL
88312012-03-12 Leo Liu <sdl.web@gmail.com>
8832
dc9924b8 8833 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
8834 (kill-do-not-save-duplicates): Doc fix.
8835
b19490ed
SM
88362012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8837
8838 * dabbrev.el: Fix cycle completion (bug#10963).
8839 Use lexical binding and wrap to 80 columns.
8840 (dabbrev-completion): Delay computing the list of completions.
8841
4b05d722
KH
88422012-03-12 Kenichi Handa <handa@m17n.org>
8843
8844 * international/quail.el (quail-insert-kbd-layout): Surround each
8845 row by LRO and PDF instead of inserting many LRMs. Pad the left
8846 and right of each non-spacing marks. Insert invisible space
8847 between lower and upper characters to prevent composition.
8848
dbbc2e69
SM
88492012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8850
8851 * minibuffer.el (minibuffer-complete): Don't get confused when the
8852 function is run twice via different commands (bug#10958).
8853 (complete-with-action): Fix docstring.
8854
292112ed
CY
88552012-03-12 Chong Yidong <cyd@gnu.org>
8856
5d1ac394
CY
8857 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
8858 (nxml-completion-at-point-function): New function.
8859 (nxml-mode): Use it.
8860 (nxml-bind-meta-tab-to-complete-flag): Default to t.
8861
292112ed
CY
8862 * emacs-lisp/package.el (package-unpack, package-unpack-single):
8863 Load generated autoloads file before byte compiling (Bug#10970).
8864 (package--make-autoloads-and-compile): New helper fun.
8865
4098f8f7
CS
88662012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
8867
8868 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
8869
8f754691
MA
88702012-03-11 Michael Albinus <michael.albinus@gmx.de>
8871
8872 * autorevert.el (auto-revert-handler): Ensure, that
8873 file-readable-p is applied only for local files or in
8874 auto-revert-tail-mode.
8875
e29ab36b
AS
88762012-03-11 Andreas Schwab <schwab@linux-m68k.org>
8877
dbbc2e69
SM
8878 * server.el (server-eval-at): Handle non-tcp connections.
8879 Decode result string.
ad0bf5b6 8880
e29ab36b
AS
8881 * server.el (server-msg-size): New constant.
8882 (server-reply-print): New function.
8883 (server-eval-and-print): Use it.
8884 (server-eval-at): Use server-quote-arg and server-unquote-arg.
8885 Handle -print-nonl.
8886
de5939ba
CS
88872012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
8888
8889 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
8890 (Bug#10987).
8891
0c93eabf
CY
88922012-03-11 Chong Yidong <cyd@gnu.org>
8893
397a688f
CY
8894 * simple.el (goto-line): Doc fix (Bug#9938).
8895
2cc775f9
CY
8896 * subr.el (save-window-excursion): Doc fix (Bug#9979).
8897
0c93eabf
CY
8898 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
8899 when finished (Bug#10963).
8900
c491fa41
MR
89012012-03-11 Martin Rudalics <rudalics@gmx.at>
8902
8903 * window.el (split-window-below): Fix bug in case where
8904 split-window-keep-point is nil (Bug#10971).
8905
300e8fa5
JL
89062012-03-11 Juri Linkov <juri@jurta.org>
8907
8908 * replace.el (replace-highlight): Set isearch-word to nil
8909 unconditionally. (Bug#10887)
8910
dbf6c5a1
EZ
89112012-03-10 Eli Zaretskii <eliz@gnu.org>
8912
8913 * net/mairix.el (mairix-replace-invalid-chars): Rename from
8914 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 8915 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
8916 (mairix-widget-create-query): Add usage information about mairix
8917 search forms: negating words, searching for substrings, etc.
8918
b9e501de
JP
89192012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
8920
8921 * international/fontset.el (font-encoding-alist): Add an entry for
8922 ksx1001 (Bug#5667).
8923
92795c91
RS
89242012-03-10 Richard Stallman <rms@gnu.org>
8925
1694e6c1
RS
8926 * mail/sendmail.el (mail-encode-header):
8927 Set rfc2047-encode-encoded-words.
8928
607e8555
RS
8929 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
8930
de3bc99a
RS
8931 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
8932 view buffer means not swapped.
8933 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
8934 (rmail-write-region-annotate): Error if real text has disappeared.
8935
92795c91
RS
8936 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
8937
699bd04e
CY
89382012-03-10 Chong Yidong <cyd@gnu.org>
8939
8940 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
8941 * emulation/cua-base.el (cua--init-keymaps):
8942 Add delete-forward-char to remappings (Bug#9666).
699bd04e 8943
570a1714
MR
89442012-03-10 Martin Rudalics <rudalics@gmx.at>
8945
dbbc2e69
SM
8946 * speedbar.el (speedbar-unhighlight-one-tag-line):
8947 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 8948
82dcf4e4
CY
89492012-03-10 Chong Yidong <cyd@gnu.org>
8950
7a2c7ca7
CY
8951 * minibuffer.el (completion-in-region, completion-help-at-point):
8952 Give the completion field overlay a high priority (Bug#6830).
8953
82dcf4e4
CY
8954 * dired.el (dired-goto-file): Recognize absolute file name
8955 listings (Bug#7126).
8956 (dired-goto-file-1): New helper function.
8957 (dired-toggle-read-only): Inhibit warnings.
8958
052e28ac
MA
89592012-03-09 Michael Albinus <michael.albinus@gmx.de>
8960
75f1671a 8961 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
8962 there are no properties.
8963
95d5e396
LL
89642012-03-09 Leo Liu <sdl.web@gmail.com>
8965
8966 * savehist.el (savehist-printable): Stricter check for string
8967 value (Bug#10937).
8968
3f018d6d
EZ
89692012-03-09 Eli Zaretskii <eliz@gnu.org>
8970
dbbc2e69
SM
8971 * mail/smtpmail.el (smtpmail-send-it):
8972 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
8973 valid mbox format.
8974
f7fd3d79
GM
89752012-03-09 Glenn Morris <rgm@gnu.org>
8976
8977 * files.el (dir-locals-find-file):
8978 Don't check result is regular, readable.
8979 (dir-locals-read-from-file): Demote errors.
8980
6ff6e72f
EZ
89812012-03-08 Eli Zaretskii <eliz@gnu.org>
8982
dbbc2e69
SM
8983 * international/quail.el (quail-insert-kbd-layout):
8984 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
8985 layout cell, to prevent their reordering by bidi display engine.
8986 For details, see the discussion in
8987 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
8988
9cec7834
AM
89892012-03-08 Alan Mackenzie <acm@muc.de>
8990
8991 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
8992 the starting position; make it extend the marked region when
8993 invoked repeatedly - all under appropriate circumstances.
8994 Fixes bugs #5525, #10906.
8995
9a40b8d4
GM
89962012-03-08 Glenn Morris <rgm@gnu.org>
8997
8998 * files.el (locate-dominating-file, dir-locals-find-file):
8999 Undo 2012-03-06 change.
9000
7a08ed35
EZ
90012012-03-07 Eli Zaretskii <eliz@gnu.org>
9002
dbbc2e69
SM
9003 * international/quail.el (quail-help):
9004 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
9005 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9006 for the reason.
9007
5aca4f71 90082012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
9009
9010 Avoid superfluous registering of signals. (Bug#10807)
9011
9012 * notifications.el (notifications-on-action-object)
9013 (notifications-on-close-object): New defvars.
9014 (notifications-on-action-signal, notifications-on-closed-signal):
9015 Unregister the signal if not needed any longer.
9016 (notifications-notify): Register `notifications-action-signal' or
9017 `notifications-closed-signal', if :on-action or :on-close has been
9018 passed as argument.
9019
78e8b10a
CY
90202012-03-07 Chong Yidong <cyd@gnu.org>
9021
9022 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9023 non-X platforms.
9024
69481eb8
GM
90252012-03-06 Glenn Morris <rgm@gnu.org>
9026
9027 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9028 (x-disown-selection-internal, x-get-selection-internal):
9029 Doc fix (add arglist signatures). (Bug#10783)
9030
133b8e11
KS
90312012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9032
9033 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9034 Handle breakpoints with no "type".
9035
99a83064
GM
90362012-03-06 Glenn Morris <rgm@gnu.org>
9037
9038 * files.el (locate-dominating-file): Add optional predicate argument.
9039 (dir-locals-find-file): Make use of above change.
9040
17798e78
TTN
90412012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9042
9043 * info.el (Info-insert-dir): Also try "dir.gz".
9044
eb182446
GM
90452012-03-06 Glenn Morris <rgm@gnu.org>
9046
8f2114ee
GM
9047 * files.el (dir-locals-find-file):
9048 Ignore non-readable or non-regular files. (Bug#10928)
9049
eb182446
GM
9050 * files.el (locate-dominating-file): Doc fix.
9051
24679323
AS
90522012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9053
9054 * calendar/calendar.el (calendar-set-mode-line):
9055 `getenv' returns a string. (Bug#10951)
9056
01d972a9
LL
90572012-03-05 Leo Liu <sdl.web@gmail.com>
9058
109aa8a9
LL
9059 * simple.el (backward-delete-char-untabify): Constrain point to
9060 field (Bug#10939).
9061
01d972a9
LL
9062 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9063
10607bea
CY
90642012-03-05 Chong Yidong <cyd@gnu.org>
9065
9066 * simple.el (count-words): If called from Lisp, return the word
9067 count, for symmetry with `count-lines'. Arglist changed.
9068 (count-words--message): Args changed. Consolidate counting code
9069 from count-words and count-words-region.
9070 (count-words-region): Caller changed.
9071 (count-lines-region): Make it an obsolete alias.
9072
5dd11cfe
TH
90732012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9074
9075 * saveplace.el (save-place-to-alist)
9076 (save-place-ignore-files-regexp): Allow value nil to disable this
9077 feature.
9078
c349f4e6
CY
90792012-03-04 Chong Yidong <cyd@gnu.org>
9080
9081 * faces.el (face-spec-reset-face): For the default face, reset the
9082 attributes to default values (Bug#10748).
9083
e627be4c
LMI
90842012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9085
9086 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9087 previous patch: Check `message-send-mail-function', and not the
9088 default function (bug#10897).
9089
ebeabff4
MA
90902012-03-04 Michael Albinus <michael.albinus@gmx.de>
9091
a41a6cf4
MA
9092 * notifications.el (notifications-on-action-signal)
9093 (notifications-on-closed-signal): Check for unique service name of
9094 incoming event. Fix error in removing entry.
ebeabff4 9095 (top): Register for signals with wildcard service name.
a41a6cf4 9096 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 9097
c1ca42b4
CY
90982012-03-04 Chong Yidong <cyd@gnu.org>
9099
dc9924b8 9100 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 9101
ea16568d
GM
91022012-03-04 Glenn Morris <rgm@gnu.org>
9103
9104 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9105 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9106 (expand-abbrev, define-abbrev-table): Doc fixes.
9107
fbae4637
LMI
91082012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9109
9110 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9111 `message-default-send-mail-function' and not `send-mail-function'
9112 when doing the prompting for `sendmail-query-once' before sending
9113 in Message buffers (bug#10897).
9114
a1e7225c
LMI
9115 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9116 This is inconsistent with all the other stream functions, which leave
9117 the setting up to the higher levels (if so wanted) (bug#10931).
9118
56d093a9
AM
91192012-03-02 Alan Mackenzie <acm@muc.de>
9120
9121 Depessimize the handling of very large macros.
9122
9123 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9124 (c-macro-cache-syntactic): New variables to implement a one
9125 element macro cache.
9126 (c-invalidate-macro-cache): New function.
9127 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9128 Adapt to use the new cache.
9129 (c-state-safe-place): Use better the cache of safe positions.
9130 (c-state-semi-nonlit-pos-cache)
9131 (c-state-semi-nonlit-pos-cache-limit):
9132 New variables for...
9133 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9134 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
9135 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9136 Use c-state-semi-safe-place.
56d093a9 9137
dbbc2e69
SM
9138 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9139 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 9140
817e5c3d
MA
91412012-03-02 Michael Albinus <michael.albinus@gmx.de>
9142
dbbc2e69
SM
9143 * jka-compr.el (jka-compr-call-process):
9144 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
9145 not remote.
9146
a032a702
MA
91472012-03-01 Michael Albinus <michael.albinus@gmx.de>
9148
9149 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9150 access of FILE2, if FILE1 does not exist.
9151
99a54f21
MA
9152 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9153 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9154
9155 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9156 Add "PAGER=" to `process-environment'.
9157
f6561e1f
MM
91582012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9159
9160 * progmodes/sql.el: Bug fix
9161 (sql-get-login-ext): Save login values in globals.
9162 (sql-get-login): Use new version of `sql-get-login-ext'.
9163 (sql-interactive-mode): Set global `sql-connection' to nil.
9164 (sql-connect): Set global values for connection.
9165 (sql-product-interactive): Save global values as buffer local.
9166
2d44d9cc
LL
91672012-02-29 Leo Liu <sdl.web@gmail.com>
9168
9169 * abbrev.el (define-abbrevs): Reset sys to nil.
9170
96b49301 91712012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9172
bf7f9bc5
JB
9173 * files.el (file-equal-p): Rename from `files-equal-p'.
9174 Return nil when one or both files don't exist.
96b49301 9175 (file-subdir-of-p): Now only top directory must exists,
9176 return nil if it doesn't.
bf7f9bc5
JB
9177 (copy-directory): No need to test with `file-subdir-of-p' after
9178 creating dir.
9179 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9180 to `file-equal-p'.
96b49301 9181
44e97401
GM
91822012-02-28 Glenn Morris <rgm@gnu.org>
9183
9184 * shell.el (shell-mode):
9185 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9186 * play/landmark.el (landmark-font-lock-face-O):
9187 * play/handwrite.el (handwrite):
9188 * play/gomoku.el (gomoku-O):
9189 * net/browse-url.el (browse-url-browser-display):
9190 * international/mule.el (define-charset):
9191 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9192 * filesets.el (filesets-find-file-delay):
9193 * eshell/em-xtra.el (eshell-xtra):
9194 * eshell/em-unix.el (eshell-grep):
9195 * emulation/viper.el (viper-mode):
9196 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9197 * emacs-lisp/easymenu.el (easy-menu-define):
9198 * calendar/timeclock.el (timeclock-use-display-time):
9199 * bs.el (bs-mode):
9200 * bookmark.el (bookmark-save-flag):
9201 Doc fix (standardize possessive apostrophe usage).
9202
c98c6276
CY
92032012-02-27 Chong Yidong <cyd@gnu.org>
9204
bf7f9bc5
JB
9205 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9206 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 9207
c98c6276
CY
9208 * font-lock.el (font-lock-specified-p): Rename from
9209 font-lock-spec-present. Callers changed.
9210
9c62cd04 92112012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 9212
bf7f9bc5
JB
9213 * emacs-lisp/package.el (package-compute-transaction):
9214 Handle holding a package version to t in package-load-list.
8ac9e529 9215
530739c9
MA
92162012-02-26 Michael Albinus <michael.albinus@gmx.de>
9217
9218 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9219 (tramp-get-inode, tramp-get-device): Use cached values.
9220
487915d7
AM
92212012-02-26 Alan Mackenzie <acm@muc.de>
9222
9223 Check there is a font-lock specification before doing initial
9224 fontification.
9225
9226 * font-core.el (font-lock-mode): Move the conditional from
9227 :after-hook to font-lock-initial-fontify.
9228 (font-lock-default-function): Move the check for a specification
9229 to font-lock-spec-present.
9230
dc9924b8 9231 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
9232 (font-lock-spec-present): New function.
9233
4fd96557
JB
92342012-02-26 Jim Blandy <jimb@red-bean.com>
9235
9236 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9237 (gdb-send): Apply it to the operand of the '-interpreter-exec
9238 console' command, so that we can pass arguments with (say) quotes
9239 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9240
9a4888c0
CY
92412012-02-26 Chong Yidong <cyd@gnu.org>
9242
07498861
CY
9243 * help-fns.el (describe-function-1): Clarify description of
9244 remapping (Bug#10844).
9245
9a4888c0
CY
9246 * files.el (files-equal-p): Doc fix.
9247 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9248 and quit the loop once a mismatch is found.
9249
ea8fb88d
JB
92502012-02-25 Juanma Barranquero <lekktu@gmail.com>
9251
9252 * bs.el (bs--show-with-configuration): Don't throw an error
9253 if the window cannot be split; otherwise, subsequent calls to
9254 bs-show fail, restoring a stale window config. (Bug#10882)
9255
525795c1
JD
92562012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9257
9258 * term/ns-win.el (global-map): Bind ns-drag-file to
9259 ns-find-file (Bug#5855, Bug#10050).
9260
f008086f
AS
92612012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9262
9263 * calendar/parse-time.el (parse-time-string): Allow extractor to
9264 return nil.
9265
a3fcfa99
MA
92662012-02-25 Michael Albinus <michael.albinus@gmx.de>
9267
91027d08
JB
9268 * net/tramp.el (tramp-file-name-for-operation):
9269 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
9270
9271 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
9272 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9273 Add COPY-CONTENTS argument.
a3fcfa99 9274
67b0de11
CY
92752012-02-25 Chong Yidong <cyd@gnu.org>
9276
9277 Add custom groups for VC backends, for consistency with vc-bzr.
9278
9279 * vc/vc-arch.el (vc-arch):
9280 * vc/vc-cvs.el (vc-cvs):
9281 * vc/vc-git.el (vc-git):
9282 * vc/vc-hg.el (vc-hg):
9283 * vc/vc-mtn.el (vc-mtn):
9284 * vc/vc-rcs.el (vc-rcs):
9285 * vc/vc-sccs.el (vc-sccs):
9286 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9287 All relevant defcustoms reassigned.
9288
3c9dfce6
CY
92892012-02-25 Chong Yidong <cyd@gnu.org>
9290
1339bf43
CY
9291 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9292
3c9dfce6
CY
9293 * term/x-win.el (x-initialize-window-system): Reduce default for
9294 x-selection-timeout to 5 seconds (Bug#8869).
9295
25b2e303 92962012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9297
ec70a47d
GM
9298 * files.el (files-equal-p, file-subdir-of-p): New functions.
9299 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 9300 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
9301 * dired-aux.el (dired-copy-file-recursive): Same.
9302 (dired-create-files): Modify destination when source is equal to
9303 dest when copying files.
53a46cd0 9304 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 9305
914260cd
MA
93062012-02-24 Michael Albinus <michael.albinus@gmx.de>
9307
9308 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9309 (Bug#10874)
9310
2cb228f7
AM
93112012-02-23 Alan Mackenzie <acm@muc.de>
9312
9313 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9314 parameter "after-hook:" to allow the expansion to run code after
9315 the execution of the mode hooks.
9316
9317 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 9318 from font-lock-mode-internal.
2cb228f7 9319
91027d08 9320 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
9321 :after-hook.
9322
8f0fde21
SM
93232012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9324
3e88618b
SM
9325 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9326 (completion--cache-all-sorted-completions): New function.
9327 (completion-all-sorted-completions): Use it.
9328 (completion--do-completion, minibuffer-force-complete):
9329 Use it to re-instate the flush hook.
9330
8f0fde21
SM
9331 * icomplete.el (icomplete-completions): Replace last fix with a better
9332 one (bug#10850).
9333
8e911f6f
DG
93342012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9335
9336 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9337 when it might call us back infinitely (bug#10797).
9338
49fe4321
GM
93392012-02-23 Glenn Morris <rgm@gnu.org>
9340
9341 * minibuffer.el (completion-category-overrides): Doc fix.
9342
b291b572
SM
93432012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9344
9345 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9346 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9347
31a9ef2e
GM
93482012-02-23 Glenn Morris <rgm@gnu.org>
9349
5e6e6794 9350 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
9351 (authors-obsolete-files-regexps, authors-ignored-files)
9352 (authors-ambiguous-files, authors-renamed-files-alist):
9353 Add more entries.
9354
0bd1e074
JL
93552012-02-23 Juri Linkov <juri@jurta.org>
9356
9357 * isearch.el (isearch-occur): Sync interactive spec with occur's
9358 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9359
b617673c
JL
9360 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9361
19e9789e
JL
93622012-02-22 Juri Linkov <juri@jurta.org>
9363
9364 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9365 (ucs-insert): Doc fix. Check for hex digits in the string.
9366 Don't display `nil' in the error message. (Bug#10857)
9367
f41ce09d
AM
93682012-02-22 Alan Mackenzie <acm@muc.de>
9369
7a71b18d 9370 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 9371
ac2eceee
GM
93722012-02-22 Glenn Morris <rgm@gnu.org>
9373
9374 * ffap.el (ffap-c-path):
9375 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9376
abd1f678
CY
93772012-02-22 Chong Yidong <cyd@gnu.org>
9378
9379 * custom.el (load-theme): Doc fix.
9380
f25aef2e
GM
93812012-02-22 Glenn Morris <rgm@gnu.org>
9382
9383 * dired-x.el (dired-guess-shell-alist-default):
9384 Remove escape sequences from nroff output. (Bug#172)
9385
5f8dc2ca
GM
93862012-02-21 Glenn Morris <rgm@gnu.org>
9387
6ff86ec4
GM
9388 * vc/emerge.el (emerge-defvar-local):
9389 Set `permanent-local' property rather than unused `preserved'.
9390
be3223a3 9391 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
9392 (picture-mode-map): Use it. (Bug#10860)
9393 (picture-mode): Doc fix.
9394
3fe58f4f
JB
93952012-02-21 Juanma Barranquero <lekktu@gmail.com>
9396
9397 * newcomment.el (uncomment-region-default): Remove unused binding.
9398
f9a998c3
GM
93992012-02-21 Glenn Morris <rgm@gnu.org>
9400
9401 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9402 (picture-self-insert, picture-tab-chars): Doc fix.
9403 (picture-mode-map): Fix C-a, C-e.
9404
c6029348
GM
94052012-02-20 Glenn Morris <rgm@gnu.org>
9406
9407 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9408
ab1ce9d7
LL
94092012-02-20 Leo Liu <sdl.web@gmail.com>
9410
9411 * icomplete.el (icomplete-completions): Check FROM arg before
9412 passing to substring (Bug#10850).
9413
0fd40f89
CY
94142012-02-19 Chong Yidong <cyd@gnu.org>
9415
9416 * comint.el: Require ansi-color.
9417 (comint-output-filter-functions): Add ansi-color-process-output.
9418
9419 * ansi-color.el: Don't set comint-output-filter-functions; it is
9420 now in the initial value defined in comint.el.
9421 (ansi-color-apply-face-function): New variable.
9422 (ansi-color-apply-on-region): Use it.
9423 (ansi-color-apply-overlay-face): New function.
9424
9425 * shell.el (shell): No need to require ansi-color.
9426 (shell-mode): Use ansi-color-apply-face-function to highlight
9427 color escapes using font-lock-face property (Bug#10835).
9428
20af2394
CY
94292012-02-19 Chong Yidong <cyd@gnu.org>
9430
9431 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9432 mode-line formats (Bug#10839).
9433
e23a3fbe
GM
94342012-02-18 Glenn Morris <rgm@gnu.org>
9435
b474519e
GM
9436 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9437
9438 * mail/undigest.el (unforward-rmail-message): Doc fix.
9439
e23a3fbe
GM
9440 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9441
57939ff4
EZ
94422012-02-18 Eli Zaretskii <eliz@gnu.org>
9443
9444 * international/characters.el (script-list): Sync with the latest
9445 Unicode Character Database.
9446
0c23686e
AS
94472012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9448
9449 * international/titdic-cnv.el: Remove duplicate coding tag.
9450 * language/cham.el: Likewise.
9451 * language/tai-viet.el: Likewise.
9452
6818b449
GM
94532012-02-18 Glenn Morris <rgm@gnu.org>
9454
9455 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9456 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9457 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9458 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9459 * calendar/holidays.el (holiday-bahai-holidays)
9460 (calendar-holidays, list-holidays):
9461 Use utf-8 Bahá'í in doc-strings, menus, etc.
9462
0311a3fc
TH
94632012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9464
9465 * saveplace.el (save-place-ignore-files-regexp): New variable
9466 allowing for excluding files from saving their location of point.
9467 The default value matches the temporary commit message editing
9468 files from Git, SVN, Bazaar, and Mercurial.
9469 (save-place-to-alist): Use it.
9470
d209e2fb 94712012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 9472 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
9473
9474 * newcomment.el (uncomment-region-default): Don't leave extra space
9475 when an arg is provided (bug#8150).
9476
ee0ce425
TZ
94772012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9478
eb864a71 9479 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 9480
95ddf442
GM
94812012-02-17 Glenn Morris <rgm@gnu.org>
9482
9483 * net/socks.el: Require network-stream. (Bug#10599)
9484
48dd1e39 94852012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
9486
9487 * international/charprop.el:
9488 * international/uni-name.el:
9489 * international/uni-old-name.el:
9490 * international/uni-comment.el: Regenerate.
9491
d68cd087
GM
94922012-02-16 Glenn Morris <rgm@gnu.org>
9493
9494 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9495 Interactively in calendar buffer, give an error if not on a date.
9496
13932042
GM
94972012-02-15 Glenn Morris <rgm@gnu.org>
9498
9499 * shell.el (shell-delimiter-argument-list):
9500 Revert 2011-02-17 change. (Bug#8027)
9501
c3a70e2b
CY
95022012-02-15 Chong Yidong <cyd@gnu.org>
9503
60236b0d
CY
9504 * minibuffer.el (completion-at-point-functions): Doc fix.
9505
c3a70e2b
CY
9506 * custom.el (defcustom): Doc fix; note use of defvar.
9507
9f26dc24
GM
95082012-02-15 Glenn Morris <rgm@gnu.org>
9509
9510 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9511 Doc fixes.
9512
6546b134
GM
95132012-02-14 Glenn Morris <rgm@gnu.org>
9514
9515 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9516
d29b2b4c
LI
95172012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9518
9519 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9520 way the ports list is computed.
835bdcba
LI
9521 (smtpmail-query-smtp-server): Prompt the user for a port number if
9522 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 9523
08dcdbc9
TZ
95242012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9525
9526 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9527
2605051a
GM
95282012-02-13 Glenn Morris <rgm@gnu.org>
9529
9530 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9531
7ee99f32
TZ
95322012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9533
9534 * net/gnutls.el (gnutls-trustfiles): New variable.
9535 (gnutls-negotiate): Use it.
9536
5f0af64f
LI
95372012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
9538
9539 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9540 does its stuff if Gnus is running.
9541
c14fcc95
AM
95422012-02-13 Alan Mackenzie <acm@muc.de>
9543
9544 Fix a loop in c-set-fl-decl-start.
9545
7a71b18d 9546 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
9547 c-backward-syntactic-ws actually moves backwards.
9548
142b4d90
LL
95492012-02-13 Leo Liu <sdl.web@gmail.com>
9550
9551 * net/rcirc.el (rcirc-markup-attributes): Move point to the
9552 beginning so that all \C-o chars are removed.
9553
fa9958a6
TZ
95542012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
9555
dc9924b8 9556 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 9557
0bc5886a
AM
95582012-02-12 Alan Mackenzie <acm@muc.de>
9559
9560 Fix infinite loop with long macros.
4d6769e1 9561 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 9562
d4bd55e7
CY
95632012-02-12 Chong Yidong <cyd@gnu.org>
9564
9565 * window.el (display-buffer): Doc fix (Bug#10785).
9566
66f3fe22
GM
95672012-02-12 Glenn Morris <rgm@gnu.org>
9568
bd7da63e
GM
9569 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9570 (x-disown-selection-internal, x-get-selection-internal):
9571 Sync docs with the xselect.c versions.
9572
66f3fe22
GM
9573 * allout-widgets.el: Add missing license notice.
9574
3e0d2fa7
GM
95752012-02-11 Glenn Morris <rgm@gnu.org>
9576
cfecdf09
GM
9577 * select.el (x-get-selection-internal, x-own-selection-internal)
9578 (x-disown-selection-internal):
9579 * x-dnd.el (x-get-selection-internal): Update declarations.
9580
6d216d7f
GM
9581 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9582
2bed3f04
GM
9583 * window.el (window-sides-slots):
9584 * tool-bar.el (tool-bar-position):
9585 * term/xterm.el (xterm-extra-capabilities):
9586 * ses.el (ses-self-reference-early-detection):
9587 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9588 (verilog-auto-wire-type)
9589 (verilog-auto-delete-trailing-whitespace)
9590 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9591 (verilog-auto-tieoff-declaration):
9592 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9593 (sql-oracle-statement-starters, sql-oracle-scan-on):
9594 * progmodes/prolog.el (prolog-align-comments-flag)
9595 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9596 (prolog-left-indent-regexp, prolog-paren-indent-p)
9597 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9598 (prolog-types, prolog-mode-specificators)
9599 (prolog-determinism-specificators, prolog-directives)
9600 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9601 (prolog-electric-dot-flag)
9602 (prolog-electric-dot-full-predicate-template)
9603 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9604 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9605 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9606 (prolog-program-switches, prolog-prompt-regexp)
9607 (prolog-debug-on-string, prolog-debug-off-string)
9608 (prolog-trace-on-string, prolog-trace-off-string)
9609 (prolog-zip-on-string, prolog-zip-off-string)
9610 (prolog-use-standard-consult-compile-method-flag)
9611 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9612 (prolog-imenu-max-lines, prolog-info-predicate-index)
9613 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9614 (prolog-char-quote-workaround):
9615 * progmodes/cc-vars.el (c-defun-tactic):
9616 * net/tramp.el (tramp-encoding-command-interactive)
9617 (tramp-local-end-of-line):
9618 * net/soap-client.el (soap-client):
9619 * net/netrc.el (netrc-file):
9620 * net/gnutls.el (gnutls):
9621 * minibuffer.el (completion-category-overrides)
9622 (completion-cycle-threshold)
9623 (completion-pcm-complete-word-inserts-delimiters):
9624 * man.el (Man-name-local-regexp):
9625 * mail/feedmail.el (feedmail-display-full-frame):
9626 * international/characters.el (glyphless-char-display-control):
9627 * eshell/em-ls.el (eshell-ls-date-format):
9628 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
9629 (lisp-lambda-list-keyword-parameter-indentation)
9630 (lisp-lambda-list-keyword-parameter-alignment):
9631 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
9632 * dired-x.el (dired-omit-verbose):
9633 * cus-theme.el (custom-theme-allow-multiple-selections):
9634 * calc/calc.el (calc-highlight-selections-with-faces)
9635 (calc-lu-field-reference, calc-lu-power-reference)
9636 (calc-note-threshold):
9637 * battery.el (battery-mode-line-limit):
9638 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9639 (archive-7z-update):
9640 * allout.el (allout-prefixed-keybindings)
9641 (allout-unprefixed-keybindings)
9642 (allout-inhibit-auto-fill-on-headline)
9643 (allout-flattened-numbering-abbreviation):
9644 * allout-widgets.el (allout-widgets-auto-activation)
9645 (allout-widgets-icons-dark-subdir)
9646 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
9647 (allout-widgets-theme-dark-background)
9648 (allout-widgets-theme-light-background)
9649 (allout-widgets-item-image-properties-emacs)
9650 (allout-widgets-item-image-properties-xemacs)
9651 (allout-widgets-run-unit-tests-on-load)
9652 (allout-widgets-time-decoration-activity)
9653 (allout-widgets-hook-error-post-time)
9654 (allout-widgets-track-decoration):
9655 Add missing :version tags to new defcustoms and defgroups.
9656
5fec1b8e
GM
9657 * progmodes/sql.el (sql-ansi-statement-starters)
9658 (sql-oracle-statement-starters): Add custom type.
9659
3e0d2fa7
GM
9660 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
9661 (prolog-system-version): Give it a type.
9662
90b671e2
EZ
96632012-02-11 Eli Zaretskii <eliz@gnu.org>
9664
9665 * term/pc-win.el (x-select-text, x-selection-owner-p)
9666 (x-own-selection-internal, x-disown-selection-internal)
9667 (x-get-selection-internal): Sync doc strings and argument lists
9668 with xselect.c, common-win.el and x-win.el. (Bug#10783)
9669
5eac0c02
LL
96702012-02-11 Leo Liu <sdl.web@gmail.com>
9671
9672 * progmodes/python.el (python-end-of-statement): Fix infinite
9673 loop. (Bug#10788)
9674
f82cb659
GM
96752012-02-10 Glenn Morris <rgm@gnu.org>
9676
9677 * international/mule-cmds.el (unify-8859-on-encoding-mode)
9678 (unify-8859-on-decoding-mode): Properly mark as obsolete.
9679
cc26d239
LI
96802012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
9681
9682 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
9683 about SMTP before checking the From header.
9684
91027d08 9685 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
9686 into own function for reuse by emacsbug.el.
9687
1be3ca5a
LL
96882012-02-10 Leo Liu <sdl.web@gmail.com>
9689
9690 * subr.el (condition-case-unless-debug): Rename from
9691 condition-case-no-debug. All callers changed.
9692 (with-demoted-errors): Fix caller.
9693
9694 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
9695 * nxml/rng-valid.el (rng-do-some-validation):
9696 * emacs-lisp/package.el (package-refresh-contents)
9697 (package-menu-execute):
9698 * desktop.el (desktop-create-buffer):
91027d08 9699 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 9700
b011fbfe
GM
97012012-02-10 Glenn Morris <rgm@gnu.org>
9702
b2096d72
GM
9703 * textmodes/bibtex.el:
9704 Add missing :version tags for new/changed defcustoms.
9705
b011fbfe
GM
9706 * files.el (remote-file-name-inhibit-cache): Doc fixes.
9707
4c7e65bf
LI
97082012-02-09 Lars Ingebrigtsen <larsi@rusty>
9709
9710 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
9711 (smtpmail-via-smtp): Use it, or fall back on the From address.
9712 (smtpmail-send-it): Ditto.
9713
f3934f6f
SM
97142012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
9715
9716 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
9717 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
9718 (byte-compile-tmp-var): New const.
9719 (byte-compile-defvar): Use it to minimize .elc size.
9720 Just use `defvar' rather than simulate it (bug#10761).
9721
a075a2c5
GM
97222012-02-09 Glenn Morris <rgm@gnu.org>
9723
cf3aa21b
GM
9724 * files.el (rename-uniquely): Doc fix. (Bug#3806)
9725
354998cd
GM
9726 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
9727 Add :version tags.
9728
dc9924b8
SM
9729 * progmodes/compile.el (compilation-error-screen-columns)
9730 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 9731
dab3703d
GM
9732 * vc/log-view.el (log-view-toggle-entry-display):
9733 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
9734
3f88cd72
GM
9735 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
9736 (report-emacs-bug-can-use-xdg-email):
9737 (report-emacs-bug-insert-to-mailer): Doc fixes.
9738 (report-emacs-bug): Message fix.
9739
d95b247d
GM
9740 * net/browse-url.el (browse-url-can-use-xdg-open)
9741 (browse-url-xdg-open): Doc fixes.
9742
a075a2c5
GM
9743 * electric.el (electric-indent-mode, electric-pair-mode)
9744 (electric-layout-rules, electric-layout-mode): Doc fixes.
9745 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
9746
ffb6157e
MR
97472012-02-08 Martin Rudalics <rudalics@gmx.at>
9748
9749 * server.el (server-unselect-display): Don't inadvertently kill
9750 the current buffer. (Bug#10729)
9751
e1ac4066
GM
97522012-02-08 Glenn Morris <rgm@gnu.org>
9753
34e8a2da
GM
9754 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
9755 (sql-list-table): Doc fixes.
9756
b4ac6e8c
GM
9757 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
9758 Comment out (does nothing).
9759
e1ac4066
GM
9760 * completion.el (dynamic-completion-mode):
9761 * dirtrack.el (dirtrack-debug-mode):
9762 * electric.el (electric-layout-mode):
9763 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
9764 * face-remap.el (text-scale-mode, buffer-face-mode):
9765 * iimage.el (iimage-mode):
9766 * image-mode.el (image-transform-mode):
9767 * minibuffer.el (completion-in-region-mode):
9768 * scroll-lock.el (scroll-lock-mode):
9769 * simple.el (next-error-follow-minor-mode):
9770 * tar-mode.el (tar-subfile-mode):
9771 * tooltip.el (tooltip-mode):
9772 * vcursor.el (vcursor-use-vcursor-map):
9773 * wid-browse.el (widget-minor-mode):
9774 * emulation/tpu-edt.el (tpu-edt-mode):
9775 * emulation/tpu-extras.el (tpu-cursor-free-mode):
9776 * international/iso-ascii.el (iso-ascii-mode):
9777 * language/thai-util.el (thai-word-mode):
9778 * mail/supercite.el (sc-minor-mode):
9779 * net/goto-addr.el (goto-address-mode):
9780 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
9781 * progmodes/cwarn.el (cwarn-mode):
9782 * progmodes/flymake.el (flymake-mode):
9783 * progmodes/glasses.el (glasses-mode):
9784 * progmodes/hideshow.el (hs-minor-mode):
9785 * progmodes/pascal.el (pascal-outline-mode):
9786 * textmodes/enriched.el (enriched-mode):
9787 * vc/smerge-mode.el (smerge-mode):
9788 Doc fixes (minor mode argument).
9789
5e0d957f
EZ
97902012-02-07 Eli Zaretskii <eliz@gnu.org>
9791
9792 * ls-lisp.el (ls-lisp-sanitize): New function.
9793 (ls-lisp-insert-directory): Use it to fix or remove any elements
9794 in file-alist with missing attributes. (Bug#4673)
9795
98d7371e
AM
97962012-02-07 Alan Mackenzie <acm@muc.de>
9797
9798 Fix spurious recognition of c-in-knr-argdecl.
9799
9800 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
9801 putative K&R region.
9802
667ced3a
AM
98032012-02-07 Alan Mackenzie <acm@muc.de>
9804
eb864a71
LM
9805 * progmodes/cc-engine.el (c-forward-objc-directive):
9806 Prevent looping in "#pragma mark @implementation".
667ced3a 9807
5b77774d
MA
98082012-02-07 Michael Albinus <michael.albinus@gmx.de>
9809
9810 * notifications.el (notifications-on-closed-signal): Make `reason'
9811 optional. (Bug#10744)
9812
af008560
GM
98132012-02-07 Glenn Morris <rgm@gnu.org>
9814
60d47423
GM
9815 * emacs-lisp/easy-mmode.el (define-minor-mode):
9816 Doc fixes for the macro and the mode it defines.
9817
dd605cc4
GM
9818 * image.el (imagemagick-types-inhibit): Doc fix.
9819
af008560
GM
9820 * cus-start.el (imagemagick-render-type): Add it.
9821
5cc59a37
LI
98222012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
9823
4d6769e1
JB
9824 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
9825 Set the default at load time, too, so that `font-lock-fontify-buffer'
9826 can be called without setting up the entire mode first. This fixes
9827 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 9828
9a6dd747
CY
98292012-02-06 Chong Yidong <cyd@gnu.org>
9830
2d16b285
CY
9831 * simple.el (list-processes--refresh): Delete exited processes
9832 (Bug#8094).
9833
171e9b6e
CY
9834 * comint.el (comint-next-prompt): next-single-char-property-change
9835 and prev-single-char-property-change never return nil (Bug#8657).
9836
9a6dd747
CY
9837 * custom.el (defcustom): Doc fix (Bug#9711).
9838
aa4589a7
CY
98392012-02-05 Chong Yidong <cyd@gnu.org>
9840
5c2a252f
CY
9841 * cus-edit.el (custom-variable-reset-backup): Quote the value
9842 before storing it in the customized-value property (Bug#6712).
4aab9006 9843 (custom-display): Add a customization type tag.
983b9602 9844 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 9845
aa4589a7
CY
9846 * wid-edit.el (widget-field-value-get): New optional arg to
9847 suppress trailing whitespace truncation.
9848 (character): Use it (Bug#2689).
9849
1ff980ae
AS
98502012-02-05 Andreas Schwab <schwab@linux-m68k.org>
9851
9852 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
9853 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
9854
03988c98
CY
98552012-02-05 Chong Yidong <cyd@gnu.org>
9856
eeb6cc88
CY
9857 * cus-edit.el (custom-variable-value-create): For mismatched
9858 types, show the current value (Bug#7600).
9859
03988c98
CY
9860 * custom.el (defcustom): Doc fix.
9861
f8cdeef0
GM
98622012-02-05 Glenn Morris <rgm@gnu.org>
9863
9864 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
9865
0696d255
JB
98662012-02-05 Juanma Barranquero <lekktu@gmail.com>
9867
9868 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
9869 (pp-buffer): Use `ignore-errors', `looking-at-p'.
9870 (pp-last-sexp): Use `looking-at-p'.
9871
34c99998
GM
98722012-02-04 Glenn Morris <rgm@gnu.org>
9873
8f05da42
GM
9874 * files.el (revert-buffer):
9875 Doc fix (mention revert-buffer-in-progress-p).
9876
f160676e
GM
9877 * emacs-lisp/ert-x.el (ert-simulate-command):
9878 Check deferred-action-list (which is obsolete) is bound.
9879
c7291ad9
GM
9880 * subr.el (with-wrapper-hook): Doc fixes.
9881
34c99998
GM
9882 * simple.el (filter-buffer-substring-functions)
9883 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
9884
6283a7d3
LL
98852012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
9886
9887 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
9888 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
9889
e96e3013
LL
98902012-02-04 Leo Liu <sdl.web@gmail.com>
9891
9892 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
9893
8ded50f2
GM
98942012-02-04 Glenn Morris <rgm@gnu.org>
9895
82ff1d13
GM
9896 * image.el (image-extension-data): Add obsolete alias.
9897
987a0a16
GM
9898 * isearch.el (isearch-update): Doc fix.
9899
ea32ef46
GM
9900 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
9901
8ded50f2
GM
9902 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
9903
eea14f31
GM
99042012-02-03 Glenn Morris <rgm@gnu.org>
9905
9906 * image.el (image-animated-p): Doc fix. Use image-animated-types.
9907 (image-animate-timeout): Doc fix.
9908
9909 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
9910
12f381b7
GM
99112012-02-02 Glenn Morris <rgm@gnu.org>
9912
953cebf5
GM
9913 * server.el (server-auth-dir): Doc fix.
9914 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
9915
12f381b7
GM
9916 * subr.el (run-mode-hooks): Doc fix.
9917
953a8c3b
JL
99182012-02-02 Juri Linkov <juri@jurta.org>
9919
9920 * image-mode.el (image-toggle-display-image): Remove tautological
9921 `major-mode' from the `derived-mode-p' test.
9922
c5d3843c
KH
99232012-02-02 Kenichi Handa <handa@m17n.org>
9924
9f6e692e 9925 * composite.el (compose-region): Cancel previous change.
c5d3843c 9926
159462d4 99272012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
9928
9929 * composite.el (compose-region, compose-string): Signal error for
9930 a null string component (Bug#6988).
9931
9f562668
CY
99322012-02-01 Chong Yidong <cyd@gnu.org>
9933
e2cef717
CY
9934 * view.el (view-buffer-other-window, view-buffer-other-frame):
9935 Handle special modes like view-buffer (Bug#10650).
9936 (view-buffer): Simplify.
9937
9f562668
CY
9938 * frame.el (set-frame-font): Tweak meaning of third argument.
9939
9f6e692e
JB
9940 * dynamic-setting.el (font-setting-change-default-font):
9941 Use set-frame-font (Bug#9982).
9f562668 9942
781acb9f
GM
99432012-02-01 Glenn Morris <rgm@gnu.org>
9944
6035be52
GM
9945 * progmodes/compile.el (compilation-internal-error-properties):
9946 Respect compilation-first-column in the "*compilation*" buffer.
9947
781acb9f
GM
9948 * emacs-lisp/easy-mmode.el (define-minor-mode):
9949 Relax :variable's test for a named function.
9950
abbceb00
AM
99512012-01-31 Alan Mackenzie <acm@muc.de>
9952
9953 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
9954 off by one error.
9955
fce3fdeb
CY
99562012-01-31 Chong Yidong <cyd@gnu.org>
9957
9958 * frame.el (set-frame-font): New arg ALL-FRAMES.
9959
9960 * menu-bar.el (menu-set-font): Use set-frame-font.
9961
9962 * faces.el (face-spec-reset-face): Don't apply unspecified
9963 attribute values to the default face.
9964
47893581
JB
99652012-01-31 Juanma Barranquero <lekktu@gmail.com>
9966
9967 * progmodes/cwarn.el (cwarn): Remove dead link.
9968 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
9969 Remove * from defcustom docstrings.
9970 (turn-on-cwarn-mode): Make obsolete.
9971 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
9972 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
9973
e58e988a
GM
99742012-01-31 Glenn Morris <rgm@gnu.org>
9975
60dc2671 9976 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 9977 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 9978 Allow named functions to be used as the cdr of :variable.
e58e988a 9979
7a3f511d
GM
99802012-01-30 Glenn Morris <rgm@gnu.org>
9981
9982 * emacs-lisp/authors.el (authors-fixed-entries):
9983 Remove reference to deleted file rnewspost.el.
9984
cb882333
JB
99852012-01-29 Juanma Barranquero <lekktu@gmail.com>
9986
9987 * window.el (window-with-parameter): Remove unused variable `windows'.
9988 (window--side-check): Remove unused variable `code'.
9989 (window--resize-siblings): Remove unused variable `first'.
9990 (adjust-window-trailing-edge): Remove unused variable `failed'.
9991 (window-deletable-p, window--delete): Remove unused variable `buffer'.
9992 Use `let', not `let*'.
9993 (balance-windows-2): Remove unused variable `found'.
9994 (window--state-put-2): Remove unused variable `splits'.
9995 (window-state-put): Remove unused variable `selected'.
9996 (same-window-p): Use `string-match-p'.
9997 (display-buffer-assq-regexp): Remove unused variable `value'.
9998 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9999 Mark argument ALIST as ignored.
10000 (pop-to-buffer): Remove unused variable `old-window'.
10001
907201af
EZ
100022012-01-29 Eli Zaretskii <eliz@gnu.org>
10003
10004 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10005 and .lzma compressed files.
10006
ea162670
CY
100072012-01-29 Chong Yidong <cyd@gnu.org>
10008
5b95ee8a
CY
10009 * frame.el (window-system-default-frame-alist): Doc fix.
10010
ea162670
CY
10011 * dynamic-setting.el (font-setting-change-default-font): Don't
10012 change the default face if SET-FONT argument is non-nil (Bug#9982).
10013
d6e6f4b1
SB
100142012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10015
10016 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10017
0f29fa41 100182012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
10019
10020 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10021 breakpoints in files outside current directory (Bug#6098).
10022
db174434
CY
100232012-01-29 Chong Yidong <cyd@gnu.org>
10024
6b25e4e2
SE
10025 * progmodes/python.el: Require ansi-color at top-level.
10026
6df6ae42
JB
10027 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10028 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
10029 (lisp-mode-abbrev-table): Add doc.
10030 (lisp-mode-variables): Don't set local-abbrev-table.
10031 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10032
e70ee681
RW
100332012-01-28 Roland Winkler <winkler@gnu.org>
10034
10035 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10036
ace88aa2
RW
100372012-01-28 Roland Winkler <winkler@gnu.org>
10038
10039 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10040 (bibtex-set-dialect): Use it. Either set global values of
10041 dialect-dependent variables or bind these variables buffer-locally
10042 (Bug#10254).
10043 (bibtex-mode): Call bibtex-set-dialect via
10044 hack-local-variables-hook.
eb864a71
LM
10045 (bibtex-dialect): Update docstring.
10046 Add safe-local-variable predicate.
ace88aa2
RW
10047 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10048 bibtex-set-dialect.
10049 (bibtex-mode-map): Define menu for each dialect.
10050 (bibtex-entry): Fix docstring.
10051
93376c5b
CY
100522012-01-28 Chong Yidong <cyd@gnu.org>
10053
10054 * eshell/esh-arg.el (eshell-quote-argument): New function.
10055
10056 * eshell/esh-ext.el (eshell-invoke-batch-file):
10057 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10058 first arg to eshell-parse-command (Bug#10523).
10059
4372494f
DA
100602012-01-28 Drew Adams <drew.adams@oracle.com>
10061
10062 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10063 `default-directory' is non-nil.
10064
4d4ec1f8
EZ
100652012-01-28 Eli Zaretskii <eliz@gnu.org>
10066
10067 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10068 line that displays system-configuration-options. (Bug#9924)
10069
7c188927
DA
100702012-01-28 Drew Adams <drew.adams@oracle.com>
10071
10072 * descr-text.el (describe-char): Show information about POS, in
10073 addition to information about the character at POS. Improve and
10074 update the doc string. Change "code point" to "code point in
10075 charset", to avoid confusion with the character's Unicode code
10076 point shown above that. (Bug#10129)
10077
e0da685a
EZ
100782012-01-28 Eli Zaretskii <eliz@gnu.org>
10079
10080 * descr-text.el (describe-char): Show the raw character, not only
10081 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10082 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10083 for the reasons.
10084
70550acf
PH
100852012-01-28 Phil Hagelberg <phil@hagelb.org>
10086
eb864a71
LM
10087 * emacs-lisp/package.el (package-install):
10088 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 10089
0ce8e868
CY
100902012-01-28 Chong Yidong <cyd@gnu.org>
10091
cb882333
JB
10092 * emacs-lisp/package.el (package-maybe-load-descriptor):
10093 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
10094 (package-maybe-load-descriptor): Use it.
10095 (package-download-transaction): Fully load required packages
10096 inside the loop, so that `require' calls work (Bug#10593).
10097 (package-install): No need to call package-initialize now.
10098
2e7f3bea
CY
100992012-01-28 Chong Yidong <cyd@gnu.org>
10100
6e9bad14
CY
10101 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10102
f823b8ca
CY
10103 * tooltip.el (tooltip-mode): Doc fix.
10104 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10105
2680c309
CY
10106 * frame.el (set-cursor-color): Doc fix (Bug#352).
10107
d7a9e63b
CY
10108 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10109 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10110
2e7f3bea
CY
10111 * cus-edit.el (custom-buffer-create-internal): Fix search button
10112 action (Bug#10542).
2ae01800 10113 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 10114
fc4f7a23
EW
101152012-01-27 Eduard Wiebe <usenet@pusto.de>
10116
10117 * dired.el (dired-mark-files-regexp):
10118 Include any subdirectory components. (Bug#10445)
10119
7dd37071
ML
101202012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10121
10122 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10123 Handle [host]:port syntax. (Bug#10533)
10124
a268160b
AH
101252012-01-27 Alex Harsanyi <harsanyi@mac.com>
10126
10127 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10128
e43273ef
GM
101292012-01-26 Glenn Morris <rgm@gnu.org>
10130
10131 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10132 * term.el (term-raw-escape-map): Use Control-X-prefix.
10133 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10134
1edf595d
MR
101352012-01-25 Martin Rudalics <rudalics@gmx.at>
10136
10137 * window.el (window-state-get, window--state-get-1): Don't deal
10138 with fixed-sizeness of windows. Simplify code.
10139
fa8eafef
JC
101402012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10141
6df6ae42
JB
10142 * window.el (window--state-get-1, window--state-put-2):
10143 Don't save and restore the mark.
fa8eafef 10144
0b21c100
CY
101452012-01-25 Chong Yidong <cyd@gnu.org>
10146
10147 * custom.el (custom-variable-p): Doc fix.
10148
5ae1a6c8
GM
101492012-01-25 Glenn Morris <rgm@gnu.org>
10150
40047858
GM
10151 * dired.el (dired-goto-file): Handle some of the more common
10152 characters that `ls -b' escapes. (Bug#10596)
10153
5ddce96c
GM
10154 * progmodes/compile.el (compilation-next-error-function):
10155 Respect compilation-first-column in the "*compilation*" buffer.
10156 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10157
5ae1a6c8
GM
10158 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10159
b559f1a9
GM
101602012-01-24 Glenn Morris <rgm@gnu.org>
10161
10162 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10163
6725d21a
JD
101642012-01-24 Julien Danjou <julien@danjou.info>
10165
10166 * color.el (color-rgb-to-hsl): Fix value computing.
10167 (color-hue-to-rgb): New function.
10168 (color-hsl-to-rgb): New function.
10169 (color-clamp, color-saturate-hsl, color-saturate-name)
10170 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10171 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10172
70df4bbe
GM
101732012-01-24 Glenn Morris <rgm@gnu.org>
10174
10175 * vc/vc-rcs.el (vc-rcs-create-tag):
10176 * vc/vc-sccs.el (vc-sccs-create-tag):
10177 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10178
802a2ae2
ML
101792012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10180
10181 * eshell/esh-util.el (eshell-read-hosts-file):
10182 Skip comment lines. (Bug#10549)
10183
d7128bb1
ML
10184 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10185
d1a5c3b4
JB
101862012-01-23 Juanma Barranquero <lekktu@gmail.com>
10187
2724d9c7
JB
10188 * subr.el (display-delayed-warnings): Doc fix.
10189 (collapse-delayed-warnings): New function to collapse identical
10190 adjacent warnings.
10191 (delayed-warnings-hook): Add it.
d1a5c3b4 10192
a5509865
MA
101932012-01-22 Michael Albinus <michael.albinus@gmx.de>
10194
10195 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10196
a5509865
MA
10197 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10198 (tramp-default-user-alist): Don't add "pscp".
10199 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10200 property "login-as", if set. (Bug#10530)
10201
cc6d5805
MA
102022012-01-21 Michael Albinus <michael.albinus@gmx.de>
10203
10204 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10205 "plink1" and "psftp". (Bug#10530)
10206
102072012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
10208
10209 * international/mule-cmds.el (prefer-coding-system): Show a
10210 warning message if the default value of file-name-coding-system
10211 was not changed.
10212
f0960428
JC
102132012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10214
cb882333
JB
10215 * windmove.el (windmove-reference-loc):
10216 Fix windmove-reference-loc miscalculation.
f0960428 10217
dd6f2a63
JB
102182012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10219
10220 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10221 default unit.
10222
7b447e9b
GM
102232012-01-21 Glenn Morris <rgm@gnu.org>
10224
117a9ea1
GM
10225 * international/mule.el (auto-coding-alist): Add .tbz.
10226
7b447e9b
GM
10227 * files.el (local-enable-local-variables): Doc fix.
10228 (inhibit-local-variables-regexps): Rename from
10229 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10230 Doc fix. Add some extensions from auto-coding-alist.
10231 (inhibit-local-variables-suffixes):
10232 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10233 (inhibit-local-variables-p):
10234 New function, extracted from set-auto-mode-1.
10235 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10236 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10237 (hack-local-variables): Doc fix. Make the mode-only case
10238 respect enable-local-variables and friends.
10239 Respect inhibit-local-variables-regexps for file-locals, but
10240 not for directory-locals.
10241 (set-visited-file-name):
10242 Take account of inhibit-local-variables-regexps.
10243 Whether it applies may change as the file name is changed.
10244 * jka-cmpr-hook.el (jka-compr-install):
10245 * jka-compr.el (jka-compr-uninstall):
10246 Update for inhibit-first-line-modes-suffixes name change.
10247
dd6e3cdd
MR
102482012-01-20 Martin Rudalics <rudalics@gmx.at>
10249
10250 * help-macro.el (make-help-screen): Temporarily restore original
10251 binding for minor-mode-map-alist (Bug#10454).
10252
0d0deb38
JD
102532012-01-19 Julien Danjou <julien@danjou.info>
10254
10255 * color.el (color-name-to-rgb): Use the white color to find the max
10256 color component value and return correctly computed values.
10257 (color-name-to-rgb): Add missing float conversion for max value.
10258
34a02f46
MR
102592012-01-19 Martin Rudalics <rudalics@gmx.at>
10260
10261 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
10262 special state value for window-persistent-parameters.
10263 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
10264 (window--state-put-2): Reset all window parameters to nil before
10265 assigning values of persistent parameters.
10266
606c44c4
AM
102672012-01-18 Alan Mackenzie <acm@muc.de>
10268
10269 Eliminate sluggishness and hangs in fontification of "semicolon
10270 deserts".
10271
cb882333
JB
10272 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10273 Change value 10000 -> 3000.
606c44c4
AM
10274 (c-state-safe-place): Reformulate so it doesn't stack up an
10275 infinite number of wrong entries in c-state-nonlit-pos-cache.
10276 (c-determine-limit-get-base, c-determine-limit): New functions to
10277 determine backward search limits disregarding literals.
10278 (c-find-decl-spots): Amend commenting.
10279 (c-cheap-inside-bracelist-p): New function which detects "={".
10280
10281 * progmodes/cc-fonts.el
10282 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10283 backward search.
10284 (c-font-lock-declarations): Fix an occurrence of point being
10285 undefined. Check additionally for point being in a bracelist or
10286 near a macro invocation without a semicolon so as to avoid a
10287 fruitless time consuming search for a declarator. Give a more
10288 precise search limit for declarators using the new
10289 c-determine-limit.
10290
f3860cea
GM
102912012-01-18 Glenn Morris <rgm@gnu.org>
10292
10293 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10294 (set-auto-mode): Doc fixes.
10295
1db03b16
GM
102962012-01-17 Glenn Morris <rgm@gnu.org>
10297
0e6038be
GM
10298 * isearch.el (search-nonincremental-instead): Fix doc typo.
10299
1db03b16
GM
10300 * dired.el (dired-insert-directory): Handle newlines in directory name.
10301 (dired-build-subdir-alist): Unescape newlines in directory name.
10302
4cb0aa75
MA
103032012-01-17 Michael Albinus <michael.albinus@gmx.de>
10304
10305 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10306 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10307 (tramp-action-terminal): Use it. (Bug#10530)
10308
1d00653d
SM
103092012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10310
10311 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10312
6a6ee00d
MR
103132012-01-16 Martin Rudalics <rudalics@gmx.at>
10314
10315 * window.el (window-state-ignored-parameters): Remove variable.
10316 (window--state-get-1): Rename argument MARKERS to IGNORE.
10317 Handle persistent window parameters. Make copy of clone-of
10318 parameter only if requested. (Bug#10348)
10319 (window--state-put-2): Install a window parameter only if it has
10320 a non-nil value or an existing parameter shall be overwritten.
10321
97912def
MA
103222012-01-15 Michael Albinus <michael.albinus@gmx.de>
10323
10324 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10325
688070a5
EZ
103262012-01-14 Eli Zaretskii <eliz@gnu.org>
10327
10328 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10329 don't pass the (nil) value of `upnode' to string-match.
10330
301afadc
CY
103312012-01-14 Chong Yidong <cyd@gnu.org>
10332
10333 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 10334 Fix values recognized by the cursorBlink resource.
301afadc 10335
9e5788aa
PE
103362012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10337
10338 * epg.el (epg--make-temp-file): Avoid permission race condition
10339 when running on old Emacs versions (bug#10403).
10340
3cdb7f5a
GM
103412012-01-14 Glenn Morris <rgm@gnu.org>
10342
10343 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10344
8c82b1b4
AM
103452012-01-13 Alan Mackenzie <acm@muc.de>
10346
10347 Fix filling for when filladapt mode is enabled.
10348
10349 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10350 c-mask-paragraph, pass in `fill-paragraph' rather than
10351 `fill-region-as-paragraph'. (This is a reversion of a previous
10352 change.)
eb864a71
LM
10353 * progmodes/cc-mode.el (c-basic-common-init):
10354 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 10355
e517eda4
GM
103562012-01-13 Glenn Morris <rgm@gnu.org>
10357
1498536e
GM
10358 * dired.el (dired-switches-escape-p): New function.
10359 (dired-insert-directory): Use dired-switches-escape-p.
10360 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10361
e517eda4
GM
10362 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10363
328f984d
GM
103642012-01-12 Glenn Morris <rgm@gnu.org>
10365
10366 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10367 changes in adaptive-fill-regexp. (Bug#10276)
10368
2cc769a8
AM
103692012-01-11 Alan Mackenzie <acm@muc.de>
10370
10371 Fix Emacs bug #10463 - put `widen's around the critical spots.
10372
1d00653d 10373 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
10374 widen around each invocation of c-state-pp-to-literal. Remove an
10375 unused let variable.
10376
e52c37fa
GM
103772012-01-11 Glenn Morris <rgm@gnu.org>
10378
10379 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 10380 Doc fix.
e52c37fa 10381
96f8741e
CY
103822012-01-10 Chong Yidong <cyd@gnu.org>
10383
1d00653d
SM
10384 * net/network-stream.el (network-stream-open-starttls):
10385 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
10386 response to the capability command.
10387
b09a806e
GM
103882012-01-10 Glenn Morris <rgm@gnu.org>
10389
10390 * mail/unrmail.el (unrmail): Tweak previous change.
10391
7655cb66
CY
103922012-01-09 Chong Yidong <cyd@gnu.org>
10393
10394 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10395
9d5a8f0b
AM
103962012-01-08 Alan Mackenzie <acm@muc.de>
10397
10398 Optimise font locking in long enum definitions.
10399
10400 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10401 arm to a cond form to handle enums.
10402 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10403 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10404
9a0115ab 104052012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
10406
10407 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 10408 (Bug#10401)
6bb72cbd 10409
f186bb95
LMI
104102012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10411
29232a68
LMI
10412 * faces.el (set-face-attribute): Clarify the meaning of the nil
10413 frame (bug#10294).
10414
4e5d086d
LMI
10415 * subr.el (with-selected-frame): Mention that the selected frame
10416 is restored (bug#9980).
10417
8e66aebe
LMI
10418 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10419 (bug#9759).
10420
cd394be1 10421 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
10422 (password-read): Don't autoload unused function.
10423
adf4e762
JB
104242012-01-07 Juanma Barranquero <lekktu@gmail.com>
10425
10426 * progmodes/which-func.el (which-func-mode): Turn into a
10427 non-interactive function and mark as obsolete (bug#10428).
10428
89bd9ccd
CY
104292012-01-06 Chong Yidong <cyd@gnu.org>
10430
10431 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10432 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10433 functions, along with 1 and -1.
10434
4afee9d5
EZ
104352012-01-06 Eli Zaretskii <eliz@gnu.org>
10436
10437 * time.el (display-time-load-average)
10438 (display-time-default-load-average): Doc fixes. See the thread
10439 starting at
10440 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10441 for the details.
10442
536aea70
GM
104432012-01-06 Glenn Morris <rgm@gnu.org>
10444
665ae865
GM
10445 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10446 has no messages. (Bug#10377)
10447
c869783d
GM
10448 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10449 than Info-edit. (Bug#10385)
10450
2bb4227e
GM
10451 * time.el (display-time-load-average, display-time-next-load-average):
10452 Doc fixes.
10453
7d5944b9
GM
10454 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10455 local setting of buffer-read-only to the input buffer. (Bug#10419)
10456
536aea70
GM
10457 * calendar/calendar.el (calendar-mode):
10458 Locally set scroll-margin to 0. (Bug#10379)
10459
7dccca16
UM
104602012-01-06 Ulrich Mueller <ulm@gentoo.org>
10461
10462 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10463
afbb7930
GM
104642012-01-05 Glenn Morris <rgm@gnu.org>
10465
10466 * eshell/em-unix.el (diff-no-select): Autoload it.
10467 (eshell/diff): Use diff-no-select. (Bug#10420)
10468
04482335
CY
104692012-01-05 Chong Yidong <cyd@gnu.org>
10470
7baca3bc
CY
10471 * shell.el (shell-dynamic-complete-functions): Revert last change.
10472 (shell-command-completion-function): New function.
10473 (shell-completion-vars): Use it to implement
10474 shell-completion-execonly (Bug#10417).
10475
04482335
CY
10476 * custom.el (enable-theme): Don't set custom-safe-themes.
10477
1d00653d
SM
10478 * cus-theme.el (custom-theme-merge-theme):
10479 Ignore custom-enabled-themes and custom-safe-themes.
04482335 10480
bb5aa5d6
MM
104812012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10482
10483 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10484 first prompt in `sql-interacive-mode'.
10485 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 10486 keywords.
6df6ae42 10487 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
10488 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10489 context of original buffer. Invoke `sql-login-hook'.
10490
a7183d7c
EZ
104912012-01-04 Eli Zaretskii <eliz@gnu.org>
10492
10493 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10494 letters in cite-prefix.
10495
a1eacd1e
LMI
104962012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10497
10498 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10499
787cdb34
CY
105002012-01-03 Chong Yidong <cyd@gnu.org>
10501
1d00653d
SM
10502 * shell.el (shell-dynamic-complete-functions):
10503 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
10504 comint-filename-completion first (Bug#10417).
10505
30710442
RS
105062012-01-02 Richard Stallman <rms@gnu.org>
10507
10508 * battery.el (battery-status-function):
10509 Detect when to use battery-yeeloong-sysfs.
10510 (battery-echo-area-format): Add string for Yeeloong.
10511 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10512 (battery-yeeloong-sysfs): New function.
10513
f75bfc33
CY
105142012-01-02 Chong Yidong <cyd@gnu.org>
10515
10516 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10517 (dirtrack): Merge code for handling relative filenames in prompt
10518 from shell-dir-cookie-watcher.
10519 (dirtrack-debug-message): New arg to avoid excess format calls.
10520
10521 * shell.el (shell-dir-cookie-re): Variable deleted.
10522 (shell-dir-cookie-watcher): Function deleted.
10523 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10524 with dirtrack-mode.
10525
651e947e
EZ
105262012-01-01 Eli Zaretskii <eliz@gnu.org>
10527
1d00653d
SM
10528 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10529 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
10530 libgnutls-26.dll.
10531
94d4c7dc
AS
105322011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10533
10534 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10535
8d43f3cd
EZ
105362011-12-31 Eli Zaretskii <eliz@gnu.org>
10537
10538 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10539 headers of non-MIME messages, when rmail-enable-mime is non-nil.
10540
98c8795a
MA
105412011-12-29 Michael Albinus <michael.albinus@gmx.de>
10542
10543 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10544 also for alternative shells.
10545 (tramp-open-connection-setup-interactive-shell): Check, whether
10546 the shell is a busybox.
10547 (tramp-send-command): Don't suppress multiple prompts for
10548 busyboxes, it hurts.
10549
51281b32
CY
105502011-12-28 Chong Yidong <cyd@gnu.org>
10551
10552 * progmodes/gdb-mi.el (gdb-get-source-file-list)
10553 (gdb-get-source-file): Move mode line update to
10554 gdb-get-source-file (Bug#10087).
10555
2170cb53
CY
105562011-12-25 Chong Yidong <cyd@gnu.org>
10557
10558 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10559 gud-gdb-marker-filter without taking it as an argument.
10560 (gud-gdb-run-command-fetch-lines): Caller changed.
10561 (gud-gdb-completion-function): New variable.
10562 (gud-gdb-completion-at-point): Use it.
10563 (gud-gdb-completions-1): Split from gud-gdb-completions.
10564
10565 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10566 function as separate arguments.
10567 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10568 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10569 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10570 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10571 (gdb-stopped, def-gdb-auto-update-trigger)
10572 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
10573 (gdb-get-changed-registers, gdb-get-main-selected-frame):
10574 Callers changed.
2170cb53
CY
10575 (gud-gdbmi-completions): New function.
10576 (gdb): Use it for generating the completion table.
10577
be8b11bb
AM
105782011-12-24 Alan Mackenzie <acm@muc.de>
10579
10580 Introduce a mechanism to widen the region used in context font
1d00653d 10581 locking. Use this to protect declarations from losing their contexts.
be8b11bb 10582
1d00653d
SM
10583 * progmodes/cc-langs.el (c-before-font-lock-functions):
10584 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 10585 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
10586 functions to be run just before context (etc.) font locking.
10587
10588 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 10589 New, functionality extracted from
be8b11bb 10590 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 10591 (c-in-after-change-fontification): New variable.
be8b11bb
AM
10592 (c-after-change): Set c-in-after-change-fontification.
10593 (c-set-fl-decl-start): Rejig its interface, so it can be called
10594 from both after-change and context fontifying.
b81d40f0
JB
10595 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10596 New functions.
10597 (c-standard-font-lock-fontify-region-function): New variable.
10598 (c-font-lock-fontify-region): New function.
be8b11bb 10599
341cf6ac
JL
106002011-12-24 Juri Linkov <juri@jurta.org>
10601
10602 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10603 (Bug#10348)
10604
bffcee0a
MA
106052011-12-23 Michael Albinus <michael.albinus@gmx.de>
10606
10607 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10608 existence of source file. (Bug#10325)
10609
cb5e207c
AM
106102011-12-23 Alan Mackenzie <acm@muc.de>
10611
10612 Fix unstable fontification inside templates.
10613
b81d40f0
JB
10614 * progmodes/cc-langs.el (c-before-font-lock-functions):
10615 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
10616 additionally has c-set-fl-decl-start. The other languages (apart
10617 from AWK) have that as a single entry.
10618
b81d40f0
JB
10619 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10620 The functionality for "local" declarations has been extracted to
cb5e207c
AM
10621 c-set-fl-decl-start.
10622
b81d40f0
JB
10623 * progmodes/cc-mode.el (c-common-init, c-after-change):
10624 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
10625 (c-set-fl-decl-start): New function, extracted from
10626 c-font-lock-enclosing-decls and enhanced.
10627
60ff536c
JB
106282011-12-23 Juanma Barranquero <lekktu@gmail.com>
10629
10630 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
10631
1c4757d6
JL
106322011-12-22 Juri Linkov <juri@jurta.org>
10633
10634 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
10635
d031f2c7
CY
106362011-12-22 Chong Yidong <cyd@gnu.org>
10637
10638 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
10639
bace743a
DA
106402011-12-21 Drew Adams <drew.adams@oracle.com>
10641
10642 * files.el (file-remote-p): Fix docstring. (Bug#10319)
10643
728a1f2b
JC
106442011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10645
10646 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
10647
0d373f73
TZ
106482011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
10649
fec0aaa4
TZ
10650 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
10651 highlighting and support. Fix up comments for capitalization.
10652 (cfengine-mode-debug): New var.
10653 (cfengine3-mode): Change the modeline indicator to "CFE3".
10654 (cfengine3-font-lock-keywords): Improve defun highlighting.
10655 (cfengine2-actions): Rename from `cfengine-actions'.
10656 (cfengine2-font-lock-keywords): Rename from
10657 `cfengine-font-lock-keywords'.
10658 (cfengine2-imenu-expression): Rename from
10659 `cfengine-imenu-expression'.
10660 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
10661 (cfengine2-beginning-of-defun): Rename from
10662 `cfengine-beginning-of-defun'.
10663 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
10664 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
10665 (cfengine2-mode): Rename from `cfengine-mode'. Change the
10666 modeline indicator to "CFE2".
10667 (cfengine-mode): Defalias to `cfengine-auto-mode'.
10668 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 10669
bc86f573
CY
106702011-12-21 Chong Yidong <cyd@gnu.org>
10671
10672 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
10673 filename argument.
10674
d45ba96b
MR
106752011-12-20 Martin Rudalics <rudalics@gmx.at>
10676
10677 * window.el (window-normalize-buffer-to-display): Remove.
10678 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
10679
a6198c90
CY
106802011-12-19 Chong Yidong <cyd@gnu.org>
10681
10682 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
10683 Don't signal an error in a predicate function; return non-nil.
10684 (vc-dir-mark-file): Move the error here.
10685 (vc-dir-mark-unmark): If acting on the region, keep going if one
10686 of the entries cannot be marked/unmarked.
10687 (vc-dir-mark-all-files): If current entry is a directory, mark
10688 only child files, as documented.
10689
34c5fb55
VB
106902011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
10691
10692 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
10693 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
10694 addition.
10695
c803b2b7
JD
106962011-12-18 Jan Djärv <jan.h.d@swipnet.se>
10697
10698 * term/ns-win.el (ns-get-selection-internal)
10699 (ns-store-selection-internal): Declare.
1154d12e
JB
10700 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
10701 Declare as obsolete.
10702 (ns-get-pasteboard, ns-paste-secondary):
10703 Use ns-get-selection-internal.
41e9b956 10704 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 10705 Use ns-store-selection-internal.
c803b2b7 10706
9cff91f8 107072011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
10708
10709 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 10710 (vc-deduce-fileset): Doc fix.
99a289d9 10711
f16c898a
AS
107122011-12-16 Andreas Schwab <schwab@linux-m68k.org>
10713
10714 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
10715
763237c4
SS
107162011-12-13 Sam Steingold <sds@gnu.org>
10717
10718 * man.el (Man-getpage-in-background): When running under a
10719 window-system, ignore $MANWIDTH and $COLUMNS.
10720
5fc1c122
KH
107212011-12-15 Kenichi Handa <handa@m17n.org>
10722
10723 * language/ethio-util.el: Change coding tag to utf-8-emacs.
10724 (setup-ethiopic-environment-internal): Comment out key-binding for
10725 ethio-toggle-punctuation.
10726
13d49cbb
AM
107272011-12-13 Alan Mackenzie <acm@muc.de>
10728
898169a2
AM
10729 Add the switch statement to AWK Mode.
10730
7a71b18d 10731 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
10732 "default" to the keywords regexp.
10733
7a71b18d 10734 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 10735 expression as the rest.
1d00653d
SM
10736 (c-nonlabel-token-key): Allow string literals for AWK.
10737 Refactor for the other modes.
898169a2 10738
13d49cbb 10739 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 10740 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
10741 routines. Limit backward searching in c-font-lock-enclosing.decl.
10742
10743 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
10744 pp-state and literal type in addition to the limits.
1d00653d 10745 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 10746 (c-state-literal-at): Use the above new defun.
1d00653d
SM
10747 (c-slow-in-literal, c-fast-in-literal): Remove.
10748 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
10749
10750 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
10751 being in a literal. Add a limit for backward searching.
10752
10753 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
10754 c-slow-in-literal.
10755
15e0efc7
SM
107562011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
10757
10758 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
10759
454592a6
MR
107602011-12-13 Martin Rudalics <rudalics@gmx.at>
10761
10762 * window.el (delete-other-windows): Use correct frame in call to
10763 window-with-parameter.
10764
87393f26
DP
107652011-12-12 Daniel Pfeiffer <occitan@t-online.de>
10766
10767 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
10768 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
10769 (makefile-gmake-statements, makefile-makepp-statements):
10770 Use it and add new makepp keywords.
10771 (makefile-makepp-font-lock-keywords): Add new patterns.
10772 (makefile-match-function-end): Match new [...] and [[...]].
10773
11636b22
JB
107742011-12-11 Juanma Barranquero <lekktu@gmail.com>
10775
10776 * ses.el (ses-call-printer-return, ses-cell-property-get)
10777 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
10778 (ses-create-cell-variable, ses-reset-header-string)
10779 (ses-cell-set-formula, ses-repair-cell-reference-all)
10780 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
10781 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
10782 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
10783 (ses-aset-with-undo, ses-load, ses-truncate-cell)
10784 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
10785 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
10786 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
10787 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
10788 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
10789 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
10790 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
10791 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
10792
cf018193
VB
107932011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
10794
10795 * ses.el: The overall change is to add cell renaming, that is
10796 setting fancy names for cell symbols other than name matching
10797 "\\`[A-Z]+[0-9]+\\'" regexp .
10798 (ses-create-cell-variable): New defun.
10799 (ses-relocate-formula): Relocate formulas only for cells the
10800 symbols of which are not renamed, i.e. symbols whose names do not
10801 match regexp "\\`[A-Z]+[0-9]+\\'".
10802 (ses-relocate-all): Relocate values only for cells the symbols of
10803 which are not renamed.
10804 (ses-load): Create cells variables as the (ses-cell ...) are read,
10805 in order to check row col consistency with cell symbol name only
10806 for cells that are not renamed.
10807 (ses-replace-name-in-formula): New defun.
10808 (ses-rename-cell): New defun.
10809
ee957461
CY
108102011-12-11 Chong Yidong <cyd@gnu.org>
10811
10812 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
10813 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
10814
9a9e9ef0
MR
108152011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
10816
10817 * window.el (other-window): Fix docstring.
10818
92a8eba5
EZ
108192011-12-10 Eli Zaretskii <eliz@gnu.org>
10820
10821 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
10822 `from' or `to' address before taking its substring.
10823 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
10824 encoded name is chopped in the middle of the encoded string, and
10825 thus displayed encoded.
10826
e152e577
JB
108272011-12-10 Juanma Barranquero <lekktu@gmail.com>
10828
10829 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
10830
e5d84bfe
EZ
108312011-12-10 Eli Zaretskii <eliz@gnu.org>
10832
10833 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
10834 to use texinfo-update-node and commands that call it if the
10835 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 10836 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
10837 (texinfo-all-menus-update, texinfo-master-menu)
10838 (texinfo-update-node, texinfo-every-node-update)
10839 (texinfo-multiple-files-update): Doc fix. Warn against updating
10840 all the @node lines.
10841 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
10842 argument is numeric. Explain better in the doc string what the
10843 function really does.
10844 (texinfo-insert-master-menu-list): Improve the error message
10845 displayed if there's no menu in the Top node.
10846 (Bug#2975) See also this thread:
e5d84bfe
EZ
10847 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
10848
1d84e9bb
MG
108492011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
10850
10851 * speedbar.el (speedbar-supported-extension-expressions):
10852 Add .adb and .ads, commonly used for Ada source code (bug#10256).
10853
382c953b
JB
108542011-12-09 Juanma Barranquero <lekktu@gmail.com>
10855
10856 * printing.el (pr-mode-alist):
10857 * simple.el (filter-buffer-substring-functions)
10858 (completion-list-insert-choice-function):
10859 * window.el (window-with-parameter, window-atom-root)
10860 (window-sides-slots, window-size-fixed, window-min-delta)
10861 (window-max-delta, window--resize-mini-window)
10862 (window--resize-child-windows-normal, window-tree)
10863 (delete-other-windows, quit-window, split-window)
10864 (display-buffer-record-window, special-display-buffer-names)
10865 (special-display-regexps, special-display-popup-frame)
10866 (same-window-p, split-window-sensibly)
10867 (display-buffer-overriding-action, display-buffer-alist)
10868 (display-buffer-base-action, display-buffer, switch-to-buffer)
10869 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
10870 (fit-window-to-buffer, recenter-positions)
10871 (mouse-autoselect-window-state, mouse-autoselect-window-select):
10872 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
10873 and remove unneeded backslashes in docstrings.
10874
39c9faef
SM
108752011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10876
98449af8
SM
10877 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
10878
39c9faef
SM
10879 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
10880 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
10881 end in ".mk".
10882 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
10883 when reading the makefile (bug#10116).
10884
86ed9fdc
SM
108852011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
10886
10887 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
10888 (bug#10116).
10889
5580f89d
GM
108902011-12-06 Glenn Morris <rgm@gnu.org>
10891
10892 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
10893
28d3917c
CY
108942011-12-06 Chong Yidong <cyd@gnu.org>
10895
10896 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
10897
a98edce9
JB
108982011-12-06 Juanma Barranquero <lekktu@gmail.com>
10899
10900 * textmodes/table.el (table-shorten-cell): Fix typo.
10901
e65adfac
CG
109022011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
10903
10904 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
10905
71cc0b74
EZ
109062011-12-05 Eli Zaretskii <eliz@gnu.org>
10907
10908 * descr-text.el (describe-char): Fix display of strong
10909 right-to-left characters and directional embeddings and overrides.
10910
10911 * simple.el (what-cursor-position): Fix display of codepoints of
10912 strong right-to-left characters.
10913
315bc30d
CY
109142011-12-05 Chong Yidong <cyd@gnu.org>
10915
10916 * faces.el (read-color): Doc fix.
10917
58a70b94
GM
109182011-12-05 Glenn Morris <rgm@gnu.org>
10919
10920 * align.el (align--set-marker): Add doc-string.
10921 Don't try to move something that is not a marker. (Bug#10216)
10922
5158face
GM
109232011-12-04 Glenn Morris <rgm@gnu.org>
10924
10925 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
10926 overly zealous deletion of trailing whitespace.
10927
520fca41
JB
109282011-12-04 Juanma Barranquero <lekktu@gmail.com>
10929
10930 * server.el (server-delete-client): On Windows, do not try to delete
10931 the only terminal.
10932 (server-process-filter): On Windows, treat requests for a tty frame as
10933 if they were for a GUI frame if the running server is in GUI mode.
10934
5e605a2e
GM
109352011-12-03 Glenn Morris <rgm@gnu.org>
10936
10937 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
10938
5c3fe83f
SM
109392011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10940
6f5e57e7
SM
10941 * electric.el: Streamline electric-indent's hook.
10942 (electric-indent-chars): Revert to simple list.
10943 (electric-indent-functions): New var.
10944 (electric-indent-post-self-insert-function): Use it.
10945
5c3fe83f
SM
10946 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
10947 there's no inferior buffer (bug#10196).
10948 (prolog-consult-compile): Don't use toggle-read-only.
10949
6bdac736
MA
109502011-12-02 Michael Albinus <michael.albinus@gmx.de>
10951
10952 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
10953 interrupt. (Bug#10187)
10954
6131ba7f
SM
109552011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10956
99c79fee
SM
10957 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
10958 (bug#9160).
10959
6131ba7f
SM
10960 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
10961 (bug#10191).
10962
cb0a02ea
JL
109632011-12-02 Juri Linkov <juri@jurta.org>
10964
10965 * info.el (Info-search): Display "end of manual" when Isearch
10966 reaches the end of single-file Info manual. (Bug#9918)
10967
66e0570c
EZ
109682011-12-02 Eli Zaretskii <eliz@gnu.org>
10969
10970 * isearch.el (isearch-message-prefix): Run the input method part
10971 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
10972
02b16839
JL
109732011-12-02 Juri Linkov <juri@jurta.org>
10974
10975 * isearch.el (isearch-occur): Use `word-search-regexp' for
10976 `isearch-word'.
10977 (isearch-search-and-update): Add condition for `isearch-word' and
10978 call `word-search-regexp'. (Bug#10145)
10979
0b950688
GM
109802011-12-01 Glenn Morris <rgm@gnu.org>
10981
10982 * eshell/em-hist.el (eshell-hist-initialize):
10983 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 10984 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 10985
9505c3c7
SM
109862011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10987
10988 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
10989
1bbe96b2 109902011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 10991
a1beca85
SM
10992 * progmodes/verilog-mode.el (verilog-pretty-expr):
10993 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
10994 verilog, such as += *= and the like.
10995 (verilog-assignment-operator-re): Regular expression to find the
10996 assigment operator in a verilog assignment.
10997 (verilog-assignment-operation-re): Regular expression to find an
10998 assignment statement for pretty-expr.
10999 (verilog-in-attribute-p): Query returns true if point is in an
11000 attribute context; used to skip these for expression line up from
11001 pretty-expr.
11002 (verilog-in-parameter-p): Query returns true if point is in an
11003 parameter definition context; used to skip these for expression
11004 line up from pretty-expr.
11005 (verilog-in-parenthesis-p): Query returns true if point is in a
11006 parenthetical expression, specifically ( ) but not [ ] or { };
11007 used by pretty-expr.
11008 (verilog-just-one-space): If there is no space, don't add one.
11009 (verilog-get-lineup-indent-2): Specifically skip just attribute
11010 contexts for expression lineup, rather than skipping all
11011 parenthetical expressions.
11012 (verilog-calculate-indent): Fix comment, and fix indent.
11013 (verilog-do-indent): Indent declarations in lists (suggested by
11014 Joachim Lechner).
11015 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11016 skeleton items.
11017 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11018 by Alain Mellan).
11019
1bbe96b2 110202011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
11021
11022 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11023 parameters with embedded comments. Reported by Ray Stevens.
11024 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11025 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11026 Reported by Tim Holt.
11027 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11028 instantiated by upper module causing wrong expansion until AUTOed a
11029 second time. Reported by K C Buckenmaier.
11030 (verilog-diff-auto): Fix showing .* as a difference when
11031 `verilog-auto-star-save' off. Reported by Dan Dever.
11032 (verilog-auto-reset, verilog-read-always-signals)
11033 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11034 temporary signals in reset list if
11035 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
11036 style to each signal's assignment type, bug381.
11037 Reported by Thomas Esposito.
6288f0ca
WS
11038 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11039 (verilog-uvm-statement-re): Support UVM indentation and
11040 highlighting, with old OVM keywords only.
a1beca85 11041 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
11042 Support AUTOTIEOFF creating non-wire data types.
11043 Suggested by Jonathan Greenlaw.
6288f0ca
WS
11044 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11045 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11046 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
11047 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11048 Fix mismatching parenthesis inside commented out code when deleting
382c953b 11049 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
11050 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11051 non-numeric vector width. Reported by Alex Reed.
11052 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 11053 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
11054 (verilog-auto-delete-trailing-whitespace):
11055 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
11056 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11057 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11058 Fix verilog-scan-cache corruption when running user AUTO expansion
11059 hooks that call indentation routines.
11060 (verilog-simplify-range-expression): Fix typo ignoring lower case
11061 identifiers.
11062 (verilog-delete-auto): Fix delete-autos to also remove user created
11063 automatics, as long as they start with AUTO.
11064 (verilog-batch-diff-auto, verilog-diff-auto)
11065 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11066 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11067 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11068 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
11069 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11070 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
11071 is disabled and its cache will get corrupt, causing AUTOS not to
11072 expand. Instead use only -quick functions.
11073 (verilog-scan-region): Fix scanning over escaped quotes.
11074 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11075 (verilog-re-search-backward-quick)
11076 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11077 related functions now ignore strings, to fix misparsing of strings
11078 with magic comments embedded in them.
a1beca85
SM
11079 (verilog-read-auto-template):
11080 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11081 Reported by Brad Dobbie.
11082 (verilog-read-auto-template):
11083 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 11084 Reported by Brad Dobbie.
6288f0ca
WS
11085 (verilog-auto-inst, verilog-auto-inst-param)
11086 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11087 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11088 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
11089 debugging templates without merge conflicts, bug357.
11090 Reported by Brad Dobbie.
11091 (verilog-read-auto-template):
11092 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
11093 Reported by Brad Dobbie.
11094 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11095 abbrevs so user won't be asked to save.
11096 (verilog-read-auto-lisp-present): Fix to start at beginning of
11097 buffer in case called outside of verilog-auto.
11098 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11099 to "X-2". Reported by Matthew Myers.
11100 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11101 all inputs from module templates. Reported by Leith Johnson.
11102 (verilog-module-inside-filename-p): Fix locating programs as with
11103 modules.
11104 (verilog-auto-inst-port): Fix vl-width expressions when using
11105 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11106 (verilog-decls-get-regs, verilog-decls-get-signals,
11107 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11108 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11109 verilog-read-decls): Combine reg and wire structures into one var
11110 structure to represent SystemVerilog concepts.
11111 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11112 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
11113 (verilog-auto-wire-type, verilog-insert-definition):
11114 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
11115 SystemVerilog "logic" keyword instead of "wire"/"reg".
11116 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11117 to declares outputs that also have assignments (presumably in an
a1beca85
SM
11118 ifdef or generate if so there's not a driver conflict).
11119 Reported by Matthew Myers.
11120 (verilog-auto-declare-nettype, verilog-insert-definition):
11121 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
11122 `default_nettype none. Reported by Julian Gorfajn.
11123 (verilog-read-always-signals-recurse, verilog-read-decls)
11124 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11125 malformed end statement, bug325. Reported by Joshua Wise and
11126 Andrew Drake.
11127 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11128 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
11129 when expanding .* in interfaces, bug320.
11130 Reported by Pierre-David Pfister.
6288f0ca 11131 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
11132 name and open parenthesis, bug317.
11133 Reported by Pierre-David Pfister.
6288f0ca
WS
11134 (verilog-simplify-range-expression): Fix simplification of
11135 multiplications inside AUTOWIRE connections, bug303.
11136 (verilog-auto-inst-port): Support parameter expansion in
11137 multidimensional arrays.
11138 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11139 after "assert property". Reported by Julian Gorfajn.
11140 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11141 with multiplication, bug303.
11142 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11143 Reported by Jan Frode Lonnum.
11144
1bbe96b2
GM
111452011-11-30 Juanma Barranquero <lekktu@gmail.com>
11146
11147 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11148 (hfy-shell-file-name, hfy-shell):
11149 * international/fontset.el (x-decompose-font-name): Fix typos.
11150
111512011-11-29 Ken Brown <kbrown@cornell.edu>
11152
11153 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11154 (gdb-version): Remove defvar.
11155 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11156 (gdb-gud-context-command, gdb-non-stop-handler)
11157 (gdb-current-context-command, gdb-stopped): Use it.
11158 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
11159 (gdb-non-stop-handler): Don't enable pretty-printing here.
11160 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
11161 non-stop mode. Use the following.
11162 (gdb-check-target-async): New defun.
11163 (gud-watch, gdb-stopped): Fix whitespace.
11164 (gdb-get-source-file): Don't try to display the source file if
11165 `gdb-main-file' is nil.
11166
111672011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11168
11169 * align.el: Try to generate fewer markers (bug#10047).
11170 (align--set-marker): New macro.
11171 (align-region): Use it.
11172
c935221f
SM
111732011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11174
11175 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11176
e70b5064
CY
111772011-11-29 Chong Yidong <cyd@gnu.org>
11178
11179 * indent.el (indent-for-tab-command, indent-according-to-mode):
11180 Doc fix.
11181 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11182
f3af92b7
MA
111832011-11-29 Michael Albinus <michael.albinus@gmx.de>
11184
11185 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11186 aware of remote file names. (Bug#10124)
11187
ed472be9
CY
111882011-11-29 Chong Yidong <cyd@gnu.org>
11189
11190 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11191
24510c22
SM
111922011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11193
11194 * files.el (find-file): Don't use force-same-window (bug#10144).
11195 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11196 use pop-to-buffer if the selected window can't be used.
11197 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11198
c60c3703
EZ
111992011-11-28 Eli Zaretskii <eliz@gnu.org>
11200
11201 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11202 special-mode-map.
11203
e95def75
CY
112042011-11-28 Chong Yidong <cyd@gnu.org>
11205
11206 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11207
c3f1c606
NR
112082011-11-27 Nick Roberts <nickrob@snap.net.nz>
11209
11210 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11211 gdb-get-source-file-list on gdb-create-source-file-list.
11212
00db469c
EZ
112132011-11-26 Eli Zaretskii <eliz@gnu.org>
11214
11215 * whitespace.el (whitespace-newline): Use a different foreground
11216 color for 16-color light-background displays.
11217
4ad3bc2a
CY
112182011-11-24 Chong Yidong <cyd@gnu.org>
11219
11220 * window.el (display-buffer--special-action): Doc fix.
11221
e9fce1ac
JB
112222011-11-25 Juanma Barranquero <lekktu@gmail.com>
11223
11224 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11225 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11226 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11227 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11228 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11229 (avl-tree-stack-first):
11230 * emacs-lisp/cconv.el (cconv--analyse-use):
11231 * net/gnutls.el (gnutls-negotiate): Fix typos.
11232
cb825e5d
GM
112332011-11-24 Glenn Morris <rgm@gnu.org>
11234
3adbe224
GM
11235 * lpr.el (lpr-windows-system, lpr-lp-system):
11236 * mail/binhex.el (binhex-begin-line):
11237 * progmodes/grep.el (grep-history, grep-find-history):
11238 * textmodes/flyspell.el:
11239 * vc/pcvs-defs.el (cvs-global-menu):
11240 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11241 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11242 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11243
321decc8
GM
11244 * net/tls.el: Fix case of "GnuTLS".
11245
420b63ad
GM
11246 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11247
cb825e5d
GM
11248 * version.el (emacs-build-system): Give it a doc-string.
11249
a0649f08
JL
112502011-11-24 Juri Linkov <juri@jurta.org>
11251
11252 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11253
c0bc0fd4
GM
112542011-11-24 Glenn Morris <rgm@gnu.org>
11255
11256 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11257 if called on a non-mime message just toggle the headers. (Bug#8006)
11258
20db1522
JB
112592011-11-24 Juanma Barranquero <lekktu@gmail.com>
11260
11261 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11262 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11263 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11264 (allout-rebullet-heading, allout-open-sibtopic)
11265 (allout-toggle-current-subtree-encryption)
11266 (allout-toggle-subtree-encryption, allout-encrypt-string)
11267 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11268 (allout-distinctive-bullets-string, allout-auto-activation):
11269 * window.el (window-normalize-buffer-to-display):
11270 * progmodes/verilog-mode.el (verilog-batch-indent):
11271 * textmodes/bibtex.el (bibtex-field-braces-opt)
11272 (bibtex-field-strings-opt):
11273 * vc/cvs-status.el (cvs-tree-merge):
11274 Fix typos.
11275
7262a87c
MA
112762011-11-23 Michael Albinus <michael.albinus@gmx.de>
11277
11278 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11279 `non-essential' to t, in order to avoid remote connections.
11280
283430a1
EZ
112812011-11-23 Eli Zaretskii <eliz@gnu.org>
11282
a1beca85
SM
11283 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11284 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
11285 case-insensitively.
11286
d2992a38
ML
112872011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11288
11289 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11290
50419064
GM
112912011-11-23 Glenn Morris <rgm@gnu.org>
11292
da94eca1
GM
11293 * paths.el (rmail-file-name): Reformat the doc-string so that it
11294 is picked up.
11295
9aac4de2
GM
11296 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11297 (rmail-auto-file): Ignore case in the "special" field names,
11298 as mail-fetch-field does for all others.
11299
8038d2d2
GM
11300 * mail/rmail.el (rmail-forward):
11301 * mail/rmailkwd.el (rmail-set-label):
11302 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11303 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11304
f3fe222a
GM
11305 * mail/rmail.el (rmail-current-message): Doc fix.
11306
50419064
GM
11307 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11308
28109f49
SM
113092011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11310
11311 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11312
394c65f1
GM
113132011-11-22 Glenn Morris <rgm@gnu.org>
11314
11315 * mail/rmailmm.el (test-rmail-mime-handler)
11316 (test-rmail-mime-bulk-handler)
11317 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11318
f2a0aa3a
JL
113192011-11-21 Juri Linkov <juri@jurta.org>
11320
1154d12e
JB
11321 * calc/calc.el (calc-read-key-sequence):
11322 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 11323
9c34a344
LMI
113242011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11325
11326 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11327 Tell the caller that the next line needs recomputation, even
11328 though it doesn't start a sexp (bug#10094).
11329
f04a3be9
SM
113302011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11331
11332 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11333
7978747f
SM
113342011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11335
f04a3be9
SM
11336 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11337 Use force-same-window.
7978747f 11338
fe7a3057
JB
113392011-11-20 Juanma Barranquero <lekktu@gmail.com>
11340
11341 * descr-text.el (describe-char-unicode-data):
11342 * json.el (json-string-escape):
11343 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11344 (Footnote-unicode, Footnote-style-p):
11345 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11346
24901d61
CY
113472011-11-20 Chong Yidong <cyd@gnu.org>
11348
11349 * window.el (replace-buffer-in-windows): Restore interactive spec.
11350
bac7ff22
SM
113512011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11352
24f3d7b9
SM
11353 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11354
bac7ff22
SM
11355 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11356 (byte-compile-global-not-obsolete-vars): New var.
11357 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11358 Use it.
11359 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11360
cd1181db
JB
113612011-11-20 Juanma Barranquero <lekktu@gmail.com>
11362
11363 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11364 * progmodes/pascal.el (electric-pascal-equal):
11365 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11366 * xml.el (xml-substitute-special): Fix typos.
11367
7fb18e9e
GM
113682011-11-20 Glenn Morris <rgm@gnu.org>
11369
11370 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11371 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11372 Doc fixes.
11373 (rmail-decode-mime-charset): Mark as obsolete.
11374
11375 * mail/rmailsum.el (rmail-message-regexp-p-1):
11376 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11377 Before using mime functions, check they are set. (Bug#10077)
11378
d5a6b3ba
JL
113792011-11-19 Juri Linkov <juri@jurta.org>
11380
11381 * info.el (Info-finder-find-node): Use `package--builtins' instead
11382 of `package-alist'. Use node names formed by the pattern "Keyword "
11383 and the keyword name.
11384
e981b61f
AS
113852011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11386
1d00653d 11387 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 11388
3ffbc301
JL
113892011-11-19 Juri Linkov <juri@jurta.org>
11390
11391 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11392 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11393 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11394 `old-history', `old-history-forward'. Add let-binding
11395 `window-selected'. Remove calls to `kill-buffer',
11396 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11397 before calling `Info-find-node', so `Info-find-node-2' will reread
11398 the Info file. Restore window positions only when `window-selected'
11399 is non-nil.
11400
30c62133
JL
114012011-11-19 Juri Linkov <juri@jurta.org>
11402
11403 * isearch.el (isearch-lazy-highlight-new-loop):
11404 Remove condition `(not isearch-error)'. (Bug#9918)
11405
11406 * misearch.el (multi-isearch-search-fun): Add condition
11407 `(not bound)' to ignore lazy-highlighting search.
11408 Add the search-failed message "end of multi" when the end of
11409 multi-sequence is reached. Uncapitalize the search-failed
11410 message "Repeat for next buffer".
11411
11412 * info.el (Info-search): Add the search-failed message
11413 "end of the manual" when the end of the manual is reached
11414 in Isearch mode.
11415
645ca9cf
JL
114162011-11-19 Juri Linkov <juri@jurta.org>
11417
11418 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11419 Use non-destructive `remove' instead of `delete' because
11420 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11421 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11422
df754f66
JL
114232011-11-19 Juri Linkov <juri@jurta.org>
11424
11425 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11426 to nil instead of binding `search-ring' and `regexp-search-ring'.
11427 (Bug#9185)
11428
0e23d96a
EZ
114292011-11-19 Eli Zaretskii <eliz@gnu.org>
11430
11431 * simple.el (line-move): Force movement by logical lines for any
11432 hscrolled window, not only when auto-hscroll-mode is on.
11433 (line-move-visual): Update doc string to that effect. (Bug#10076)
11434
8a6ccb66
AS
114352011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11436
11437 * language/european.el (macintosh): Define as alias for mac-roman.
11438
49ae5b39
EZ
114392011-11-19 Eli Zaretskii <eliz@gnu.org>
11440
11441 * mail/rmailmm.el (rmail-mime-display-header)
11442 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11443 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11444 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11445 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11446 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11447 of a raw aref.
11448 (rmail-mime-entity-segment): To get past the tagline, move forward
11449 2 more lines, to account for the 2 empty lines that precede and
11450 follow the line with the buttons.
11451 (rmail-mime-update-tagline): Move one more line, to get past the
11452 empty line that follows the buttons in the tagline. (Bug#9520)
11453
c56cad4a
MR
114542011-11-19 Martin Rudalics <rudalics@gmx.at>
11455
11456 * window.el (window-max-delta-1, window-min-delta-1)
11457 (window-min-size-1, window-state-get-1, window-state-put-1)
11458 (window-state-put-2): Use "window--" prefix.
11459
cbe71af3
SM
114602011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11461
2ad52c60
SM
11462 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11463 (smie-warning-count): New var.
11464 (smie-set-prec2tab): Use it.
11465 (smie-bnf->prec2): Improve warnings. Add docstring.
11466 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11467 (smie-bnf--set-class): New function.
11468 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11469 corner case.
11470
6944dbc1
SM
11471 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11472 (compilation-error-properties, compilation-move-to-column):
11473 Handle compilation-first-column while in the target buffer.
11474
c400c4d7
SM
11475 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11476 Don't hardcode point-min==1.
11477
6dbe3e96
SM
11478 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11479 (eshell-rewrite-for-command): Remove workaround.
11480 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11481 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11482 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11483
cbe71af3
SM
11484 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11485
a8e1496d
GM
114862011-11-17 Glenn Morris <rgm@gnu.org>
11487
11488 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11489 Ignore buffer-local generated-autoload-file if it is the same
11490 as the global value. (Bug#10049)
11491
df85d315
JB
114922011-11-17 Juanma Barranquero <lekktu@gmail.com>
11493
11494 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11495 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11496 (reftex-toc-previous-heading, reftex-toc-max-level)
11497 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11498 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11499 (reftex-toc-do-promote, reftex-toc-promote-prepare)
11500 (reftex-toc-promote-action, reftex-toc-extract-section-number)
11501 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11502 (reftex-toc-rename-label, reftex-toc-visit-location)
11503 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11504 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11505 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11506 leaving "*toc*" only for references to the buffer.
11507
a0c2d0ae
MR
115082011-11-17 Martin Rudalics <rudalics@gmx.at>
11509
11510 * window.el (window-resize, delete-window, split-window):
11511 Replace window-splits by window-combination-resize.
1d00653d 11512 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 11513
35c0bac8
GM
115142011-11-17 Glenn Morris <rgm@gnu.org>
11515
11516 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11517 Make bash entry derive from sh entry, not shell entry.
11518
d0c8fc8a
MA
115192011-11-16 Michael Albinus <michael.albinus@gmx.de>
11520
7262a87c
MA
11521 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11522 local file name.
11523
7877f373
JB
115242011-11-16 Juanma Barranquero <lekktu@gmail.com>
11525
11526 * menu-bar.el (menu-bar-file-menu):
11527 * printing.el (pr-ps-utility):
11528 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11529 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11530 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11531 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11532 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11533 (icalendar--convert-cyclic-to-ical)
11534 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11535 (icalendar--convert-ical-to-diary)
11536 (icalendar--convert-recurring-to-diary)
11537 (icalendar--convert-non-recurring-all-day-to-diary)
11538 (icalendar-import-format-sample):
11539 * progmodes/idlw-shell.el (idlwave-shell-mode):
11540 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11541 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11542 (vhdl-ps-print-init): Fix typos.
11543
10649b82
KM
115442011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
11545
9d0cfcd6
GM
11546 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11547 FSF and collapse date sequence, obscure author/maintainer email address
11548 better, remove extra version line, track relocation of author's webpage.
10649b82 11549
9d0cfcd6
GM
11550 * progmodes/python.el (python-pdbtrack-input-prompt)
11551 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11552 regular python pdb prompts. Adjustments shamelessly taken exactly as
11553 suggested in EmacsWiki page (tiny change):
11554 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 11555
58179cce
JB
115562011-11-16 Juanma Barranquero <lekktu@gmail.com>
11557
11558 * expand.el (expand-pos, expand-index, expand-point):
11559 Remove redundant info from docstring.
11560 (expand-add-abbrevs): Doc fix.
11561 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11562 (expand-sample-perl-mode-expand-list): Fix typos.
11563
11564 * net/dbus.el (dbus-event-member-name):
11565 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11566 * term/pc-win.el (msdos-create-frame-with-faces):
11567 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11568
b6f67890
MR
115692011-11-16 Martin Rudalics <rudalics@gmx.at>
11570
11571 * window.el (split-window, window-state-get-1)
11572 (window-state-put-1, window-state-put-2): Rename occurrences of
11573 window-nest to window-combination-limit.
1d00653d 11574 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 11575
ce7ddba0
CY
115762011-11-16 Chong Yidong <cyd@gnu.org>
11577
11578 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11579 regexp (Bug#10033).
11580
3ae704f4
SM
115812011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11582
11583 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11584 `completing-read' will remove *Completions* and will preserve
11585 current-buffer for us.
11586 (tmm-add-prompt): Users of *Completions* will always (re)set its
11587 major mode.
11588 (tmm-old-comp-map): Remove.
11589
6ad1cdde
GM
115902011-11-16 Glenn Morris <rgm@gnu.org>
11591
11592 * mail/rmailedit.el: Require rmailmm when compiling.
11593 (rmail-old-mime-state): New declaration.
11594 (rmail-edit-current-message): If editing a mime message,
11595 edit the "raw" message from the mbox buffer.
11596 (rmail-cease-edit): Handle mime messages. (Bug#9840)
11597
d20faa20
GM
115982011-11-15 Glenn Morris <rgm@gnu.org>
11599
11600 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11601 which wasn't being used. Add optional arg to force given state.
11602 (rmail-mime): Add optional arg to force given state.
11603
c7015153
JB
116042011-11-15 Juanma Barranquero <lekktu@gmail.com>
11605
11606 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11607 * frame.el (display-mm-dimensions-alist):
11608 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11609 (outline-move-subtree-down):
11610 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11611 (newsticker--treeview-do-get-node):
11612 * net/quickurl.el (quickurl-list-buffer-name):
11613 * progmodes/dcl-mode.el (dcl-mode):
11614 * progmodes/gdb-mi.el (gdb-mapcar*):
11615 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11616
45261b50
GM
116172011-11-15 Glenn Morris <rgm@gnu.org>
11618
11619 * mail/rmail.el (rmail-file-coding-system): It's only ever used
11620 in a boolean sense, so just make it a boolean, and fix the doc.
11621 (rmail-show-mime-function, rmail-mime-feature)
11622 (rmail-require-mime-maybe): Doc fixes.
11623 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11624
11625 * mail/rmailmm.el (rmail-show-mime): Doc fix.
11626
0d26e0b6
JB
116272011-11-15 Juanma Barranquero <lekktu@gmail.com>
11628
11629 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
11630 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
11631 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
11632 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11633
447f30f6
GM
116342011-11-15 Glenn Morris <rgm@gnu.org>
11635
672b871d
GM
11636 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11637 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
11638 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
11639 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
11640 (rmail-mime, rmail-show-mime): Doc fixes.
11641
f6aa5bb1
GM
11642 * term/ns-win.el (mode-line-frame-identification):
11643 Leave it alone. (Bug#10051)
11644
947cd66b
GM
11645 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
11646
447f30f6
GM
11647 * mail/rmailout.el (rmail-output-to-rmail-buffer):
11648 Handle empty buffers. (Bug#9978)
11649
0b381c7e
JB
116502011-11-14 Juanma Barranquero <lekktu@gmail.com>
11651
11652 * international/mule.el (define-charset):
11653 * mail/rmailmm.el (rmail-mime-find-header-encoding):
11654 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
11655 * progmodes/verilog-mode.el (verilog-backward-token):
11656 * textmodes/ispell.el (lookup-words):
11657 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
11658
71e027ac
GM
116592011-11-14 Glenn Morris <rgm@gnu.org>
11660
56632ce4
GM
11661 * progmodes/executable.el
11662 (executable-make-buffer-file-executable-if-script-p):
11663 Handle file-modes returning nil.
11664
40500957
GM
11665 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
11666 message - not necessary, and causes problems. (Bug#9831)
11667
071c2340
GM
11668 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
11669
d3cfca60
GM
11670 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
11671
71e027ac
GM
11672 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
11673 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
11674 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
11675
89d61221
MR
116762011-11-12 Martin Rudalics <rudalics@gmx.at>
11677
11678 * window.el (window-resize, delete-window): Use window-splits
11679 variable instead of function.
11680 (window-state-get-1, window-state-put-2, window-state-put):
11681 Don't deal with windows' splits status.
11682
98282f6f
GM
116832011-11-12 Glenn Morris <rgm@gnu.org>
11684
11685 * apropos.el (apropos-do-all, apropos-library, apropos-value)
11686 (apropos-documentation): Doc fixes.
11687
40a8bdf6
JB
116882011-11-11 Juanma Barranquero <lekktu@gmail.com>
11689
11690 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
11691 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
11692
65bd19ff
SM
116932011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11694
11695 * electric.el (electric-indent-post-self-insert-function): Make it
11696 possible for a char to only indent in some circumstances.
11697 (electric-indent-mode): Simplify.
11698
54f9154c
MR
116992011-11-11 Martin Rudalics <rudalics@gmx.at>
11700
11701 * window.el (windows-with-parameter): Remove unused function.
11702 (windows-at-side): Rename to window-at-side-list.
11703 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
11704 (window-side-check, window-size-ignore, window-size-fixed-1)
11705 (window-in-direction-2): Prefix with "window--".
11706 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 11707
68cbc58b
GM
117082011-11-11 Glenn Morris <rgm@gnu.org>
11709
11710 * subr.el (eval-after-load): If FILE is already loaded,
11711 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
11712
b2621720
GM
117132011-11-10 Glenn Morris <rgm@gnu.org>
11714
9a4de110
GM
11715 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
11716 Call svn via vc-svn-command rather than vc-do-command.
11717 (vc-svn-command): Add --non-interactive. (Bug#9993)
11718 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
11719
b2621720
GM
11720 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11721 Add toggle-read-only. (Bug#7292)
11722 * files.el (toggle-read-only): Mention that it should only
11723 be used interactively. (Bug#10006)
11724
1dce7193
SM
117252011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
11726
d9ac1a1e
SM
11727 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11728 Adjust regexp for OCaml warnings.
11729
0c325082
SM
11730 * electric.el (electric-pair-post-self-insert-function): Let user
11731 turn it off buffer-locally (bug#9932).
11732
90132c14
SM
11733 * progmodes/python.el (python-beginning-of-statement):
11734 Rewrite (bug#2703).
11735
1dce7193
SM
11736 * progmodes/compile.el: Better handle TABs (bug#9749).
11737 (compilation-internal-error-properties)
11738 (compilation-next-error-function): Obey the target buffer's
11739 compilation-error-screen-columns.
11740
c4e7c63a
JB
117412011-11-09 Juanma Barranquero <lekktu@gmail.com>
11742
11743 * progmodes/meta-mode.el: Remove obsolete comments.
11744 (meta-right-comment-regexp, meta-ignore-comment-regexp):
11745 Fix typos in docstrings.
11746
2cffd681
MR
117472011-11-09 Martin Rudalics <rudalics@gmx.at>
11748
11749 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 11750 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
11751 (window--resizable): New function. Make all callers of
11752 window-resizable call window--resizable instead.
11753 (window-resizable): Rewrite in terms of window--resizable.
11754
0edcba87
GM
117552011-11-08 Glenn Morris <rgm@gnu.org>
11756
11757 * progmodes/delphi.el (delphi-mode-syntax-table):
11758 Let define-derived-mode define a proper syntax table. (Bug#9994)
11759
4b0d61e3
SM
117602011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11761
11762 * window.el: Stay away from defsubst.
11763 (window-list-no-nils): Remove.
11764 (window-state-get-1, window-state-get): Use backquote instead.
11765
cd394be1 117662011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 11767
4b0d61e3 11768 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 11769 Fix incorrect use of default argument in `completing-read'.
11770
e1c2c6f2
MR
117712011-11-08 Martin Rudalics <rudalics@gmx.at>
11772
11773 * window.el (display-buffer-function, special-display-function):
11774 Mention display-buffer-record-window but do not mention
11775 help-setup parameter in doc-strings.
b3f4a882 11776 (window-min-delta): Fix doc-string typo.
e1c2c6f2 11777
105216ed
CY
117782011-11-08 Chong Yidong <cyd@gnu.org>
11779
11780 * window.el (window-total-height, window-total-width): Doc fix.
11781 (window-body-size): Move from C.
11782 (window-body-height, window-body-width): Move to C.
11783
0a9f9ab5
SM
117842011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11785
11786 * window.el: Make special-display like display-buffer-alist (bug#9532).
11787 (display-buffer--special-action): New function, morphed
11788 from display-buffer--special.
11789 (display-buffer): Use it to handle special-display-buffers at higher
11790 priority (just after display-buffer-alist).
11791 (display-buffer-fallback-action, display-buffer--other-frame-action)
11792 (pop-to-buffer-same-window): Remove display-buffer--special.
11793
a769dd15
GM
117942011-11-07 Glenn Morris <rgm@gnu.org>
11795
11796 * calendar/cal-menu.el (cal-menu-set-date-title):
11797 Do nothing if not in a calendar. (Bug#9976)
11798
05a61ee3
SM
117992011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
11800
11801 * files.el (find-file): Always use selected-window.
11802
be7f5545
MR
118032011-11-07 Martin Rudalics <rudalics@gmx.at>
11804
11805 * window.el (window-combinations): Make WINDOW argument
11806 mandatory. Rewrite doc-string.
11807 (walk-window-subtree, window-atom-check, window-min-delta)
11808 (window-max-delta, window--resize-this-window)
11809 (window--resize-root-window-vertically, window-tree)
11810 (balance-windows, window-state-put): Rewrite doc-strings as to
11811 not mention the term "subwindow".
11812 (window--resize-subwindows-skip-p): Rename to
11813 window--resize-child-windows-skip-p.
11814 (window--resize-subwindows-normal): Rename to
11815 window--resize-child-windows-normal.
11816 (window--resize-subwindows): Rename to
11817 window--resize-child-windows.
11818 (window-or-subwindow-p): Rename to window--in-subtree-p.
11819
3c6702ef
ML
118202011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11821
11822 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
11823 Ensure that mbox format messages end in two newlines (Bug#9974).
11824
49745b39
CY
118252011-11-06 Chong Yidong <cyd@gnu.org>
11826
11827 * window.el (window-combination-p): Function deleted; its
11828 side-effect is not used in any existing code.
11829 (window-combinations, window-combined-p): Call window-*-child
11830 directly.
11831
24300f5f
CY
118322011-11-05 Chong Yidong <cyd@gnu.org>
11833
11834 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
11835 (window-size-ignore, window-state-get): Callers changed.
11836 (window-normalize-window): Rename from window-normalize-any-window.
11837 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 11838 (window-normalize-live-window): Delete.
447f16b8
CY
11839 (window-combination-p, window-combined-p, window-combinations)
11840 (walk-window-subtree, window-atom-root, window-min-size)
11841 (window-sizable, window-sizable-p, window-size-fixed-p)
11842 (window-min-delta, window-max-delta, window-resizable)
11843 (window-resizable-p, window-full-height-p, window-full-width-p)
11844 (window-current-scroll-bars, window-point-1, set-window-point-1)
11845 (window-at-side-p, window-in-direction, window-resize)
11846 (adjust-window-trailing-edge, maximize-window, minimize-window)
11847 (window-deletable-p, delete-window, delete-other-windows)
11848 (record-window-buffer, unrecord-window-buffer)
11849 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
11850 (quit-window, split-window, window-state-put)
11851 (set-window-text-height, fit-window-to-buffer)
11852 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 11853
89bd5ee1
EZ
118542011-11-04 Eli Zaretskii <eliz@gnu.org>
11855
53479029
EZ
11856 * mail/rmail.el (rmail-simplified-subject): Decode subject with
11857 rfc2047-decode-string.
11858 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
11859 warnings.
11860
89bd5ee1
EZ
11861 * window.el (window-body-height, window-body-width): Mention in
11862 the doc string that the return values are in frame's canonical
11863 units. (Bug#9949)
11864
bd17fdee
AM
118652011-11-03 Alan Mackenzie <acm@muc.de>
11866
11867 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
11868 change in cc-engine.el.
11869
acc825c5
SM
118702011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
11871
11872 * window.el (switch-to-buffer): Use `force-same-window' interactively.
11873
1885e5b8
MR
118742011-11-02 Martin Rudalics <rudalics@gmx.at>
11875
11876 * window.el (quit-window): Call unrecord-window-buffer after
11877 showing another buffer in the window. (Bug#9937)
acc825c5 11878 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 11879
ebe06da9
JB
118802011-11-02 Juanma Barranquero <lekktu@gmail.com>
11881
11882 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
11883 Accept status with more than 9 shelves. (Bug#9935)
11884 Reported by Colin D Bennett <colin@gibibit.com>.
11885
4ee88440
MR
118862011-11-01 Martin Rudalics <rudalics@gmx.at>
11887
11888 * help.el (with-help-window): Don't reference
11889 temp-buffer-show-specifiers in doc-string.
11890
08e1d82c
AS
118912011-10-31 Andreas Schwab <schwab@linux-m68k.org>
11892
11893 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
11894 menu-item.
11895
84bd6e9e
VJL
118962011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11897
11898 * whitespace.el: New version 13.2.2.
11899 (whitespace-newline-mode): Disable properly. Reported by Sarah
11900 <EmacsWiki>.
11901
dba0634a
UJ
119022011-10-30 Ulf Jasper <ulf.jasper@web.de>
11903
11904 * net/newst-treeview.el: Remove "Time-stamp".
11905 (newsticker--group-manage-orphan-feeds): Do not call
11906 newsticker--treeview-tree-update.
db22a3c2
JB
11907 (newsticker-treeview-update, newsticker-treeview):
11908 Call newsticker--treeview-tree-update if necessary.
dba0634a 11909
3d8daefe
MR
119102011-10-30 Martin Rudalics <rudalics@gmx.at>
11911
11912 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
11913 (window-iso-combinations): Remove "iso-" infix.
11914 Suggested by Chong Yidong.
3d8daefe
MR
11915 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
11916 (window-max-delta-1, window-resize, window--resize-siblings)
11917 (window--resize-this-window, adjust-window-trailing-edge)
11918 (split-window, balance-windows-1)
11919 (shrink-window-if-larger-than-buffer):
11920 * calendar/calendar.el (calendar-generate-window):
db22a3c2 11921 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 11922
1bc4c3ae
SM
119232011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
11924
11925 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
11926 in place (bug#9907).
11927 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
11928 (eshell-rewrite-if-command, eshell-rewrite-for-command)
11929 (eshell-structure-basic-command, eshell-rewrite-while-command)
11930 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
11931 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
11932 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
11933 (eshell-do-pipelines-synchronously, eshell-eval-command):
11934 Use backquotes and prefer setq to set.
11935 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
11936 (eshell-macrop): Use functionp.
c1e2f5fa 11937 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 11938
30b65d9c
CY
119392011-10-30 Chong Yidong <cyd@gnu.org>
11940
11941 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
11942 instead of set-mark (Bug#9810).
11943
2d197ffb
CY
119442011-10-30 Chong Yidong <cyd@gnu.org>
11945
11946 * window.el (split-window-below, split-window-right): Rename from
11947 split-window-above-each-other and split-window-side-by-side
11948 respectively. All callers changed.
11949 (split-window-sensibly, split-window-sensibly): Use them.
11950 (split-window-keep-point): Doc fix.
11951
11952 * isearch.el: Add isearch-scroll property to split-window-below
11953 and split-window-right.
11954
11955 * follow.el (follow-mode):
11956 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11957 * progmodes/ada-xref.el (ada-gdb-application):
11958 * emulation/vip.el (vip-buffer-in-two-windows):
11959 * image-dired.el (image-dired-dired-with-window-configuration):
11960 * dired-x.el (dired-do-find-marked-files):
11961 * dired.el (dired-pop-to-buffer):
11962 * bs.el (bs--show-with-configuration):
11963 * vc/emerge.el (emerge-setup-windows):
11964 * textmodes/two-column.el (2C-two-columns):
11965 * textmodes/reftex-toc.el (reftex-toc):
11966 * progmodes/gdb-mi.el (gdb-setup-windows):
11967 * progmodes/fortran.el (fortran-window-create):
11968 * net/newst-treeview.el (newsticker--treeview-window-init):
11969 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
11970 * emulation/tpu-edt.el (tpu-gold-map):
11971 * emulation/crisp.el (crisp-mode-map):
11972 * calendar/calendar.el (calendar-basic-setup): Callers changed.
11973
38bb2ca8
CY
119742011-10-29 Chong Yidong <cyd@gnu.org>
11975
aa4de341
CY
11976 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
11977
e1eb5385
CY
11978 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
11979
5d2ece3c
CY
11980 * textmodes/flyspell.el (flyspell-word): Fix char offset for
11981 forged Ispell output (Bug#7904).
11982
38bb2ca8
CY
11983 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
11984
d0af9f77
SM
119852011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11986
11987 * doc-view.el: Avoid ugly errors about not finding nil.
11988 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
11989 (doc-view-dvipdf-program, doc-view-unoconv-program)
11990 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
11991 Avoid nil or absolute file name as default value.
11992 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
11993
52bedd34
AM
119942011-10-28 Alan Mackenzie <acm@muc.de>
11995
db22a3c2 11996 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 11997
7e43cfa5
AM
119982011-10-28 Alan Mackenzie <acm@muc.de>
11999
12000 Amend the handling of c-beginning/end-of-defun in nested declaration
12001 scopes.
12002
52bedd34
AM
12003 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12004 cc-langs.el. Change it to a defcustom.
7e43cfa5 12005
52bedd34
AM
12006 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12007 cc-vars.el.
7e43cfa5 12008
d0af9f77
SM
12009 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12010 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 12011
52bedd34 12012 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 12013 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
12014 (c-widen-to-enclosing-decl-scope): New function.
12015 (c-while-widening-to-decl-block): New macro.
12016 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12017 outward for defun boundaries, and correspondingly change symbol
12018 `respect-enclosure' to `go-outward'.
12019 (c-declaration-limits): Change algorithm to report only the "innermost"
12020 defun's boundaries.
12021
1a2ce9ee
DD
120222011-10-28 Deniz Dogan <deniz@dogan.se>
12023
12024 * net/rcirc.el (rcirc-mode): Use hard newlines.
12025
bc97a826
AM
120262011-10-28 Alan Mackenzie <acm@muc.de>
12027
12028 Amend to indent and fontify macros "which include their own semicolon"
12029 correctly, using the "virtual semicolon" mechanism.
12030
52bedd34 12031 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 12032
d0af9f77 12033 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 12034 Recode to scan one line at a time rather than having \n and \r
58179cce 12035 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 12036 (c-forward-label): Amend for virtual semicolons.
58179cce 12037 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 12038
52bedd34
AM
12039 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12040 of the new C macros.
bc97a826 12041
52bedd34 12042 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
12043 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12044 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
12045 (c-opt-cpp-macro-define): Make into a full language variable.
12046 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12047 AWK Mode (including \n, \r) removed, no longer needed.
12048
d0af9f77
SM
12049 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12050 Invoke c-make-macro-with-semi-re.
bc97a826 12051
52bedd34
AM
12052 * progmodes/cc-vars.el (c-macro-with-semi-re):
12053 (c-macro-names-with-semicolon): New variables.
58179cce 12054 (c-make-macro-with-semi-re): New function.
bc97a826 12055
7a6c0941
SM
120562011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12057
12058 * vc/log-edit.el: Fill empty field rather than adding new one.
12059 (log-edit-add-field): New function.
12060 (log-edit-insert-changelog): Use it.
12061
b0c4cdcf
ML
120622011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12063
12064 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12065
ee1f1da9
SM
120662011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12067
12068 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12069 (gdb--check-interpreter): New function.
12070 (gdb): Use it.
12071
51bc5f8b
GM
120722011-10-27 Glenn Morris <rgm@gnu.org>
12073
416a2c45
GM
12074 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12075 (least-positive-float, least-negative-float)
12076 (least-positive-normalized-float, least-negative-normalized-float)
12077 (float-epsilon, float-negative-epsilon):
12078 Remove unnecessary declarations.
12079
12080 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12081 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12082 (least-positive-float, least-negative-float)
12083 (least-positive-normalized-float, least-negative-normalized-float)
12084 (float-epsilon, float-negative-epsilon): Add doc-strings,
12085 based on those in cl.texi.
12086
51bc5f8b
GM
12087 * files.el (set-visited-file-name): If the major-mode changed,
12088 reload the local variables. (Bug#9796)
12089
15de15c6
CY
120902011-10-27 Chong Yidong <cyd@gnu.org>
12091
12092 * subr.el (change-major-mode-after-body-hook): New hook.
12093 (run-mode-hooks): Run it.
12094
ee1f1da9
SM
12095 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12096 Use change-major-mode-before-body-hook.
15de15c6
CY
12097
12098 * simple.el (fundamental-mode):
12099 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12100 change introducing fundamental-mode-hook.
12101
5430d399
JB
121022011-10-26 Juanma Barranquero <lekktu@gmail.com>
12103
acc825c5 12104 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 12105
ad74a69e
MA
121062011-10-26 Michael Albinus <michael.albinus@gmx.de>
12107
12108 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 12109 tramp.el explicitly. (Bug#7583)
ad74a69e 12110
71d4c2a5
SM
121112011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12112
12113 * progmodes/octave-mod.el:
12114 * progmodes/octave-inf.el: Update maintainer.
12115
b1f6fa26
CY
121162011-10-26 Chong Yidong <cyd@gnu.org>
12117
12118 * subr.el (with-wrapper-hook): Rewrite doc.
12119
3f04efd6
MA
121202011-10-25 Michael Albinus <michael.albinus@gmx.de>
12121
12122 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 12123 filenames "/method:foo:". (Bug#9793)
3f04efd6 12124
410488d3
SM
121252011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12126
12127 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12128 (bug#9865).
12129
c1ebb47e
GM
121302011-10-24 Glenn Morris <rgm@gnu.org>
12131
12132 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12133
7f5c46c7
MA
121342011-10-24 Michael Albinus <michael.albinus@gmx.de>
12135
12136 * notifications.el: Add the requirement of a running D-Bus session
12137 bus to the Commentary.
12138
db2440b6
JL
121392011-10-24 Juri Linkov <juri@jurta.org>
12140
12141 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12142 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12143 (Bug#9364)
12144
feecf435
JL
121452011-10-24 Juri Linkov <juri@jurta.org>
12146
12147 * info.el (Info-following-node-name-re): Add newline to the list
12148 of allowed characters for leading space. (Bug#9824)
12149
a3839de2
SM
121502011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12151
acc825c5
SM
12152 * progmodes/octave-inf.el (inferior-octave-mode-map):
12153 Fix C-c C-h binding.
a3839de2
SM
12154 * progmodes/octave-mod.el (octave-help): Remove.
12155
09388e76
MA
121562011-10-23 Michael Albinus <michael.albinus@gmx.de>
12157
12158 Sync with Tramp 2.2.3.
12159
12160 * net/tramp-cache.el (top): Pacify byte-compiler using
12161 `init-file-user' and `site-run-file'.
12162
12163 * net/trampver.el: Update release number.
12164
86c60681
CY
121652011-10-23 Chong Yidong <cyd@gnu.org>
12166
12167 * files.el (toggle-read-only): Remove obsolete comment about
12168 version control.
12169
12170 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12171 for toggle-read-only. Note that this hasn't called vc-next-action
12172 since 2008-05-02, though it wasn't documented at the time.
12173
a3839de2
SM
12174 * vc/ediff-init.el (ediff-toggle-read-only-function):
12175 Use toggle-read-only.
86c60681 12176
cd5495ff
AM
121772011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12178
12179 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12180 of c-parse-state.
12181
00b77525 12182 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 12183 correct faulty logical expression.
cd5495ff
AM
12184 (c-parse-state-state, c-record-parse-state-state):
12185 (c-replay-parse-state-state): New defvar/defuns.
12186 (c-debug-parse-state): Use new functions.
12187
42ee24ed
MR
121882011-10-22 Martin Rudalics <rudalics@gmx.at>
12189
12190 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 12191 last fix. Use window-in-direction correctly.
42ee24ed 12192
a7dee7e7
CY
121932011-10-21 Chong Yidong <cyd@gnu.org>
12194
12195 * progmodes/idlwave.el (idlwave-mode):
12196 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
12197 require-final-newline; that's done in prog-mode.
12198 Suggested by Stefan Monnier.
a7dee7e7 12199
e07b9a6d
MR
122002011-10-21 Martin Rudalics <rudalics@gmx.at>
12201
12202 * mouse.el (mouse-drag-window-above)
12203 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12204 (mouse-drag-mode-line-1, mouse-drag-header-line)
12205 (mouse-drag-vertical-line-rightward-window): Remove.
12206 (mouse-drag-line): New function.
12207 (mouse-drag-mode-line, mouse-drag-header-line)
12208 (mouse-drag-vertical-line): Call mouse-drag-line.
12209 * window.el (window-at-side-p, windows-at-side): New functions.
12210
7e1361d9
UM
122112011-10-21 Ulrich Mueller <ulm@gentoo.org>
12212
12213 * tar-mode.el (tar-grind-file-mode):
12214 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12215
30fcaf3a
CY
122162011-10-21 Chong Yidong <cyd@gnu.org>
12217
12218 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
12219 * progmodes/vera-mode.el (vera-mode):
12220 Use mode-require-final-newline.
30fcaf3a 12221
516eddb0
GM
122222011-10-20 Glenn Morris <rgm@gnu.org>
12223
db22a3c2 12224 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 12225
10d5f513
CS
122262011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12227
12228 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12229
ac6c8639
CY
122302011-10-20 Chong Yidong <cyd@gnu.org>
12231
12232 * emulation/cua-base.el (cua-mode):
12233 * mail/footnote.el (footnote-mode):
12234 * mail/mailabbrev.el (mail-abbrevs-mode):
12235 * net/xesam.el (xesam-minor-mode):
12236 * progmodes/bug-reference.el (bug-reference-mode):
12237 * progmodes/cap-words.el (capitalized-words-mode):
12238 * progmodes/compile.el (compilation-minor-mode)
12239 (compilation-shell-minor-mode):
12240 * progmodes/gud.el (gud-tooltip-mode):
12241 * progmodes/hideif.el (hide-ifdef-mode):
12242 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12243 * progmodes/subword.el (subword-mode):
12244 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12245 * progmodes/which-func.el (which-function-mode):
12246 * term/tvi970.el (tvi970-set-keypad-mode):
12247 * term/vt100.el (vt100-wide-mode):
12248 * textmodes/flyspell.el (flyspell-mode):
12249 * textmodes/ispell.el (ispell-minor-mode):
12250 * textmodes/nroff-mode.el (nroff-electric-mode):
12251 * textmodes/paragraphs.el (use-hard-newlines):
12252 * textmodes/refill.el (refill-mode):
12253 * textmodes/reftex.el (reftex-mode):
12254 * textmodes/rst.el (rst-minor-mode):
12255 * textmodes/sgml-mode.el (html-autoview-mode)
12256 (sgml-electric-tag-pair-mode):
12257 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12258 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12259 * emulation/crisp.el (crisp-mode):
12260 * emacs-lisp/eldoc.el (eldoc-mode):
12261 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12262 minor mode behavior.
12263
aa42ab43
JL
122642011-10-19 Juri Linkov <juri@jurta.org>
12265
12266 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12267 the list of hard-coded chars with escape-glyph face.
12268
89400f1d
SM
122692011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12270
12271 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12272
305c07f6
MA
122732011-10-19 Michael Albinus <michael.albinus@gmx.de>
12274
12275 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12276 running process.
12277
13754b54
GM
122782011-10-19 Glenn Morris <rgm@gnu.org>
12279
12280 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12281 Ignore ignored files. (Bug#9726)
12282
06e21633
CY
122832011-10-19 Chong Yidong <cyd@gnu.org>
12284
12285 Doc fix for minor modes, stating that an omitted argument enables
12286 the mode unconditionally when called from Lisp.
12287
12288 * abbrev.el (abbrev-mode):
12289 * allout.el (allout-mode):
12290 * autoinsert.el (auto-insert-mode):
12291 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12292 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12293 (global-auto-revert-mode):
12294 * battery.el (display-battery-mode):
12295 * composite.el (global-auto-composition-mode)
12296 (auto-composition-mode):
12297 * delsel.el (delete-selection-mode):
12298 * desktop.el (desktop-save-mode):
12299 * dired-x.el (dired-omit-mode):
12300 * dirtrack.el (dirtrack-mode):
12301 * doc-view.el (doc-view-minor-mode):
12302 * double.el (double-mode):
12303 * electric.el (electric-indent-mode, electric-pair-mode):
12304 * emacs-lock.el (emacs-lock-mode):
12305 * epa-hook.el (auto-encryption-mode):
12306 * follow.el (follow-mode):
12307 * font-core.el (font-lock-mode):
12308 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12309 * help.el (temp-buffer-resize-mode):
12310 * hilit-chg.el (highlight-changes-mode)
12311 (highlight-changes-visible-mode):
12312 * hi-lock.el (hi-lock-mode):
12313 * hl-line.el (hl-line-mode, global-hl-line-mode):
12314 * icomplete.el (icomplete-mode):
12315 * ido.el (ido-everywhere):
12316 * image-file.el (auto-image-file-mode):
12317 * image-mode.el (image-minor-mode):
12318 * iswitchb.el (iswitchb-mode):
12319 * jka-cmpr-hook.el (auto-compression-mode):
12320 * linum.el (linum-mode):
12321 * longlines.el (longlines-mode):
12322 * master.el (master-mode):
12323 * mb-depth.el (minibuffer-depth-indicate-mode):
12324 * menu-bar.el (menu-bar-mode):
12325 * minibuf-eldef.el (minibuffer-electric-default-mode):
12326 * mouse-sel.el (mouse-sel-mode):
12327 * msb.el (msb-mode):
12328 * mwheel.el (mouse-wheel-mode):
12329 * outline.el (outline-minor-mode):
12330 * paren.el (show-paren-mode):
12331 * recentf.el (recentf-mode):
12332 * reveal.el (reveal-mode, global-reveal-mode):
12333 * rfn-eshadow.el (file-name-shadow-mode):
12334 * ruler-mode.el (ruler-mode):
12335 * savehist.el (savehist-mode):
12336 * scroll-all.el (scroll-all-mode):
12337 * scroll-bar.el (scroll-bar-mode):
12338 * server.el (server-mode):
12339 * shell.el (shell-dirtrack-mode):
12340 * simple.el (auto-fill-mode, transient-mark-mode)
12341 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12342 (line-number-mode, column-number-mode, size-indication-mode)
12343 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12344 * strokes.el (strokes-mode):
12345 * time.el (display-time-mode):
12346 * t-mouse.el (gpm-mouse-mode):
12347 * tool-bar.el (tool-bar-mode):
12348 * tooltip.el (tooltip-mode):
12349 * type-break.el (type-break-mode-line-message-mode)
12350 (type-break-query-mode):
12351 * view.el (view-mode):
12352 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12353 (global-whitespace-mode, global-whitespace-newline-mode):
12354 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12355
a3839de2
SM
12356 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12357 Fix autogenerated docstring.
06e21633 12358
5214e501
JL
123592011-10-19 Juri Linkov <juri@jurta.org>
12360
12361 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12362 by checking environment variables "DESKTOP_SESSION" and
12363 "XDG_CURRENT_DESKTOP". (Bug#9779)
12364
195f8db9
JL
123652011-10-19 Juri Linkov <juri@jurta.org>
12366
12367 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12368 (browse-url-chromium-program, browse-url-chromium-arguments):
12369 New defcustoms.
12370 (browse-url-default-browser): Check for `browse-url-chromium' and
12371 call `browse-url-chromium-program'.
12372 (browse-url-chromium): New command. (Bug#9779)
12373
343a34ff
JB
123742011-10-18 Juanma Barranquero <lekktu@gmail.com>
12375
12376 * facemenu.el (list-colors-duplicates): On Windows, detect more
12377 duplicates by assuming that only colors matching "^System" are
12378 special "system colors". (Bug#9722)
12379
6978a151
SM
123802011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12381
12382 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12383 to distinguish the author from the committer.
12384
6a80b297
MA
123852011-10-18 Michael Albinus <michael.albinus@gmx.de>
12386
12387 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12388
b31a5677
JK
123892011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12390
12391 * international/mule.el (sgml-html-meta-auto-coding-function):
12392 Add support for detecting encoding in HTML5 specified only as
12393 <meta charset="UTF-8">. Implementation just makes http-equiv and
12394 content-type parts from HTML4 encoding string optional. (Bug#9716)
12395
80c6d77f
GM
123962011-10-18 Glenn Morris <rgm@gnu.org>
12397
12398 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12399
08b0fee8
CY
124002011-10-18 Chong Yidong <cyd@gnu.org>
12401
12402 * faces.el (cursor): Doc fix.
12403
67e729a5
CY
124042011-10-17 Chong Yidong <cyd@gnu.org>
12405
12406 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12407
343a34ff 124082011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
12409
12410 * dirtrack.el (dirtrack): Support shell buffers with path
12411 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12412
0bc06380
TZ
124132011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12414
12415 * json.el: Bump version to 1.3 and note change in History.
12416 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12417
8b79f3e0
SM
124182011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12419
5a7c536b
SM
12420 * comint.el (comint-insert-input, comint-send-input)
12421 (comint-get-old-input-default, comint-backward-matching-input)
12422 (comint-next-prompt): Use nil instead of `input' for field property of
12423 past user input (bug#114).
12424
96a8a0df
SM
12425 * minibuffer.el (completion--replace): Inherit surrounding properties
12426 (bug#114).
12427 (minibuffer-complete-and-exit): Use it.
12428
8b79f3e0
SM
12429 * comint.el (comint--table-subvert): Quote the all-completions output
12430 (bug#9160).
12431
b8f7ff0d
MR
124322011-10-17 Martin Rudalics <rudalics@gmx.at>
12433
8b79f3e0 12434 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 12435
b8f7ff0d 12436 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 12437 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
12438 entries and separate them from frame entries.
12439
c235b555
GM
124402011-10-15 Glenn Morris <rgm@gnu.org>
12441
12442 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12443 Doc fixes.
12444
6bbfa6e1
CY
124452011-10-15 Chong Yidong <cyd@stupidchicken.com>
12446
8b79f3e0
SM
12447 * net/network-stream.el (network-stream-open-starttls):
12448 Improve detection of failure due to lack of TLS support.
ec5c990d 12449
6bbfa6e1
CY
12450 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12451 putting the input text in front and in bold.
12452
98488977
SM
124532011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12454
3d1337be
SM
12455 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12456
ee0b45e4
SM
12457 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12458 empty buffer.
12459
98488977
SM
12460 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12461 unread-command-events rather than pushing yet-another event.
12462
186f4720
EZ
124632011-10-14 Eli Zaretskii <eliz@gnu.org>
12464
12465 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12466 the explanation of the possible choices. Make the options passed
12467 to completing-read shorter.
12468
8b7a997c
AM
124692011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12470
12471 * textmodes/flyspell.el (flyspell-large-region): Make sure
12472 extended character mode is used if defined (Bug#1339).
12473
12587bbb
EZ
124742011-10-13 Eli Zaretskii <eliz@gnu.org>
12475
12476 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
12477 character info for LRE, LRO, RLE, and RLO characters by appending
12478 an invisible PDF.
12587bbb 12479
bad41229
SM
124802011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12481
12482 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12483 even in case of error; add debug spec; simplify data flow.
12484 (with-timeout-handler): Remove.
12485
28dbc92f
MA
124862011-10-12 Michael Albinus <michael.albinus@gmx.de>
12487
12488 Fix Bug#6019, Bug#9315.
12489
12490 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12491 complete `buffer-file-name', the local file name part could look
12492 remotely (for example on VMS).
12493
12494 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12495 `tramp-run-real-handler'.
12496 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12497 already quoted by '"'.
12498
12499 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12500 Let `file-name-handler-alist' be nil, the local file name part
12501 could look remotely (for example on VMS).
12502
e1b0b23a
SM
125032011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12504
12505 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12506 from here...
12507 (flyspell-post-command-hook): ...to here.
12508
a120bde9
SM
125092011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12510
12511 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12512 if not needed.
12513 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12514 using completion. Protect against "slow" callers.
12515 Remove the "message hack".
12516
7ce7717b
JL
125172011-10-11 Juri Linkov <juri@jurta.org>
12518
12519 * isearch.el (isearch-lazy-highlight-word): New variable.
12520 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12521 Use it. (Bug#9727)
12522
c02ee9d6
GM
125232011-10-11 Glenn Morris <rgm@gnu.org>
12524
12525 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12526 like f90-previous-statement does.
12527
93e616fd 125282011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12529
1f190e73 12530 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
12531 only in interactive use, to avoid error.
12532
af7b6078
SM
125332011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12534
12535 * minibuffer.el (completion-file-name-table): Fix last change,
12536 i.e. ignore normal errors but not the other ones.
12537
0563dae9
MR
125382011-10-10 Martin Rudalics <rudalics@gmx.at>
12539
12540 * window.el (special-display-buffer-names)
12541 (special-display-regexps): Remove some remnants of earlier
12542 changes from doc-strings.
366ca7f3
MR
12543 (quit-windows-on): New function.
12544
12545 * vc/vc.el (vc-revert, vc-rollback):
12546 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12547 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 12548 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 12549
49677495
MR
125502011-10-09 Martin Rudalics <rudalics@gmx.at>
12551
12552 * window.el (frame-auto-hide-function): Add version tag.
12553 (Bug#9699)
12554
56f2d1e1
MA
125552011-10-09 Michael Albinus <michael.albinus@gmx.de>
12556
12557 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12558 condition.
12559
112a6592
LL
125602011-10-09 Leo Liu <sdl.web@gmail.com>
12561
12562 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12563 (Bug#9701)
12564
0812589b
GM
125652011-10-08 Glenn Morris <rgm@gnu.org>
12566
12567 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12568 before the first code statement zero indent. (Bug#9690)
12569
b2b0776e
CY
125702011-10-08 Chong Yidong <cyd@stupidchicken.com>
12571
12572 * simple.el (count-words-region): Always count in the region.
12573 Report the number of lines and characters too.
12574 (count-words): New command, which counts in the buffer if the
12575 region is inactive, as count-words-region used to.
12576 (count-words--message): New function. Handle plurals.
12577 (count-lines-region): Make it an alias for count-words-region.
12578
12579 * bindings.el (esc-map): Replace count-lines-region with
12580 count-words-region.
12581
c557cd6b
MR
125822011-10-08 Martin Rudalics <rudalics@gmx.at>
12583
12584 * window.el (window--delete): Delete dedicated frame
12585 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 12586 (switch-to-buffer): Fix doc-string typo.
c557cd6b 12587
61a57ef4 125882011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12589
3a7d293b 12590 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 12591
c3833279
CY
125922011-10-07 Chong Yidong <cyd@stupidchicken.com>
12593
12594 * bindings.el ([M-left],[M-right]): Bind to left-word and
12595 right-word respectively.
12596
21ce8245
GM
125972011-10-07 Glenn Morris <rgm@gnu.org>
12598
12599 * cus-start.el (debug-on-quit): Fix custom type.
12600
6d823bb2
LMI
126012011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12602
0181e193
LMI
12603 * subr.el (define-key-after): Clarify that the function is not
12604 useful for non-menu keymaps.
12605
6d823bb2
LMI
12606 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12607
8e3459ce 126082011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12609
21ce8245 12610 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 12611 in current minibuffer (Fix bug with recursive minibuffers).
12612
a1c2d21e
CY
126132011-10-06 Chong Yidong <cyd@stupidchicken.com>
12614
12615 * progmodes/gdb-mi.el (gdb): Doc fix.
12616
5a4cf282
MR
126172011-10-05 Martin Rudalics <rudalics@gmx.at>
12618
12619 * window.el (frame-auto-hide-function): New option replacing
12620 frame-auto-delete. Suggested by Stefan Monnier.
12621 (window--delete): Call frame-auto-hide-function instead of
12622 investigating frame-auto-delete.
c96111ea
MR
12623 (window-point-1, set-window-point-1): New functions.
12624 (window-in-direction, record-window-buffer, window-state-get-1)
12625 (display-buffer-record-window): Use window-point-1 instead of
12626 window-point.
12627 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 12628
9854542e
SM
126292011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12630
12631 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
12632
8943cfb0
GM
126332011-10-05 Glenn Morris <rgm@gnu.org>
12634
12635 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12636 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
12637
647ab967
LL
126382011-10-05 Leo Liu <sdl.web@gmail.com>
12639
12640 * subr.el (read-char-choice): Fix argument to buffer-live-p which
12641 works with buffer object.
12642
3ddfbced
SM
126432011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12644
12645 * mpc.el (mpc-tool-bar-map): Add labels.
12646
bdfa5dd2
GM
126472011-10-04 Glenn Morris <rgm@gnu.org>
12648
12649 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12650
0e2070b5
MR
126512011-10-04 Martin Rudalics <rudalics@gmx.at>
12652
12653 * window.el (window--delete): New function.
12654 (frame-auto-delete): Resuscitate option.
12655 (bury-buffer, replace-buffer-in-windows)
12656 (quit-window): Rewrite using window--delete.
12657 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12658 Pass display-buffer-mark-dedicated to window--display-buffer-2
12659 (Bug#9639).
12660
3dc61a09
SM
126612011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12662
915a9b64
SM
12663 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
12664 returns a list (bug#9554). Add remote file name completion.
12665 * comint.el (comint--table-subvert): Curry and get quote&unquote
12666 functions as arguments.
12667 (comint--complete-file-name-data): Adjust call accordingly.
12668 * pcomplete.el (pcomplete--table-subvert): Remove.
12669 (pcomplete-completions-at-point): Use comint--table-subvert instead.
12670
3dc61a09
SM
12671 * minibuffer.el (completion-table-case-fold): Use currying.
12672 (completion--styles-type, completion--cycling-threshold-type):
12673 New constants.
12674 (completion-styles, completion-category-overrides)
12675 (completion-cycle-threshold): Use them.
12676 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
12677 completion-table-case-fold.
12678
8ea0a993
SB
126792011-10-03 Stephen Berman <stephen.berman@gmx.net>
12680
12681 * minibuffer.el (completion-category-overrides): Fix type of styles
12682 and add more user friendly tags (bug#9660).
12683
8c24b7f6
SM
126842011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12685
12686 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
12687 (mule-input-method-string): New widget.
12688 (default-input-method, language-info-custom-alist): Use it.
12689
428fe61a
SM
126902011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
12691
32c1fffd
SM
12692 * pcomplete.el: Require comint.
12693 (pcomplete--common-suffix): Remove.
12694 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
12695 (pcomplete--table-subvert): Sync with comint--table-subvert.
12696 (pcomplete--entries): Use comint-completion-file-name-table.
12697 * comint.el (comint-unquote-filename): Simplify.
12698 (comint-completion-file-name-table): New function (bug#9616).
12699 (comint--complete-file-name-data): Use it.
12700
428fe61a
SM
12701 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
12702 (pcmpl-gnu-tar-buffer): Remove.
12703 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
12704 around. Make sure pcomplete-suffix-list is only changed temporarily.
12705 Don't look inside the tar's file if it's too large.
428fe61a 12706
04c52e2f
CY
127072011-10-01 Chong Yidong <cyd@stupidchicken.com>
12708
ce3cefcc
CY
12709 * cus-edit.el (custom-mode-map):
12710 * epa.el (epa-key-list-mode-map):
12711 * man.el (Man-mode-map):
12712 * startup.el (splash-screen-keymap):
12713 * simple.el (special-mode-map): Use scroll-up-command and
12714 scroll-down-command.
12715
12716 * progmodes/idlw-help.el (idlwave-help-mode-map):
12717 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
12718 * net/newst-plainview.el (newsticker-mode-map):
12719 * emulation/ws-mode.el (wordstar-mode-map):
12720 * emulation/vi.el (vi-com-map):
12721 * calc/calc-graph.el (calc-graph-show-dumb):
12722 * term/sun.el (terminal-init-sun):
12723 * term/ns-win.el (global-map):
12724 * progmodes/grep.el (grep-mode-map):
12725 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
12726 * mail/rmail.el (rmail-mode-map):
12727 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
12728
04c52e2f
CY
12729 * custom.el (custom-safe-themes, load-theme): Treat value of t for
12730 custom-safe-themes as special.
12731
79adf8c8
JD
127322011-10-01 Julien Danjou <julien@danjou.info>
12733
12734 * notifications.el (notifications-notify): Fix docstring.
12735
63bd50d3
PS
127362011-10-01 Per Starbäck <per@starback.se>
12737
12738 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
12739
199e4c7e
MR
127402011-09-30 Martin Rudalics <rudalics@gmx.at>
12741
12742 * startup.el (command-line-1): Fix last fix by inserting
12743 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 12744 (Bug#9605) and (Bug#9636)
199e4c7e 12745
fe5f08dd
EZ
127462011-09-29 Eli Zaretskii <eliz@gnu.org>
12747
12748 * simple.el (line-move): If auto-hscroll-mode is disabled and the
12749 window is hscrolled, move by logical lines. (Bug#9607)
12750 (line-move-visual): Update the doc string to the above effect.
12751
b5516bbd
MR
127522011-09-29 Martin Rudalics <rudalics@gmx.at>
12753
ccee00c0
MR
12754 * window.el (display-buffer-record-window): When WINDOW is the
12755 selected window use `point' instead of `window-point'. (Bug#9626)
12756
b5516bbd
MR
12757 * startup.el (command-line-1): Use insert-before-markers when
12758 inserting initial-scratch-message. (Bug#9605)
ccee00c0 12759
b5516bbd
MR
12760 * help.el (help-window): Remove variable.
12761
52aa0014
GM
127622011-09-29 Glenn Morris <rgm@gnu.org>
12763
12764 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
12765
df9a7357
JB
127662011-09-29 Juanma Barranquero <lekktu@gmail.com>
12767
12768 * descr-text.el (describe-char-categories): Accept category
12769 descriptions more than one line long.
12770
a8406c20
SM
127712011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
12772
88d9610c
SM
12773 * simple.el (delete-trailing-whitespace): Fix last change.
12774
a5daf810
SM
12775 * progmodes/perl-mode.el (perl-syntax-propertize-function):
12776 Don't confuse "y => 3" as the beginning of a `y' operation.
12777
a8406c20
SM
12778 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
12779 object has more than 4 slots (bug#9613).
12780
a239d4e9
JB
127812011-09-28 Juanma Barranquero <lekktu@gmail.com>
12782
12783 * subr.el (with-output-to-temp-buffer):
12784 * net/quickurl.el (quickurl, quickurl-browse-url):
12785 Fix typos in docstrings.
12786
693fbdb6
EZ
127872011-09-27 Eli Zaretskii <eliz@gnu.org>
12788
12789 * minibuffer.el (completion-styles)
12790 (completion-category-overrides): Cross reference each other in doc
12791 strings.
12792
8b457e28
GM
127932011-09-27 Glenn Morris <rgm@gnu.org>
12794
12795 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
12796 to split-string. (Bug#9606)
12797
85a16208
LMI
127982011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12799
12800 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
12801 (bug#9615).
12802
502f9ebd
CY
128032011-09-27 Chong Yidong <cyd@stupidchicken.com>
12804
12805 * emacs-lisp/package.el (list-packages): Fix echo area message.
12806
7690bdea
LL
128072011-09-27 Leo Liu <sdl.web@gmail.com>
12808
12809 * ido.el (ido-read-internal): Accept cons cell HIST arg.
12810
e2ee6f30
MA
128112011-09-25 Michael Albinus <michael.albinus@gmx.de>
12812
12813 * net/dbus.el (dbus-unregister-object): Don't release services for
12814 registered signals. (Bug#9581)
12815
f3f98342
TZ
128162011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
12817
12818 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
12819 function that picks between cfengine 2 and 3 support
12820 automatically. Update docs accordingly.
12821
dd7aa8dd
KH
128222011-09-22 Kenichi Handa <handa@m17n.org>
12823
12824 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
12825 ZERO.
12826 (indian-itrans-v5-table-for-tamil): New variable.
12827 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
12828
3f2b07f8
KM
128292011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
12830
12831 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
12832 that's true if the current command involved collapsing of text.
12833 It's reset to false at the beginning of the next command.
12834 (allout-post-command-business): Move the cursor to the beginning
12835 of entry if the cursor is hidden and collapsing activity just
12836 happened.
12837
371d6a61
CY
128382011-09-24 Chong Yidong <cyd@stupidchicken.com>
12839
12840 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
12841 tracking (Bug#9541).
12842
2ac2721a
UJ
128432011-09-24 Ulf Jasper <ulf.jasper@web.de>
12844
12845 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
12846 (newsticker-show-news): Automatically load html rendering package
12847 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
12848 because w3m-fill-column is let-bound" and the error "Symbol's value
12849 as variable is void: w3m-fill-column".
2ac2721a 12850
fac7ae53
MA
128512011-09-24 Michael Albinus <michael.albinus@gmx.de>
12852
12853 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
12854 Release services only if they are defined. (Bug#9581)
12855
e08b633b
RS
128562011-09-23 Richard Stallman <rms@gnu.org>
12857
e488d29c
RS
12858 * textmodes/paragraphs.el (forward-sentence): For backwards case,
12859 distinguish start of paragraph from start of its text.
12860
19c38752
RS
12861 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
12862
e08b633b
RS
12863 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
12864 (rmail-generate-viewer-buffer): Put that hook on view buffer.
12865 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
12866
0a39f27e
AS
128672011-09-23 Andreas Schwab <schwab@linux-m68k.org>
12868
12869 * international/mule-diag.el (mule-diag): Insert a newline after
12870 each fontset description.
12871
db4e950d
SM
128722011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12873
12874 * simple.el (delete-trailing-whitespace):
12875 Document last change; simplify.
12876
eca3f3ea
PW
128772011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
12878
d68e189a
PW
12879 * simple.el (delete-trailing-whitespace): Also delete
12880 extra newlines at the end of the buffer.
12881
eca3f3ea
PW
12882 * textmodes/picture.el: Make motion commands obey shift-select-mode.
12883 (picture-newline): Use forward-line so as to ignore fields.
12884
01c157cc
SM
128852011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12886
12887 * subr.el (with-wrapper-hook): Fix edebug spec.
12888
022de23e
LMI
128892011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12890
12891 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
12892 (bug#4538).
12893
91683089
MA
128942011-09-23 Michael Albinus <michael.albinus@gmx.de>
12895
eca3f3ea
PW
12896 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
12897 Fix nasty bug using wrong cached values.
91683089 12898
5bdd6fa4
AM
128992011-09-23 Alan Mackenzie <acm@muc.de>
12900
12901 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
12902
97adfb97
CY
129032011-09-23 Chong Yidong <cyd@stupidchicken.com>
12904
12905 * window.el (pop-to-buffer): Ensure right window is selected if we
12906 chose another frame.
12907
d4ef2b50
EZ
129082011-09-22 Eli Zaretskii <eliz@gnu.org>
12909
12910 * simple.el (what-cursor-position): Use get-char-property-change
12911 and next-single-char-property-change, to be able to show display
12912 properties that come from overlays as well as text properties.
12913
72258fe5
CY
129142011-09-22 Chong Yidong <cyd@stupidchicken.com>
12915
12916 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
12917
12918 * cmuscheme.el (run-scheme, switch-to-scheme):
12919 * cus-edit.el (customize-group, custom-buffer-create)
12920 (customize-browse):
12921 * info.el (info):
12922 * shell.el (shell):
12923 * mail/sendmail.el (mail):
12924 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
12925
8f098516
RS
129262011-09-22 Richard Stallman <rms@gnu.org>
12927
12928 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
12929 move back only to line beg, don't move back over blank lines.
12930
e74f1bb6
MA
129312011-09-22 Michael Albinus <michael.albinus@gmx.de>
12932
12933 * files.el (copy-directory): Set directory attributes only in case
12934 they could be retrieved from the source directory. (Bug#9565)
12935
bfeef8b6
DK
129362011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
12937
12938 * progmodes/hideshow.el (hs-looking-at-block-start-p)
12939 (hs-find-block-beginning, hs-hide-level-recursive):
12940 Ignore strings as well as comments. (Bug#9502)
12941
7e423bb8
AS
129422011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
12943
12944 * progmodes/sql.el (sql-comint-postgres):
12945 Convert port number to a string. (Bug#9566)
12946
b4d72fcf
MR
129472011-09-22 Martin Rudalics <rudalics@gmx.at>
12948
12949 * window.el (quit-window): Undedicate window when switching to
12950 previous buffer. Reported by Thierry Volpiatto
12951 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
12952 (special-display-popup-frame): When popping up a new frame reset
12953 its previous buffers to nil. Simplify code.
b4d72fcf 12954
a7b88dc6
MA
129552011-09-21 Michael Albinus <michael.albinus@gmx.de>
12956
12957 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
12958 and process filter, as done also in `shell-command'.
12959
cf4eacfd
MR
129602011-09-21 Martin Rudalics <rudalics@gmx.at>
12961
eca3f3ea 12962 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
12963 Call set-window-start with NOFORCE argument t.
12964 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
12965 (quit-window): Reword doc-string. Handle new format of
12966 quit-restore parameter. Don't delete window if it has a
12967 previous buffer we can show instead of the present one.
12968 (display-buffer-record-window): Rewrite using a new format for
12969 the quit-restore window parameter
12970 (special-display-popup-frame, display-buffer-same-window)
12971 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12972 (display-buffer-pop-up-window, display-buffer-use-some-window):
12973 Adapt symbol passed to display-buffer-record-window.
12974 * help.el (help-window-setup): Handle new format of quit-restore
12975 parameter.
12976
8d28cb95
SM
129772011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
12978
94ab793f
SM
12979 * faces.el (face-list): Fix docstring (bug#9564).
12980
8d28cb95
SM
12981 * window.el (display-buffer--action-function-custom-type):
12982 Don't include internal functions in the Custom interface.
12983
3820edeb
JL
129842011-09-20 Juri Linkov <juri@jurta.org>
12985
12986 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
12987 (Info-forward-node, Info-backward-node, Info-next-preorder)
12988 (Info-last-preorder): Use it. (Bug#9528)
12989
5147931d
JL
129902011-09-20 Juri Linkov <juri@jurta.org>
12991
12992 * info.el (Info-last-preorder): Visit last menu item only when
12993 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
12994
cf499a1a
JD
129952011-09-20 Julien Danjou <julien@danjou.info>
12996
12997 * password-cache.el (password-cache-remove): Remove entries even if the
12998 value is nil, so that password with a nil value (negative caching) is
12999 possible to invalidate.
13000
f84e2fe2
LM
130012011-09-20 Lawrence Mitchell <wence@gmx.li>
13002
13003 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13004 all whitespace around breakpoint. (Bug#9553)
13005 (f90-find-breakpoint): Only break at whitespace inside a comment.
13006
78054a46
SM
130072011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13008
13009 * minibuffer.el (completion-file-name-table): Keep track of errors.
13010 (completion-table-with-predicate): Handle the case where pred1 is nil.
13011 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13012
345083b2
SM
130132011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13014
e24e27be
SM
13015 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13016 (debugger-return-value): Signal an error if the debugging context does
13017 not await any return value.
13018
345083b2
SM
13019 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13020 * image-mode.el (image-toggle-display-text)
13021 (image-toggle-display-image): Stay away from evil `intangible'.
13022
08d355e3
LL
130232011-09-19 Leo Liu <sdl.web@gmail.com>
13024
13025 * replace.el (occur-revert-arguments): Make it permanent-local.
13026 (occur-mode): Don't call font-lock-defontify.
13027
f01da43f
CY
130282011-09-19 Chong Yidong <cyd@stupidchicken.com>
13029
13030 * net/ldap.el (ldap-search-internal): Don't push empty search
13031 result (Bug#9508).
13032
b6072fa6
SM
130332011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13034
13035 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13036
443d6696
MA
130372011-09-19 Michael Albinus <michael.albinus@gmx.de>
13038
13039 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13040 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13041
7cc6e154
JL
130422011-09-18 Juri Linkov <juri@jurta.org>
13043
13044 * buff-menu.el (Buffer-menu-mode-map):
13045 * dired.el (dired-mode-map):
13046 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13047 (lisp-interaction-mode-map):
13048 * emacs-lisp/package.el (package-menu-mode-map):
13049 * epa.el (epa-key-list-mode-map):
13050 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13051 (menu-bar-options-menu):
13052 * outline.el (outline-mode-menu-bar-map):
13053 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13054 * vc/vc-dir.el (vc-dir-menu-map):
13055 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13056 Capitalize non-function content words in menu item strings.
13057
13058 * dired.el (dired-mode-map): Add menu item for
13059 `image-dired-dired-toggle-marked-thumbs'.
13060
80302a81
JL
130612011-09-18 Juri Linkov <juri@jurta.org>
13062
13063 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13064 to `isearch-case-fold-search' and restore its original value
13065 after the `isearch-mode' call.
13066
46c5cf66
JL
130672011-09-18 Juri Linkov <juri@jurta.org>
13068
13069 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13070 because `zgrep' returns 1 for successful matches (bug#9226).
13071
d18b513b
JL
130722011-09-18 Juri Linkov <juri@jurta.org>
13073
13074 * info.el (Info-extract-menu-node-name): Check the second match
13075 for empty string (second test-case of bug#9528).
13076 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13077 intermediate nodes to the history (first test-case of bug#9528).
13078
72753f87
JL
130792011-09-18 Juri Linkov <juri@jurta.org>
13080
13081 * info.el (Info-mode-syntax-table): New variable.
1154d12e 13082 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 13083
c9384295
JL
130842011-09-18 Juri Linkov <juri@jurta.org>
13085
1154d12e
JB
13086 * info.el (Info-file-supports-index-cookies):
13087 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13088 outputs one more line for long file names (bug#4142).
c9384295 13089
d473dce8
CY
130902011-09-18 Chong Yidong <cyd@stupidchicken.com>
13091
13092 * newcomment.el (comment-normalize-vars): If prompting for
13093 comment-start, set comment-start-skip too (Bug#8424).
13094
2176854d
JB
130952011-09-18 Johan Bockgård <bojohan@gnu.org>
13096
13097 * icomplete.el: Fix previous fix of Bug#5849.
13098 (icomplete-mode): Don't set completion-show-inline-help.
13099 (icomplete-minibuffer-setup): Set completion-show-inline-help
13100 locally during icompletion.
13101
3aace4e4
CY
131022011-09-18 Chong Yidong <cyd@stupidchicken.com>
13103
c940224f
CY
13104 * woman.el (woman2-process-escapes): Don't delete unrecognized
13105 escapes (Bug#7843).
13106
3aace4e4
CY
13107 * files.el (inhibit-first-line-modes-regexps): Add image files.
13108 (hack-local-variables-prop-line): Return nil for malformed
13109 prop-lines (Bug#9044).
13110
710dec63
MA
131112011-09-18 Michael Albinus <michael.albinus@gmx.de>
13112
13113 * net/tramp.el (top): Don't require 'shell.
13114 (tramp-methods): Fix docstring.
13115 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
13116 Return complete remote file name. Handle "smb" case.
13117 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
13118 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13119
13120 * net/tramp-compat.el (top): Require 'shell.
13121
13122 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13123 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13124 `tramp-current-host'.
13125 (tramp-get-remote-tmpdir): Remove.
13126
13127 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13128 `tramp-tmpdir' entries.
13129 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13130 (tramp-smb-handle-file-attributes): Ignore errors.
13131 (tramp-smb-wait-for-output): Check also for process end.
13132
5d5ac8ec
LMI
131332011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13134
13135 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13136 when sending QUIT (bug#9312).
13137
8c0f49f0
CY
131382011-09-17 Chong Yidong <cyd@stupidchicken.com>
13139
13140 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13141 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13142 occur-mode-display-occurrence.
13143 (occur-edit-mode): Add usage message.
13144 (occur-cease-edit): New command.
13145 (occur-after-change-function): Use text properties to find the
13146 position of the prefix text.
13147 (occur-engine): Set stickiness of prefix text properties.
13148
8f1383f7
GM
131492011-09-17 Glenn Morris <rgm@gnu.org>
13150
13151 * progmodes/etags.el (complete-tag):
13152 Fix call to completion-in-region. (Bug#9526)
13153
744ba0e3
JL
131542011-09-17 Juri Linkov <juri@jurta.org>
13155
13156 * textmodes/ispell.el (ispell-word): Add to the error message
13157 the word, ispell program name and current dictionary (bug#9121).
13158 (ispell-tex-arg-end): Capitalize "error" in the error message.
13159
d9bbf400
AS
131602011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13161
13162 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13163 check. (Bug#4251)
13164
8da11505
JL
131652011-09-17 Juri Linkov <juri@jurta.org>
13166
13167 * window.el (window-safe-min-height, window-safe-min-width):
13168 Fix typos (followup to bug#9522).
13169
a91adc7e
SJ
131702011-09-17 Sven Joachim <svenjoac@gmx.de>
13171
13172 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13173
064f328a
EZ
131742011-09-16 Eli Zaretskii <eliz@gnu.org>
13175
13176 * simple.el (line-move): If goal-column is set, move by logical
13177 lines, not by display lines. (Bug#971)
13178 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13179 to reflect the above change.
13180
e69df516
SM
131812011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13182
13183 * image.el (imagemagick-register-types): Use regexp-opt.
13184
cbb0f9ab
CY
131852011-09-15 Chong Yidong <cyd@stupidchicken.com>
13186
13187 * window.el (display-buffer-base-action): Rename from
13188 display-buffer-default-action. Make default value empty.
13189 (display-buffer-overriding-action): Convert to defvar.
13190 (display-buffer-fallback-action): New var.
13191
25322144
CY
131922011-09-15 Chong Yidong <cyd@stupidchicken.com>
13193
13194 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13195 declaration.
13196 (package--add-to-archive-contents): If there is a duplicate entry
13197 with an older version, remove it.
13198 (package-menu-mark-delete, package-menu-mark-install)
13199 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
13200 (package-menu-mark-obsolete-for-deletion):
13201 Use package-menu-get-status instead of a regexp search.
25322144
CY
13202 (package-menu-get-status): Use tabulated-list-entry.
13203 (package-menu-mark-upgrades): New command.
d770725a 13204 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
13205 (package-menu-execute): Do installation before deletion.
13206 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13207 instead of checking major-mode.
13208 (package-menu--find-upgrades): New function.
13209
7520339c
LMI
132102011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13211
13212 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13213 passwords in the log buffer.
65a046c4
LMI
13214 (smtpmail-process-filter): Update the process marker so that the
13215 "broken by peer" status message is inserted in the right place.
7520339c 13216
d3c30954
SM
132172011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13218
3fe48822
SM
13219 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13220 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13221 bibtex-completion-at-point-function.
13222 (bibtex-completion-at-point-function): Use them.
13223
1b8b3954
SM
13224 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13225
d3c30954
SM
13226 * mpc.el (mpc-constraints-tag-lookup): New function.
13227 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13228 also to browser "album|playlist".
13229
72779976
JL
132302011-09-14 Juri Linkov <juri@jurta.org>
13231
13232 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13233 (isearch-edit-string): Use length of `isearch-string' when
13234 `isearch-fail-pos' returns nil.
13235 (isearch-message): Remove duplicate code and call
13236 `isearch-fail-pos' with arg `t'.
13237
a0bf2bcd
CY
132382011-09-14 Chong Yidong <cyd@stupidchicken.com>
13239
17bb0a2d
CY
13240 * replace.el (occur-mode-goto-occurrence): Don't force using other
13241 window (Bug#9499).
13242
a0bf2bcd
CY
13243 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13244
f678e0b6
MR
132452011-09-14 Martin Rudalics <rudalics@gmx.at>
13246
13247 * window.el (display-buffer-window): Remove.
13248 (display-buffer-record-window): Use help-setup window parameter
13249 instead of variable display-buffer-window.
13250 (display-buffer-function, special-display-buffer-names)
13251 (special-display-function): Mention help-setup parameter instead
13252 of display-buffer-window in doc-string.
d3c30954
SM
13253 * help.el (help-window-setup): New argument help-window.
13254 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
13255 Reword some messages.
13256 (with-help-window): Pass window used for displaying the buffer
13257 to help-window-setup. Don't set display-buffer-window.
13258
8e39b2e8
GM
132592011-09-13 Glenn Morris <rgm@gnu.org>
13260
13261 * emacs-lisp/debug.el (debugger-make-xrefs):
13262 Preserve point. (Bug#9462)
13263
85e9c04b
CY
132642011-09-13 Chong Yidong <cyd@stupidchicken.com>
13265
13266 * window.el (window-deletable-p): Use next-frame.
13267
1b36ed6a
MR
132682011-09-13 Martin Rudalics <rudalics@gmx.at>
13269
13270 * window.el (window-auto-delete): Remove.
13271 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 13272 dedication and previous buffers.
1b36ed6a
MR
13273 (switch-to-prev-buffer): Don't delete window.
13274 (delete-windows-on): Delete a window's frame if and only if the
13275 window is dedicated.
13276 (replace-buffer-in-windows): Delete buffer's window or frame if
13277 and only if window is dedicated.
13278 (quit-window): Handle quit-restore as before last change.
4d61f28d 13279 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 13280
ef8ef9fb
CY
132812011-09-13 Chong Yidong <cyd@stupidchicken.com>
13282
13283 * window.el (window-deletable-p): Never delete the last frame on a
13284 given terminal.
13285
b2cba41e
GM
132862011-09-13 Glenn Morris <rgm@gnu.org>
13287
13288 * help.el (describe-key-briefly): Copy previous standard-output change.
13289
51553db6 132902011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
13291
13292 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13293
b7556719
GM
132942011-09-13 Glenn Morris <rgm@gnu.org>
13295
13296 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13297 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13298
64b51947
CY
132992011-09-12 Chong Yidong <cyd@stupidchicken.com>
13300
13301 * dired-aux.el (dired-mark-read-string): Don't return default
13302 value on empty input (Bug#9361).
13303 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13304 Omit initial minibuffer contents.
13305 (dired-do-chmod): Signal an error on empty input.
13306 (dired-mark-read-string): Don't return default on empty input.
13307
13308 * files.el (file-modes-symbolic-to-number): Doc fix.
13309
393a301e
SM
133102011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13311
13312 * international/mule-cmds.el (ucs-completions): Remove.
13313 (read-char-by-name): Use complete-with-action instead; add metadata.
13314
fa5660f9
CY
133152011-09-11 Chong Yidong <cyd@stupidchicken.com>
13316
13317 * window.el (display-buffer--action-function-custom-type)
13318 (display-buffer--action-custom-type): New vars.
13319 (display-buffer-alist, display-buffer-default-action)
13320 (display-buffer-overriding-action): Add defcustom types.
13321
4a592f66
CY
13322 * frame.el (delete-other-frames): Doc fix (Bug#276).
13323
73d56dbd
LMI
133242011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13325
13326 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13327
37ac18a3
CY
133282011-09-11 Chong Yidong <cyd@stupidchicken.com>
13329
13330 Change modes that used same-window-* vars to use switch-to-buffer.
13331
13332 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13333 Use switch-to-buffer.
13334
13335 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
13336 (customize-browse, custom-buffer-create-other-window):
13337 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
13338
13339 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13340 (Info-prev, Info-up, Info-speedbar-goto-node)
13341 (info-display-manual): Use switch-to-buffer.
13342 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13343
13344 * mail/sendmail.el (mail): Use switch-to-buffer.
13345 (mail-recover): Use switch-to-buffer-other-window.
13346
13347 * cmuscheme.el (run-scheme, switch-to-scheme):
13348 * ielm.el (ielm):
13349 * shell.el (shell):
13350 * net/rlogin.el (rlogin):
13351 * net/telnet.el (telnet, rsh):
13352 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13353
10195bd6
AS
133542011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13355
13356 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13357
b322f63a
LMI
133582011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13359
39d7fed6
LMI
13360 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13361 so don't mention it (bug#9301).
ba5a81f1 13362 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 13363
ee0e9f11
LMI
13364 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13365 match `x', `w32' and `ns', like the manual says (bug#9029).
13366
0b1c89c1 13367 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
13368 (process-kill-buffer-query-function): Mention the buffer name in
13369 the query.
0b1c89c1 13370
77549ea8
LMI
13371 * image-mode.el (image-next-line): The line parameter is mandatory
13372 (bug#9258).
13373
803ef892
LMI
13374 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13375 which can be useful (bug#9301).
13376
12980837
LMI
13377 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13378
91054f8f
LMI
13379 * subr.el (match-string): Mention that the current buffer should
13380 be the same as the search was done in (bug#9282).
13381
b322f63a
LMI
13382 * facemenu.el: Disable the remove-* commands if the mark isn't
13383 active (bug#9162).
13384
3199b96f
CY
133852011-09-10 Chong Yidong <cyd@stupidchicken.com>
13386
13387 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13388 of display-buffer.
13389 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13390
13391 * replace.el (occur-mode-goto-occurrence)
13392 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13393 and display-buffer.
13394
13395 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13396 display-buffer.
13397
13398 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13399 special-display and same-window variables.
13400 (mail-other-window): Use switch-to-buffer-other-window.
13401 (mail-other-frame): USe switch-to-buffer-other-frame.
13402
393a301e
SM
13403 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13404 Use display-buffer-other-frame.
3199b96f
CY
13405 (gdb-display-gdb-buffer): Use pop-to-buffer.
13406
13407 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13408
13409 * progmodes/python.el: Don't set same-window-buffer-names.
13410
13411 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13412
13413 * window.el (display-buffer-alist): Add *Python*.
13414
8319e0bf
CY
134152011-09-10 Chong Yidong <cyd@stupidchicken.com>
13416
13417 * window.el (display-buffer-alist): Add entry for buffers
13418 previously handled same-window-*.
13419 (display-buffer-alist, display-buffer-default-action)
13420 (display-buffer-overriding-action): Mark as risky.
13421 (display-buffer-alist): Document action function changes.
13422 (display-buffer--same-window-action)
13423 (display-buffer--other-frame-action): New variables.
13424 (switch-to-buffer, display-buffer-other-frame): Use them.
13425 (display-buffer): Rename reuse-frame entry to reusable-frames.
13426 (display-buffer-reuse-selected-window): Function deleted.
13427 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13428 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13429 (display-buffer-special): New function.
13430 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13431 display-buffer-reuse-or-pop-window. Split off special-display
13432 part into display-buffer-special.
13433 (display-buffer-use-some-window): Don't perform any special
13434 pop-up-frames handling.
13435 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 13436 (display-buffer--maybe-same-window): Rename from
0d3ff375 13437 display-buffer-maybe-same-window.
8319e0bf 13438
919a69aa
CY
13439 * info.el: Don't set same-window-regexps.
13440 (info-setup): New function.
13441 (info-other-window, info): Call it.
13442
13443 * cus-edit.el: Don't set same-window-regexps.
13444 (customize-group): New argument.
13445 (customize-group-other-window): Use it.
13446 (customize-face, customize-face-other-window): Likewise.
13447 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13448
8319e0bf
CY
13449 * net/rlogin.el:
13450 * net/telnet.el:
13451 * progmodes/gud.el: Don't set same-window-regexps.
13452
13453 * cmuscheme.el:
13454 * ielm.el:
13455 * shell.el:
13456 * mail/sendmail.el:
13457 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13458
25173000
JL
134592011-09-10 Juri Linkov <juri@jurta.org>
13460
13461 * isearch.el (isearch-edit-string): Remove obsolete mention of
13462 `C-w' (`isearch-yank-word-or-char') from docstring.
13463 (isearch-query-replace): Fix typo in docstring (bug#9466).
13464
056e44ef
JL
134652011-09-10 Juri Linkov <juri@jurta.org>
13466
13467 * paren.el (show-paren-function): Don't show escaped parens.
13468 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13469
c3760c17
EZ
134702011-09-10 Eli Zaretskii <eliz@gnu.org>
13471
13472 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13473 (mm-default-file-encoding): Remove autoload forms, they are
13474 replaced with autoload cookies in mml.el and mm-encode.el.
13475 (mail-add-attachment): New command.
13476 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13477 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13478 the doc string.
13479 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13480
fece895e
RT
134812011-09-10 Reuben Thomas <rrt@sc3d.org>
13482
e69df516
SM
13483 * simple.el (count-words-region): Use buffer if there's no region
13484 (bug#9429).
fece895e 13485
5e68ce4a
JL
134862011-09-09 Juri Linkov <juri@jurta.org>
13487
13488 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13489 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13490 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13491
0a6b9622
AM
134922011-09-09 Alan Mackenzie <acm@muc.de>
13493
13494 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13495 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13496
14a29deb
EZ
134972011-09-09 Eli Zaretskii <eliz@gnu.org>
13498
13499 Fix for Savannah bug#9392.
13500 * simple.el (mail-encode-mml): New defvar.
13501
13502 * mail/rmail.el (mail-encode-mml): Add a defvar.
13503 (rmail-enable-mime-composing): Default to t.
13504 (rmail-forward): Use MIME method of forwarding only if both
13505 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13506 Set mail-encode-mml non-nil if the MIME method was used.
13507
13508 * mail/sendmail.el (mml-to-mime): Add autoload form.
13509 (mail-encode-mml): Add a defvar.
13510 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13511 to nil.
13512 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13513 message through mml-to-mime, and reset mail-encode-mml to nil.
13514
28c45130
GM
135152011-09-09 Glenn Morris <rgm@gnu.org>
13516
13517 * woman.el (woman-if-body): When processing an .el block,
13518 do not delete the next .el block as well. (Bug#9447)
69f4b618 13519 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 13520
9b1c252e
MR
135212011-09-08 Martin Rudalics <rudalics@gmx.at>
13522
13523 * window.el (window-deletable-p): Make sure window is live before
13524 invoking window-prev-buffers.
13525
567457e3
LL
135262011-09-08 Leo Liu <sdl.web@gmail.com>
13527
13528 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13529
97f05794
JL
135302011-09-08 Juri Linkov <juri@jurta.org>
13531
13532 * progmodes/compile.el (compilation-environment): Make it
13533 a defcustom (bug#8340).
13534
8b0874b5
MR
135352011-09-08 Martin Rudalics <rudalics@gmx.at>
13536
13537 * window.el (frame-auto-delete): Rename to window-auto-delete.
13538 Make it control auto-deletion of windows and/or frames.
13539 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 13540 for deleting window/frame. (Bug#9419)
8b0874b5
MR
13541 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13542 Rewrite handling of case when window/frame can be deleted.
13543 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 13544 argument t. (Bug#9456)
8b0874b5 13545
4feb6e73
CY
135462011-09-07 Chong Yidong <cyd@stupidchicken.com>
13547
13548 * help-mode.el (help-mode): Restore autoload.
13549
91ab9c13
JL
135502011-09-07 Juri Linkov <juri@jurta.org>
13551
13552 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13553 `compilation-environment'. Set buffer-local
13554 `compilation-environment' to `thisenv' later after (funcall mode).
13555 (Bug#8340)
13556
13557 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
13558 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13559 instead of replacing its value. (Bug#8340)
13560
0527e251
JL
135612011-09-07 Juri Linkov <juri@jurta.org>
13562
13563 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13564 based on text properties put by `grep-filter' instead of matching
13565 escape sequences.
13566 (grep-mode): Set buffer-local `compilation-error-screen-columns'
13567 to the value of `grep-error-screen-columns' (bug#9438).
13568
249f792c
JL
135692011-09-07 Juri Linkov <juri@jurta.org>
13570
13571 * simple.el (next-error-highlight, next-error-highlight-no-select):
13572 Doc fix (bug#9432).
13573
ff7271b9
OT
135742011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
13575
13576 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13577 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
13578
183fc730
LL
135792011-09-07 Leo Liu <sdl.web@gmail.com>
13580
13581 * net/rcirc.el (rcirc-mode): Conditionally initialize
13582 rcirc-input-ring.
13583
77694924
SM
135842011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
13585
13586 * emacs-lisp/find-func.el (find-function-C-source): Only set
13587 find-function-C-source-directory after checking that we found a source
13588 file there (bug#9440).
13589
d809b8eb
AM
135902011-09-06 Alan Mackenzie <acm@muc.de>
13591
13592 * isearch.el (isearch-other-meta-char): Wherever a key list is
13593 unread, "unread" the prefix arg, too. This fixes bug #8901.
13594
453de99f
OG
135952011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
13596
13597 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13598
90439906
JL
135992011-09-05 Juri Linkov <juri@jurta.org>
13600
13601 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13602
f62bd846
JL
136032011-09-05 Juri Linkov <juri@jurta.org>
13604
13605 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13606 keeping point where processing of grep matches begins, and
13607 continue to delete remaining escape sequences from the same point.
13608 (grep-filter): Make leading zero optional in "0?1;31m" because
13609 git-grep emits "\033[1;31m" escape sequences unlike expected
13610 "\033[01;31m" as GNU Grep does (bug#9408).
13611 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13612
045820ec
JL
136132011-09-05 Juri Linkov <juri@jurta.org>
13614
13615 * subr.el (y-or-n-p): Capitalize "yes".
13616
f5e29b9b
MA
136172011-09-04 Michael Albinus <michael.albinus@gmx.de>
13618
13619 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
13620 `tramp-cache-unload-hook' where appropriate.
13621 (tramp-methods): Rename `tramp-remote-sh' to
13622 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
13623 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13624
13625 * net/tramp-sh.el (top): Don't require 'shell.
13626 (tramp-methods): Add `tramp-remote-shell' and
13627 `tramp-remote-shell-args' entries.
13628 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
13629 (tramp-sh-handle-shell-command): Remove.
13630 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13631 Use `tramp-remote-shell'.
13632
2784c434
CY
136332011-09-03 Chong Yidong <cyd@stupidchicken.com>
13634
393a301e 13635 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
13636 (sendmail-query-once): Save directly to send-mail-function.
13637 Update message-send-mail-function too.
13638
13639 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
13640
464cdf56
CS
136412011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13642
13643 * progmodes/python.el (python-mode-map): Use correct function to
13644 start python interpreter from menu-bar (as reported by Geert
13645 Kloosterman).
13646 (inferior-python-mode-map): Fix typo.
393a301e 13647 (python-shell-map): Remove.
464cdf56 13648
d37e5c87
DD
136492011-09-03 Deniz Dogan <deniz@dogan.se>
13650
13651 * net/rcirc.el (rcirc-print): Simplify code for
13652 rcirc-scroll-show-maximum-output. There is no need to walk
13653 through all windows to find the right one.
13654
f3ada0ee
CS
136552011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13656
13657 * help.el (help-return-method): Doc fix.
13658
1f3c99ca
MR
136592011-09-03 Martin Rudalics <rudalics@gmx.at>
13660
13661 * window.el (window-deletable-p): Don't return a non-nil value
13662 when there's a buffer that was shown in the window before.
13663 (Bug#9419)
393a301e
SM
13664 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13665 Set window's previous buffers to nil.
1f3c99ca 13666
a3cf097f
EZ
136672011-09-03 Eli Zaretskii <eliz@gnu.org>
13668
13669 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
13670 newline before and after the tag line, so it doesn't interfere
13671 with determining the paragraph direction of bidirectional text.
13672
3d03de90
LL
136732011-09-03 Leo Liu <sdl.web@gmail.com>
13674
13675 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
13676
c3313451
CY
136772011-09-02 Chong Yidong <cyd@stupidchicken.com>
13678
393a301e 13679 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
13680 (pop-to-buffer): Change interactive spec. Pass second argument
13681 directly to display-buffer.
13682 (display-buffer): Fix interactive spec. Use functionp to
13683 distinguish between a function and a list of functions.
13684
13685 * abbrev.el (edit-abbrevs):
13686 * arc-mode.el (archive-extract):
13687 * autoinsert.el (auto-insert):
13688 * bookmark.el (bookmark-bmenu-list):
13689 * files.el (find-file):
13690 * view.el (view-buffer):
13691 * progmodes/compile.el (compilation-goto-locus):
13692 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
13693
89894cd8
CY
136942011-09-02 Chong Yidong <cyd@stupidchicken.com>
13695
13696 * window.el (display-buffer-alist): Doc fix.
13697 (display-buffer): Add docstring. Don't treat
13698 display-buffer-default specially.
13699 (display-buffer-reuse-selected-window)
13700 (display-buffer-same-window, display-buffer-maybe-same-window)
13701 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13702 (display-buffer-pop-up-window)
13703 (display-buffer-reuse-or-pop-window)
13704 (display-buffer-use-some-window): New functions.
13705 (display-buffer-default-action): Use them.
393a301e 13706 (display-buffer-default): Delete.
89894cd8
CY
13707 (pop-to-buffer-1): Fix choice of actions.
13708
ae0bc9fb
SM
137092011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
13710
13711 * minibuffer.el (completion--insert-strings): Don't get confused by
13712 completion entries that end with an LF char.
13713
e9d90883
EZ
137142011-09-01 Eli Zaretskii <eliz@gnu.org>
13715
13716 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
13717
437014c8
CY
137182011-09-01 Chong Yidong <cyd@stupidchicken.com>
13719
13720 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
13721 (display-buffer-same-window, display-buffer-other-window):
13722 New functions.
437014c8
CY
13723 (pop-to-buffer-1): New function. Use the above.
13724 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 13725 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
13726
13727 * view.el (view-buffer-other-window, view-buffer-other-frame):
13728 Just use pop-to-buffer.
13729
a5e063d5
TV
137302011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13731
13732 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
13733
793d32bb
WH
137342011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
13735
13736 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
13737
d65e4c15
RS
137382011-08-31 Richard Stallman <rms@gnu.org>
13739
13740 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
13741 of the separation of rmail-view-buffer from rmail-buffer.
13742 If you say no to "replace original", the decrypt is in the
13743 view buffer. If you say yes, the decrypt goes into the
13744 rmail buffer also.
13745
f818cd2a
MR
137462011-08-31 Martin Rudalics <rudalics@gmx.at>
13747
13748 * window.el (display-buffer-window): Rewrite doc-string.
13749 (display-buffer-record-window): New function.
13750 (display-buffer-macro-specifiers)
13751 (display-buffer-even-window-sizes, display-buffer-set-height)
13752 (display-buffer-set-width, display-buffer-in-window)
13753 (display-buffer-reuse-window, display-buffer-split-specifiers)
13754 (display-buffer-side-specifiers, display-buffer-split-window-1)
13755 (display-buffer-split-window, display-buffer-split-atom-window)
13756 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13757 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
13758 (display-buffer-other-window-means-other-frame)
13759 (display-buffer-normalize-special)
13760 (display-buffer-normalize-default)
13761 (display-buffer-normalize-argument)
13762 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
13763 (display-buffer-normalize-specifiers, display-buffer-frame)
13764 (display-buffer-same-window, display-buffer-same-frame)
13765 (display-buffer-other-window)
13766 (display-buffer-same-frame-other-window)
13767 (display-buffer-other-frame, pop-to-buffer-same-window)
13768 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
13769 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
13770 (switch-to-buffer-same-frame)
13771 (switch-to-buffer-other-window-same-frame)
13772 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
13773 (display-buffer-alist-set-1, display-buffer-alist-set-2)
13774 (display-buffer-alist-set): Remove.
13775 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
13776 (special-display-regexps, special-display-function):
13777 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
13778 parameter.
13779 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
13780 (special-display-frame-alist, special-display-popup-frame)
13781 (same-window-buffer-names, same-window-regexps, same-window-p)
13782 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13783 (split-window-preferred-function, split-height-threshold)
13784 (split-width-threshold, window-splittable-p)
13785 (split-window-sensibly, window--try-to-split-window)
13786 (window--frame-usable-p, even-window-heights)
13787 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
13788 (window--display-buffer-2, display-buffer-other-frame):
13789 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
13790 (display-buffer-default, display-buffer-assq-regexp): New functions.
13791 (display-buffer-alist): Rewrite doc-string.
13792 (display-buffer-default-action)
13793 (display-buffer-overriding-action): New variables.
13794 (display-buffer, switch-to-buffer): Rewrite.
13795 (pop-to-buffer): Restore Emacs 23 behavior but use
13796 window-normalize-buffer-to-display.
13797 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
13798 Restore Emacs 23 behavior but use
13799 window-normalize-buffer-to-switch-to.
13800 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
13801 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
13802 Rewrite using Emacs 23 options.
f818cd2a 13803
5bc3b51d
MA
138042011-08-31 Michael Albinus <michael.albinus@gmx.de>
13805
13806 * net/tramp.el (tramp-root-regexp): Remove.
13807 (tramp-completion-file-name-regexp-unified)
13808 (tramp-completion-file-name-regexp-separate)
13809 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 13810 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
13811 (tramp-drop-volume-letter): Simplify definition.
13812 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 13813
b1a4f8e1
SM
138142011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
13815
13816 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
13817 (bug#9356).
13818
5664fa7b
RT
138192011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
13820
b1a4f8e1 13821 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 13822
9a45d6c3
JL
138232011-08-29 Juri Linkov <juri@jurta.org>
13824
13825 * isearch.el (isearch-done): Don't display message "Mark saved"
13826 when arg `edit' is non-nil to prevent its flicker in the echo area.
13827
fb87e0fb
CY
138282011-08-28 Chong Yidong <cyd@stupidchicken.com>
13829
13830 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
13831 obsolete packages for deletion.
13832
09ac1c2a
CS
138332011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
13834
13835 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 13836 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
13837 view-mode from help-mode.
13838 (help-xref-override-view-map): Remove.
13839 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
13840 view-mode is not used anymore.
13841
7a1ff57f
CY
138422011-08-28 Chong Yidong <cyd@stupidchicken.com>
13843
13844 * server.el (server-port): Doc fix.
13845
b9696605
CY
13846 * cus-theme.el (custom-theme-choose-mode): Inherit from
13847 special-mode (Bug#9124).
13848 (custom-theme-choose-mode-map): Add special-mode to parent.
13849
ef8cdf8c
AM
138502011-08-28 Alan Mackenzie <acm@muc.de>
13851
13852 * progmodes/cc-fonts.el
13853 (c-make-font-lock-BO-decl-search-function): New function.
13854 (c-basic-matchers-after - "Fontify the clauses after various
13855 keywords"): Extract the three keyword lists for the 3 erroneous
13856 constructs from the list of four, and use the new function above
13857 in place of an old one.
13858
27de4e20
DD
138592011-08-28 Deniz Dogan <deniz@dogan.se>
13860
13861 * net/rcirc.el (rcirc-insert-prev-input)
13862 (rcirc-insert-next-input): Remove unused argument.
13863
356a3681
SM
138642011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
13865
13866 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
13867
3fc9b218
AM
138682011-08-27 Alan Mackenzie <acm@muc.de>
13869
13870 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
13871 handle function pointer parameters properly.
13872
538a061c
MR
138732011-08-27 Martin Rudalics <rudalics@gmx.at>
13874
13875 * window.el (display-buffer-reuse-window): Fix case where
13876 selected window was reused with non-nil OTHER-WINDOW argument.
13877 (Bug#9381)
13878
35b1c40c
DD
138792011-08-27 Deniz Dogan <deniz@dogan.se>
13880
13881 * net/rcirc.el (rcirc-check-auth-status): Adding support for
13882 oftc's NickServ messages.
13883
2f6a3e79
GM
138842011-08-27 Glenn Morris <rgm@gnu.org>
13885
13886 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
13887
7254299e
CY
138882011-08-26 Chong Yidong <cyd@stupidchicken.com>
13889
13890 * emacs-lisp/package.el (package-install): Call package-initialize
13891 if called interactively.
13892
f8ccf167
LL
138932011-08-26 Leo Liu <sdl.web@gmail.com>
13894
13895 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
13896
3e8cd5ce
JL
138972011-08-25 Juri Linkov <juri@jurta.org>
13898
13899 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13900 `search-whitespace-regexp' (bug#9364).
13901
93eb7113
JL
139022011-08-25 Juri Linkov <juri@jurta.org>
13903
13904 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
13905 `regexp-search-ring' to their global values to protect from
13906 updating by `read-from-minibuffer' (bug#9185).
13907
f65d1611
JL
139082011-08-25 Juri Linkov <juri@jurta.org>
13909
13910 * textmodes/ispell.el (ispell-command-loop): Add newline
13911 at the end of the "Use option `i'..." line.
13912
f1cf7a31
JL
139132011-08-25 Juri Linkov <juri@jurta.org>
13914
13915 * battery.el (display-battery-mode): If `battery-status-function'
13916 or `battery-mode-line-format' is nil, display the message and set
13917 `display-battery-mode' to nil (bug#9363).
13918
0c95fcf7
EZ
139192011-08-25 Eli Zaretskii <eliz@gnu.org>
13920
13921 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
13922 bidi-string-mark-left-to-right; they are unnecessary now.
13923
a2ebe600
DD
139242011-08-25 Deniz Dogan <deniz@dogan.se>
13925
13926 * net/quickurl.el: Documentation typo fixes.
13927
e4ed06f1
CY
139282011-08-25 Chong Yidong <cyd@stupidchicken.com>
13929
13930 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
13931
e5f1c99e
GM
139322011-08-25 Glenn Morris <rgm@gnu.org>
13933
b2948976
GM
13934 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
13935
e5f1c99e
GM
13936 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
13937 (smtpmail-via-smtp): Handle nil response from smtp.
13938
f22f4808
JL
139392011-08-24 Juri Linkov <juri@jurta.org>
13940
13941 * proced.el (proced-marked): Inherit from `error' instead of
13942 `font-lock-warning-face'.
13943
13944 * ibuffer.el (ibuffer-marked-face): Change default face from
13945 `font-lock-warning-face' to `warning'.
13946 (ibuffer-deletion-face): Change default face from
13947 `font-lock-type-face' to `error'.
13948
13949 * battery.el (battery-update): Use the face `error' instead of
13950 `font-lock-warning-face' (bug#6117).
13951
6a93965e
JL
139522011-08-24 Juri Linkov <juri@jurta.org>
13953
13954 * faces.el (success): Change face color from "Green3" to
13955 "ForestGreen" on light background (bug#9353).
13956
1ed43b09
CY
139572011-08-24 Chong Yidong <cyd@stupidchicken.com>
13958
5664fa7b
RT
13959 * window.el (quit-window): Rename from quit-restore-window.
13960 Use same arglist as old quit-window.
1ed43b09
CY
13961 (frame-auto-delete): Doc fix.
13962
13963 * view.el (view-mode-exit): Use quit-window.
13964
11dcdbb2
JL
139652011-08-24 Juri Linkov <juri@jurta.org>
13966
13967 * isearch.el (isearch-ring-adjust1): Start visiting previous
13968 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
13969 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
13970 for empty search string (when the last search string is reused
13971 automatically) to adjust the isearch ring to the last element and
13972 prepare the correct index for further M-p commands (bug#9185).
13973
de62b4df
KH
139742011-08-24 Kenichi Handa <handa@m17n.org>
13975
13976 * international/ucs-normalize.el: If decomposition property of
13977 CHAR is the default one (i.e. a list of CHAR itself), treat it as
13978 nil.
13979 (nfd, nfkd): Likewise.
13980
963b492b
SM
139812011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
13982
13983 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
13984 from process filters aren't reliably transmitted to the surrounding
13985 accept-process-output.
13986 (mpc-proc-check): New function.
13987 (mpc-proc-sync): Use it (bug#8293)
13988
93b6b5e1
SM
139892011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13990
13991 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
13992 Add compatibility functions (bug#9313).
13993
bca633fb
EZ
139942011-08-23 Eli Zaretskii <eliz@gnu.org>
13995
b177498a
EZ
13996 * cus-start.el (all): Add entry for bidi-paragraph-direction.
13997
6df6ae42 13998 * international/uni-bidi.el: Regenerate.
bca633fb 13999
0902a04e
KH
140002011-08-23 Kenichi Handa <handa@m17n.org>
14001
14002 * international/charprop.el:
14003 * international/uni-bidi.el:
14004 * international/uni-category.el:
14005 * international/uni-combining.el:
14006 * international/uni-comment.el:
14007 * international/uni-decimal.el:
14008 * international/uni-decomposition.el:
14009 * international/uni-digit.el:
14010 * international/uni-lowercase.el:
14011 * international/uni-mirrored.el:
14012 * international/uni-name.el:
14013 * international/uni-numeric.el:
14014 * international/uni-old-name.el:
14015 * international/uni-titlecase.el:
14016 * international/uni-uppercase.el: Regenerate.
14017
3bbf23bc
MR
140182011-08-23 Martin Rudalics <rudalics@gmx.at>
14019
14020 * help.el (help-window-setup): Fix message displayed when other
14021 window is reused. (Bug#9341)
14022
b3fd59bd
SM
140232011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14024
1802e444
SM
14025 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14026 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14027
b3fd59bd
SM
14028 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14029 Mark obsolete.
14030 * shell.el (shell-parse-pcomplete-arguments): New function.
14031 (shell-completion-vars): Use it instead (bug#9160).
14032
4eb61348
SM
140332011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14034
867cab74
SM
14035 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14036 strings and comments (bug#9333).
14037
4eb61348
SM
14038 * emacs-lisp/debug.el (debug-arglist): New function.
14039 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14040 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14041
262a1439
JL
140422011-08-22 Juri Linkov <juri@jurta.org>
14043
56ee679c
JL
14044 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14045 Revert regexp that highlights output switches to its old
14046 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14047
262a1439
JL
14048 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14049 to check for empty output (bug#9226).
14050
f13f86fb
CY
140512011-08-22 Chong Yidong <cyd@stupidchicken.com>
14052
14053 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14054 symbol-constituent as the default, as that stops font-lock from
14055 working properly (Bug#8843).
14056
c65c9622
LMI
140572011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14058
14059 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14060 `coding-system-for-*' around the process open call to avoid
14061 auth-source side effects.
e7f2c178 14062 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
14063 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14064 probe hangs.
c65c9622 14065
23a8a5ab
CY
140662011-08-21 Chong Yidong <cyd@stupidchicken.com>
14067
ff98b2dd
CY
14068 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14069
23a8a5ab
CY
14070 * emacs-lisp/find-func.el (find-function-noselect): New arg
14071 lisp-only.
14072
14073 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14074 signal an error for built-in functions (Bug#6664).
14075
f5e3c598
LMI
140762011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14077
14078 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14079 (smtpmail-try-auth-methods): Use it.
14080
a3f2468a
CY
140812011-08-21 Chong Yidong <cyd@stupidchicken.com>
14082
2c34e8da
CY
14083 * font-lock.el (font-lock-fontify-region)
14084 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14085 (font-lock-default-unfontify-buffer)
14086 (font-lock-default-fontify-region)
14087 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14088
b3fd59bd
SM
14089 * progmodes/compile.el (compilation-error-properties):
14090 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
14091 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14092 `ant' regexp.
ee31aabc 14093
a3f2468a
CY
14094 * net/browse-url.el (browse-url-firefox): Don't call
14095 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14096
8e999f70
GM
140972011-08-20 Glenn Morris <rgm@gnu.org>
14098
c21a496a
GM
14099 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14100
59ee0542
GM
14101 * tutorial.el (tutorial--default-keys): Update some default bindings.
14102
8e999f70
GM
14103 * files.el (hack-local-variables): Fully ignore case for "mode:".
14104
e3715033
AM
141052011-08-20 Alan Mackenzie <acm@muc.de>
14106
14107 Resolve invalid use of a regexp in regexp-opt.
14108
4d61f28d
JB
14109 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14110 detection for a java annotation.
e3715033 14111
4d61f28d 14112 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
14113 detection for a java annotation.
14114
4d61f28d
JB
14115 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14116 handling for java.
e3715033
AM
14117 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14118
04ed2e9c
CY
141192011-08-20 Chong Yidong <cyd@stupidchicken.com>
14120
14121 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14122 (Bug#9274).
14123
826cee64
AM
141242011-08-20 Alan Mackenzie <acm@muc.de>
14125
58179cce 14126 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
14127 such a construct. Mainly for when jit-lock etc. starts a chunk
14128 here.
14129
58179cce 14130 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 14131 variable.
58179cce 14132 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
14133 c-make-font-lock-search-function.
14134 (c-make-font-lock-search-function): Use the above function.
14135 (c-make-font-lock-context-search-function): New function.
14136 (c-cpp-matchers): Enhance the preprocessor expression case with
14137 the above function
14138 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14139 which takes an expression.
14140
14141 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14142
13009bd8
MR
141432011-08-20 Martin Rudalics <rudalics@gmx.at>
14144
14145 * window.el (display-buffer-reuse-window)
14146 (display-buffer-pop-up-window): Don't reuse or split a side
14147 window.
14148
9234ff7f
GM
141492011-08-19 Glenn Morris <rgm@gnu.org>
14150
14151 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 14152 Downcase "Mode:". (Bug#9331)
9234ff7f 14153
f635daa1
CY
141542011-08-18 Chong Yidong <cyd@stupidchicken.com>
14155
14156 * international/characters.el: Add L and R categories.
14157
14158 * subr.el (bidi-string-mark-left-to-right): Rename from
14159 string-mark-left-to-right. Use category search.
14160
14161 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14162
bc987f8b
JL
141632011-08-18 Juri Linkov <juri@jurta.org>
14164
14165 * faces.el (error, warning, success): New faces with definitions
14166 copied from old default values of `font-lock-warning-face',
14167 `compilation-warning', `compilation-info' (bug#6117).
14168
14169 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14170
14171 * progmodes/compile.el (compilation-error): Inherit from `error'.
14172 (compilation-warning): Inherit from `warning'.
14173 (compilation-info): Inherit from `success'.
14174
14175 * dired.el (dired-marked): Inherit from `warning'.
14176 (dired-flagged): Inherit from `error'.
14177
57173b96
LMI
141782011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14179
3e79eb87
LMI
14180 * mail/smtpmail.el (auth-source): Require to avoid problems with
14181 binding variables (bug#9298). Also clean up some unused
14182 autoloads.
14183
b3fd59bd
SM
14184 * net/network-stream.el (network-stream-open-starttls):
14185 Support using starttls.el without using gnutls-cli.
57173b96 14186
02b404de
JL
141872011-08-17 Juri Linkov <juri@jurta.org>
14188
14189 * progmodes/grep.el (rgrep): Handle the case when
14190 `grep-find-command' is a cons cell (bug#9278).
14191
8c9177f2
MR
141922011-08-17 Martin Rudalics <rudalics@gmx.at>
14193
14194 * window.el (display-buffer-pop-up-frame): Run frame creation
14195 function with BUFFER current (as special-display-popup-frame
14196 does). Reported by Drew Adams.
14197
3644a0ab
DU
141982011-08-17 Daiki Ueno <ueno@unixuser.org>
14199
14200 * epa-mail.el: Simplify GnuPG group expansion using
14201 epg-expand-group.
14202 (epa-mail-group-alist, epa-mail-group-modtime)
14203 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14204 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14205 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14206 Remove.
14207
5e617bc2 142082011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
14209
14210 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14211
9c4aeabf
AM
142122011-08-16 Alan Mackenzie <acm@muc.de>
14213
14214 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14215 Correct, to avoid the inside of macros.
14216
3a99bf64
RS
142172011-08-16 Richard Stallman <rms@gnu.org>
14218
04963aa8
RS
14219 * epa-mail.el: Handle GnuPG group definitions.
14220 (epa-mail-group-alist, epa-mail-group-modtime)
14221 (epa-mail-gnupg-conf-file): New variables.
14222 (epa-mail-parse-groups, epa-mail-sync-groups)
14223 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14224 (epa-mail-expand-recipients): New functions.
14225 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14226
177549d0
RS
14227 * mail/rmail.el (rmail-epa-decrypt): New command.
14228
fe38beef
RS
14229 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14230 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
14231 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14232 (epa-decrypt-armor-in-region): Make error message clearer.
14233
934eacb9
SM
142342011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14235
14236 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14237 and "a2b" to "ab" for `prefix'.
14238
d024fb4e
CY
142392011-08-14 Chong Yidong <cyd@stupidchicken.com>
14240
14241 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14242 filter groups.
de148fee
CY
14243 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14244 Fourquet (Bug#8804).
d024fb4e 14245
62f1ca49
JB
142462011-08-12 Juanma Barranquero <lekktu@gmail.com>
14247
14248 * startup.el (argi): Declare as global variable (bug#9275).
14249
9ccaaa4b
CY
142502011-08-12 Chong Yidong <cyd@stupidchicken.com>
14251
14252 * subr.el (string-mark-left-to-right): Search the entire string
14253 for RTL script, not just the terminating character. Doc fix.
14254
a3dae87a
SM
142552011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14256
6cd18349
SM
14257 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14258 New function.
14259 (js--regexp-literal, js-syntax-propertize-function): Remove.
14260 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14261 (js-mode-map): Don't rebind electric keys.
14262 (js-insert-and-indent): Remove.
14263 (js-mode): Setup electric-layout and electric-indent instead.
14264
a3dae87a
SM
14265 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14266
9d5cb631
DU
142672011-08-12 Daiki Ueno <ueno@unixuser.org>
14268
14269 * epa.el (epa-progress-callback-function): Fix the logic of
14270 displaying progress.
14271 * epa-file.el (epa-file-insert-file-contents): Make progress
14272 display more user-friendly.
14273 (epa-file-write-region): Ditto.
14274
3e26a4a2
CY
142752011-08-10 Chong Yidong <cyd@stupidchicken.com>
14276
14277 * subr.el (string-mark-left-to-right): New function.
14278
14279 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14280 Use string-mark-left-to-right.
14281 (list-buffers-noselect): Caller changed.
14282
a3dae87a
SM
14283 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14284 Use string-mark-left-to-right.
3e26a4a2
CY
14285 (tabulated-list-print): Recenter after moving point.
14286
ac8cf6e6
JL
142872011-08-10 Juri Linkov <juri@jurta.org>
14288
14289 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14290 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14291 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14292
8d96c9a4
CY
142932011-08-09 Chong Yidong <cyd@stupidchicken.com>
14294
14295 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14296 (Bug#7554).
14297
7be1c708 142982011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
14299
14300 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14301 character. (Bug#6594)
14302
37e11a63
CY
143032011-08-08 Chong Yidong <cyd@stupidchicken.com>
14304
839dde57
CY
14305 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14306 (image-dired--with-db-file): New macro.
14307 (image-dired-write-tags, image-dired-remove-tag)
14308 (image-dired-create-gallery-lists, image-dired-write-comments)
14309 (image-dired-get-comment, image-dired-mark-tagged-files)
14310 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14311 (image-dired-gallery-generate): Use insert-file-contents.
14312
37e11a63
CY
14313 * time.el (display-time-world-list, display-time-world-display):
14314 * time-stamp.el (time-stamp-string):
14315 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14316 set-time-zone-rule (Bug#7337).
14317
0b4946c4
DU
143182011-08-08 Daiki Ueno <ueno@unixuser.org>
14319
14320 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14321 (epg-error-to-string, epg-errors-to-string): New function.
14322 (epg-wait-for-completion): Reverse errors list.
14323 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14324 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14325 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14326 (epg-sign-keys, epg-generate-key-from-file)
14327 (epg-generate-key-from-string): Format errors by using
14328 epg-errors-to-string (bug#9255).
14329 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14330
75bfc667
JL
143312011-08-07 Juri Linkov <juri@jurta.org>
14332
14333 * faces.el (list-faces-display): Remove extra angle bracket
14334 from `help-mode-map'.
14335
14336 * info.el (Info-history-toc-nodes): Doc fix.
14337
14338 * longlines.el (longlines-mode): Doc fix.
14339
673e08bb
SM
143402011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14341
4640dd88
SM
14342 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14343 of statements and in a few more cases (bug#9183).
14344
673e08bb
SM
14345 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14346 New functions.
14347 (cl-transform-lambda): Use them (bug#9239).
14348
89b3f019
MR
143492011-08-05 Martin Rudalics <rudalics@gmx.at>
14350
14351 * window.el (display-buffer-same-window)
14352 (display-buffer-same-frame, display-buffer-other-window)
14353 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14354 (pop-to-buffer-other-window)
14355 (pop-to-buffer-same-frame-other-window)
14356 (pop-to-buffer-other-frame): Make them defuns.
14357 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14358
640c8776
SM
143592011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14360
14361 * subr.el (make-composed-keymap): Move from C. Change calling
14362 convention, and improve docstring to bring attention to a subtle point.
14363 * minibuffer.el (completing-read-default): Adjust accordingly.
14364
63648a95
MA
143652011-08-03 Michael Albinus <michael.albinus@gmx.de>
14366
14367 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14368 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14369
14370 * net/trampver.el: Update release number.
14371
b796c9b7
SM
143722011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14373
14374 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14375 "in" (bug#9190).
14376
2239d7d5
LMI
143772011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14378
e07dd7c3
LMI
14379 * mail/sendmail.el (sendmail-query-once): Restore the current
14380 buffer after querying (bug#9074).
14381
0e6a2bd7
LMI
14382 * dired.el (dired-flagged): Use different faces for marked and
14383 flagged files (bug#6117).
14384
ce887515
LMI
14385 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14386 (bug#4433).
14387
92f2affc
LMI
14388 * ido.el (ido-mode): Switch off the message if called
14389 non-interactively.
14390
57d5aff0
LMI
14391 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14392 before 587, since it appears that that's more likely to work for
14393 more people.
14394
98cd6c18 14395 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 14396 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
14397 exist.
14398
b96dec83
LMI
14399 * info.el: Remove the `Info-beginning-of-buffer' function
14400 (bug#8325).
14401
b796c9b7
SM
14402 * net/network-stream.el (network-stream-open-starttls):
14403 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 14404
d90e2ea0
MR
144052011-08-01 Martin Rudalics <rudalics@gmx.at>
14406
14407 * window.el (display-buffer-in-window): Don't set dedicated status
14408 of window here (Bug#9215).
14409 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14410 (display-buffer-pop-up-side-window)
b796c9b7 14411 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 14412
cca09170
SM
144132011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14414
14415 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14416 before binding generated-autoload-file.
14417
027b979c
DD
144182011-08-01 Deniz Dogan <deniz@dogan.se>
14419
14420 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14421
3c7ee4f3
MA
144222011-07-30 Michael Albinus <michael.albinus@gmx.de>
14423
14424 Sync with Tramp 2.2.2.
14425
14426 * net/trampver.el: Update release number.
14427
2cc8e51a
JL
144282011-07-30 Juri Linkov <juri@jurta.org>
14429
14430 * dired-aux.el (dired-touch-initial): Remove function.
14431 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14432 current time, and `default' to the last modification time of the
14433 current marked file (bug#6887).
14434
a514d856
JM
144352011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14436
14437 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 14438 numeric argument to read-number (bug#9163).
a514d856 14439
8a7eddd7
MA
144402011-07-27 Michael Albinus <michael.albinus@gmx.de>
14441
14442 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14443 connection process, it could be nil.
14444
1ddd96f5
LL
144452011-07-27 Leo Liu <sdl.web@gmail.com>
14446
14447 Simplify url handling in rcirc-mode.
14448
14449 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14450 (rcirc-browse-url-at-mouse): Remove.
14451 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14452
b248a85d
AM
144532011-07-26 Alan Mackenzie <acm@muc.de>
14454
14455 Fontify bitfield declarations properly.
14456
14457 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14458 (c-symbol-chars): Now exported as a lang variable.
14459 (c-not-primitive-type-keywords): New lang variable.
14460
14461 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14462 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 14463 parsed as a bitfield declaration.
b248a85d 14464
b796c9b7
SM
14465 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14466 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
14467 (c-punctuation-in): New function.
14468 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14469 declarations properly.
14470
68575ab0
UJ
144712011-07-26 Ulf Jasper <ulf.jasper@web.de>
14472
14473 * calendar/icalendar.el (icalendar--all-events): Take care of
14474 multiple vcalendars in a single file.
b796c9b7 14475 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 14476
0f0a88b9
DD
144772011-07-25 Deniz Dogan <deniz@dogan.se>
14478
14479 * image.el (insert-image): Clarifying docstring.
14480
0b3f36df
MA
144812011-07-24 Michael Albinus <michael.albinus@gmx.de>
14482
14483 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14484 `tramp-send-command-and-check' if there is no error.
14485 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14486
a9901f61
AM
144872011-07-22 Alan Mackenzie <acm@muc.de>
14488
14489 Prevent cc-langs.elc being loaded at run time.
14490
14491 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14492 cc-langs.
14493
4d61f28d 14494 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
14495 "(require 'cc-langs)". Quote a form so it will evaluate at
14496 (cc-mode's) compilation time.
14497
11d074b2
MA
144982011-07-22 Michael Albinus <michael.albinus@gmx.de>
14499
14500 * net/tramp.el (tramp-file-name-handler): Avoid recursive
14501 loading. (Bug#9114)
14502
938b94c8
MR
145032011-07-21 Martin Rudalics <rudalics@gmx.at>
14504
14505 * window.el (display-buffer-pop-up-window)
14506 (display-buffer-pop-up-side-window)
14507 (display-buffer-in-side-window): Call display-buffer-set-height
14508 and display-buffer-set-width after setting the new window's
b796c9b7 14509 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 14510
bfa4f190
SS
145112011-07-20 Sam Steingold <sds@gnu.org>
14512
14513 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14514 (etags-tags-included-tables): Call `convert-standard-filename' on
14515 the file names contained in TAGS so that windows Emacs can handle
14516 TAGS files created by cygwin ctags.
14517
8ca42262
LMI
145182011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14519
14520 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14521 which apparently didn't work.
14522
5db2afd2 145232011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 14524
5db2afd2
RW
14525 * proced.el (proced-send-signal): For *Marked Processes* buffer
14526 put point at beginning of buffer.
14527
92e15d10
SB
145282011-07-19 Stephen Berman <stephen.berman@gmx.net>
14529
14530 * proced.el (proced-format): Make header lines align with the text
14531 (bug#1779).
14532
1bfd59e5
LMI
145332011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14534
14535 * view.el (view-buffer): Allow running in `special' modes if we're
14536 visiting a file (bug#8615).
14537
f5aae37c
MR
145382011-07-19 Martin Rudalics <rudalics@gmx.at>
14539
14540 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
14541 (display-buffer-alist-set-1, display-buffer-alist-set-2):
14542 New functions.
f5aae37c
MR
14543 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14544 more accurately.
14545
bf2c1571
AM
145462011-07-18 Alan Mackenzie <acm@muc.de>
14547
14548 Fontify declarators properly when, e.g., a jit-lock chunk begins
14549 inside a declaration.
14550
14551 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14552
b796c9b7
SM
14553 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14554 New function.
bf2c1571
AM
14555 (c-complex-decl-matchers): Insert reference to
14556 c-font-lock-enclosing-decls.
14557
14558 * progmodes/cc-engine.el (c-backward-single-comment):
14559 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14560 to nil around calls to (forward-comment -1).
14561
4e190b80
LMI
145622011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14563
12dc863d
LMI
14564 * image.el (put-image): Doc typo fix.
14565
a762e966
LMI
14566 * progmodes/etags.el (tags-search): Doc typo fix.
14567
4e190b80
LMI
14568 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14569 password if we get errors 550 to 554.
14570
f019fb21
LMI
145712011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14572
b796c9b7 14573 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 14574
81746738
LMI
14575 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14576 indentation character (bug#6380).
14577
3ee3a1b5
LMI
14578 * files.el (buffer-offer-save): Made permanently local (bug#6241).
14579
c82f64de
LMI
14580 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14581 to clarify what the problem is (bug#4291).
14582
f019fb21
LMI
14583 * simple.el (current-kill): Clarify what
14584 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
14585 (auto-fill-mode): Document `auto-fill-function' in relation to
14586 `auto-fill-mode' (bug#2470).
f019fb21 14587
0794775d
LM
145882011-07-16 Lawrence Mitchell <wence@gmx.li>
14589
14590 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14591 method if slot is read-only (bug#9035).
14592
be39b8cc
MR
145932011-07-16 Martin Rudalics <rudalics@gmx.at>
14594
b796c9b7 14595 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 14596 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
14597 selected before, see discussion of (Bug#8615), (Bug#6954).
14598 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 14599
6ccf7859
GM
146002011-07-15 Glenn Morris <rgm@gnu.org>
14601
14602 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 14603 Respect help-form.
6ccf7859 14604
87e86684
LM
146052011-07-09 Lawrence Mitchell <wence@gmx.li>
14606
14607 * net/gnutls.el (gnutls-min-prime-bits): New variable.
14608 (gnutls-negotiate): Use it.
14609
d6066239
LMI
146102011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14611
b796c9b7
SM
14612 * net/gnutls.el (gnutls-negotiate):
14613 Upcase `gnutls-algorithm-priority'.
d6066239 14614
bd23ebc0
GM
146152011-07-15 Glenn Morris <rgm@gnu.org>
14616
c65bca65
GM
14617 * jka-compr.el (jka-compr-verbose): Move from here...
14618 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
14619 Add missing :version tag.
14620 * info.el: No need to require jka-compr when compiling.
bd23ebc0 14621
478615cc
LMI
146222011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14623
7b41decb
LMI
14624 * net/gnutls.el (gnutls-algorithm-priority): New variable.
14625 (gnutls-negotiate): Use it.
14626
dbc44fcd
LMI
14627 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14628
06789f97
LMI
14629 * info.el (Info-beginning-of-buffer): New command.
14630 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
14631 announcing `b' as the key (bug#8325).
ab896c37 14632 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 14633
c39da690
LMI
14634 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14635
3aa5f34b
LMI
14636 * international/mule-cmds.el
14637 (describe-specified-language-support): Make the error message
14638 clearer (bug#8905).
14639
4bf0979f
LMI
14640 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
14641
478615cc
LMI
14642 * isearch.el (isearch-barrier): Add a doc string, since it's
14643 mentioned in a function doc string (bug#8678).
14644
75c68aa1
MR
146452011-07-15 Martin Rudalics <rudalics@gmx.at>
14646
14647 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
14648 buffer argument (Bug#9083) and self-identifying label argument.
14649
a7c33da2
GM
146502011-07-15 Glenn Morris <rgm@gnu.org>
14651
14652 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
14653
2f5c6024
LMI
146542011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14655
14656 * man.el (Man-fontify-manpage): Fix message when formatting the
14657 man page (bug#7929).
14658
0bb23927 146592011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
14660
14661 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
14662 argument LRM; if non-nil, append an invisible LRM character to the
14663 buffer name.
14664 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
14665 last argument non-nil, when formatting buffer names.
0bb23927
EZ
14666 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
14667 paragraph direction.
cce4b0a7 14668
621ef9ab
LMI
146692011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14670
d1583c48
LMI
14671 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
14672 the man page name (bug#7929).
14673
6a57fb5f
LMI
14674 * image.el (put-image): Mention the `put-image' overlay property
14675 (bug#7834).
14676
d7956b14
LMI
14677 * scroll-bar.el (set-scroll-bar-mode): Mention that
14678 `scroll-bar-mode' lists the values (bug#7772).
14679
5b2d4a66
LMI
14680 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
14681 command (bug#7729).
14682
7509a874
LMI
14683 * rect.el (apply-on-rectangle): Return the point after the last
14684 operation.
14685 (string-rectangle): Go to the point after the last operation
14686 (bug#7522).
14687
4fe74b19
LMI
14688 * printing.el (pr-toggle-region): Clarify the documentation
14689 slightly (bug#7493).
14690
b796c9b7
SM
14691 * time.el (display-time-update):
14692 Allow `display-time-mail-function' to return nil (bug#7158).
14693 Fix suggested by Detlev Zundel.
ab283561 14694
fc233c9d
LMI
14695 * vc/diff.el (diff): Clarify the order the file names are read
14696 (bug#7111).
14697
43f5740b
LMI
14698 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
14699 the doc string (bug#7015).
14700
f2182a76
LMI
14701 * font-lock.el (font-lock-maximum-decoration): Mention what
14702 numeric levels mean (bug#6935).
14703
621ef9ab
LMI
14704 * startup.el (initial-buffer-choice): Don't mention the `none'
14705 selection, which is against policy.
14706
adc47434
MR
147072011-07-14 Martin Rudalics <rudalics@gmx.at>
14708
b796c9b7
SM
14709 * window.el (display-buffer-normalize-special):
14710 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 14711
7e5bfb8f
EZ
147122011-07-14 Eli Zaretskii <eliz@gnu.org>
14713
14714 * subr.el (version<, version<=, version=): Mention "-CVS" and
14715 "-12345" alpha version numbers.
14716
27fa387a
CY
147172011-07-14 Chong Yidong <cyd@stupidchicken.com>
14718
14719 * bindings.el: Add advertised binding for set-mark-command
14720 (Bug#5772).
14721
8bdfa064
CY
147222011-07-14 Chong Yidong <cyd@stupidchicken.com>
14723
14724 * bindings.el (mode-line-other-buffer):
14725 * bookmark.el (bookmark-bmenu-2-window):
14726 * bs.el (bs-cycle-next, bs-cycle-previous):
14727 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
14728 switch-to-buffer.
14729
14730 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 14731 Delete.
8bdfa064 14732
5eba16a3
JB
147332011-07-14 Juanma Barranquero <lekktu@gmail.com>
14734
14735 * follow.el (follow-debug-message, follow-redisplay):
14736 * jka-cmpr-hook.el (with-auto-compression-mode):
14737 Fix typos in docstrings.
14738
15853710
LMI
147392011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14740
a28e4607
LMI
14741 * subr.el (with-silent-modifications): Clarify somewhat what the
14742 macro inhibits (bug#6525).
14743
15853710
LMI
14744 * simple.el (eval-expression): Note what it does if called
14745 interactively (bug#6495).
14746
bee0fcef
CY
147472011-07-13 Chong Yidong <cyd@stupidchicken.com>
14748
b796c9b7
SM
14749 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
14750 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
14751
14752 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14753 Remove switch-to-buffer.
14754
58274504
LMI
147552011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14756
bd2fcc8d
LMI
14757 * files.el (make-directory): Clarify that an error will be raised
14758 if there's an error (bug#6397).
14759
0f04b32c
LMI
14760 * startup.el (initial-buffer-choice): Add `none' as a choice
14761 (bug#6234).
14762
465c5fc8
LMI
14763 * subr.el (add-hook): Clarify section about buffer-local hooks
14764 (bug#6218).
14765
58274504
LMI
14766 * dired.el (dired-flagged): Clarify doc string (bug#6117).
14767
bead9a43
JB
147682011-07-13 Juanma Barranquero <lekktu@gmail.com>
14769
14770 * tabify.el (untabify): Preserve the current column so that point
14771 doesn't move (bug#6032).
14772
3af98a7b
LMI
147732011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14774
b796c9b7
SM
14775 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
14776 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 14777
6240145a
GM
147782011-07-13 Glenn Morris <rgm@gnu.org>
14779
14780 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
14781 (dired-insert-directory): Give a message the first time
14782 if ls is found not to support --dired.
14783
1d8c2ccc
LMI
147842011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14785
14786 * simple.el (toggle-truncate-lines): Clarify what is toggled
14787 (bug#5580). Text by Drew Adams.
14788
5fc4038e
CY
147892011-07-13 Chong Yidong <cyd@stupidchicken.com>
14790
14791 * simple.el (blink-matching-open): Make the error message from the
14792 last change less verbose.
14793
bf6012e5
DN
147942011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
14795
14796 * font-lock.el (font-lock-comment-face): Use the high contrast
14797 "yellow" color for font-lock-comment-face on low color terminals
14798 using a dark background color (bug#4221).
14799
343c3b5a
LMI
148002011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14801
7e9505c5
LMI
14802 * dired.el (dired-insert-set-properties): Make the doc string
14803 reflect what it does now (bug#5325).
14804
c26fdcf5
LMI
14805 * simple.el (blink-matching-open): Say that we were unable to find
14806 the match within the limit, if we're limited (bug#5122).
14807
bb388cc5
LMI
14808 * international/mule-cmds.el (prefer-coding-system): Add an
14809 example (bug#4869).
14810
343c3b5a
LMI
14811 * progmodes/etags.el (tags-search): Document `file-list-form'
14812 (bug#4731).
14813
2a517d45
LM
148142011-07-13 Lawrence Mitchell <wence@gmx.li>
14815
14816 * net/browse-url.el (browse-url-default-browser)
14817 (browse-url-browser-function): Make the default browser choice a
14818 bit more logical (bug#4300). Also clean up the doc string.
14819
b6c78ef2
JB
148202011-07-13 Juanma Barranquero <lekktu@gmail.com>
14821
14822 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
14823 binary endings (bug#4440).
14824
1c4dd947
LMI
148252011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14826
a2014063
LMI
14827 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
14828 which can be pretty annoying (bug#8971).
14829
9c9c2d88
LMI
14830 * jka-compr.el (jka-compr-verbose): New variable, and use
14831 throughout (bug#8971).
14832
1c4dd947
LMI
14833 * info.el (Info-find-file): Fall back on the installation
14834 directory if we can't find the info node anywhere else.
14835
a1c9f41b
SO
148362011-07-13 Sergei Organov <osv@javad.com> (tiny change)
14837
14838 * vc/vc.el (vc-revert-file):
14839 Don't set file time-stamp in the past. (Bug#5181)
14840
536f3d36
LMI
148412011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14842
7152b011
LMI
14843 * files.el (after-find-file): Give a better error message when
14844 trying to find a symlink that points to a file that doesn't exist
14845 (bug#4398).
14846
536f3d36
LMI
14847 * progmodes/cc-vars.el: Remove (probably) misleading comment
14848 (bug#4396).
14849
460c0fba
JB
148502011-07-12 Johan Bockgård <bojohan@gnu.org>
14851
14852 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
14853
7a6bda45
CY
148542011-07-12 Chong Yidong <cyd@stupidchicken.com>
14855
14856 * mouse-sel.el: Hack restoring functionality, while keeping
14857 compatibility with 2010-07-03 changes to mouse selection.
14858 (mouse-sel-primary-overlay): New var.
14859 (mouse-sel-selection-alist): Use it.
14860 (mouse-sel-mode): Doc fix; remove points that are default features
14861 of mouse.el.
14862
c79598ef
JB
148632011-07-12 Johan Bockgård <bojohan@gnu.org>
14864
14865 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14866 Fix previous fix (bug#2490).
14867
ff8be6ef
RW
148682011-07-12 Roland Winkler <winkler@gnu.org>
14869
b796c9b7
SM
14870 * textmodes/bibtex.el (bibtex-initialize):
14871 Use pop-to-buffer-same-window.
ff8be6ef
RW
14872 (bibtex-search-entries): Fix interactive call.
14873
296ba3ee
LMI
148742011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14875
f5242a02 14876 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
14877 Fontise bytecomp Error lines more correctly (bug#2490).
14878 Fix suggested by Johan Bockgård.
f5242a02 14879
296ba3ee
LMI
14880 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
14881
14882 * dired-x.el (dired-guess-default): Use `delete-dups'.
14883
f69fd0d2
CY
148842011-07-12 Chong Yidong <cyd@stupidchicken.com>
14885
14886 * dired.el (dired-mark-prompt):
14887 * dired-aux.el (dired-read-shell-command): Doc fix.
14888
eab5dc07
LMI
148892011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14890
b796c9b7
SM
14891 * mail/sendmail.el (sendmail-query-once):
14892 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
14893 emacs -Q.
14894
14895 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14896
eab5dc07
LMI
14897 * cus-edit.el (custom-file): Take an optional no-error variable.
14898 (customize-save-variable): Set the variable, and give a warning if
14899 running under "emacs -q".
14900
a1e65d42
JB
149012011-07-11 Juanma Barranquero <lekktu@gmail.com>
14902
14903 * loadhist.el (unload-feature-special-hooks):
14904 Add `auto-coding-functions', `fill-nobreak-predicate' and
14905 `find-directory-functions' (bug#5327).
14906
1d52da10
LMI
149072011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14908
be958f1d
LMI
14909 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
14910
5bedb26c
LMI
14911 * cus-edit.el (custom-guess-name-alist): -alist variables should
14912 use the `alist' type (bug#3120). Suggested by Drew Adams.
14913
1d52da10
LMI
14914 * printing.el: Add documentation to all the `pr-toggle-' commands.
14915
cd394be1 149162011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
14917
14918 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
14919 backends where it makes sense (bug#2623).
14920
dcc88d8a
LMI
149212011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14922
c3de9feb
LMI
14923 * dired-x.el (dired-guess-default): Remove duplicate shell command
14924 entries (bug#2028).
8a93078b 14925 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 14926 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 14927
dcc88d8a
LMI
14928 * subr.el (remove-duplicates): New conveniency function.
14929
505e3645
LMI
149302011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14931
14932 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
14933 (bug#1526).
14934
149352011-07-10 Martin Rudalics <rudalics@gmx.at>
14936
14937 * window.el (display-buffer-normalize-default): Don't invert
14938 meaning of even-window-heights. Reported by Eli Zaretskii
14939 <eliz@gnu.org>.
14940
455e4fa1
BR
149412011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
14942
14943 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
14944
8e0bc3e9
CY
149452011-07-10 Chong Yidong <cyd@stupidchicken.com>
14946
14947 * window.el (display-buffer): Fix arguments to
14948 display-buffer-reuse-window in last change.
14949
fa7c3228
CY
14950 * faces.el (link): Use a less saturated blue on light backgrounds.
14951
14952 * startup.el (fancy-startup-text, fancy-about-text)
14953 (fancy-startup-tail): Use font-lock faces, for background safety.
14954
c0a7f300
BN
149552011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
14956
b796c9b7
SM
14957 * emulation/viper-cmd.el (viper-change-state-to-vi):
14958 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 14959
4dc2a129
MR
149602011-07-09 Martin Rudalics <rudalics@gmx.at>
14961
14962 * window.el (display-buffer-default-specifiers): Remove.
14963 (display-buffer-macro-specifiers): Remove default specifiers.
14964 (display-buffer-alist): Default to nil.
b796c9b7 14965 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
14966 (display-buffer-pop-up-window): Allow splitting internal
14967 windows. Check whether a live window was created.
14968 (display-buffer-other-window-means-other-frame)
14969 (display-buffer-normalize-arguments): Rename to
14970 display-buffer-normalize-argument and rewrite. Set the
14971 other-window specifier.
14972 (display-buffer-normalize-special): New function.
14973 (display-buffer-normalize-options): Rename to
14974 display-buffer-normalize-default and rewrite.
14975 (display-buffer-normalize-options-inhibit): Remove.
14976 (display-buffer-normalize-specifiers): Rewrite.
14977 (display-buffer): Process other-window specifier and call
14978 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
14979 more faithfully.
b796c9b7 14980 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 14981 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
14982 (display-buffer-in-window, display-buffer-alist-set):
14983 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
14984 <tassilo@member.fsf.org>.
14985
2d43b8c9
LL
149862011-07-09 Leo Liu <sdl.web@gmail.com>
14987
14988 * register.el (insert-register): Restore accidental change on
14989 2011-06-26. (Bug#9028)
14990
7f9b7c53
GM
149912011-07-09 Glenn Morris <rgm@gnu.org>
14992
14993 * subr.el (remq): Handle the empty list. (Bug#9024)
14994
f042cfd8
AS
149952011-07-08 Andreas Schwab <schwab@linux-m68k.org>
14996
14997 * mail/sendmail.el (send-mail-function): No longer delay custom
14998 initialization.
14999 * custom.el (custom-initialize-delay): Doc fix.
15000
856b2f11
SM
150012011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15002
15003 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15004
afae1d68
MA
150052011-07-08 Michael Albinus <michael.albinus@gmx.de>
15006
15007 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15008 human-friendly prompt.
15009
0757af94
SM
150102011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15011
15012 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15013 provided by a particular plugin.
15014
d760b731
LMI
150152011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15016
15017 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15018 save customizations (with "emacs -Q"), just set the variable
15019 instead of erroring out.
15020
15021 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15022
cd79ce90
JL
150232011-07-08 Juri Linkov <juri@jurta.org>
15024
15025 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15026 (archive-zip-update-case): Use 7z if found by `executable-find'.
15027 The order of searching the available programs is the same as in
15028 `archive-zip-extract' (bug#8968).
15029
14cc04aa
CY
150302011-07-07 Chong Yidong <cyd@stupidchicken.com>
15031
15032 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15033 (menu-bar-options-menu): Tweak descriptions.
15034
0a1848ec
LMI
150352011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15036
15037 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15038 menu items into verb phrases (bug#1421). Also refill to fit under
15039 80 columns.
15040
f5bd0689
CY
150412011-07-07 Chong Yidong <cyd@stupidchicken.com>
15042
538e85c6
CY
15043 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15044 (Info-read-node-name): Doc fix (Bug#1084).
15045
f5bd0689
CY
15046 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15047 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15048 (end-of-sexp, beginning-of-sexp)
15049 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15050 (forward-symbol, forward-same-syntax, word-at-point)
15051 (sentence-at-point): Doc fix (Bug#1144).
15052
56ec5115
LMI
150532011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15054
f3f8e37f
LMI
15055 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15056 should cover it (bug#1281).
15057
0757af94 15058 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 15059
e9fce1ac 15060 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
15061 negotiation fails, then possibly try again with a non-encrypted
15062 connection (bug#9017).
15063
56ec5115
LMI
15064 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15065 be used.
15066
c2f9aec8
RS
150672011-07-07 Richard Stallman <rms@gnu.org>
15068
15069 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15070 property, and handle its changed format.
15071 Look for the correct line number.
15072 Use file's line contents (but not past first =) to find
15073 correct line in message.
15074
ef7b981d 150752011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
15076
15077 * international/characters.el (build-unicode-category-table):
15078 Delete it.
0757af94 15079 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 15080
0757af94 15081 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
15082 to src/chartab.c.
15083 (get-char-code-property): Call unicode-property-table-internal to
15084 load a file. Call get-unicode-property-internal where necessary.
15085 (put-char-code-property): Call unicode-property-table-internal to
15086 load a file. Call put-unicode-property-internal where necessary.
15087 put-unicode-property-internal where necessary.
0757af94
SM
15088 (char-code-property-description):
15089 Call unicode-property-table-internal to load a file.
c805dec0
KH
15090
15091 * international/charprop.el:
15092 * international/uni-bidi.el:
15093 * international/uni-category.el:
15094 * international/uni-combining.el:
15095 * international/uni-comment.el:
15096 * international/uni-decimal.el:
15097 * international/uni-decomposition.el:
15098 * international/uni-digit.el:
15099 * international/uni-lowercase.el:
15100 * international/uni-mirrored.el:
15101 * international/uni-name.el:
15102 * international/uni-numeric.el:
15103 * international/uni-old-name.el:
15104 * international/uni-titlecase.el:
15105 * international/uni-uppercase.el: Regenerate.
15106
15107 * loadup.el: Load international/charprop.el before
15108 international/characters.
15109
e14b388a
CY
151102011-07-07 Chong Yidong <cyd@stupidchicken.com>
15111
15112 * window.el (next-buffer, previous-buffer): Signal an error if
15113 called from a minibuffer window.
15114
15115 * bindings.el: Revert 2011-07-04 change.
15116
354cf0ba
RS
151172011-07-06 Richard Stallman <rms@gnu.org>
15118
15119 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15120 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15121 Treat markers like ints.
15122 (rmail-mime-entity): Doc fix.
15123
a48868a7
LMI
151242011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15125
4906cd3d
LMI
15126 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15127 defcustom again for backwards compatibility.
15128
e0457abe
LMI
15129 * simple.el (shell-command-on-region): Fill.
15130
d67f7e1f
LMI
15131 * dired-aux.el (dired-kill-line): Add a doc string.
15132
fe204702
LMI
15133 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15134 to "\\sw\\|\\s_" (bug#358).
15135
a48868a7
LMI
15136 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15137 (dired-unmark-backward): Ditto.
15138 (dired-flag-backup-files): Ditto.
15139
15140 * dired-x.el (dired-mark-sexp): Ditto.
15141
aa8a705c
RS
151422011-07-06 Richard Stallman <rms@gnu.org>
15143
15144 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15145 (rmail-mime-entity): New arg TRUNCATED.
15146 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15147 New functions.
15148 (rmail-mime-save): Warn if entity is truncated.
15149 (rmail-mime-toggle-hidden): Likewise, for showing.
15150 (rmail-mime-process-multipart): Record when an entity is truncated.
15151
a9a936b9
RS
15152 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15153 if ENTITY is a string.
15154
1f2b92cb
LMI
151552011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15156
f4f73198 15157 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
15158 of faces when `M-C-x'-ing their definitions (bug#8378).
15159 Also clean up the code slightly.
f4f73198 15160
12b16734 15161 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 15162 because that makes the colors go away.
12b16734 15163
f0691d22
LMI
15164 * mail/sendmail.el (send-mail-function): Change the default to
15165 `sendmail-query-once'.
9e87df06 15166 (sendmail-query-once): Add an autoload cookie.
f0691d22 15167
1f2b92cb
LMI
15168 * net/network-stream.el (network-stream-open-starttls): Try using
15169 a plain connection even if the server offered STARTTLS, and we
15170 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15171 capability. This should make smtpmail.el work in slightly more
15172 configurations.
15173
1cdd2a1b
MA
151742011-07-06 Michael Albinus <michael.albinus@gmx.de>
15175
15176 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15177 New defun.
15178 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15179
fbcc67e2
MM
151802011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15181
15182 * progmodes/sql.el: Version 3.0
0757af94 15183 (sql-product-alist): Add product :completion-object,
fbcc67e2 15184 :completion-column, and :statement attributes.
0757af94 15185 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 15186 (sql-mode-syntax-table): Mark all punctuation.
0757af94 15187 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
15188 ansi keywords.
15189 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 15190 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
15191 (sql-oracle-show-reserved-words): New function for development.
15192 (sql-product-font-lock): Simplify for source code buffers.
15193 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15194 New functions.
15195 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
15196 (sql-mode-map): Add statement movement functions.
15197 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15198 New variable.
fbcc67e2
MM
15199 (sql-statement-regexp, sql-beginning-of-statement)
15200 (sql-end-of-statement, sql-signum): New functions.
0757af94 15201 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
15202 (sql-show-sqli-buffer): Bug fix.
15203 (sql-interactive-mode): Store connection data as buffer local.
0757af94 15204 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
15205 with sql-interactive-mode.
15206 (sql-save-connection): Save buffer local settings.
0757af94 15207 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
15208 (sql-product-interactive): Bug fix.
15209 (sql-preoutput-hold): New variable.
15210 (sql-interactive-remove-continuation-prompt): Bug fixes.
15211 (sql-debug-redirect): New variable.
15212 (sql-str-literal): New function.
15213 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 15214 Redesign.
fbcc67e2
MM
15215 (sql-oracle-save-settings, sql-oracle-restore-settings)
15216 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15217 (sql-completion-object, sql-completion-column)
15218 (sql-completion-sqlbuf): New variables.
15219 (sql-build-completions-1, sql-build-completions)
15220 (sql-try-completion): New functions.
15221 (sql-read-table-name): Use them.
15222 (sql-contains-names): New buffer local variable.
15223 (sql-list-all, sql-list-table): Use it.
15224 (sql-oracle-completion-types): New variable.
15225 (sql-oracle-completion-object, sql-sqlite-completion-object)
15226 (sql-postgres-completion-object): New functions.
15227
d4eaeab1
GM
152282011-07-06 Glenn Morris <rgm@gnu.org>
15229
15230 * window.el (pop-to-buffer): Doc fix.
15231
322b7dab 152322011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
15233
15234 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15235
322b7dab 152362011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 15237
322b7dab 15238 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 15239
322b7dab 15240 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 15241
605dd5bf
CY
152422011-07-05 Chong Yidong <cyd@stupidchicken.com>
15243
15244 * button.el (button): Inherit from link face. Suggested by Dan
15245 Nicolaescu.
15246
7dbfa719
SM
152472011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15248
3db614b0
SM
15249 * progmodes/gdb-mi.el: Fit in 80 columns.
15250 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15251 switch-to-buffer.
15252
7dbfa719
SM
15253 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15254 if imenu is simply not configured (bug#8941).
15255
919d884a
KM
152562011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15257
15258 * allout.el (allout-post-undo-hook): New allout outline-change
15259 event hook to signal undo activity.
15260 (allout-post-command-business): Run allout-post-undo-hook if an
15261 undo just occurred.
7dbfa719
SM
15262 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15263 * allout-widgets.el (allout-widgets-after-undo-function):
15264 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
15265 in the vicinity of an undo.
15266 (allout-widgets-mode): Include allout-widgets-after-undo-function
15267 on the new allout-post-undo-hook.
15268
450a0f09
SM
152692011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15270
15271 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15272 Let define-derived-mode define it.
15273 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15274 cycles of abbrev-table inheritance (bug#8998).
15275
2de69e00
RW
152762011-07-05 Roland Winkler <winkler@gnu.org>
15277
15278 * textmodes/bibtex.el: Add support for biblatex.
15279 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15280 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15281 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15282 (bibtex-entry-alist, bibtex-field-alist): New variables.
15283 (bibtex-entry-field-alist): Obsolete alias for
15284 bibtex-BibTeX-entry-alist.
15285 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15286 (bibtex-set-dialect): New command.
15287 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
15288 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15289 Bind via bibtex-set-dialect.
2de69e00
RW
15290 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15291 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15292 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15293 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15294 Define via bibtex-set-dialect.
450a0f09
SM
15295 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15296 Obey bibtex-no-opt-remove-re.
2de69e00
RW
15297 (bibtex-vec-push, bibtex-vec-incr): New functions.
15298 (bibtex-format-entry, bibtex-field-list)
15299 (bibtex-print-help-message, bibtex-validate)
15300 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15301
2dcdbdd9
SM
153022011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15303
15304 * progmodes/compile.el (compilation-goto-locus):
15305 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15306 * bs.el (bs-cycle-next, bs-cycle-previous):
15307 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15308 * bindings.el (mode-line-other-buffer):
15309 * autoinsert.el (auto-insert):
15310 * arc-mode.el (archive-extract):
15311 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15312
b27640fe
JB
153132011-07-05 Juanma Barranquero <lekktu@gmail.com>
15314
15315 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15316 Fix check of `emacs-lock-unlockable-modes'.
15317 Coerce true values of `emacs-lock--try-unlocking' to t.
15318
53bbe3ad
JB
153192011-07-05 Juanma Barranquero <lekktu@gmail.com>
15320
15321 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15322 * emacs-lock.el: New file.
15323
1d3cdbc7
JD
153242011-07-05 Julien Danjou <julien@danjou.info>
15325
15326 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15327 than `boundp' to check if face is set.
15328
9173deec
JB
153292011-07-05 Juanma Barranquero <lekktu@gmail.com>
15330
15331 * register.el (registerv-make):
15332 * window.el (window-min-height): Fix typos in docstrings.
15333
869795d6
JD
153342011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15335
9173deec 15336 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
15337 Update doc string.
15338
b768cdcd
JB
153392011-07-04 Juanma Barranquero <lekktu@gmail.com>
15340
15341 * server.el (server-execute): Catch quit and call
15342 `server-return-error' to pass the error back to emacsclient and
15343 close the connection (bug#8942).
15344
13aa217b
KM
153452011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15346
15347 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15348 insecure exception for current topic. Also note that auto-saves
15349 are handled differently.
15350
5d3385a0 15351 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
15352 State variables for tracking auto-save inhibition situation.
15353
15354 (allout-write-contents-hook-handler): Rename from
15355 'allout-write-file-hook-handler', and describe how it depends on
15356 write-contents-functions sensitivity to non-nil value to prevent
15357 file write.
15358
15359 (allout-auto-save-hook-handler): Remove. auto-save does not check
15360 this in individual buffers, only in the starting buffer, so this
15361 is not the right way for us to inhibit auto-save in a buffer
15362 according to its condition.
15363
15364 (allout-mode): Use new allout-write-contents-hook-handler, and
15365 only with write-contents-functions. Remove auto-save provisions -
15366 they're implemented elsewhere.
15367
15368 (allout-before-change-handler): If undo is in progress, note that
15369 for attention of allout-post-command-business.
15370
15371 (allout-post-command-business): If the command we're following was
15372 an undo, check for change in the status of encrypted items and
15373 adjust auto-save inhibitions accordingly.
15374
15375 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15376 according to whether there are or aren't any plain-text topics
15377 pending encryption.
15378
2dcdbdd9 15379 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
15380 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15381 if there are plain-text topics pending encryption.
13aa217b
KM
15382
15383 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15384 buffer-saved-size and some allout state to not inhibit auto-saves
15385 if there are no longer any plain-text topics pending encryption.
15386
0757af94
SM
15387 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15388 No longer provide for exemption of the current topic.
13aa217b 15389
ac89b32c
JL
153902011-07-04 Juri Linkov <juri@jurta.org>
15391
15392 Add 7z operations to delete and save changed members (bug#8968).
15393 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15394 New defcustoms.
15395 (archive-7z-write-file-member): New function.
15396 (archive-7z-summarize): Fix the number of dashes in the
15397 listing output.
15398
8fa39615
SM
153992011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15400
15401 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15402 (bug#8958).
15403
2f11b3f1
CY
154042011-07-04 Chong Yidong <cyd@stupidchicken.com>
15405
d66fef2b
CY
15406 * bindings.el: Ignore next-buffer and previous-buffer in
15407 minibuffer-local-map.
15408
2f11b3f1
CY
15409 * font-lock.el (font-lock-builtin-face): Change light background
15410 color to dark slate blue (Bug#6693).
15411
f932a347
WD
154122011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15413
15414 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15415
c8af70e1
SM
154162011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15417
15418 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15419 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15420 Add switch-to-buffer.
15421
f158badc
LMI
154222011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15423
15424 * isearch.el (isearch-search-fun-function): Clarify further the
15425 meaning of the function returned.
15426
6d95bd46
MA
154272011-07-04 Michael Albinus <michael.albinus@gmx.de>
15428
15429 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15430
15431 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15432 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15433 Use it.
15434 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15435 `tramp-default-remote-path' does not exist.
15436 (tramp-send-command-and-read): New optional argument NOERROR.
15437 (tramp-open-connection-setup-interactive-shell)
15438 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15439 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15440 (tramp-process-sentinel): Flush also process' connection property.
15441 (tramp-sh-handle-start-file-process): Do not set process
15442 sentinel. It is done now ...
15443 (tramp-maybe-open-connection): ... here. (Bug#8929)
15444
909e6b67
MK
154452011-07-04 MON KEY <monkey@sandpframing.com>
15446
15447 * play/animate.el (animate-string): Doc fixes and allow changing
15448 the buffer name (bug#5417).
15449
154502011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15451
c8af70e1 15452 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 15453
f34755dc
PE
154542011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15455
396cec72
PE
15456 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15457 This is simpler and helps future-proof the code.
15458 (timer-until): Use time-subtract and float-time.
08235028 15459 (timer--time-less-p): Use time-less-p.
f34755dc 15460
56e6cc31
JB
154612011-07-04 Juanma Barranquero <lekktu@gmail.com>
15462
3abb79e5
JB
15463 * type-break.el (timep): Use the value of `float-time' to avoid a
15464 byte-compiler warning.
15465
56e6cc31
JB
15466 * server.el (server-eval-and-print): Return any result, even nil.
15467
7b9430b4
PE
154682011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15469
15470 * type-break.el: Accept time formats that the builtins accept.
15471 (timep, type-break-time-difference): Accept any format that
15472 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15473 This is simpler and helps future-proof the code.
15474 (type-break-time-difference): Round rather than ignoring
15475 subseconds components.
15476
3034e9e7
LMI
154772011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15478
15479 * info.el (Info-apropos-matches): Make non-interactive, since it
15480 doesn't seem to do anything useful as a command (bug#8829).
15481
1485f4c0
CY
154822011-07-03 Chong Yidong <cyd@stupidchicken.com>
15483
15484 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 15485 Move from faces.el.
1485f4c0
CY
15486 (frame-default-terminal-background): New function.
15487
15488 * custom.el (custom-push-theme): Don't record faces in `changed'
15489 theme; this doesn't work correctly for per-frame face settings.
15490 (disable-theme): Use face-set-after-frame-default to reset faces.
15491 (custom--frame-color-default): New function.
15492
9fa3dd45
LMI
154932011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15494
c8af70e1 15495 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
15496 (bug#8769).
15497
6cbbc20c
KR
154982011-03-29 Kevin Ryde <user42@zip.com.au>
15499
15500 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15501 `perl-Test2' extend to match possible "fail #N" rep count
15502 (bug#8377).
15503
c7f98048
LMI
155042011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15505
65676592
LMI
15506 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15507 `smtpmail-via-smtp' now returns the error instead of nil.
15508
c7f98048
LMI
15509 * isearch.el (isearch-search-fun-function): Clarify the doc string
15510 (bug#8101).
15511
56e6cc31 155122011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
15513
15514 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15515 unnecessary spaces (bug#8987).
15516
2b216704
LMI
155172011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15518
15519 * net/network-stream.el (open-network-stream): Use the
15520 :end-of-capability command thoughout.
15521
155222011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15523
15524 * net/network-stream.el (open-network-stream): Add the
15525 :end-of-capability command parameter, used by pop3.el.
15526
36adf6ce
LMI
155272011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15528
1ca0da0e
LMI
15529 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15530
fc00f69c
LMI
15531 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15532 for list)" (bug#6475).
15533
28fd8759 15534 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 15535 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
15536 an error (bug#6297).
15537
0dd8b6da
LMI
15538 * man.el (Man-reference-regexp): Allow matching possible
15539 word-wrapped references (bug#6289).
15540
ce1438d6
LMI
15541 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15542 for consistency with the other vc buffers (bug#6197).
15543 (vc-checkin): Ditto.
15544
15545 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15546
36adf6ce
LMI
15547 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15548
e83cc1f7
LMI
155492011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15550
8a20ca4c
LMI
15551 * custom.el (defcustom): Clarify that :set is only used in the
15552 Customize user interface (bug#6089).
15553
83319045
LMI
15554 * progmodes/flymake.el (flymake-mode): If the buffer isn't
15555 associated with a file, refuse to run instead of erroring out
15556 (bug#6084).
15557
a8392169
LMI
15558 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15559 the doc string, since it appears that using `fill-column' always
15560 controls the width (bug#7845).
15561
e83cc1f7
LMI
15562 * simple.el (shell-command-on-region): Say where the error output
15563 went if `shell-command-default-error-buffer' is set (bug#6857).
15564
e47ca23b
KM
155652011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
15566
15567 * allout.el (allout-yank-processing): Adjust cursor position for
15568 backwards-deleted space.
15569
15570 (allout-rebullet-heading): Register changes with
15571 allout-exposure-changed-hook, so the modified topic is properly
15572 decorated.
15573
5cf56143
LMI
155742011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15575
08549772
LMI
15576 * minibuffer.el (completion-in-region): Document PREDICATE
15577 (bug#7136).
15578
48e96771
LMI
15579 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15580 of keyword/argument pairs (bug#6904).
15581
c8af70e1
SM
15582 * replace.el (multi-occur):
15583 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 15584
e17d05e2
LMI
155852011-07-02 Drew Adams <drew.adams@oracle.com>
15586
15587 * dired.el (dired-mark-if): Make the message about whether it's
15588 marking or unmarking clearer (bug#8523).
15589
063b0e45
LMI
155902011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15591
15592 * disp-table.el (display-table-print-array): New function.
15593 (describe-display-table): Use it to print the vectors more pretty
15594 (Bug#8859).
15595
28545e04
MR
155962011-07-02 Martin Rudalics <rudalics@gmx.at>
15597
15598 * window.el (window-state-get-1): Don't assign clone numbers.
15599 Add clone-of item to list of window parameters.
15600 (window-state-put-2): Don't process clone numbers.
15601 (display-buffer-alist): Fix doc-string.
15602
3349e122
SM
156032011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
15604
15605 * subr.el (remq): Don't allocate if it's not needed.
15606 (keymap--menu-item-binding, keymap--menu-item-with-binding)
15607 (keymap--merge-bindings): New functions.
15608 (keymap-canonicalize): Use them to refine the canonicalization.
15609 * minibuffer.el (minibuffer-local-completion-map)
15610 (minibuffer-local-must-match-map): Move initialization from C.
15611 (minibuffer-local-filename-completion-map): Move initialization from C;
15612 don't inherit from anything here.
15613 (minibuffer-local-filename-must-match-map): Make obsolete.
15614 (completing-read-default): Use make-composed-keymap to combine
15615 minibuffer-local-filename-completion-map with either
15616 minibuffer-local-must-match-map or
15617 minibuffer-local-filename-completion-map.
15618
d224ac83
GM
156192011-07-01 Glenn Morris <rgm@gnu.org>
15620
3de63bf8
GM
15621 * type-break.el (type-break-time-sum): Use dolist.
15622
d224ac83
GM
15623 * textmodes/flyspell.el (flyspell-word-search-backward):
15624 Replace CL function.
15625
1a1e3f32
SM
156262011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15627
fe3f64d5
SM
15628 * mouse.el (mouse--strip-first-event): New function.
15629 (function-key-map): Use it to map fringe clicks to normal clicks
15630 by default.
15631
eb604e34
SM
15632 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15633 (vc-bzr-revision-completion-table): Add support for annotate and date.
15634
1a1e3f32
SM
15635 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15636 inherit from parent.
15637
5bd35902
LMI
156382011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15639
ace6c69c 15640 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 15641 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 15642
191e2bed
LMI
15643 * dired.el (dired-mode): Fix up the doc string as suggested by
15644 Drew Adams (bug#8817).
15645
5bd35902
LMI
15646 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
15647 cookie, since the manual says that it should be possible to add
15648 this function to `find-file-hook' (bug#8709).
15649
eee8207a
TZ
156502011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15651
15652 * progmodes/cfengine.el: Moved all cfengine3.el functionality
15653 here. Noted Ted Zlatanov as the maintainer.
15654 (cfengine-common-settings, cfengine-common-syntax): New functions
15655 to set up common things between `cfengine-mode' and
15656 `cfengine3-mode'.
15657 (cfengine3-mode): New mode.
15658 (cfengine3-defuns cfengine3-defuns-regex
15659 (cfengine3-class-selector-regex cfengine3-category-regex)
15660 (cfengine3-vartypes cfengine3-font-lock-keywords)
15661 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 15662 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 15663
36b148cf
MA
156642011-07-01 Michael Albinus <michael.albinus@gmx.de>
15665
15666 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
15667
15668 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
15669
0bf4ba9a
MR
156702011-07-01 Martin Rudalics <rudalics@gmx.at>
15671
15672 * window.el (same-window-buffer-names, same-window-regexps)
15673 (same-window-p, special-display-frame-alist)
15674 (special-display-popup-frame, special-display-function)
15675 (special-display-buffer-names, special-display-regexps)
15676 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
15677 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15678 (split-window-preferred-function, split-height-threshold)
15679 (split-width-threshold, even-window-heights)
15680 (display-buffer-mark-dedicated, window-splittable-p)
15681 (split-window-sensibly, window-safely-shrinkable-p):
15682 Un-obsolete.
15683 (display-buffer): Don't spread args with function specifier
15684 because special-display-popup-frame won't like it.
15685
35837f51
PE
156862011-07-01 Paul Eggert <eggert@cs.ucla.edu>
15687
d0672f86
PE
15688 Time-stamp simplifications and fixes.
15689 These improve accuracy slightly, and future-proof the code
15690 against some potential changes to current-time format.
15691
b9444d97
PE
15692 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
15693 by using time-since and float-time.
15694
0ef923dc
PE
15695 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
15696 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
15697 + NNN microseconds".
15698
2f81380d
PE
15699 * type-break.el (type-break-time-sum): Rewrite using time-add.
15700
845b5c3e
PE
15701 * play/hanoi.el (hanoi-current-time-float): Remove.
15702 All uses replaced by float-time.
15703
ee6f1be0
PE
15704 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
15705 This yields a more-accurate answer.
15706 (rng-time-to-float): Remove; no longer needed.
15707
fe955043
PE
15708 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
15709
5777162a
PE
15710 * calendar/timeclock.el (timeclock-seconds-to-time):
15711 Defalias to seconds-to-time, since they're the same thing.
15712
3103f8b6 15713 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 15714 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
15715 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
15716
0e61a35f
SM
157172011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15718
15719 * window.el (bury-buffer): Don't iconify the only frame.
15720 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
15721 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
15722
ddd63a1e
CY
157232011-07-01 Chong Yidong <cyd@stupidchicken.com>
15724
0e61a35f
SM
15725 * eshell/em-smart.el (eshell-smart-display-navigate-list):
15726 Add mouse-yank-primary.
ddd63a1e 15727
055f4923
TZ
157282011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15729
15730 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
15731
6a2fb145
SM
157322011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15733
15734 * emacs-lisp/find-func.el (find-library--load-name): New fun.
15735 (find-library-name): Use it to find relative load names when provided
15736 absolute file name (bug#8803).
15737
fd4983f2
LMI
157382011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15739
887d14ad
LMI
15740 * textmodes/flyspell.el (flyspell-word): Consider words that
15741 differ only in case as potential doublons (bug#5687).
15742
c53dc7fc
LMI
15743 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
15744 Remove two rather uninteresting debugging-like messages to make
15745 debbugs.el more silent.
15746
fd4983f2
LMI
15747 * comint.el (comint-password-prompt-regexp): Accept "Response" as
15748 a password-like phrase.
15749
7a71b18d 157502011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
15751
15752 * progmodes/cc-guess.el: New file.
15753
6a2fb145 15754 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
15755
15756 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
15757 derived from `c-basic-common-init'.
15758
15759 * progmodes/cc-mode.el (top-level): Require cc-guess.
15760 (c-basic-common-init): Use `cc-choose-style-for-mode'.
15761
1fa280a3
LM
157622011-06-30 Lawrence Mitchell <wence@gmx.li>
15763
15764 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
15765
e6597158
AM
157662011-06-30 Alan Mackenzie <acm@muc.de>
15767
1fa280a3
LM
15768 * progmodes/cc-engine.el (c-guess-continued-construct):
15769 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
15770 lock is disabled. Name this case as "CASE G".
15771
68ba37fb
KM
157722011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
15773
15774 * allout.el (allout-yank-processing): Fix injection of extra space
15775 between bullet and non-whitespace character in first topic when
15776 pasting, ensuring that the actual spacing in the pasted topic
15777 following the bullet char is preserved. This extra space was
15778 causing pasted encrypted topics to get a decrypted status even
15779 when the content was actually still encrypted. Now the decryption
15780 status from before the paste is preserved.
15781
15782 (allout-flag-region): Set all allout overlays so they evaporate
15783 when reduced to zero length (evanescent), to prevent overlay
15784 leakage.
15785
887a0b34
GM
157862011-06-30 Glenn Morris <rgm@gnu.org>
15787
94b9acce
GM
15788 * w32-fns.el (w32-charset-info-alist): Declare.
15789
1d9b46d4
GM
15790 * find-dired.el (find-grep-options): Simplify.
15791
cc232200
GM
15792 * term/ns-win.el (ns-set-resource): Declare.
15793
28e77c46
GM
15794 * ses.el (row, col): Declare dynamic variables honestly.
15795
887a0b34
GM
15796 * textmodes/reftex-parse.el (index-tags): Declare.
15797
658d8eb8
CY
157982011-06-30 Chong Yidong <cyd@stupidchicken.com>
15799
15800 * cus-edit.el (customize-push-and-save): New function.
15801
15802 * files.el (hack-local-variables-confirm): Use it.
15803
1fa280a3
LM
15804 * custom.el (load-theme): New arg NO-CONFIRM.
15805 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
15806 (custom-enabled-themes): Doc fix.
15807
15808 * cus-theme.el (customize-create-theme)
15809 (custom-theme-merge-theme): Callers to load-theme changed.
15810
bb617717
LMI
158112011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15812
d61bdd5d
LMI
15813 * thingatpt.el (thing-at-point-short-url-regexp): Require that
15814 short URLs have at least one dot in them (bug #7614).
15815
bb617717
LMI
15816 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
15817 nil, because using a pty is apparently too slow (bug #895).
15818
2f31f37a
LMI
158192011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
15820
15821 * mail/sendmail.el (sendmail-query-once): New function.
15822 (sendmail-query-once-function): New variable.
15823
3076b24e
GM
158242011-06-29 Glenn Morris <rgm@gnu.org>
15825
faf2a174
GM
15826 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
15827
3076b24e
GM
15828 * ses.el (top-level): Require cl when compiling.
15829 (ses-set-localvars): Fix error statement.
15830 Call it at compile time to silence a storm of warnings.
15831
5386012d
MR
158322011-06-29 Martin Rudalics <rudalics@gmx.at>
15833
15834 * window.el (normalize-live-buffer): Rename to
15835 window-normalize-buffer.
15836 (normalize-live-frame): Rename to window-normalize-frame.
15837 (normalize-any-window): Rename to window-normalize-any-window.
15838 (normalize-live-window): Rename to window-normalize-live-window.
15839 (make-window-atom): Rename to window-make-atom.
15840 (window-resize-reset): Rename to window--resize-reset.
15841 (window-resize-reset-1): Rename to window--resize-reset-1.
15842 (resize-mini-window): Rename to window--resize-mini-window.
15843 (resize-subwindows-skip-p): Rename to
15844 window--resize-subwindows-skip-p.
15845 (resize-subwindows-normal): Rename to
15846 window--resize-subwindows-normal.
15847 (resize-subwindows): Rename to window--resize-subwindows.
15848 (resize-other-windows): Rename to window--resize-siblings.
15849 (resize-this-window): Rename to window--resize-this-window.
15850 (resize-root-window): Rename to window--resize-root-window.
15851 (resize-root-window-vertically): Rename to
15852 window--resize-root-window-vertically.
15853 (normalize-buffer-to-display): Rename to
15854 window-normalize-buffer-to-display.
15855 (normalize-buffer-to-switch-to): Rename to
15856 window-normalize-buffer-to-switch-to.
15857 Correspondingly update all callers of the functions listed
15858 above.
15859 (display-buffer-alist, display-buffer-normalize-arguments)
15860 (display-buffer-normalize-options, display-buffer)
15861 (display-buffer-alist-set): Use "function" instead of
15862 "fun-with-args".
15863
1176868d
CY
158642011-06-28 Chong Yidong <cyd@stupidchicken.com>
15865
15866 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
15867 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
15868 debbugs.gnu.org. Mention acknowledgment email.
15869
20a7a65f
LMI
158702011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
15871
15872 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
15873 buffer multibyteness, since it shouldn't matter.
15874
5f45cca5
MR
158752011-06-28 Martin Rudalics <rudalics@gmx.at>
15876
15877 * window.el (display-buffer-in-side-window): Handle dedicated
15878 windows as in display-buffer-reuse-window.
15879 (display-buffer-normalize-alist): Use value of override
15880 specifier.
15881 (display-buffer-normalize-specifiers): Use value of
15882 other-window-means-other-frame specifier.
15883 (display-buffer-alist): Rewrite some texts in widgets.
15884 (display-buffer): Spread arguments when calling function
15885 specified by fun-with-args.
15886
ad85fe1f
DD
158872011-06-28 Deniz Dogan <deniz@dogan.se>
15888
1fa280a3
LM
15889 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15890 Unnest `let'.
da68c4c8 15891
ad85fe1f
DD
15892 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
15893 selectors (Bug#5732).
ec49bd31 15894 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 15895
a08cc025
JA
158962011-06-27 Jari Aalto <jari.aalto@cante.net>
15897
15898 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
15899 (eshell-ls-date-format): New defcustom.
15900 (eshell-ls-file): Use it.
15901
e2b551c5
SM
159022011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15903
15904 * help-fns.el (describe-variable): Fix message for terminal-local vars.
15905
8982b231
KY
159062011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
15907
15908 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
15909 (ange-ftp-make-tmp-name): New arg.
15910 (ange-ftp-file-local-copy): Use it.
15911
36c9fa27
J
159122011-06-27 Jambunathan K <kjambunathan@gmail.com>
15913
15914 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
15915 no-conversion (Bug#8870).
15916
d68443dc
MR
159172011-06-27 Martin Rudalics <rudalics@gmx.at>
15918
15919 * window.el (window-right, window-left, window-child)
15920 (window-child-count, window-last-child)
15921 (window-iso-combination-p, walk-window-tree-1)
15922 (window-atom-check-1, window-tree-1, delete-window)
15923 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
15924 new naming conventions - window-vchild, window-hchild,
15925 window-next and window-prev are now called window-top-child,
15926 window-left-child, window-next-sibling and window-prev-sibling
15927 respectively.
d615d6d2
MR
15928 (resize-window-reset): Rename to window-resize-reset.
15929 (resize-window-reset-1): Rename to window-resize-reset-1.
15930 (resize-window): Rename to window-resize.
15931 (window-min-height, window-min-width)
15932 (resize-mini-window, resize-this-window, resize-root-window)
15933 (resize-root-window-vertically, adjust-window-trailing-edge)
15934 (enlarge-window, shrink-window, maximize-window)
15935 (minimize-window, delete-window, quit-restore-window)
15936 (split-window, balance-windows, balance-windows-area-adjust)
15937 (balance-windows-area, window-state-put-2)
15938 (display-buffer-even-window-sizes, display-buffer-set-height)
15939 (display-buffer-set-width, set-window-text-height)
15940 (fit-window-to-buffer): Rename all "resize-window" prefixed
15941 calls to use the "window-resize" prefix convention.
15942 (display-buffer-alist): Fix symbol for label specifier.
15943 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
15944 corresponding specifier.
15945 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 15946
b6458526
VB
159472011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15948
15949 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
15950 convention.
15951 (ses-call-printer): Does not pass an empty string to formatter when the
15952 cell is empty to keep from barking printer Calc math-format-value.
15953
d31fd9ac
RS
159542011-06-27 Richard Stallman <rms@gnu.org>
15955
43d5bf84
RS
15956 * battery.el (battery-mode-line-limit): New variable.
15957 (battery-update): Handle it.
15958
d31fd9ac
RS
15959 * mail/rmailmm.el (rmail-mime-process-multipart):
15960 Handle truncated messages.
15961
819a6054
GM
159622011-06-27 Glenn Morris <rgm@gnu.org>
15963
15964 * progmodes/flymake.el (flymake-err-line-patterns):
15965 Allow for column numbers in the ant/javac pattern. (Bug#8866)
15966
cedc73f2
VB
159672011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15968
819a6054 15969 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
15970 (ses--clean-!, ses--clean-_): New functions.
15971 (ses-range): Add configurability of readout order, and conversion
15972 to Calc vector.
15973
5e5d49b6
VB
15974 * ses.el (ses-repair-cell-reference-all): New function.
15975 (ses-cell-symbol): Set macro as safe, so that it can be used in
15976 formulas.
15977
56e6cc31 15978 * ses.el: Update cycle detection algorithm.
90ca8b49 15979 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 15980 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
15981 (ses-set-localvars): New function.
15982 (ses-make-cell): Add property-list as a cell element.
15983 (ses-cell-property-get-fun, ses-cell-property-get)
15984 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
15985 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
15986 New functions.
90ca8b49
VB
15987 (ses-cell-property-set, ses-cell-property-pop)
15988 (ses-cell-property-get-handle): New macro.
15989 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
15990 New aliases, used for code readability.
15991 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
15992 cycle detection.
15993 (ses-self-reference-early-detection): New defcustom.
fac916bf 15994 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
15995 (ses-mode): Use ses-set-localvars.
15996 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
15997 before lauching the update processing.
15998 (ses-initialize-Dijkstra-attempt): New function.
15999 (ses-recalculate-cell): Update for cycle detection based on
16000 Dijkstra algorithm.
16001
2bb63e81
VB
16002 * ses.el: Fix commenting and indenting convention.
16003
c9d29fb8
SM
160042011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16005
16006 * bs.el (bs-cycle-next): Complete last change.
16007
d8e4b68b
JB
160082011-06-27 Drew Adams <drew.adams@oracle.com>
16009
16010 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16011
40098786
LMI
160122011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16013
c9d29fb8
SM
16014 * net/network-stream.el (network-stream-open-starttls):
16015 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
16016 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16017
40098786
LMI
16018 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16019 to binary to possibly avoid line encoding issues on Windows (among
16020 other things).
16021
468d09d4
LMI
160222011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16023
16024 * net/network-stream.el (open-network-stream): Return an :error
16025 saying what the problem was, if possible.
16026
16027 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16028 server.
16029
16030 * net/network-stream.el (network-stream-open-starttls): If we
16031 wanted to use STARTTLS, and the server offered it, but we weren't
16032 able to because we had no STARTTLS support, then close the connection.
16033 (open-network-stream): Return an :error element, if present.
16034
16f07dd7
CY
160352011-06-26 Chong Yidong <cyd@stupidchicken.com>
16036
88821ca0
CY
16037 * hl-line.el (hl-line-sticky-flag): Doc fix.
16038 (global-hl-line-sticky-flag): New option (Bug#8323).
16039 (global-hl-line-highlight): Obey it.
16040
16f07dd7
CY
16041 * vc/vc.el (vc-revert-show-diff): Default to t.
16042
6b5ccddf
KM
160432011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16044
c9d29fb8
SM
16045 * allout-widgets.el (allout-widgets-post-command-business):
16046 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
16047 undecorated when an isearch is continued past, and isearch
16048 automatically collapses them. This leads to "widget leaks", where
16049 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
16050 hidden widgets can slow down cursor travel, substantially.
16051 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
16052 so we're doing without this nicety.
16053
16054 (allout-widgets-tally-string): Don't try to do a hash-table-count
16055 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16056 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16057 *Messages* when allout-widgets-maintain-tally is t.
16058
355f2e07
MR
160592011-06-26 Martin Rudalics <rudalics@gmx.at>
16060
16061 * window.el (display-buffer-normalize-argument): Rename to
16062 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
16063 LABEL argument. Respect special-display-function when popping up
16064 a new frame. Fix code searching for a window showing the buffer
16065 on another frame.
c9d29fb8
SM
16066 (display-buffer-normalize-specifiers):
16067 Call display-buffer-normalize-arguments.
355f2e07
MR
16068 (display-buffer-in-window): Don't undedicate the window if its
16069 buffer remains the same.
16070 Reported by Drew Adams <drew.adams@oracle.com>.
16071 (display-buffer-alist): Add choice for same-window macro
16072 specfier.
16073 (display-buffer): Mention special meaning of LABEL argument in
16074 doc-string. Fix quoting. Don't pop up a new frame even as
16075 fallback.
16076
7ca8fc42
JB
160772011-06-26 Juanma Barranquero <lekktu@gmail.com>
16078
16079 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16080 avoid deleting the current window in some cases (bug#8911).
16081
bc312254
AS
160822011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16083
16084 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16085 (Bug#8934)
16086
2db18f3f
LMI
160872011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16088
c9d29fb8
SM
16089 * net/network-stream.el (network-stream-open-starttls):
16090 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
16091 (network-stream-open-tls): Ditto.
16092
6302e0d3
LL
160932011-06-26 Leo Liu <sdl.web@gmail.com>
16094
16095 * register.el (registerv): New struct.
16096 (registerv-make): New function.
c9d29fb8
SM
16097 (jump-to-register, describe-register-1, insert-register):
16098 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
16099 struct. (Bug#8415)
16100
5fdd4046
CY
161012011-06-26 Chong Yidong <cyd@stupidchicken.com>
16102
2afef60a
CY
16103 * vc/vc.el (vc-revert-show-diff): New defcustom.
16104 (vc-diff-internal): New arg specifying diff buffer.
16105 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16106 reuse an existing *vc-diff* buffer (Bug#8927).
16107
5fdd4046
CY
16108 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16109
e93db24a
GM
161102011-06-26 Glenn Morris <rgm@gnu.org>
16111
16112 * progmodes/f90.el (f90-critical-indent): New option.
16113 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16114 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16115 (f90-mode): Doc fix.
16116 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16117 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16118 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16119 (f90-match-end): Handle block, critical.
16120
eefff499
GM
161212011-06-25 Glenn Morris <rgm@gnu.org>
16122
f6ba4cc9
GM
16123 * calendar/diary-lib.el (diary-included-files): Doc fix.
16124 (diary-include-files): New function, extracted from
16125 diary-include-other-diary-files and diary-mark-included-diary-files.
16126 (diary-include-other-diary-files, diary-mark-included-diary-files):
16127 Just call diary-include-files.
16128 (diary-mark-entries): Reset diary-included-files on first call.
16129
16712304
GM
16130 * calendar/diary-lib.el (diary-mark-entries)
16131 (diary-mark-included-diary-files):
16132 Visit included diary-files in temp buffers.
16133
5d8e0d43
GM
16134 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16135 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16136 (f90-start-block-re, f90-imenu-generic-expression)
16137 (f90-looking-at-program-block-start, f90-no-block-limit):
16138 Add support for submodules.
16139
ccf7a5d5
GM
16140 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16141 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 16142
11fdef7d 161432011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
16144
16145 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16146 buffer-file-type before setting its value, to avoid disastrous
eefff499 16147 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 16148
74f53697
JB
161492011-06-25 Juanma Barranquero <lekktu@gmail.com>
16150
16151 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16152
16153 * ses.el (ses-unload-function):
16154 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16155
16156 * proced.el (proced-unload-function):
16157 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16158
18a4ce5e
AR
161592011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16160
16161 * server.el (server-create-window-system-frame): Add parameters arg.
16162 (server-process-filter): Doc fix. Handle frame-parameters.
16163
519d22cc
JB
161642011-06-25 Juanma Barranquero <lekktu@gmail.com>
16165
16166 Fix bug#8730, bug#8781.
16167
16168 * loadhist.el (unload--set-major-mode): New function.
16169 (unload-feature): Use it.
16170
16171 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16172 (python-unload-function): New function.
16173
c206f5b0
SM
161742011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16175
16176 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16177
f9ad64f3
GS
161782011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16179
16180 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16181 the candidates list.
16182
7d0da90e
JB
161832011-06-24 Juanma Barranquero <lekktu@gmail.com>
16184
16185 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16186
14b4e83d
RS
161872011-06-23 Richard Stallman <rms@gnu.org>
16188
16189 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16190 (rmail-variables): Set next-error-move-function.
16191 (rmail-what-message): Take argument POS.
16192 (rmail-next-error-move): New function.
16193
273d2baf
SM
161942011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16195
16196 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16197 messages for adjacent non-terminals.
16198
56c2cc9a
RS
161992011-06-23 Richard Stallman <rms@gnu.org>
16200
16201 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 16202 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
16203 (rmail-start-mail): Don't specify use of rmail-mail-return;
16204 that's done by mail-bury now.
16205 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 16206
d59eb518
MA
162072011-06-23 Michael Albinus <michael.albinus@gmx.de>
16208
16209 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16210 SIZE is a number.
16211
02cfc6d6
MR
162122011-06-23 Martin Rudalics <rudalics@gmx.at>
16213
16214 * window.el (get-lru-window, get-mru-window)
16215 (get-largest-window): Never return a minibuffer window.
16216 (display-buffer-pop-up-window): Fix a bug that could lead to
16217 reusing the minibuffer window.
16218 (display-buffer): Pass original specifier argument to
16219 display-buffer-function instead of the normalized one.
16220 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16221
4e323265
LL
162222011-06-22 Leo Liu <sdl.web@gmail.com>
16223
16224 * minibuffer.el (completing-read-function)
16225 (completing-read-default): Move from minibuf.c
16226
7a70468f
RS
162272011-06-22 Richard Stallman <rms@gnu.org>
16228
50718fc2
RS
16229 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16230 to Rmail even if not started by a special Rmail command.
16231
7a70468f
RS
16232 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16233 Copy the buffer currently showing just one message.
16234
297dde5a
RW
162352011-06-22 Roland Winkler <winkler@gnu.org>
16236
16237 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16238 (bibtex-clean-entry): First delete the old key so that a
16239 customized algorithm for generating the new key does not get
16240 confused by the old key.
16241 (bibtex-url): Obey regexp of first step.
16242 (bibtex-search-entries): Do not use add-to-list with local
16243 list-var.
16244
97bb1093
LMI
162452011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16246
16247 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16248 stored a user name, then query for the password first, instead of
16249 waiting for SMTP to give an error message and the trying again.
16250
1c0f1a19
JD
162512011-06-22 Lawrence Mitchell <wence@gmx.li>
16252
16253 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16254 BUFFER in call-process.
16255
396f7c9d
LMI
162562011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16257
16258 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16259 QUIT twice.
ddb7ffee
LMI
16260 (smtpmail-try-auth-methods): Require user name and password from
16261 auth-source.
396f7c9d 16262
8998d1b3
MR
162632011-06-22 Martin Rudalics <rudalics@gmx.at>
16264
16265 * window.el (display-buffer-default-specifiers)
16266 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16267 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 16268 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
16269
16270 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16271 (special-display-frame-alist, special-display-popup-frame):
16272 Remove duplicate declarations. These are now in window.el.
16273
4ea31e07
LMI
162742011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16275
c9d29fb8
SM
16276 * mail/smtpmail.el (smtpmail-via-smtp):
16277 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
16278 server supports it. SMTP servers that support STARTTLS commonly
16279 require it.
16280
16281 * net/network-stream.el (network-stream-open-starttls): Support
16282 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 16283 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 16284
95f41d9a
LMI
16285 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16286 upgrades with `open-network-stream', and rely solely on
16287 auth-source for all credentials. Big changes throughout the file,
16288 but in particular:
c9d29fb8
SM
16289 (smtpmail-auth-credentials): Remove.
16290 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
16291 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16292 MAIL FROM, too.
95f41d9a 16293
c9d29fb8
SM
16294 * net/network-stream.el (network-stream-open-starttls):
16295 Provide support for client certificates both for external and built-in
4ea31e07
LMI
16296 STARTTLS.
16297 (auth-source): Require.
16298 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
16299 (network-stream-certificate): Change cert-cert to cert and
16300 cert-key to key.
4ea31e07 16301
065ec2c7
MA
163022011-06-21 Michael Albinus <michael.albinus@gmx.de>
16303
16304 * net/tramp-cache.el (top): Don't load the persistency file when
16305 "emacs -Q" has been called.
16306
cd93b359
DR
163072011-06-21 Tim Harper <timcharper@gmail.com>
16308
d8e4b68b
JB
16309 * term/ns-win.el (ns-initialize-window-system):
16310 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
16311 resource to NO as it is not yet supported by the NS port.
16312
ae9c0411
JB
163132011-06-21 Juanma Barranquero <lekktu@gmail.com>
16314
16315 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16316 (list-dynamic-libraries): ...not here.
16317
7f3f739f
LL
163182011-06-21 Leo Liu <sdl.web@gmail.com>
16319
16320 * subr.el (sha1): Implement sha1 using secure-hash.
16321
327c8fb1
MR
163222011-06-21 Martin Rudalics <rudalics@gmx.at>
16323
16324 * window.el (display-buffer-alist): In default value do not
16325 enforce searching a window on any but the selected frame.
16326 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16327 (display-buffer-select-window): Remove function.
16328 (display-buffer-in-window): When a window on another frame gets
16329 reused, do not select it any more but just raise its frame if
16330 necessary (Bug#8851) and (Bug#8856).
16331 (display-buffer-normalize-options): Handle pop-up-frames related
16332 options more faithfully.
16333 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16334 window if it is on another frame.
c9d29fb8
SM
16335 (display-buffer-alist, display-buffer-default-specifiers):
16336 Don't make new frame unsplittable by default.
9e9de014
MR
16337 (display-buffer-normalize-argument): Fix doc-string typo and use
16338 'same-frame-other-window instead of 'other-window when associating
16339 with display-buffer-macro-specifiers.
327c8fb1 16340
7cf3f556
VB
163412011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16342
16343 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16344 New functions.
16345 (5x5-mode-map, 5x5-mode-menu): Bind them.
16346 (5x5-draw-grid): Tweak the solver's rendering.
16347
60a406cf
SM
163482011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16349
16350 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16351 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16352
d8e4b68b 163532011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
16354
16355 * menu-bar.el: Use function variable instead of switch-to-buffer.
16356 (menu-bar-select-buffer-function): New variable.
60a406cf 16357 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 16358
478d6f95
SM
163592011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16360
16361 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16362 variable's status.
16363
ca530739
JD
163642011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16365
16366 * x-dnd.el (x-dnd-version-from-flags)
16367 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16368 and long as number (Bug#8899).
16369 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16370
bcd70d97
SM
163712011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16372
60a406cf 16373 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
16374 (completion-try-completion, completion-all-completions): Compute the
16375 metadata argument if it's missing; make it optional (bug#8795).
16376
60a406cf 16377 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
16378 (widget-complete): Use new :completion-function property.
16379 (widget-completions-at-point): New function.
16380 (default): Use :completion-function instead of :complete.
60a406cf
SM
16381 (widget-default-completions): Rename from widget-default-complete;
16382 Rewrite.
bcd70d97
SM
16383 (widget-string-complete, widget-file-complete, widget-color-complete):
16384 Remove functions.
16385 (file, symbol, function, variable, coding-system, color):
16386 * international/mule-cmds.el (default-input-method, charset)
16387 (language-info-custom-alist):
16388 * cus-edit.el (face): Use new property :completions.
16389
16390 * progmodes/pascal.el (pascal-completions-at-point): New function.
16391 (pascal-mode): Use it.
16392 (pascal-mode-map): Use completion-at-point.
16393 (pascal-toggle-completions): Make obsolete.
16394 (pascal-complete-word, pascal-show-completions):
16395 * progmodes/octave-mod.el (octave-complete-symbol):
16396 Redefine as obsolete alias.
16397 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16398 Signal absence of completion info for old Octave,
16399 (inferior-octave-complete): Redefine as obsolete alias.
16400 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16401 (meta-completions-at-point): Rename from meta-complete-symbol and
16402 adapt it for use on completion-at-point-functions.
16403 (meta-common-mode): Use it.
16404 (meta-looking-at-backward, meta-match-buffer): Remove.
16405 (meta-complete-symbol): Redefine as obsolete alias.
16406 (meta-common-mode-map): Use completion-at-point.
16407 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16408 (makefile-mode-map): Use completion-at-point.
16409 (makefile-completions-at-point): Rename from makefile-complete and
16410 adapt it for use on completion-at-point-functions.
16411 (makefile-mode): Use it.
16412 (makefile-complete): Redefine as obsolete alias.
16413
aebf69c8
DD
164142011-06-20 Deniz Dogan <deniz@dogan.se>
16415
16416 * net/rcirc.el: Delete trailing whitespaces once and for all.
16417
bfbbb27d
DC
164182011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16419
16420 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16421
d264a46b
CY
164222011-06-19 Chong Yidong <cyd@stupidchicken.com>
16423
4ca009e5
CY
16424 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16425
d264a46b
CY
16426 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16427
fbf5b3ce
MR
164282011-06-19 Martin Rudalics <rudalics@gmx.at>
16429
16430 * window.el (display-buffer-other-window-means-other-frame):
16431 Call display-buffer-normalize-alist.
16432 (display-buffer-normalize-specifiers-1): Rename to
16433 display-buffer-normalize-argument. New argument other-frame.
16434 Rewrite.
16435 (display-buffer-normalize-specifiers-2): Rename to
16436 display-buffer-normalize-options.
16437 (display-buffer-normalize-alist-1): New function.
16438 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
16439 display-buffer-normalize-alist.
16440 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
16441 (display-buffer-normalize-options-inhibit): New variable.
16442 (display-buffer-normalize-specifiers): Rewrite calling
16443 display-buffer-normalize-alist,
16444 display-buffer-normalize-argument, and
16445 display-buffer-normalize-options. Don't call the latter if
16446 display-buffer-normalize-options-inhibit is non-nil.
16447 (frame-auto-delete): New option.
16448 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
16449 (window-list-no-nils, window-state-ignored-parameters)
16450 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
16451 (window-state-put-1, window-state-put-2, window-state-put):
16452 New functions.
9a028c23
MR
16453 (display-buffer-normalize-options): Move special-display-p group
16454 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 16455
6d10d800
CY
164562011-06-18 Chong Yidong <cyd@stupidchicken.com>
16457
6420d28b
CY
16458 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16459 groups (Bug#8776).
16460 (rx-submatch-n): New function.
16461 (rx): Document it.
16462
ddb8b596
CY
16463 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16464 (Bug#8768).
16465
16466 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16467
77080289
CY
16468 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16469
61dfb316
CY
16470 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16471 anytime existing face settings are present (Bug#8889).
16472
6d10d800
CY
16473 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16474 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16475 Remove unused argument.
16476
be3fb2b8
MR
164772011-06-18 Martin Rudalics <rudalics@gmx.at>
16478
bcd70d97
SM
16479 * window.el (display-buffer-default-specifiers):
16480 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
16481 pop-up-window-min-width, and another reuse-window specifier
16482 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
16483 (display-buffer-normalize-specifiers-2):
16484 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
16485 pop-up-windows is unset. Add a reuse-window specifier for the
16486 case popping up a new window fails.
16487 (special-display-popup-frame): Remove double quoting.
28dec25a 16488 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 16489
1c6d8c76
SM
164902011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16491
16492 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16493 according to comint-completion-addsuffix.
16494
16495 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16496 (pcomplete-suffix-list): Mark as obsolete.
16497 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16498 pcomplete-seen in the closure.
16499 (pcomplete-comint-setup): Setup completion-at-point as well.
16500 (pcomplete--entries): New function.
16501 (pcomplete--env-regexp): New var.
16502 (pcomplete-entries): Rewrite to work with partial-completion and
16503 without relying on pcomplete-suffix-list.
16504 (pcomplete-pare-list): Remove, unused.
16505
25aef8b8
MR
165062011-06-17 Martin Rudalics <rudalics@gmx.at>
16507
16508 * window.el (display-buffer-alist): Set pop-up-window-min-height
16509 and pop-up-window-min-width in default value. Reported by
16510 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16511 other-window-means-other-frame.
16512 (display-buffer-macro-specifiers): Comment out entry for
16513 other-window specifier.
16514 (display-buffer-other-window-means-other-frame): New function.
16515 (display-buffer-normalize-specifiers-1): New arguments
16516 buffer-name and label. Treat other-window case specially.
16517 (display-buffer-normalize-specifiers-2): Treat other-window case
16518 specially.
16519 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
16520 (display-buffer-normalize-specifiers):
16521 Call display-buffer-normalize-specifiers-3.
25aef8b8 16522
dbad4f69
MR
165232011-06-17 Martin Rudalics <rudalics@gmx.at>
16524
16525 * window.el (same-window-p): Fix two typos introduced when
16526 adding with-no-warnings.
d1067961
MR
16527 (display-buffer-normalize-specifiers-1): Don't check
16528 pop-up-frames for 'unset initialization.
16529 (display-buffer-normalize-specifiers-2): Major rewrite using
16530 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16531 (pop-up-frames, display-buffer-reuse-frames)
16532 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16533 Suggested by David Engster <deng@randomsample.de>.
16534 (even-window-heights): Initialize to 'unset.
16535 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
16536 (display-buffer-macro-specifiers): Don't pop up a new frame in the
16537 other window case.
dbad4f69 16538
9b9c9e3a
MR
165392011-06-16 Martin Rudalics <rudalics@gmx.at>
16540
bcd70d97
SM
16541 * window.el (display-buffer-normalize-specifiers-1):
16542 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 16543 second argument of display-buffer (Bug#8865).
981d5c09
MR
16544 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16545 (switch-to-buffer-other-window-same-frame)
16546 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
16547 Adams (Bug#8875).
9c2755e9
MR
16548 (display-buffer): Don't check noninteractive when calling
16549 display-buffer-pop-up-frame.
16550 (display-buffer-pop-up-frame): Never pop up a frame in
16551 noninteractive mode (Bug#8857).
67222e1d
MR
16552 (enlarge-window, shrink-window): Don't report an error when the
16553 window can't be resized as requested (Bug#8862).
9b9c9e3a 16554
2b75be67
SM
165552011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16556
9ffdd3ba
SM
16557 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16558
cb581a67
SM
16559 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16560
2b75be67
SM
16561 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16562
8c0e3589
AM
165632011-06-15 Alan Mackenzie <acm@muc.de>
16564
cb581a67
SM
16565 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16566 for declarators, disable knr checking to speed up for normal files.
16567 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 16568
b96e6cde
LMI
165692011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16570
4bba86e6
LMI
16571 * net/network-stream.el (open-network-stream): Add the keyword
16572 :always-query-capabilities for the case where you want to force a
16573 `plain' network connection, but the protocol still requires the
16574 capabilitiy command (i.e., SMTP and EHLO).
16575
2b75be67 16576 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
16577 consistency with other `-live-p' functions.
16578
efdcdbf8
SM
165792011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16580
16581 * window.el (same-window-buffer-names, same-window-regexps)
16582 (special-display-frame-alist, special-display-popup-frame)
16583 (special-display-function, special-display-buffer-names)
16584 (special-display-regexps, pop-up-frame-alist)
16585 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16586 (pop-up-windows, split-window-preferred-function)
16587 (split-height-threshold, split-width-threshold, even-window-heights)
16588 (display-buffer-mark-dedicated): Don't encourage the use of
16589 display-buffer-alist from Elisp code.
16590
c5cde042
DN
165912011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
16592
16593 * progmodes/python.el (python-mode): Derive from prog-mode.
16594 * progmodes/ps-mode.el (ps-mode):
16595 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 16596 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
16597 * progmodes/ld-script.el (ld-script-mode): Likewise.
16598
baa1c9ab
MR
165992011-06-15 Martin Rudalics <rudalics@gmx.at>
16600
16601 * window.el (display-buffer-alist): Trim default value to avoid
16602 popping up a new frame (Bug#8857) or reusing an arbitrary window
16603 on another frame.
16604 (display-buffer): Do not fall back on popping up a new frame in
16605 batch mode (Bug#8857).
16606
c5dd5a51
CY
166072011-06-14 Chong Yidong <cyd@stupidchicken.com>
16608
16609 * cus-theme.el (describe-theme-1): Use custom-theme-p.
16610 (custom-theme-summary): New function.
16611 (customize-themes): Use it.
16612
d647b7c4
GM
166132011-06-13 Glenn Morris <rgm@gnu.org>
16614
16615 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16616
9481c002
MR
166172011-06-13 Martin Rudalics <rudalics@gmx.at>
16618
357f93d2
MR
16619 * help.el (help-window): Remove variable.
16620 (help-window-point-marker, temp-buffer-max-height)
16621 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16622 (help-print-return-message): Don't set help-window.
16623 (resize-temp-buffer-window): Rewrite cod eand doc-string.
16624 (help-window-setup-finish): Remove.
16625 (help-window-display-message, help-window-setup)
16626 (with-help-window): Major rewrite based on new
16627 display-buffer-window variable.
16628
16629 * help-mode.el (help-mode-finish): Remove help-window related
16630 code.
16631
16632 * view.el (view-exits-all-viewing-windows): Remove reference to
16633 view-return-to-alist in doc-string.
16634 (view-return-to-alist): Make obsolete.
16635 (view-buffer): Call pop-to-buffer-same-window and remove
16636 undo-window code.
16637 (view-buffer-other-window): Call pop-to-buffer-other-window and
16638 simplify code. Ignore second argument.
16639 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
16640 simplify code. Ignore second argument.
16641 (view-return-to-alist-update): Make obsolete.
16642 (view-mode-enter): Rename second argument to QUIT-RESTORE.
16643 Rewrite using quit-restore window parameters.
2b75be67
SM
16644 (view-mode-exit): Rename second argument to EXIT-ONLY.
16645 Rewrite using quit-restore-window.
357f93d2
MR
16646 (View-exit, View-exit-and-edit, View-leave, View-quit)
16647 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
16648 appropriate arguments.
16649 (view-end-message): Use quit-restore window parameter.
16650
9481c002
MR
16651 * window.el (display-buffer-function): Rewrite doc-string.
16652 (display-buffer-window, display-buffer-alist): New variables.
16653 (display-buffer-split-specifiers)
16654 (display-buffer-side-specifiers)
16655 (display-buffer-macro-specifiers): New constants.
16656 (display-buffer-even-window-sizes, display-buffer-set-height)
16657 (display-buffer-set-width, display-buffer-select-window)
16658 (display-buffer-in-window, display-buffer-reuse-window)
16659 (display-buffer-split-window-1, display-buffer-split-window)
16660 (display-buffer-split-atom-window, display-buffer-pop-up-window)
16661 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
16662 (display-buffer-in-side-window, normalize-buffer-to-display)
16663 (display-buffer-normalize-specifiers-1)
16664 (display-buffer-normalize-specifiers-2)
2b75be67
SM
16665 (display-buffer-normalize-specifiers, display-buffer-frame):
16666 New functions.
9481c002
MR
16667 (display-buffer): Major rewrite.
16668 (display-buffer-other-window, display-buffer-other-frame)
16669 (pop-to-buffer, switch-to-buffer-other-window)
16670 (switch-to-buffer-other-frame): Rewrite.
16671 (display-buffer-same-window, display-buffer-same-frame)
16672 (display-buffer-same-frame-other-window)
16673 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16674 (pop-to-buffer-other-window)
16675 (pop-to-buffer-same-frame-other-window)
16676 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
16677 (switch-to-buffer-other-window-same-frame): New functions.
16678 (same-window-p, special-display-p): Rewrite disabling warnings.
16679 Make obsolete.
16680 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16681 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
16682 Make obsolete
16683 (same-window-buffer-names, same-window-regexps)
16684 (special-display-frame-alist, special-display-popup-frame)
16685 (special-display-function, special-display-buffer-names)
16686 (special-display-regexps, pop-up-frame-alist)
16687 (pop-up-frame-function, split-window-preferred-function)
16688 (split-height-threshold, split-width-threshold)
16689 (even-window-heights): Make obsolete.
16690
9db51aca
GM
166912011-06-12 Glenn Morris <rgm@gnu.org>
16692
16693 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 16694 Misc simplifications.
9db51aca 16695
39cffb44
MR
166962011-06-12 Martin Rudalics <rudalics@gmx.at>
16697
16698 * window.el (window-safely-shrinkable-p): Restore function which
16699 was inadvertently removed in change from 2011-06-11. Declare as
16700 obsolete.
16701
2b75be67
SM
16702 * calendar/calendar.el (calendar-generate-window):
16703 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
16704 window-safely-shrinkable-p.
16705
a8955be7
GM
167062011-06-12 Glenn Morris <rgm@gnu.org>
16707
16708 * progmodes/fortran.el (fortran-mode-syntax-table):
16709 * progmodes/f90.el (f90-mode-syntax-table):
16710 Set % to punctuation. (Bug#8820)
16711 (f90-find-tag-default): Remove, no longer needed.
16712
f0d4059d
DC
167132011-06-12 Daniel Colascione <dan.colascione@gmail.com>
16714
16715 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
16716
1100a63c
CY
167172011-06-11 Chong Yidong <cyd@stupidchicken.com>
16718
16719 * image.el (image-animated-p): Return animation delay in seconds.
16720 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
16721 (image-animate-timeout): Remove DELAY argument. Don't assume
16722 every subimage has the same delay; get it from image-animated-p.
16723 (image-animate): Caller changed.
16724
def722bf
MA
167252011-06-11 Michael Albinus <michael.albinus@gmx.de>
16726
16727 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
16728 to ignored backtrace functions.
16729
0a2bb1a9
GM
167302011-06-11 Glenn Morris <rgm@gnu.org>
16731
16732 * calendar/appt.el (appt-disp-window-function): Doc fix.
16733 (appt-check): Handle overlapping appointments. (Bug#8337)
16734
6198ccd0
MR
167352011-06-11 Martin Rudalics <rudalics@gmx.at>
16736
16737 * window.el (window-tree-1, window-tree): New functions, moving
16738 the latter to window.el.
16739 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
16740 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
16741 (bw-refresh-edges): Remove.
16742 (balance-windows-1, balance-windows-2): New functions.
16743 (balance-windows): Rewrite in terms of window tree functions,
16744 balance-windows-1 and balance-windows-2.
16745 (bw-adjust-window): Remove.
16746 (balance-windows-area-adjust): New function with functionality of
16747 bw-adjust-window but using resize-window.
2b75be67
SM
16748 (set-window-text-height): Rewrite doc-string.
16749 Use normalize-live-window and resize-window.
16750 (enlarge-window-horizontally, shrink-window-horizontally):
16751 Rename argument to DELTA.
6198ccd0
MR
16752 (window-buffer-height): New function.
16753 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
16754 Rewrite using new window resize routines.
2b75be67
SM
16755 (kill-buffer-and-window, mouse-autoselect-window-select):
16756 Use ignore-errors instead of condition-case.
6198ccd0
MR
16757 (quit-window): Call delete-frame instead of delete-windows-on
16758 for the only buffer on frame.
16759
9397e56f
MR
167602011-06-10 Martin Rudalics <rudalics@gmx.at>
16761
16762 * loadup.el (top-level): Load window before files for the sake
16763 of replace-buffer-in-windows.
16764
16765 * files.el (read-buffer-to-switch)
16766 (switch-to-buffer-other-window)
2b75be67
SM
16767 (switch-to-buffer-other-frame, display-buffer-other-frame):
16768 Move to window.el.
9397e56f
MR
16769
16770 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
16771 (previous-buffer): Move to window.el.
16772
16773 * bindings.el (unbury-buffer): Move to window.el.
16774
16775 * window.el (delete-other-windows-vertically): Move after
16776 definition of delete-other-windows.
16777 (other-window, delete-windows-on, replace-buffer-in-windows):
16778 Move here from window.c.
16779 (record-window-buffer, unrecord-window-buffer)
16780 (set-window-buffer-start-and-point, switch-to-prev-buffer)
16781 (switch-to-next-buffer): New functions.
16782 (get-next-valid-buffer, last-buffer, next-buffer): Move here
16783 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
16784 (previous-buffer): Move here from simple.el.
16785 Call switch-to-prev-buffer.
9397e56f
MR
16786 (bury-buffer): Move here from buffer.c. Switch to previous
16787 buffer when window cannot be deleted.
16788 (unbury-buffer): Move here from bindings.el.
16789 (ctl-x-map): Move binding for other-window from window.c to
16790 here.
16791 (read-buffer-to-switch, switch-to-buffer-other-window)
16792 (switch-to-buffer-other-frame): Move here from files.el.
16793 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
16794 (switch-to-buffer): Move here from buffer.c.
16795 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 16796
562dd5e9
MR
167972011-06-10 Martin Rudalics <rudalics@gmx.at>
16798
16799 * window.el (window-min-height, window-min-width): Move here
16800 from window.c. Add defcustoms and rewrite doc-strings.
16801 (resize-mini-window, resize-window): New functions.
16802 (adjust-window-trailing-edge, enlarge-window, shrink-window):
16803 Move here from window.c.
16804 (maximize-window, minimize-window): New functions.
16805 (delete-window, delete-other-windows, split-window): Move here
16806 from window.c.
16807 (window-split-min-size): New function.
16808 (split-window-keep-point): Mention split-window-above-each-other
16809 instead of split-window-vertically.
2b75be67 16810 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
16811 Rename split-window-vertically to split-window-above-each-other
16812 and provide defalias for old definition.
16813 (split-window-side-by-side, split-window-horizontally):
16814 Rename split-window-horizontally to split-window-side-by-side
16815 and provide defalias for the old definition.
562dd5e9
MR
16816 (ctl-x-map): Move bindings for delete-window,
16817 delete-other-windows and enlarge-window here from window.c.
16818 Replace bindings for split-window-vertically and
16819 split-window-horizontally by bindings for
16820 split-window-above-each-other and split-window-side-by-side.
16821
16822 * cus-start.el (all): Remove entries for window-min-height and
16823 window-min-width. Add entries for window-splits and
16824 window-nest.
16825
f0da764a
GM
168262011-06-09 Glenn Morris <rgm@gnu.org>
16827
80675c21
GM
16828 * calendar/appt.el (appt-mode-line): New function.
16829 (appt-check, appt-disp-window): Use it.
16830
f0da764a
GM
16831 * files.el (hack-one-local-variable-eval-safep):
16832 Allow minor-modes with explicit +/-1 arguments.
16833
59f623b7
TZ
168342011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
16835
16836 * term/xterm.el (xterm): Add defgroup.
16837 (xterm-extra-capabilities): Add defcustom to supply known xterm
16838 capabilities, skip querying them, or query them (default).
16839 (terminal-init-xterm): Use it.
16840 (terminal-init-xterm-modify-other-keys): New function to set up
16841 modifyOtherKeys support to simplify `terminal-init-xterm'.
16842
9aab8e0d
MR
168432011-06-09 Martin Rudalics <rudalics@gmx.at>
16844
16845 * window.el (resize-window-reset, resize-window-reset-1)
16846 (resize-subwindows-skip-p, resize-subwindows-normal)
16847 (resize-subwindows, resize-other-windows, resize-this-window)
16848 (resize-root-window, resize-root-window-vertically)
16849 (window-deletable-p, window-or-subwindow-p)
16850 (frame-root-window-p): New functions.
16851
e8b08aee
GM
168522011-06-09 Glenn Morris <rgm@gnu.org>
16853
16854 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
16855 (ange-ftp-get-files): Use it.
16856
254c37a5
AK
168572011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
16858
16859 * mail/sendmail.el (mail-recover-1, mail-recover):
16860 * files.el (recover-file, recover-session):
16861 Handle dired-listing-switches not being just a single short option.
16862
35d7dbd3
GM
168632011-06-09 Glenn Morris <rgm@gnu.org>
16864
16865 * calendar/appt.el (appt-display-message, appt-disp-window):
16866 Handle lists of appointments.
16867
387522b2
MR
168682011-06-08 Martin Rudalics <rudalics@gmx.at>
16869
2b75be67
SM
16870 * window.el (one-window-p): Move down in code.
16871 Rewrite doc-string.
16872 (window-current-scroll-bars): Rewrite doc-string.
16873 Normalize live window argument.
387522b2
MR
16874 (walk-windows, get-window-with-predicate, count-windows):
16875 Rewrite doc-string. Use window-list-1.
16876 (window-in-direction-2, window-in-direction, get-mru-window):
16877 New functions.
16878
d8e4b68b 168792011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
16880
16881 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
16882 Doc fix (Bug#8713).
16883
168842011-06-08 Chong Yidong <cyd@stupidchicken.com>
16885
16886 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
16887
168882011-06-08 Juanma Barranquero <lekktu@gmail.com>
16889
16890 * loadhist.el (unload-feature-special-hooks):
16891 Add `comint-output-filter-functions'.
16892
0de12c52
IK
168932011-06-08 Ivan Kanis <gnu@kanis.fr>
16894
16895 * calendar/appt.el (appt-check): Move some initializations into the let.
16896
f3d1777e
MR
168972011-06-08 Martin Rudalics <rudalics@gmx.at>
16898
16899 * window.el (window-height): Defalias to window-total-height.
16900 (window-width): Defalias to window-body-width.
16901
18af70d0
CY
169022011-06-07 Chong Yidong <cyd@stupidchicken.com>
16903
16904 * image-mode.el (image-toggle-animation): New command.
16905 (image-mode-map): Bind it to RET.
16906 (image-mode): Update message.
16907 (image-toggle-display-image): Avoid a spurious cache flush.
16908 (image-transform-rotation): Doc fix.
16909 (image-transform-properties): Return quickly in the normal case.
16910 (image-animate-loop): Rename from image-animate-max-time.
16911
2b75be67 16912 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
16913 (create-animated-image): Remove unnecessary function.
16914 (image-animate): Rename from image-animate-start. New arg.
2b75be67 16915 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
16916 (image-animate-timer): Use car-safe.
16917 (image-animate-timeout): Rename argument.
16918
190b47e6
MR
169192011-06-07 Martin Rudalics <rudalics@gmx.at>
16920
16921 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
16922 window.c. Rename first argument to ALL-FRAMES.
16923 Rephrase doc-strings.
16924 (get-buffer-window-list): Rewrite using window-list-1.
16925 Rephrase doc-string.
a1511caf
MR
16926 (window-safe-min-height, window-safe-min-width): New constants.
16927 (window-size-ignore, window-min-size, window-min-size-1)
16928 (window-sizable, window-sizable-p, window-size-fixed-1)
16929 (window-size-fixed-p, window-min-delta-1, window-min-delta)
16930 (window-max-delta-1, window-max-delta, window-resizable)
16931 (window-resizable-p, window-total-height, window-total-width)
16932 (window-body-width): New functions.
16933 (window-full-height-p, window-full-width-p): Rewrite using
16934 window-total-size.
16935 (window-body-height): Rewrite using window-body-size.
190b47e6 16936
85cc1f11
MR
169372011-06-06 Martin Rudalics <rudalics@gmx.at>
16938
16939 * window.el (window-right, window-left, window-child)
16940 (window-child-count, window-last-child, window-any-p)
16941 (normalize-live-buffer, normalize-live-frame)
16942 (normalize-any-window, normalize-live-window)
16943 (window-iso-combination-p, window-iso-combined-p)
16944 (window-iso-combinations)
16945 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
16946 (windows-with-parameter, window-with-parameter)
16947 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
16948 (window-atom-check, window-side-check, window-check):
16949 New functions.
85cc1f11
MR
16950 (ignore-window-parameters, window-sides, window-sides-vertical)
16951 (window-sides-slots): New variables.
16952 (window-size-fixed): Move down in code. Minor doc-string fix.
16953
e7156492
AS
169542011-06-05 Andreas Schwab <schwab@linux-m68k.org>
16955
16956 * comint.el (comint-dynamic-complete-as-filename)
16957 (comint-dynamic-complete-filename): Correctly call
16958 completion-in-region.
16959
7e821d0d
DD
169602011-06-05 Deniz Dogan <deniz@dogan.se>
16961
16962 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
16963 in last change.
16964
ac09b8a1
DD
169652011-06-05 Deniz Dogan <deniz@dogan.se>
16966
16967 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
16968 (rcirc): Use it to prompt for encryption.
16969
34699b85
RW
169702011-06-05 Roland Winkler <winkler@gnu.org>
16971
16972 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
16973 (bibtex-search-entries): New command bound to C-c C-a.
16974 (bibtex-display-entries): New function.
16975
004dedd3
RW
169762011-06-05 Roland Winkler <winkler@gnu.org>
16977
16978 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
16979 (bibtex-insert-kill): After yanking insert newline if necessary.
16980 (bibtex-initialize): Call bibtex-string-files-init only once.
16981 (bibtex-mode): Do not call easy-menu-add.
16982 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
16983 (bibtex-yank): Set arg properly if nil.
16984
022fe7ce
RW
169852011-06-05 Roland Winkler <winkler@gnu.org>
16986
2b75be67
SM
16987 * textmodes/bibtex.el (bibtex-search-entry-globally):
16988 New variable.
022fe7ce
RW
16989 (bibtex-search-entry): Use it.
16990
b7c3692a
RW
169912011-06-05 Roland Winkler <winkler@gnu.org>
16992
16993 * textmodes/bibtex.el (bibtex-entry-format): New option
16994 sort-fields.
16995 (bibtex-format-entry, bibtex-reformat): Honor this option.
16996 (bibtex-parse-entry): Return fields in proper order.
16997
8eda563d
JB
169982011-06-05 Juanma Barranquero <lekktu@gmail.com>
16999
17000 * doc-view.el (doc-view-remove-if): Move computation of result out
17001 of `dolist' to silence misleading lexical-binding warning.
17002
7dbe3dbc
CY
170032011-06-04 Chong Yidong <cyd@stupidchicken.com>
17004
17005 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17006 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17007
0c33dd17
MA
170082011-06-04 Michael Albinus <michael.albinus@gmx.de>
17009
17010 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17011 "SunOS 5.10".
17012
f8f91c2b
MA
170132011-06-04 Michael Albinus <michael.albinus@gmx.de>
17014
17015 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17016 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17017 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17018 (tramp-parse-putty):
17019 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17020 (tramp-completion-function-alist-ssh)
17021 (tramp-completion-function-alist-telnet)
17022 (tramp-completion-function-alist-su)
17023 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17024 cookie.
17025
17026 * net/tramp-ftp.el:
17027 * net/tramp-sh.el:
17028 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17029 load "tramp.el" `tramp-set-completion-function'.
17030
e17d9003
SM
170312011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17032
17033 * shell.el: Require and use pcomplete.
17034 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17035 (shell-completion-vars): Set pcomplete-default-completion-function.
17036
6c4cab03
DD
170372011-06-04 Deniz Dogan <deniz@dogan.se>
17038
17039 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17040 `memq' (Bug#8799).
17041
ea9fafe0
SM
170422011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17043
17044 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17045
b3e945d3
JB
170462011-06-02 Juanma Barranquero <lekktu@gmail.com>
17047
17048 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17049 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17050 * vc/log-view.el (log-view-beginning-of-defun):
17051 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17052 (smerge-refine-forward, smerge-refine-chopup-region):
17053 Silence warning for unused `dotimes' counter variables.
17054
7d520089
SM
170552011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17056
17057 * net/tramp.el (tramp-with-progress-reporter): Rename from
17058 with-progress-reporter. Use `declare'.
17059 * net/tramp-smb.el:
17060 * net/tramp-sh.el:
17061 * net/tramp-gvfs.el: Update all uses.
17062
a1c2400f
JB
170632011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17064
17065 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17066 buffer isn't killed before making it current.
17067
2403c841
SM
170682011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17069
17070 Silence various byte-compiler warnings.
17071 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17072 `access-type' and new obsolescence format.
17073 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17074 new format.
17075 (byte-compile-check-variable): New `access-type' argument.
17076 Only warn if the access-type is obsolete.
17077 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17078 (byte-compile-variable-set): Adjust callers.
17079 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17080 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17081 setting it as obsolete.
17082 * simple.el (minibuffer-completing-symbol):
17083 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17084 access as obsolete.
17085 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17086 obsolete yet.
17087 * international/quail.el (quail-mouse-choose-completion): Remove unused
17088 code referring to obsolete var.
17089 (quail-choose-completion-string): Remove.
17090 * server.el (server-clients-with, server-kill-buffer-query-function)
17091 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17092 * proced.el (proced-send-signal):
17093 * emacs-lisp/lisp.el (lisp-complete-symbol):
17094 Replace completion-annotate-function with completion-extra-properties.
17095
2462470b
SM
170962011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17097
fb5b2591
SM
17098 * simple.el (goto-line): Use read-number.
17099 (overriding-map-is-bound): Remove.
17100 (saved-overriding-map): Change default.
17101 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17102 Take the map as argument.
17103 (universal-argument, negative-argument, digit-argument): Use it.
17104 (restore-overriding-map): Adjust.
17105 (do-auto-fill): Use fill-forward-paragraph.
17106 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17107
fd6fa53f
SM
17108 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17109 (minibuffer-inactive-mode): New major mode.
17110 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17111 the *Messages* buffer" hack.
17112 (mouse-popup-menubar): Don't burp if the event is a normal key.
17113
2462470b
SM
17114 Miscellaneous tweaks.
17115 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17116 lexical scoping as in subr.el's dolist and dotimes.
17117 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17118 Silence compiler warning.
17119 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17120 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17121 * international/ccl.el (ccl-compile): Trivial simplification.
17122 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17123 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17124 `printflag' argument.
17125 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17126 Purecopy the whole obsolescence data.
17127
108bf785
LL
171282011-06-01 Leo Liu <sdl.web@gmail.com>
17129
17130 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17131 improve doc-string as suggested by Marco Pessotto
17132 <melmothx@gmail.com>.
17133 (rcirc-print): Fix last change.
17134
30a23501
SM
171352011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17136
17137 * minibuffer.el (complete-with-action): Return nil for the metadata and
17138 boundaries of non-functional tables.
17139 (completion-table-dynamic): Return nil for the metadata.
17140 (completion-table-with-terminator): Add default case, using
17141 complete-with-action.
17142 (completion--metadata): New function.
17143 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17144 to try and avoid pathological performance problems.
17145 (completion--embedded-envvar-table): Return `category' metadata.
17146
bcd54f83
LMI
171472011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17148
17149 * subr.el (process-alive-p): New tiny convenience function.
17150
e227544d
SM
171512011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17152
17153 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17154 content but also its previous major mode.
17155
e8296fdc
HE
171562011-05-31 Helmut Eller <eller.helmut@gmail.com>
17157
4d61f28d 17158 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
17159 *Backtrace* buffer when we exit with C-M-c.
17160
620c53a6
SM
171612011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17162
17163 * minibuffer.el: Add metadata method to completion tables.
17164 (completion-category-overrides): New defcustom.
17165 (completion-metadata, completion--field-metadata)
17166 (completion-metadata-get, completion--styles)
17167 (completion--cycle-threshold): New functions.
17168 (completion-try-completion, completion-all-completions):
17169 Add `metadata' argument to choose completion-styles.
17170 (completion--do-completion): Use metadata to choose cycling.
17171 (completion-all-sorted-completions): Use metadata for sorting.
17172 Remove :completion-cycle-penalty which is not needed any more.
17173 (completion--try-word-completion): Add `metadata' argument.
17174 (minibuffer-completion-help): Check metadata for annotation function
17175 and sorting.
17176 (completion-file-name-table): Return `category' metadata.
17177 (minibuffer-completing-file-name): Make obsolete.
17178 * simple.el (minibuffer-completing-symbol): Make obsolete.
17179 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17180 completion-try-completion.
17181
1257e755
SM
171822011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17183
17184 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17185
3767e706
LL
171862011-05-30 Leo Liu <sdl.web@gmail.com>
17187
17188 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
17189 (rcirc-print): Decode all incoming messages (bug#8744).
17190 (rcirc-decode-coding-system): Allow value nil for automatic coding
17191 system detection.
3767e706 17192
d1a5d56a
GM
171932011-06-01 Glenn Morris <rgm@gnu.org>
17194
17195 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17196
e8cbec34
CY
171972011-05-29 Chong Yidong <cyd@stupidchicken.com>
17198
17199 * image.el (image-animate-max-time): Allow nil and t values.
17200 Default to nil.
17201 (create-animated-image): Doc fix.
17202 (image-animate-start): Remove second arg; just use
17203 image-animate-max-time.
17204 (image-animate-timeout): Doc fix. Args changed.
17205
17206 * image-mode.el (image-toggle-display-image): Ensure that the
17207 image spec passed to the animate timer is the same object as in
58179cce 17208 the buffer's display property (Bug#6981).
e8cbec34
CY
17209 (image-transform-properties): Doc fix.
17210
17211 * image.el (image-animate-max-time): Default to nil.
17212
159daf87
MR
172132011-05-29 Martin Rudalics <rudalics@gmx.at>
17214
17215 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17216 entire buffer list (Bug#8184).
17217
d66c4c7c
CY
172182011-05-29 Chong Yidong <cyd@stupidchicken.com>
17219
17220 * image.el (imagemagick-types-inhibit)
17221 (imagemagick-register-types): Doc fix.
17222
80aec780
DD
172232011-05-29 Deniz Dogan <deniz@dogan.se>
17224
17225 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17226 default.
17227
1dd3c2d9
CY
172282011-05-29 Chong Yidong <cyd@stupidchicken.com>
17229
17230 * select.el: Don't perform clipboard-manager saving in hooks;
17231 leave the hooks empty.
17232
60e56523
LL
172332011-05-28 Leo Liu <sdl.web@gmail.com>
17234
17235 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17236 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17237 (occur-edit-mode): New major mode (Bug#8463).
17238 (occur-after-change-function): New function.
17239 (occur-engine): Give Occur tags a read-only property.
17240
2b1e1a22
KR
172412011-05-28 Kevin Ryde <user42@zip.com.au>
17242
17243 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17244
5d344e88
CY
172452011-05-28 Chong Yidong <cyd@stupidchicken.com>
17246
8e6ca83d
CY
17247 * bindings.el (help-echo): Make the initial non-indicator dash
17248 empty on graphical terminals (Bug#7295).
17249
5d344e88
CY
17250 * files.el (auto-mode-alist): Move config rule after the
17251 in-stripping one (Bug#8547).
17252
bfbbace7
CY
17253 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17254
fbeba6e2
CY
17255 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17256 setting (Bug#8740).
17257
60ed8c72
AA
172582011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17259
4ac619f0
AA
17260 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17261 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17262 (Bug#8539).
60ed8c72 17263
23db196e
CY
172642011-05-28 Chong Yidong <cyd@stupidchicken.com>
17265
17266 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17267
5012f24c
DK
172682011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17269
17270 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17271 (hs-hide-block-at-point, hs-find-block-beginning)
17272 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17273 (Bug#8279).
17274
6a639b16
GM
172752011-05-28 Glenn Morris <rgm@gnu.org>
17276
17277 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17278
d43eaf2c
CY
172792011-05-28 Chong Yidong <cyd@stupidchicken.com>
17280
5199bde1
CY
17281 * help-fns.el (describe-function-1): If the function is a derived
17282 major mode, print the parent mode.
17283
d43eaf2c
CY
17284 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17285 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17286
423428a8
SM
172872011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17288
0ff8e1ba 17289 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 17290 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
17291 * progmodes/etags.el (tags-completion-at-point-function):
17292 * info-look.el (info-lookup-completions-at-point): Mark as
17293 non-exclusive.
17294 (info-complete): Adjust accordingly.
17295
423428a8
SM
17296 * info-look.el: Convert to lexical-binding and completion-at-point.
17297 (info-lookup-completions-at-point): New function.
17298 (info-complete): Use it and completion-in-region.
17299
b74aa22b
DA
173002011-05-28 Drew Adams <drew.adams@oracle.com>
17301
17302 * isearch.el: Let M-e start with point at the first mismatched char.
17303 (isearch-fail-pos): New function.
17304 (isearch-edit-string): Use it.
17305
66e2e71d
DK
173062011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17307
17308 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17309
b1890b0f 173102011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
17311
17312 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17313 traversal functions for avl-trees.
17314 (avl-tree--stack): New struct.
17315 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17316 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
17317 (avl-tree--do-enter): Add optional `updatefun' arg.
17318 Change return value.
eb95d01d 17319 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
17320 (avl-tree--do-delete): Add `test' and `nilflag' args.
17321 Change return value.
eb95d01d
TC
17322 (avl-tree-member): Add optional `nilflag'
17323 (avl-tree-member-p): New function.
17324 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17325 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17326 (avl-tree-stack-empty-p): New functions.
17327
3769ddcf
TC
17328 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17329 avl-tree--del-balance1 and make it work both ways.
17330 (avl-tree--del-balance2): Remove.
17331 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17332 make it work both ways.
17333 (avl-tree--enter-balance2): Remove.
17334 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17335 New macros.
17336 (avl-tree--mapc, avl-tree-map): Add direction argument.
17337
eb95d01d 173382011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
17339
17340 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17341
a9f737ee
CY
173422011-05-27 Chong Yidong <cyd@stupidchicken.com>
17343
17344 * select.el: Support clipboard managers with built-in function
17345 x-clipboard-manager-save, via delete-frame-functions and
17346 kill-emacs-hook.
17347 (xselect-convert-to-targets): Add MULTIPLE target to list.
17348 (xselect-convert-to-save-targets): New function.
17349
c92a1e54
KH
173502011-05-27 Kenichi Handa <handa@m17n.org>
17351
17352 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17353 let-binding rfc2047-encode-encoded-words to nil.
17354
e145f188
GM
173552011-05-27 Glenn Morris <rgm@gnu.org>
17356
5ec8a862
GM
17357 * mail/emacsbug.el: Don't require url-util.
17358
4b29d9fb
GM
17359 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17360
e145f188
GM
17361 * files.el (set-auto-mode):
17362 Also respect mode: entries at the end of the file. (Bug#8586)
17363
7d15102b
GM
173642011-05-26 Glenn Morris <rgm@gnu.org>
17365
98f593b8
GM
17366 * files.el (hack-local-variables-prop-line, hack-local-variables):
17367 Downcase mode names, as seems to be traditional.
27b48e63 17368 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 17369
7d15102b
GM
17370 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17371 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17372
51d5b4ec
JD
173732011-05-25 Julien Danjou <julien@danjou.info>
17374
17375 * textmodes/rst.el (rst-define-level-faces): Do not define face
17376 symbol if it is already defined.
17377
91513f63
VB
173782011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17379
17380 * play/5x5.el (5x5-new-game, 5x5-randomize):
17381 Reset 5x5-solver-output to nil when a new grid is cast.
17382 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17383 these debugging traces, as defmacro breaks the compiled code.
17384
4d90d6d0
DK
173852011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17386
17387 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17388
e1b90ef6
LL
173892011-05-24 Leo Liu <sdl.web@gmail.com>
17390
17391 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17392 (vc-bzr-sha1): Adapt.
17393
d8e4b68b 17394 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
17395
17396 * bindings.el: Provide sha1 feature.
17397
db0406bb 173982011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
17399
17400 * mail/sendmail.el: Require `rfc2047'.
17401 (mail-insert-from-field): Do not perform RFC2047 encoding.
17402 (mail-encode-header): New function.
17403 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
17404 buffer to the return value of select-message-coding-system.
17405 Call mail-encode-header.
b8d747b9
KH
17406
17407 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17408
db0406bb 174092011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 17410
4d90d6d0
DK
17411 * mail/supercite.el (sc-default-cite-frame):
17412 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 17413
eb8a5e9b
GM
174142011-05-24 Glenn Morris <rgm@gnu.org>
17415
f8630703
GM
17416 * progmodes/python.el (brm-menu): Declare.
17417
8831bbed
GM
17418 * emulation/viper.el (viper-set-hooks): Declare.
17419
eb8a5e9b
GM
17420 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17421 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17422 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17423 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17424 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17425 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17426
a2a25d24
SM
174272011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17428
17429 Add an :exit-function for completion-at-point.
17430
17431 * minibuffer.el (completion--done): New fun.
17432 (completion--do-completion): Use it. New arg `expect-exact'.
17433 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17434 since completion--do-completion does it for us now.
17435 (minibuffer-force-complete): Use completion--done and
17436 completion--replace. Handle sole-completion case with more care.
17437 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17438 (completion-extra-properties): New var.
17439 (completion-annotate-function): Make obsolete.
17440 (minibuffer-completion-help): Adjust accordingly.
17441 Use completion-list-insert-choice-function.
17442 (completion-at-point, completion-help-at-point):
17443 Bind completion-extra-properties.
17444 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17445 * simple.el (completion-list-insert-choice-function): New var.
17446 (completion-setup-function): Preserve it.
17447 (choose-completion): Pay attention to it, shuffle the code a bit.
17448 (choose-completion-string): New arg `insert-function'.
17449
17450 * textmodes/bibtex.el: Convert to lexical binding.
17451 (bibtex-mode-map): Use completion-at-point.
17452 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17453 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17454 (bibtex-complete): Define as obsolete alias.
17455 (bibtex-complete-internal): Remove.
17456 (bibtex-format-entry): Remove unused sub-group in regexp.
17457 * shell.el (shell--command-completion-data)
17458 (shell-environment-variable-completion):
17459 * pcomplete.el (pcomplete-completions-at-point):
17460 * comint.el (comint--complete-file-name-data): Use :exit-function
17461 instead of completion-table-with-terminator so it also works for
17462 choose-completion.
17463
e44e373d
SM
174642011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17465
4f91a816
SM
17466 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17467
782fc819
SM
17468 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17469 (bug#8710).
17470
e44e373d
SM
17471 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17472
381987c3
KM
174732011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17474
17475 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17476 customization variable and implement: If non-nil, auto-fill will
17477 be inhibited while on topic's header line.
17478
b776bc70
VB
174792011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17480
17481 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 17482 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
17483 always have a solution in grid size = 5 cases.
17484 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17485 (5x5-solver-output, 5x5-log-buffer): New vars.
17486 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17487 Make these variables buffer local to achieve 5x5 multi-session-ness.
17488 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17489 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17490 (5x5-solve-suggest): New funs.
17491 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17492 randomize a grid so that we ensure that there is always a solution.
17493 (5x5-make-random-grid): Allow other movement than flipping.
17494
7de88b6e
KR
174952011-05-23 Kevin Ryde <user42@zip.com.au>
17496
17497 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 17498 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
17499 advice and passes PREDICATE.
17500
b1ef1257
SM
175012011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17502
bbca48fe
SM
17503 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17504 byte-compile-lambda if it's actually a lambda.
17505
b1ef1257
SM
17506 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17507 Fix function quoting. Use backquote better.
17508
92a9cc65
YS
175092011-05-22 Yuanle Song <sylecn@gmail.com>
17510
17511 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17512 matching (Bug#8516).
17513
f0fb8059
JA
175142011-01-22 Jari Aalto <jari.aalto@cante.net>
17515
17516 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17517 different face (Bug#8178).
17518
d5b44c93
CY
175192011-05-22 Chong Yidong <cyd@stupidchicken.com>
17520
17521 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17522 defface (Bug#8144).
17523
79106a44
SM
175242011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17525
9c848d8a
SM
17526 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17527 funcall as well (bug#8712). Warn when performing those conversions.
17528 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17529
79106a44
SM
17530 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17531
88dfa756
GM
175322011-05-22 Glenn Morris <rgm@gnu.org>
17533
17534 * files.el (hack-local-variables-prop-line): Small simplifications.
17535 (hack-local-variables, hack-local-variables-prop-line):
17536 If MODE-ONLY, return the mode, rather than just `t'.
17537
b7cf2c79
SM
175382011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
17539
17540 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17541
3f1a8558
GM
175422011-05-21 Glenn Morris <rgm@gnu.org>
17543
7e4ccca3
GM
17544 * files.el (hack-local-variables-prop-line, hack-local-variables):
17545 If only interested in the mode, don't bother doing the other stuff.
17546
637d46ca
GM
17547 * image-mode.el (image-after-revert-hook):
17548 Redraw all frames on which the image is visible. (Bug#8567)
17549
973d955b
GM
17550 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
17551
3f1a8558
GM
17552 * wid-edit.el (widget-checklist-match-inline):
17553 Fix 2011-04-19 change. (Bug#8649)
17554
96479927
SM
175552011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
17556
1dcf791f
SM
17557 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17558 Also allow singlespace after single-letter capitals followed by a dot.
17559
96479927
SM
17560 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17561 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17562
35fd0881
N
175632011-05-20 Nix <nix@esperi.org.uk>
17564
17565 * files.el (basic-save-buffer-2):
17566 Fix handling of break-hardlink-on-save with non-existent files.
17567
82745640
DD
175682011-05-19 Deniz Dogan <deniz@dogan.se>
17569
17570 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 17571 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 17572
4a720484
GM
175732011-05-19 Glenn Morris <rgm@gnu.org>
17574
d1f21341
GM
17575 * progmodes/f90.el (f90-type-def-re):
17576 Handle "type, bind(c)". (Bug#8691)
17577
4a720484
GM
17578 * emacs-lisp/autoload.el (batch-update-autoloads):
17579 Set autoload-excludes by parsing loadup.el rather than Makefiles.
17580
2fb0a219
MA
175812011-05-18 Michael Albinus <michael.albinus@gmx.de>
17582
17583 * net/tramp.el (tramp-process-actions): Set "first-password-request"
17584 property for the correct connection in case of multihops.
17585
e565dd37
GM
175862011-05-18 Glenn Morris <rgm@gnu.org>
17587
c2571358 17588 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
17589 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17590
e565dd37
GM
17591 Rationalize calendar handling of day and month abbrev-arrays.
17592 * calendar/calendar.el (calendar-customized-p): New function.
17593 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17594 (calendar-day-name-array, calendar-month-name-array): Doc fix.
17595 Add :set function.
17596 (calendar-abbrev-length, calendar-day-abbrev-array)
17597 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17598 (calendar-day-abbrev-array, calendar-month-abbrev-array):
17599 Elements may no longer be nil.
17600 (calendar-day-name, calendar-month-name):
17601 Update for changed nature of abbrev arrays.
17602 * calendar/diary-lib.el (diary-name-pattern):
17603 Update for changed nature of abbrev arrays.
17604 (diary-mark-entries-1): Update calendar-make-alist calls.
17605 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17606 * calendar/cal-html.el (cal-html-day-abbrev-array):
17607 Simply inherit from calendar-day-abbrev-array.
17608
1d99a745
SM
176092011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17610
17611 * progmodes/grep.el (grep-mode): Disable default
17612 compilation-directory-matcher setting (bug#8684).
17613
7c1d9aa0
MA
176142011-05-17 Michael Albinus <michael.albinus@gmx.de>
17615
17616 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17617 instead of "head" and "tail". There were problems with SunOS 5.9,
17618 and it performs better.
17619
3952e9d8
GM
176202011-05-17 Glenn Morris <rgm@gnu.org>
17621
2dd12e7f
GM
17622 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17623
e4157b9c
GM
17624 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17625 Replace obsolete function.
17626
8e249bbd
GM
17627 * shell.el (pcomplete-parse-arguments-function): Declare.
17628
3952e9d8
GM
17629 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
17630 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
17631 (appt-check): Doc fixes.
17632 (appt-disp-window-function, appt-delete-window-function):
17633 Remove needless special case in custom :type.
17634 (appt-display-count): Default to 0, not nil.
17635 (appt-check): Reset appt-display-count to 0, not nil.
17636
c71a0d48 176372011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 17638
c71a0d48
GM
17639 * progmodes/python.el (python-font-lock-keywords):
17640 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 17641
31d55be9
SM
176422011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
17643
17644 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
17645
3bfacb2f
KR
176462011-05-16 Kevin Ryde <user42@zip.com.au>
17647
17648 * info-look.el (makefile-automake-mode): New setups, looking in
17649 automake manual, then makefile-mode.
17650 (makefile-mode): Remove automake manual, have it just in
17651 makefile-automake-mode since there's various things different or
17652 not relevant to plain make.
17653 (makefile-mode): Remove "other-modes" non-existent automake-mode,
17654 believe a hypothetical automake-mode would go to makefile-mode,
17655 not the other way around.
17656
c8e83751
CY
176572011-05-15 Chong Yidong <cyd@stupidchicken.com>
17658
5e9e35cd
CY
17659 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
17660 hunk-end tags (Bug#8672).
17661
c8e83751
CY
17662 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
17663 vc-annotate-show-diff-revision-at-line (Bug#8671).
17664
50b23e5a
GM
176652011-05-14 Glenn Morris <rgm@gnu.org>
17666
7210a739
GM
17667 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
17668 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
17669 (change-log-font-lock-keywords): Also handle multiple author lines
17670 with leading tabs. (Bug#8644)
7210a739 17671
4691905a
GM
17672 * calendar/appt.el (appt-check): Rename some local variables.
17673 Some simplification/reordering.
17674
50b23e5a
GM
17675 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
17676 (feedmail-sendmail-f-doesnt-sell-me-out)
17677 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17678 (feedmail-debug-sit-for, feedmail-queue-express-hook)
17679 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
17680 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
17681 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
17682 (feedmail-binmail-gnulinuxish-template):
17683 Rename from feedmail-binmail-linuxish-template.
17684 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
17685 Use insert-buffer-substring.
17686
215cda7c
BC
176872011-05-14 Bill Carpenter <bill@carpenter.org>
17688
17689 * mail/feedmail.el (feedmail-patch-level): Increase.
17690 (feedmail-debug): New custom group.
17691 (feedmail-confirm-outgoing-timeout)
17692 (feedmail-sendmail-f-doesnt-sell-me-out)
17693 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17694 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
17695 (feedmail-sender-line, feedmail-from-line)
17696 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 17697 (feedmail-spray-this-address)
215cda7c
BC
17698 (feedmail-spray-address-fiddle-plex-list)
17699 (feedmail-queue-use-send-time-for-date)
17700 (feedmail-queue-use-send-time-for-message-id)
17701 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
17702 (feedmail-buffer-eating-function):
17703 Doc fixes.
17704 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
17705 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
17706 (feedmail-message-action-scroll-down): New functions.
17707 (feedmail-queue-directory, feedmail-queue-draft-directory):
17708 Use expand-file-name.
17709 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
17710 Remove C-v help entry.
17711 (feedmail-queue-buffer-file-name): New variable.
17712 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
17713 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
17714 (feedmail-message-action-send-strong, feedmail-message-action-edit)
17715 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
17716 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
17717 (feedmail-message-action-toggle-spray)
17718 (feedmail-run-the-queue-no-prompts)
17719 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
17720 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
17721 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
17722 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
17723 (feedmail-envelope-deducer, feedmail-fiddle-from)
17724 (feedmail-fiddle-sender, feedmail-default-date-generator)
17725 (feedmail-fiddle-date, feedmail-fiddle-message-id)
17726 (feedmail-fiddle-spray-address)
17727 (feedmail-fiddle-list-of-spray-fiddle-plexes)
17728 (feedmail-fiddle-list-of-fiddle-plexes)
17729 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
17730 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
17731 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
17732 Change default. Doc fix.
17733 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
17734 (feedmail-binmail-linuxish-template): New constant.
17735 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
17736 Respect feedmail-sendmail-f-doesnt-sell-me-out.
17737 (feedmail-send-it): Add debug call.
17738 Use feedmail-queue-buffer-file-name, and
17739 feedmail-send-it-immediately-wrapper.
17740 (feedmail-message-action-send): Add debug call.
17741 Use feedmail-send-it-immediately-wrapper.
17742 (feedmail-queue-express-to-queue): Add debug call.
17743 Run feedmail-queue-express-hook.
17744 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
17745 (feedmail-message-action-help-blat):
17746 Rename from feedmail-queue-send-edit-prompt-help-first.
17747 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
17748 Check line-endings. Handle errors better.
17749 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
17750 Doc fix. Add debug call.
17751 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
17752 Use feedmail-queue-send-edit-prompt-inner.
17753 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
17754 (feedmail-queue-send-edit-prompt-inner): New function, extracted
17755 from feedmail-queue-send-edit-prompt.
17756 (feedmail-queue-send-edit-prompt-help)
17757 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
17758 (feedmail-tidy-up-slug): Add debug call.
17759 Respect feedmail-queue-slug-suspect-regexp.
17760 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
17761 (feedmail-dump-message-to-queue): Add debug call.
17762 Expand queue-directory.
17763 (feedmail-dump-message-to-queue): Change message slightly.
17764 Use feedmail-say-chatter.
17765 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
17766 (feedmail-send-it-immediately-wrapper): New function.
17767 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
17768 Insert empty string rather than newline. Handle full-frame case.
17769 Use catch/throw. Use feedmail-say-chatter.
17770 (feedmail-fiddle-from): Try mail-host-address.
17771 (feedmail-default-message-id-generator): Doc fix.
17772 Bind system-time-locale. Handle missing end.
17773 (feedmail-fiddle-x-mailer): Add debug call.
17774 Handle feedmail-x-mailer-line being nil.
17775 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
17776 Add debug call. Use buffer-substring-no-properties.
17777 (feedmail-say-debug, feedmail-say-chatter): New functions.
17778 (feedmail-find-eoh): Give an explicit error.
17779
42c7e61e
UJ
177802011-05-13 Ulf Jasper <ulf.jasper@web.de>
17781
c2571358 17782 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 17783 family from helvetica to sans.
c2571358 17784 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17785 etc/images/newsticker.
17786
c2571358 17787 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
17788 family from helvetica to sans.
17789
17790 * net/newst-plainview.el (newsticker-new-item-face)
17791 (newsticker-old-item-face, newsticker-immortal-item-face)
17792 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 17793 (newsticker-statistics-face): Change default family from
42c7e61e 17794 helvetica to sans.
c2571358 17795 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17796 etc/images/newsticker.
17797
5d3385a0
JB
17798 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
17799 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
17800 auto-marking.
17801
8497a297
DV
178022011-05-13 Didier Verna <didier@xemacs.org>
17803
17804 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
17805 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
17806 TODO entries.
8497a297
DV
17807 (lisp-lambda-list-keyword-parameter-indentation)
17808 (lisp-lambda-list-keyword-parameter-alignment)
17809 (lisp-lambda-list-keyword-alignment): New customizable user options.
17810 (lisp-indent-defun-method): Improve docstring.
17811 (extended-loop-p): Fix comment.
17812 (lisp-indent-lambda-list-keywords-regexp): New variable.
17813 (lisp-indent-lambda-list): New function.
17814 (lisp-indent-259): Use it.
17815 (lisp-indent-defmethod): Support for more than one
17816 method qualifier and properly indent methods lambda-lists.
17817 (defgeneric): Provide a missing common-lisp-indent-function property.
17818
f278f87f
SM
178192011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
17820
17821 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
17822 bounds for the empty string (bug#8667).
17823
5233edd7
GM
178242011-05-13 Glenn Morris <rgm@gnu.org>
17825
5237a44f
GM
17826 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
17827
8340026c 17828 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 17829 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 17830
5233edd7 17831 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 17832 (appt-time-msg-list): Doc fix.
a5464014 17833 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 17834
92d10796
AS
178352011-05-12 Andreas Schwab <schwab@linux-m68k.org>
17836
17837 * progmodes/ld-script.el (ld-script-keywords)
17838 (ld-script-builtins): Update keywords list.
17839
914a0ae1
SM
178402011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17841
c89be45f
SM
17842 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
17843
914a0ae1
SM
17844 * shell.el (shell-completion-vars): New function.
17845 (shell-mode):
17846 * simple.el (read-shell-command): Use it.
17847 (blink-matching-open): No need for " [...]" in minibuffer-message.
17848
98dc3df3
GM
178492011-05-12 Glenn Morris <rgm@gnu.org>
17850
17851 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
17852 (appt-check): Simplify.
17853
d2fc7e3d 178542011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 17855
4d61f28d 17856 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
17857 literal "/dev/null".
17858
d2fc7e3d 178592011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
17860
17861 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
17862 Fix typo.
17863
d2fc7e3d 178642011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 17865
3f254caa
SM
17866 * progmodes/which-func.el (which-function):
17867 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
17868 which might not be defined (Bug#8260).
17869
d45885f7
GM
178702011-05-12 Glenn Morris <rgm@gnu.org>
17871
17872 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
17873 Let byte-compile-initial-macro-environment always take precedence.
17874
488086f4
SM
178752011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17876
17877 * net/rcirc.el: Add support for SSL/TLS connections.
17878 (rcirc-server-alist): New field `encryption'.
17879 (rcirc): Check `encryption' settings.
17880 (rcirc-connect): New arg `encryption'. Use open-network-stream.
17881 Merge make-local-variable into `set'.
17882 (rcirc--connection-open-p): New function.
17883 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
17884 the process is not a network process (e.g. running gnutls-cli).
17885 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
17886 Make rcirc-(en|de)code-coding-system local here.
17887 (rcirc-mode): Merge make-local-variable into `set'.
17888 (rcirc-parent-buffer): Make permanent buffer-local.
17889 (rcirc-multiline-minor-mode): Don't do it here.
17890 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
17891 there's no server buffer.
17892
7d3b9d44
GM
178932011-05-11 Glenn Morris <rgm@gnu.org>
17894
f64049c6
GM
17895 * newcomment.el (comment-kill): Prefix "unused" local.
17896
93c9df73
GM
17897 * term/w32console.el (get-screen-color): Declare.
17898
7d3b9d44
GM
17899 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
17900 Handle symbol elements of byte-compile-initial-macro-environment.
17901
9e2dd53f
LL
179022011-05-10 Leo Liu <sdl.web@gmail.com>
17903
488086f4
SM
17904 * bookmark.el (bookmark-bmenu-mode-map):
17905 Bind bookmark-bmenu-search to `/'.
8b340240 17906
9e2dd53f 17907 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
17908 (footnote-unicode-string, footnote-unicode-regexp): New variable.
17909 (Footnote-unicode): New function.
17910 (footnote-style-alist): Add unicode style to the list.
17911 (footnote-style): Doc fix.
9e2dd53f 17912
79b70037
GM
179132011-05-10 Jim Meyering <meyering@redhat.com>
17914
17915 Fix doubled-word typos.
17916 * international/quail.el (quail-insert-kbd-layout): and and -> and
17917 * kermit.el: and and -> and
17918 * net/ldap.el (ldap-search-internal): to to -> to
17919 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
17920 * progmodes/js.el (js-mode): and and -> and
17921 * textmodes/artist.el (artist-move-to-xy): at at -> at
17922 (artist-draw-region-trim-line-endings): if if -> if
17923 And Safetyc -> Safety.
17924 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
17925
b8f82dc1 179262011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 17927 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
17928
17929 * files.el (hack-one-local-variable-eval-safep):
17930 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
17931
4f99f44b
GM
179322011-05-10 Glenn Morris <rgm@gnu.org>
17933
17934 * calendar/diary-lib.el (diary-list-entries-hook)
17935 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
17936 (diary-nongregorian-marking-hook, diary-list-entries)
17937 (diary-include-other-diary-files, diary-mark-entries)
17938 (diary-mark-included-diary-files): Doc fixes.
17939
84f29e6b
JB
179402011-05-09 Juanma Barranquero <lekktu@gmail.com>
17941
17942 * misc.el: Require tabulated-list.el during compilation.
17943
9bedd73a
CY
179442011-05-09 Chong Yidong <cyd@stupidchicken.com>
17945
488086f4
SM
17946 * progmodes/compile.el (compilation-start):
17947 Run compilation-filter-hook for the async case too.
9bedd73a
CY
17948 (compilation-filter-hook): Doc fix.
17949
797c735c
DD
179502011-05-09 Deniz Dogan <deniz@dogan.se>
17951
17952 * wdired.el: Remove outdated installation comment. Fix usage
17953 comment.
17954
5f4b1dfe
JB
179552011-05-09 Juanma Barranquero <lekktu@gmail.com>
17956
17957 * misc.el: Implement new command `list-dynamic-libraries'.
17958 (list-dynamic-libraries--loaded-only-p): New variable.
17959 (list-dynamic-libraries--refresh): New function.
17960 (list-dynamic-libraries): New command.
17961
4c44026c
CY
179622011-05-09 Chong Yidong <cyd@stupidchicken.com>
17963
488086f4
SM
17964 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17965 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
17966 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
17967 higher priority to avoid clobbering by gnu.
17968
027f966d
CY
179692011-05-08 Chong Yidong <cyd@stupidchicken.com>
17970
17971 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
17972 if the face has existing theme settings (Bug#8454).
17973
085f5d7d
CY
179742011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
17975
488086f4
SM
17976 * progmodes/perl-mode.el (perl-imenu-generic-expression):
17977 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 17978
2a86a00c
RS
17979 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
17980 special file names `.' and `..' (Bug#8259).
17981
d9c54a06
CY
179822011-05-08 Chong Yidong <cyd@stupidchicken.com>
17983
488086f4
SM
17984 * progmodes/grep.el (grep-mode-font-lock-keywords):
17985 Remove buffer-changing entries.
d9c54a06
CY
17986 (grep-filter): New function.
17987 (grep-mode): Add it to compilation-filter-hook.
17988
17989 * progmodes/compile.el (compilation-filter-hook)
17990 (compilation-filter-start): New defvars.
17991 (compilation-filter): Call compilation-filter-hook prior to
17992 updating the process mark.
17993
c4662635
SM
179942011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17995
17996 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
17997
b0512a1d
EZ
179982011-05-07 Eli Zaretskii <eliz@gnu.org>
17999
605c9376
EZ
18000 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18001 mailclient-send-it even if window-system is nil. (Bug#8595)
18002
c4662635
SM
18003 * term/w32console.el (terminal-init-w32console):
18004 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
18005 background-mode. (Bug#8597)
18006
d1dc2cc2
SM
180072011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18008
18009 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18010 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18011 New functions.
18012 (defgeneric, eieio--defmethod): Use them.
18013 (eieio-defgeneric): Remove.
18014 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18015
915d1300
GM
180162011-05-07 Glenn Morris <rgm@gnu.org>
18017
a3961c3e
GM
18018 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18019 Use let rather than let*.
18020 (timeclock-find-discrep): Remove unused local.
18021
314347b9
GM
18022 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18023
915d1300
GM
18024 * calendar/appt.el (appt-time-msg-list): Doc fix.
18025
275b59b0
NF
180262011-05-06 Noah Friedman <friedman@splode.com>
18027
18028 * apropos.el (apropos-print-doc): Only use
18029 emacs-lisp-docstring-fill-column when it is bound to an integer,
18030 per that variable's documentation.
18031
6c19f744
SM
180322011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18033
18034 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 18035 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 18036
60f884b2
GM
180372011-05-06 Glenn Morris <rgm@gnu.org>
18038
5006e634
GM
18039 * calendar/appt.el (appt-message-warning-time): Doc fix.
18040 (appt-warning-time-regexp): New option.
18041 (appt-make-list): Respect appt-message-warning-time.
18042
548d0a63
GM
18043 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18044 New options.
18045 (diary-add-to-list): Strip comments from the displayed string.
18046 (diary-mode): Set comment-start and comment-end.
18047
60f884b2
GM
18048 * vc/diff-mode.el (smerge-refine-subst): Declare.
18049 (diff-refine-hunk): Don't require smerge-mode when compiling.
18050
989681bb
JB
180512011-05-06 Juanma Barranquero <lekktu@gmail.com>
18052
18053 * simple.el (list-processes): Return nil as the docstring says.
18054
a6bc05e1
MA
180552011-05-05 Michael Albinus <michael.albinus@gmx.de>
18056
18057 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18058 to "".
18059 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18060 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18061 determining of binary transfer. (Bug#7383)
18062
23c22e9a
MA
180632011-05-05 Michael Albinus <michael.albinus@gmx.de>
18064
c4662635
SM
18065 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18066 Fix port computation bug. (Bug#8618)
23c22e9a 18067
0bff894f
GM
180682011-05-05 Glenn Morris <rgm@gnu.org>
18069
b8296902
GM
18070 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18071
1f522ce8
GM
18072 * simple.el (shell-dynamic-complete-functions)
18073 (comint-dynamic-complete-functions): Declare.
18074
cf5bee67
GM
18075 * net/network-stream.el (gnutls-negotiate):
18076 * simple.el (tabulated-list-print): Fix declarations.
18077
18078 * progmodes/gud.el (syntax-symbol, syntax-point):
18079 Remove unnecessary and incorrect declarations.
18080
0bff894f
GM
18081 * emacs-lisp/check-declare.el (check-declare-scan):
18082 Handle byte-compile-initial-macro-environment in bytecomp.el
18083
9869b3ae
SM
180842011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18085
18086 Fix earlier half-done eieio-defmethod change (bug#8338).
18087 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18088 Streamline and change calling convention.
18089 (defmethod): Adjust accordingly and simplify.
18090 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18091 new eieio--defmethod.
18092 (slot-boundp): Minor CSE simplification.
18093
9c1d5ac5
MZ
180942011-05-05 Milan Zamazal <pdm@zamazal.org>
18095
18096 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18097 (glasses-make-readable): Use glasses-separate-capital-groups.
18098
455c834e
JB
180992011-05-05 Juanma Barranquero <lekktu@gmail.com>
18100
18101 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18102 (warning-series): Doc fix.
18103 (display-warning): Don't try to create the buffer if we just found it.
18104
9ed7c8cb
CY
181052011-05-04 Chong Yidong <cyd@stupidchicken.com>
18106
18107 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18108 (autoload-find-generated-file): New function.
18109 (generate-file-autoloads): Bind generated-autoload-file to
18110 buffer-file-name.
9869b3ae
SM
18111 (update-file-autoloads, update-directory-autoloads):
18112 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
18113 output file (Bug#7989).
18114 (batch-update-autoloads): Doc fix.
18115
0898ca10
JB
181162011-05-04 Juanma Barranquero <lekktu@gmail.com>
18117
18118 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18119
31dfb76c
GM
181202011-05-04 Glenn Morris <rgm@gnu.org>
18121
f330b642
GM
18122 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18123 function, so it follows changes in calendar-date-style.
18124 (diary-fancy-date-matcher): New function.
18125 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18126 (diary-fancy-font-lock-fontify-region-function):
18127 Use diary-fancy-date-pattern as a function.
18128
31dfb76c
GM
18129 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18130 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18131
48e79d6a
TZ
181322011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18133
18134 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18135 instead of positional arguments. Allow :keylist and :crlfiles
18136 arguments.
18137 (open-gnutls-stream): Call it.
18138
18139 * net/network-stream.el (network-stream-open-starttls): Adjust to
18140 call `gnutls-negotiate' with :process and :hostname arguments.
18141
dd5a5ee0
SM
181422011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18143
ef80fc09
SM
18144 * minibuffer.el (completion--message): New function.
18145 (completion--do-completion, minibuffer-complete)
18146 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18147 (completion--do-completion): Don't ignore completion-auto-help when in
18148 icomplete-mode.
18149
dd5a5ee0
SM
18150 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18151 internal encoding (e.g. tibetan zero is not whitespace).
18152 (global-whitespace-mode): Prefer save-current-buffer.
18153 (whitespace-trailing-regexp): Remove useless save-match-data.
18154 (whitespace-empty-at-bob-regexp): Minor simplification.
18155
b7d22a83
CY
181562011-05-03 Chong Yidong <cyd@stupidchicken.com>
18157
18158 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18159
5192af46
AM
181602011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18161
18162 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 18163 Use `concat' to create string for insertion.
5192af46 18164
5767d190
SM
181652011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18166
18167 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18168 Avoid open-line which runs post-self-insert-hook.
18169 (bibtex-fill-entry): Remove unused `end' var.
18170
bf242939
AM
181712011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18172
5767d190
SM
18173 * textmodes/ispell.el (ispell-add-per-file-word-list):
18174 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 18175
25666126
LL
181762011-05-03 Leo Liu <sdl.web@gmail.com>
18177
18178 * isearch.el (isearch-yank-pop): New command.
5767d190 18179 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
18180 (isearch-forward): Mention it.
18181
52d3c2d0
SM
181822011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18183
1bcace58
SM
18184 * simple.el (minibuffer-complete-shell-command): Remove.
18185 (minibuffer-local-shell-command-map): Use completion-at-point.
18186 (read-shell-command): Setup completion vars here instead.
18187 (read-expression-map): Bind TAB to symbol completion.
18188
52d3c2d0
SM
18189 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18190 error directly rather via storing it into `results'.
18191
35813471
LL
181922011-05-02 Leo Liu <sdl.web@gmail.com>
18193
18194 * vc/diff.el: Fix description.
18195
e793a940
LMI
181962011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18197
18198 * server.el (server-eval-at): New function.
18199
8de66e05
LMI
182002011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18201
18202 * net/network-stream.el (open-network-stream): Take a :nowait
18203 parameter and pass it on to `make-network-process'.
18204 (network-stream-open-plain): Ditto.
18205
dcb79f20
AS
182062011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18207
18208 * faces.el (face-spec-set-match-display): Don't match toolkit
18209 options on terminal frames.
18210
14a7fbd8
SM
182112011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18212
7eabc1be
SM
18213 * progmodes/pascal.el: Use lexical binding.
18214 (pascal-mode-map): Remove author preferences.
18215
14a7fbd8
SM
18216 * pcomplete.el (pcomplete-std-complete): Don't abuse
18217 completion-at-point.
18218
50f84510
JB
182192011-04-28 Juanma Barranquero <lekktu@gmail.com>
18220
6e087a44
JB
18221 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18222 removing code that has been dead since 1991 or so.
18223
50f84510
JB
18224 * startup.el (command-line): When warning about "_emacs", use a
18225 delayed warning to allow the user to filter it out.
18226
0ba690bd
DD
182272011-04-28 Deniz Dogan <deniz@dogan.se>
18228
18229 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18230 user has not joined.
18231
08abfaad
SM
182322011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18233
18234 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18235 aren't any completions at point.
18236
638f053a
JB
182372011-04-28 Juanma Barranquero <lekktu@gmail.com>
18238
18239 * subr.el (display-delayed-warnings): New function.
18240 (delayed-warnings-hook): New variable.
18241
8fff8daa
SM
182422011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18243
08abfaad
SM
18244 * minibuffer.el (completion-at-point, completion-help-at-point):
18245 Don't presume that a given completion-at-point-function will always
18246 use the same calling convention.
18247
8fff8daa
SM
18248 * pcomplete.el (pcomplete-completions-at-point):
18249 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18250 pcomplete-seen is non-nil.
18251 (pcomplete-comint-setup): Also recognize the new comint/shell
18252 completion functions.
18253 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18254 pcomplete-seen is non-nil.
18255
841a1577 182562011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 18257
841a1577 18258 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 18259 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 18260 the first character in the entry. This allows for code to add its
211ec907
UJ
18261 own uid to the entry.
18262 (icalendar--convert-float-to-ical): Add export of
18263 `diary-float'-entries save for those with the optional DAY
18264 argument.
18265
2a782793
DC
182662011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18267
18268 * subr.el (shell-quote-argument): Use alternate escaping strategy
18269 when we spot a variable reference in a string.
18270
0438ce91
DC
182712011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18272
18273 * cus-start.el (all): Define customization for debug-on-event.
18274
841a1577 182752011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
18276
18277 * subr.el (shell-quote-argument): Escape correctly under Windows.
18278
d090ed6c
SM
182792011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18280
18281 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18282
bfd31217
MA
182832011-04-25 Michael Albinus <michael.albinus@gmx.de>
18284
d090ed6c
SM
18285 * net/tramp.el (tramp-process-actions): Add POS argument.
18286 Delete region between POS and (pos).
bfd31217 18287
d090ed6c
SM
18288 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18289 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
18290 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18291
18292 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18293 position in `tramp-process-actions' call.
18294
18295 * net/trampver.el: Update release number.
18296
e92f3bd3
SM
182972011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18298
850256b5
SM
18299 * custom.el (defcustom): Obey lexical-binding.
18300
e92f3bd3
SM
18301 Fix octave-inf completion problems reported by Alexander Klimov.
18302 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18303 Inherit from octave-mode-syntax-table.
18304 (inferior-octave-mode): Set info-lookup-mode.
18305 (inferior-octave-completion-at-point): New function.
18306 (inferior-octave-complete): Use it and completion-in-region.
18307 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18308 comint-filename-completion.
18309 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18310 symbol elements which shouldn't be word elements.
18311 (octave-font-lock-keywords, octave-beginning-of-defun)
18312 (octave-function-header-regexp): Adjust regexps accordingly.
18313 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18314
cd22b309
JB
183152011-04-25 Juanma Barranquero <lekktu@gmail.com>
18316
18317 * net/gnutls.el (gnutls-errorp): Declare before first use.
18318
8b492194
TZ
183192011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18320
18321 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18322 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 18323 default trustfile exists before going to use it. Add missing
5a5fa834 18324 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
18325 Reported by Claudio Bley <claudio.bley@gmail.com>.
18326 (open-gnutls-stream): Add usage example.
18327
18328 * net/network-stream.el (network-stream-open-starttls): Give host
18329 parameter to `gnutls-negotiate'.
18330 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 18331 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 18332
841a1577 183332011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 18334
cd22b309
JB
18335 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18336 Use correct match group (bug#8438).
05842630 18337
3ba7869c
CY
183382011-04-24 Chong Yidong <cyd@stupidchicken.com>
18339
512e3ae1
CY
18340 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18341 (package-menu--generate): New arg specifying packages to show.
18342 (package-menu-refresh, package-menu-execute, list-packages):
18343 Callers changed.
18344 (package-show-package-list): New function, replacing deleted
18345 package--list-packages (renamed because it is non-internal).
18346
18347 * finder.el (finder-list-matches): Use package-show-package-list
18348 instead of deleted package--list-packages.
18349
e92f3bd3
SM
18350 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18351 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
18352 (vc-annotate-mode-map): Bind it to RET.
18353
7031be6d
UR
183542011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18355
18356 * progmodes/etags.el (next-file): Don't use set-buffer to change
18357 buffers (Bug#8478).
18358
4ef177aa
CY
183592011-04-24 Chong Yidong <cyd@stupidchicken.com>
18360
c8d173eb
CY
18361 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18362
4ef177aa
CY
18363 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18364 (apropos-accumulator): Doc fix.
18365 (apropos-function, apropos-macro, apropos-command)
18366 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18367 (apropos-plist): Add face property.
18368 (apropos-symbols-internal): Fix indentation.
18369 (apropos-print): Simplify help, and recognize apropos-multi-type.
18370 (apropos-print-doc): Use button-type-get to extract the button's
18371 face property. Fill docstring (Bug#8352).
18372
4ffd0d6b 183732011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
18374
18375 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18376
c6c32125 18377 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 18378 (mpuz-mode-map): Use mapc.
c6c32125
JB
18379 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18380 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18381 Fix typos in docstrings.
18382
58d468b4
JB
18383 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18384 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18385
6470c3c6
JB
18386 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18387
4ffd0d6b 183882011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
18389
18390 * minibuffer.el (completion--do-completion): Avoid the "Next char
18391 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18392
3ad8bad0
CY
18393 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18394 mouse-2 into unread-command-events, it is interpreted correctly.
18395
71d73c9c 18396 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 18397 (image-toggle-display): Doc fix.
71d73c9c 18398
841a1577 183992011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 18400
4ffd0d6b
GM
18401 * textmodes/page.el (what-page): Use line-number-at-pos to
18402 calculate line number (Bug#6825).
6e1dbaa9 18403
c2fb1b60
JB
184042011-04-22 Juanma Barranquero <lekktu@gmail.com>
18405
18406 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18407 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18408 Pass argument NO-DEFAULT to `find-tag-interactive'.
18409
e02f48d7
JB
184102011-04-22 Juanma Barranquero <lekktu@gmail.com>
18411
18412 Lexical-binding cleanup.
18413
18414 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18415 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18416 * progmodes/ada-prj.el (ada-prj-initialize-values)
18417 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18418 (ada-prj-show-value):
18419 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18420 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18421 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18422 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18423 * progmodes/bug-reference.el (bug-reference-push-button):
18424 * progmodes/fortran.el (fortran-line-length):
18425 * progmodes/glasses.el (glasses-change):
18426 * progmodes/octave-mod.el (octave-fill-paragraph):
18427 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18428 (python-pdbtrack-grub-for-buffer, python-sentinel):
18429 * progmodes/sql.el (sql-save-connection):
18430 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18431 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18432 Mark unused parameters.
18433
18434 * progmodes/compile.el (compilation--flush-directory-cache)
18435 (compilation--flush-parse, compile-internal): Mark unused parameters.
18436 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18437 (compilation-next-error-function): Remove unused variable `timestamp'.
18438
18439 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18440 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18441
18442 * progmodes/dcl-mode.el (dcl-end-of-command):
18443 Remove unused variable `start'.
18444 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18445 (dcl-option-value-basic, dcl-option-value-offset)
18446 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18447 Mark unused parameters.
18448 (dcl-save-local-variable): Remove unused variable `val'.
18449 (mode): Declare.
18450
18451 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18452 Mark unused parameters.
18453 (delphi-ignore-changes): Move before first use.
18454 (delphi-charset-token-at): Remove unused variable `start'.
18455 (delphi-else-start): Remove unused variable `if-count'.
18456 (delphi-comment-block-start, delphi-comment-block-end):
18457 Remove unused variable `kind'.
18458 (delphi-indent-line): Remove unused variable `new-point'.
18459
18460 * progmodes/ebrowse.el (ebrowse-files-list)
18461 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18462 Mark unused parameters. Don't quote `lambda'.
18463 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18464 Don't quote `lambda'.
18465 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18466 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18467 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18468 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18469 Use `ignore-errors'.
18470 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18471 (ebrowse-view/find-file-and-search-pattern)
18472 (ebrowse-view/find-member-declaration/definition):
18473 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18474 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18475 Rename parameter PREFIX-ARG to PREFIX.
18476 (ebrowse-tags-read-name): Remove unused variables `start' and
18477 `member-info'.
18478 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18479 to `tags-file'.
18480
18481 * progmodes/etags.el (local-find-tag-hook): Declare.
18482 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18483 Mark unused parameters.
18484
18485 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18486 (executable-interpret): Mark unused parameter.
18487
18488 * progmodes/flymake.el (flymake-process-sentinel)
18489 (flymake-after-change-function)
18490 (flymake-create-temp-with-folder-structure)
18491 (flymake-get-include-dirs-dot): Mark unused parameters.
18492 (flymake-safe-delete-directory): Remove unused variable `err'.
18493
18494 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18495 (speedbar-timer-fn, speedbar-line-text)
18496 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18497 (speedbar-center-buffer-smartly): Declare functions.
18498 (gdb-find-watch-expression): Remove unused variable `array'.
18499 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18500 (gdb-starting): Mark unused parameters.
18501 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18502 (gdb-table-string): Remove unused variable `res'.
18503 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18504 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18505 (gdb-display-buffer): Remove unused variable `cur-size'.
18506
18507 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18508 allow lexical-binding compilation.
18509 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18510 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18511 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18512 Mark unused parameters.
18513 (gud-gdb-marker-filter): Remove unused variable `match'.
18514 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18515 lambda expressions and funcall them, instead of using `fset'.
18516
18517 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18518 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18519
18520 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18521 variable `header-beg'; use `let'.
18522
18523 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18524 `restart', `last-sexp' and `at-do'.
18525
18526 * progmodes/js.el (js--debug): Mark unused parameter.
18527 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18528 (js--splice-into-items): Remove unused variable `item'.
18529 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18530
18531 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18532 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18533 (makefile-complete): Remove unused variable `try'.
18534 (makefile-fill-paragraph, makefile-match-function-end):
18535 Mark unused parameters.
18536
18537 * progmodes/octave-inf.el (inferior-octave-complete):
18538 Remove unused variable `proc'.
18539 (inferior-octave-output-digest): Mark unused parameter.
18540
18541 * progmodes/perl-mode.el (perl-calculate-indent):
18542 Remove unused variable `err'.
18543
18544 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18545 (prolog-indent-line): Mark unused parameters.
18546 (prolog-indent-line): Remove unused variable `beg'.
18547
18548 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18549 (reporter-dont-compact-list): Declare.
18550
18551 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18552 Remove unused variable `char'.
18553 (sh-debug): Mark unused parameter.
18554 (sh-get-indent-info): Remove unused variable `start'.
18555 (sh-calculate-indent): Remove unused variable `var'.
18556
18557 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18558 (simula-electric-keyword): Remove unused variable `null'.
18559 (simula-search-backward, simula-search-forward): Remove unused
18560 variables `begin' and `end'.
18561
18562 * progmodes/vera-mode.el (vera-guess-basic-syntax):
18563 Remove unused variable `pos'.
18564 (vera-electric-tab, vera-comment-uncomment-region):
18565 Mark unused parameters.
18566 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18567
7ede3b65
CY
185682011-04-22 Chong Yidong <cyd@stupidchicken.com>
18569
18570 * emacs-lisp/package.el (package--builtins, package-alist)
18571 (package-load-descriptor, package-built-in-p, package-activate)
18572 (define-package, package-installed-p)
18573 (package-compute-transaction, package-buffer-info)
18574 (package--push): Doc fix. Distinguish more clearly between
18575 version strings and version lists.
18576
121656e9
JB
185772011-04-21 Juanma Barranquero <lekktu@gmail.com>
18578
18579 Lexical-binding cleanup.
18580
18581 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18582 (5x5-make-mutate-best):
18583 * play/fortune.el (fortune-in-buffer):
18584 * play/gomoku.el (gomoku-init-display):
18585 * play/solitaire.el (solitaire, solitaire-do-check):
18586 * play/tetris.el (tetris-default-update-speed-function):
18587 Mark unused parameters.
18588
18589 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18590 (bubbles--shift): Remove unused variable `char-org'.
18591 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
18592 (bubbles--show-images): Remove unused variable `char'.
18593
18594 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18595 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18596 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18597 (decipher-analyze-buffer): Use ?\s.
18598 (decipher-make-checkpoint): Remove unused variable `mapping'.
18599
18600 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18601
18602 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18603 Remove unused variable `result'; use `let'.
18604
18605 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18606 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18607 (gametree-children-shown-p, gametree-compute-reduced-score):
18608 Use `ignore-errors'.
18609
18610 * play/handwrite.el (ps-lpr-switches): Declare.
18611 (handwrite): Remove unused variables `pmin' and `lastp'.
18612
18613 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18614
18615 * play/landmark.el (landmark-init-display)
18616 (landmark-update-naught-weights): Mark unused parameters.
18617 (landmark-y): Remove unused variable `noise'. Simplify.
18618 (landmark-human-plays): Remove unused variable `score'.
18619
18620 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18621 (mpuz-try-proposal): Remove unused variable `game'.
18622
18623 * play/zone.el (life-patterns): Declare.
18624
80f499c7
JB
186252011-04-20 Juanma Barranquero <lekktu@gmail.com>
18626
18627 * vc/vc.el (ediff-vc-internal): Declare function.
18628
024ff170
SM
186292011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18630
c0a193ea
SM
18631 * shell.el: Use lexical-binding and std completion UI.
18632 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18633 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18634 comint-preoutput-filter-functions rather than on
18635 comint-output-filter-functions.
18636 (shell-command-completion, shell--command-completion-data)
18637 (shell-filename-completion, shell-environment-variable-completion)
18638 (shell-c-a-p-replace-by-expanded-directory): New functions.
18639 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
18640 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
18641 (shell-dynamic-complete-environment-variable): Use them.
18642 (shell-dynamic-complete-as-environment-variable)
18643 (shell-dynamic-complete-as-command): Remove.
18644 (shell-match-partial-variable): Match past point.
18645 * comint.el: Clean up use of completion-at-point-functions.
18646 (comint-completion-at-point): New function.
18647 (comint-mode): Use it completion-at-point-functions.
18648 (comint-dynamic-complete): Make it obsolete.
18649 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
18650 (comint-c-a-p-replace-by-expanded-history): New function.
18651 (comint-dynamic-complete-functions)
18652 (comint-replace-by-expanded-history): Use it.
18653 * minibuffer.el (completion-table-with-terminator): Allow dynamic
18654 termination strings. Try harder to avoid second try-completion.
18655 (completion-in-region-mode-map): Disable bindings that don't work yet.
18656
2dbaa080
SM
18657 * comint.el: Use lexical-binding. Require CL.
18658 (comint-dynamic-complete-functions): Use comint-filename-completion.
18659 (comint-completion-addsuffix): Tweak custom type.
18660 (comint-filename-completion, comint--common-suffix)
18661 (comint--common-quoted-suffix, comint--table-subvert)
18662 (comint--complete-file-name-data): New functions.
18663 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
18664 (comint-dynamic-list-filename-completions): Use them.
18665 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 18666
2dbaa080
SM
18667 * minibuffer.el (completion-in-region-mode):
18668 Keep completion-in-region-mode--predicate global.
18669 (completion-in-region--postch):
18670 Assume completion-in-region-mode--predicate is not null.
18671
c79a6f38
SM
18672 * progmodes/flymake.el (flymake-start-syntax-check-process):
18673 Obey `dir'. Simplify.
18674
024ff170
SM
18675 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
18676 we're in VC after all.
18677
1c6c854e
CS
186782011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
18679
18680 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 18681 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
18682 (vc-version-diff): Use vc-diff-build-argument-list-internal.
18683
bed7f140
SM
186842011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18685
332e62ab
SM
18686 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
18687 add sanity check.
18688
bed7f140
SM
18689 * obsolete/erc-hecomplete.el: Make obsolete.
18690 * obsolete/: Standardize obsolescence info in the header.
18691
f195c582
GM
186922011-04-20 Glenn Morris <rgm@gnu.org>
18693
18694 * calendar/solar.el (solar-horizontal-coordinates):
18695 Use the longitude argument rather than `calendar-longitude'.
18696 (solar-date-next-longitude): Remove unused locals.
18697
cb79b8c0
VJL
186982011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18699
18700 * whitespace.el: New version 13.2.1.
18701
187022011-04-20 felix <EmacsWiki> (tiny change)
18703
d8e4b68b 18704 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
18705 switching between major modes on a file.
18706
602ea69d
SM
187072011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
18708
18709 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
18710 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
18711 multi-line comments as well.
18712
06b60517
JB
187132011-04-19 Juanma Barranquero <lekktu@gmail.com>
18714
18715 Lexical-binding cleanup.
18716
18717 * arc-mode.el (archive-mode-revert):
18718 * cmuscheme.el (scheme-interactively-start-process):
18719 * custom.el (custom-initialize-delay):
18720 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
18721 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
18722 * emacs-lock.el (emacs-lock-clear-sentinel):
18723 * ezimage.el (defezimage):
18724 * follow.el (follow-avoid-tail-recenter):
18725 * fringe.el (set-fringe-mode-1):
18726 * generic-x.el (bat-generic-mode-compile):
18727 * help-mode.el (help-info-variable, help-do-xref)
18728 (help-mode-revert-buffer):
18729 * help.el (view-emacs-todo):
18730 * iswitchb.el (iswitchb-completion-help):
18731 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
18732 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
18733 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
18734 * locate.el (locate-update):
18735 * longlines.el (longlines-encode-region)
18736 (longlines-after-change-function):
18737 * outline.el (outline-isearch-open-invisible):
18738 * ps-def.el (declare-function, charset-dimension, char-width)
18739 (encode-char):
18740 * ps-mule.el (ps-mule-plot-string):
18741 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
18742 (recentf-edit-list-select, recentf-edit-list-validate)
18743 (recentf-open-files-action):
18744 * rect.el (delete-whitespace-rectangle-line)
18745 (rectangle-number-line-callback):
18746 * register.el (window-configuration-to-register)
18747 (frame-configuration-to-register):
18748 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
18749 * select.el (xselect-convert-to-string, xselect-convert-to-length)
18750 (xselect-convert-to-targets, xselect-convert-to-delete)
18751 (xselect-convert-to-filename, xselect-convert-to-charpos)
18752 (xselect-convert-to-lineno, xselect-convert-to-colno)
18753 (xselect-convert-to-os, xselect-convert-to-host)
18754 (xselect-convert-to-user, xselect-convert-to-class)
18755 (xselect-convert-to-name, xselect-convert-to-integer)
18756 (xselect-convert-to-atom, xselect-convert-to-identity):
18757 * subr.el (declare, ignore, process-kill-without-query)
18758 (text-clone-maintain):
18759 * terminal.el (te-get-char, te-tic-sentinel):
18760 * tool-bar.el (tool-bar-make-keymap):
18761 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
18762 * type-break.el (type-break-mode, type-break-noninteractive-query):
18763 * view.el (View-back-to-mark):
18764 * wid-browse.el (widget-browse-action, widget-browse-widget)
18765 (widget-browse-widgets, widget-browse-sexp):
18766 * widget.el (define-widget-keywords):
18767 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
18768 Mark unused parameters.
18769
18770 * align.el (align-adjust-col-for-rule): Mark unused parameter.
18771 (align-areas): Remove unused variable `look'.
18772 (align-region): Remove unused variables `real-end' and `pos-list'.
18773
18774 * apropos.el (apropos-score-doc): Remove unused variable `i'.
18775
18776 * bindings.el (mode-line-modified, mode-line-remote):
18777 Mark unused parameters.
18778 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
18779
18780 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
18781 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
18782
18783 * comint.el (comint-history-isearch-pop-state)
18784 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
18785 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
18786 (comint-substitute-in-file-name): Doc fix.
18787
18788 * completion.el (cmpl-statistics-block): Mark unused parameter.
18789 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
18790 (save-completions-to-file, load-completions-from-file):
18791 Remove unused local variable `e'.
18792
18793 * composite.el (compose-chars): Remove unused variable `len'.
18794 (lgstring-insert-glyph): Remove unused variable `g'.
18795 (compose-glyph-string): Remove unused variables `ascent',
18796 `descent', `lbearing' and `rbearing'.
18797 (compose-glyph-string-relative): Remove unused variables
18798 `lbearing', `rbearing' and `wadjust'.
18799 (compose-gstring-for-graphic): Remove unused variables `header',
18800 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
18801 (compose-gstring-for-terminal): Remove unused variables `header'
18802 and `nchars'. Use `let', not `let*'.
18803
18804 * cus-edit.el (Custom-set, Custom-save, custom-reset)
18805 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
18806 (Custom-buffer-done, custom-buffer-create-internal)
18807 (custom-browse-visibility-action, custom-browse-group-tag-action)
18808 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
18809 (widget-magic-mouse-down-action, custom-toggle-parent)
18810 (custom-add-parent-links, custom-toggle-hide-variable)
18811 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
18812 (custom-toggle-hide-face, face, hook, custom-group-link-action)
18813 (custom-face-menu-create, custom-variable-menu-create, get)
18814 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
18815 (custom-reset-standard-save-and-update): Remove unused variable `value'.
18816 (customize-apropos): Remove unused variable `tests'.
18817 (custom-group-value-create): Remove unused variable `hidden-p'.
18818 (sort-fold-case): Declare.
18819
18820 * cus-theme.el (custom-reset-standard-faces-list)
18821 (custom-reset-standard-variables-list): Declare.
18822 (customize-create-theme, custom-theme-revert, custom-theme-write)
18823 (custom-theme-choose-mode, customize-themes, custom-theme-save):
18824 Mark unused parameters.
18825
18826 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
18827
18828 * delim-col.el (delimit-columns-max): Move defvar before first use.
18829
18830 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 18831 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
18832
18833 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
18834 (auto-insert): Declare.
18835 (desktop-restore-file-buffer): Rename desktop-* parameters;
18836 mark unused ones.
18837 (desktop-create-buffer): Rename desktop-* parameters and bind them.
18838 (desktop-buffer): Rename desktop-* parameters.
18839
18840 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18841 (dframe-reposition-frame-xemacs, dframe-help-echo)
18842 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
18843 Mark unused parameters.
18844
18845 * dired-aux.el (backup-extract-version-start, overwrite-query)
18846 (overwrite-backup-query, rename-regexp-query)
18847 (rename-non-directory-query): Declare.
18848 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
18849 (dired-add-entry): Remove unused variable `orig-file-name'.
18850 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
18851 Use parameter PRESERVE-TIME instead of accessing dynamic variable
18852 `dired-copy-preserve-time' directly.
18853 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
18854 (dired-insert-subdir-newpos): Rename unused variable `pos'.
18855
18856 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
18857 (dired-virtual-revert, dired-make-relative-symlink):
18858 Mark unused parameters.
18859 (manual-program): Declare.
18860 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
18861 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
18862 wrapped in `with-no-warnings' to avoid replacing one warning by another.
18863
18864 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
18865
18866 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
18867
18868 * echistory.el (electric-history-in-progress, Helper-return-blurb):
18869 Declare.
18870
18871 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
18872
18873 * electric.el (Electric-command-loop): Rename parameter
18874 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
18875
18876 * expand.el (expand-in-literal): Remove unused variable `here'.
18877
18878 * facemenu.el (facemenu-add-new-color):
18879 Remove unused variable `docstring'.
18880
18881 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
18882 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
18883 (face-attr-construct): Mark unused parameter. Doc fix.
18884 (read-color): Remove unused variable `hex-string'.
18885
18886 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
18887 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
18888 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
18889 (display-buffer-other-frame): Remove unused variable `old-window'.
18890 (kill-buffer-hook): Declare.
18891 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
18892 Mark unused parameters.
18893 (after-find-file): Pass 1 to `auto-save-mode', not t.
18894
18895 * files-x.el (auto-insert): Declare.
18896 (modify-file-local-variable-prop-line): Remove unused variable `val'.
18897
18898 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 18899 variable `buf'. Mark unused parameter.
06b60517
JB
18900 (find-lisp-insert-directory): Mark unused parameter.
18901
18902 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
18903 (format-encode-region): Remove unused variables `cur-buf' and `result'.
18904 (format-common-tail): Remove, unused.
18905 (format-deannotate-region): Remove unused variable `loc'.
18906 (format-annotate-region): Remove unused variable `p'.
18907 (format-annotate-single-property-change): Remove unused variables
18908 `default' and `tail'.
18909
18910 * forms.el (read-file-filter): Declare.
18911 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
18912
18913 * frame.el (frame-creation-function-alist): Mark unused parameter.
18914 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
18915
18916 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
18917 Remove unused parameters.
18918 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
18919 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
18920
18921 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
18922 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
18923 (hfy-prepare-tag-map): Mark unused parameters.
18924 (htmlfontify-buffer): Use `called-interactively-p'.
18925
18926 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
18927 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
18928 (ibuffer-do-occur): Mark unused parameters.
18929 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
18930 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
18931
18932 * ibuffer.el: Don't quote `lambda'.
18933 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
18934 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
18935 Mark unused parameters.
18936
18937 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
18938 (ido-completing-read): Mark unused parameters.
18939 (ido-copy-current-word): Mark unused parameters;
18940 remove unused variable `name'.
18941 (ido-sort-merged-list): Remove unused parameter `dirs'.
18942
18943 * ielm.el (ielm-input-sender): Mark unused parameter.
18944 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
18945 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
18946 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
18947 `ielm-string' as a dynamic variable accessible from the IELM prompt.
18948 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
18949
18950 * image-dired.el (image-dired-display-thumbs): Remove unused
18951 variables `curr-file' and `count'.
18952 (image-dired-remove-tag): Remove unused variable `start'.
18953 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
18954 variable `curr-file'
18955 (image-dired-rotate-original): Remove unused variable `temp-file'.
18956 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
18957 Remove unused variable `file'.
18958 (image-dired-gallery-generate): Remove unused variable `curr'.
18959 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
18960
18961 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
18962
18963 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
18964
18965 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
18966
18967 * isearch.el (minibuffer-history-symbol): Declare.
18968 (isearch-edit-string): Remove unused variable `err'.
18969 (isearch-message-prefix, isearch-message-suffix):
18970 Mark unused parameters.
18971
18972 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
18973
18974 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
18975
18976 * makesum.el (double-column): Remove unused variable `cnt'.
18977
18978 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
18979 (ido-ignore-item-temp-list): Declare.
18980
18981 * mouse-drag.el (mouse-drag-throw): Remove unused variables
18982 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
18983 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
18984 (mouse-drag-drag): Remove unused variables `mouse-delta' and
18985 `mouse-col-delta'.
18986
18987 * mouse-sel.el (mouse-extend-internal):
18988 Remove unused variable `orig-window-frame'.
18989
18990 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
18991 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
18992 Move declarations before first use.
18993 (pcomplete-opt): Mark unused parameters; doc fix.
18994
18995 * proced.el (proced-revert): Mark unused parameter.
18996 (proced-send-signal): Remove unused variable `err'.
18997
18998 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
18999 Rename parameter PREFIX-ARG to ARG.
19000 (ps-basic-plot-string, ps-basic-plot-whitespace):
19001 Mark unused parameters.
19002
19003 * replace.el (replace-count): Define.
19004 (occur-revert-function): Mark unused parameters.
19005 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19006 (isearch-case-fold-search, isearch-string): Declare.
19007 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19008 bind `case-fold-search'. Remove unused variables `beg' and `end',
19009 and simplify.
19010 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19011 COUNT and bind `replace-count'.
19012 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19013 to COUNT.
19014
19015 * savehist.el (print-readably, print-string-length): Declare.
19016
19017 * shadowfile.el (shadow-expand-cluster-in-file-name):
19018 Remove unused variable `cluster'.
19019 (shadow-copy-file): Remove unused variable `i'.
19020 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19021 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19022 (shadow-define-literal-group, shadow-define-regexp-group)
19023 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19024
19025 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19026 (shell): Use `called-interactively-p'.
19027 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19028
19029 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19030 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19031 (delete-backward-char): Remove unused variable `ocol'.
19032 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19033 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19034 (event-apply-hyper-modifier, event-apply-shift-modifier)
19035 (event-apply-control-modifier, event-apply-meta-modifier):
19036 Mark unused parameters.
19037 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19038 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19039
19040 * speedbar.el (speedbar-ignored-directory-expressions)
19041 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19042 (speedbar-find-file, speedbar-dir-follow)
19043 (speedbar-directory-buttons-follow, speedbar-tag-find)
19044 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19045 (speedbar-buffers-line-directory, speedbar-buffer-click):
19046 Mark unused parameters.
19047 (speedbar-tag-file): Remove unused variable `mode'.
19048 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19049
19050 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19051
19052 * talk.el (talk): Remove unused variable `display'.
19053
19054 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19055 (tar-write-region-annotate): Mark unused parameter.
19056
19057 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19058 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19059 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19060 warning by another.
19061
19062 * time-stamp.el (time-stamp-string-preprocess):
19063 Remove unused variable `require-padding'.
19064
19065 * tree-widget.el (widget-glyph-enable): Declare.
19066 (tree-widget-action): Mark unused parameter.
19067
19068 * w32-fns.el (x-get-selection): Mark unused parameter.
19069 (autoload-make-program, generated-autoload-file): Declare.
19070
19071 * wdired.el (wdired-revert): Mark unused parameters.
19072 (wdired-xcase-word): Remove unused variable `err'.
19073
19074 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19075 (whitespace-help-scroll): Remove unused variable `data-help'.
19076
19077 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19078 (widget-image-insert, widget-after-change, default)
19079 (widget-default-format-handler, widget-default-notify)
19080 (widget-default-prompt-value, widget-info-link-action)
19081 (widget-url-link-action, widget-function-link-action)
19082 (widget-variable-link-action, widget-file-link-action)
19083 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19084 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19085 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19086 (widget-insert-button-action, widget-delete-button-action, visibility)
19087 (widget-documentation-link-action, widget-documentation-string-action)
19088 (widget-const-prompt-value, widget-regexp-match, symbol)
19089 (widget-coding-system-prompt-value)
19090 (widget-key-sequence-value-to-external, sexp)
19091 (widget-sexp-value-to-internal, character, vector, cons)
19092 (widget-choice-prompt-value, widget-boolean-prompt-value)
19093 (widget-color--choose-action): Mark unused parameters.
19094 (widget-item-match-inline, widget-choice-match-inline)
19095 (widget-checklist-match, widget-checklist-match-inline)
19096 (widget-group-match): Rename parameter VALUES to VALS.
19097 (widget-field-value-set): Remove unused variable `size'.
19098 (widget-color-action): Remove unused variables `value' and `start'.
19099
19100 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 19101 variable `dir'. Doc fix.
06b60517
JB
19102 (windmove-find-other-window): Don't pass it.
19103
19104 * window.el (count-windows): Mark unused parameter.
19105 (bw-adjust-window): Remove unused variable `err'.
19106
19107 * woman.el (woman-file-name): Remove unused variable `default'.
19108 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19109 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19110 (global-font-lock-mode): Declare.
19111 (woman-decode-region): Mark unused parameter.
19112 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19113
19114 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19115 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19116 (x-dnd-handle-moz-url): Remove unused variable `title'.
19117 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19118
19119 * xml.el (xml-parse-tag, xml-parse-attlist):
19120 Remove unused variable `pos'.
19121
bc4f7f3d
GM
191222011-04-19 Glenn Morris <rgm@gnu.org>
19123
19124 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19125 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19126 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19127 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19128 * calendar/cal-html.el (cal-html-insert-minical):
19129 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19130 (calendar-mark-date-pattern):
19131 Prefix "unused" locals.
19132
19133 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19134 optional argument `style'.
19135
19136 * calendar/appt.el (appt-make-list):
19137 * calendar/cal-china.el (calendar-chinese-date-string):
19138 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19139 (diary-hebrew-yahrzeit):
19140 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19141 * calendar/calendar.el (calendar-generate-window):
19142 * calendar/time-date.el (time-to-days):
19143 Remove unused local variables.
19144
16a43933
CY
191452011-04-18 Chong Yidong <cyd@stupidchicken.com>
19146
19147 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19148 glyphless-char-display table.
19149 (tabulated-list-glyphless-char-display): New var.
19150
7eed1860
SS
191512011-04-18 Sam Steingold <sds@gnu.org>
19152
19153 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19154 to acknowledgments.
19155
4d2d1ccd
GM
191562011-04-17 Glenn Morris <rgm@gnu.org>
19157
19158 * calendar/diary-lib.el (diary-sexp-entry):
19159 * calendar/holidays.el (holiday-sexp):
19160 Set debug-on-error rather than the removed stack-trace-on-error.
19161
239da61d
GM
191622011-04-16 Glenn Morris <rgm@gnu.org>
19163
19164 * progmodes/f90.el: Use lexical-binding.
19165 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19166
8b05752a
SM
191672011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19168
daca8ba5
SM
19169 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19170 (mail-mode): Setup mailalias completion here instead.
19171 * mail/mailalias.el: Use lexical-binding.
19172 (pattern, mailalias-done): Declare dynamic.
19173 (mail-completion-at-point-function): New function, from mail-complete.
19174 (mail-complete): Use it.
19175 (mail-completion-expand): New function.
19176 (mail-get-names): Use it.
19177 (mail-directory, mail-directory-process, mail-directory-stream):
19178 Don't use `pattern' for lexically bound arg.
19179
6f542485
SM
19180 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19181
037e7c3f
SM
19182 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19183 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19184 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19185
8b05752a
SM
19186 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19187 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19188 (byte-interactive-p): Define them again, for use when inlining
19189 old code.
19190
49093f60
JB
191912011-04-15 Juanma Barranquero <lekktu@gmail.com>
19192
19193 * loadup.el: Use `string-to-number', not `string-to-int'.
19194
b5b8e7de
SM
191952011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19196
19197 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19198 gud-gdb-complete-command.
19199 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19200 (gud-gdb-completion-at-point): New function.
19201 (gud-gdb-completions): Remove.
19202
f42efeb5
MA
192032011-04-14 Michael Albinus <michael.albinus@gmx.de>
19204
49093f60
JB
19205 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19206 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19207 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19208 whether `executable-find' is bound.
f42efeb5
MA
19209
19210 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19211
e240cc21
SM
192122011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19213
19214 * minibuffer.el (completion-in-region-mode-predicate)
19215 (completion-in-region-mode--predicate): New vars.
19216 (completion-in-region, completion-in-region--postch)
19217 (completion-in-region-mode): Use them.
19218 (completion--capf-wrapper): Also return the hook function.
19219 (completion-at-point, completion-help-at-point):
19220 Adjust and provide a predicate.
c2bd2ab0
SM
19221
19222 Preserve arg names for advice of subr and lexical functions (bug#8457).
19223 * help-fns.el (help-function-arglist): Consolidate the subr and
19224 new-byte-code cases. Add argument `preserve-names' to extract names
19225 from the docstring when needed.
19226 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19227 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19228 (ad-arglist): Use help-function-arglist's new arg.
19229 (ad-definition-type): Use cond.
19230
c183f693
JB
192312011-04-13 Juanma Barranquero <lekktu@gmail.com>
19232
06641a47
JB
19233 * autorevert.el (auto-revert-handler):
19234 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19235 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19236 Don't quote lambda.
19237
c183f693
JB
19238 * image-mode.el (image-transform-set-scale):
19239 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19240
1e3b6001
G
192412011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19242
19243 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 19244 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
19245 Upgrades via gnutls-cli are too slow to be done opportunistically.
19246
2d6af8dd
JB
192472011-04-12 Juanma Barranquero <lekktu@gmail.com>
19248
19249 * dframe.el (dframe-current-frame): Remove spurious quote.
19250
c0749a51
GM
192512011-04-12 Glenn Morris <rgm@gnu.org>
19252
088d0d61
GM
19253 * calendar/cal-tex.el (cal-tex-end-document):
19254 Try to automatically use latin1 input if needed.
19255
c0749a51
GM
19256 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19257 Don't try to cons a mark onto an empty element.
19258
5c90fde0
LL
192592011-04-11 Leo Liu <sdl.web@gmail.com>
19260
19261 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19262 buffers.
19263 (ido-kill-buffer-at-head): Support killing virtual buffers.
19264
369e974d
CY
192652011-04-10 Chong Yidong <cyd@stupidchicken.com>
19266
19267 * minibuffer.el (completion-show-inline-help): New var.
19268 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
19269 (minibuffer-force-complete, minibuffer-complete-word):
19270 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
19271
19272 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19273 to avoid interference from inline help (Bug#5849).
19274
37f1c930
LL
192752011-04-10 Leo Liu <sdl.web@gmail.com>
19276
099c39a4
JB
19277 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19278 Fix typo.
37f1c930 19279
a32d4040
CY
192802011-04-09 Chong Yidong <cyd@stupidchicken.com>
19281
19282 * image-mode.el (image-toggle-display-image): Signal an error if
19283 not in Image mode.
19284 (image-transform-mode, image-transform-resize)
19285 (image-transform-set-rotation): Doc fix.
daca8ba5 19286 (image-transform-set-resize): Delete.
a32d4040
CY
19287 (image-transform-set-scale, image-transform-fit-to-height)
19288 (image-transform-fit-to-width): Handle image-toggle-display-image
19289 and image-transform-resize directly.
19290
099c39a4 192912011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
19292
19293 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
19294 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19295 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
19296 (doc-view-mode-map): Add bindings for the new functions.
19297
099c39a4 192982011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 19299
4d61f28d 19300 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
19301 Fix typo in docstring.
19302
3726838a
EZ
193032011-04-08 Eli Zaretskii <eliz@gnu.org>
19304
04f33f1e
EZ
19305 * files.el (file-size-human-readable): Produce one digit after
19306 decimal, like "ls -lh" does.
19307
19308 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19309 the file size representation.
19310
3726838a
EZ
19311 * simple.el (list-processes): If async subprocesses are not
19312 available, error out with a clear error message.
19313
cbb59342
CY
193142011-04-08 Chong Yidong <cyd@stupidchicken.com>
19315
19316 * help.el (help-form-show): New function, to be called from C.
19317 Put help-form output in a buffer named differently than *Help*.
19318
e3971c44
EZ
193192011-04-08 Eli Zaretskii <eliz@gnu.org>
19320
19321 * files.el (file-size-human-readable): New function.
19322
19323 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19324 computing the representation inline. Don't require `cl'.
19325
12544bbe
GM
193262011-04-08 Glenn Morris <rgm@gnu.org>
19327
a1de6c6a
GM
19328 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19329
3c4671f4
GM
19330 * net/browse-url.el (browse-url-firefox):
19331 Test system-type, not system-configuration.
19332
b605679c
GM
19333 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19334 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19335 Use log-edit-empty-buffer-p. (Bug#7598)
19336
56442f0c
GM
19337 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19338 (rlogin-mode-map): Initialize in the defvar.
19339 (rlogin): Use ignore-errors.
19340
12544bbe
GM
19341 * replace.el (occur-mode-map): Some fixes for menu items.
19342
eb237b0f
AH
193432011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19344
19345 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19346
7d668f2c
CY
193472011-04-06 Chong Yidong <cyd@stupidchicken.com>
19348
e67a13ab
CY
19349 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19350 issuing unused warnings.
19351
19352 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19353 macro directly.
19354
7d668f2c
CY
19355 * simple.el: Lisp reimplement of list-processes. Based on an
19356 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19357 (process-menu-mode): New major mode.
19358 (list-processes--refresh, list-processes):
19359 (process-menu-visit-buffer): New functions.
19360
19361 * files.el (save-buffers-kill-emacs): Don't assume any return
19362 value of list-processes, which is undocumented anyway.
19363
a83ec3c9
CY
193642011-04-06 Chong Yidong <cyd@stupidchicken.com>
19365
19366 * emacs-lisp/tabulated-list.el: New file.
19367
e91a96fe
CY
19368 * emacs-lisp/package.el: Use Tabulated List mode.
19369 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19370 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19371 table format using Tabulated List mode variables.
19372 (package--push): New macro, replacing package-list-maybe-add.
19373 (package-menu--generate): Use package--push. Renamed from
19374 package--generate-package-list.
19375 (package-menu-refresh, list-packages): Use it.
daca8ba5 19376 (package-menu--print-info): Rename from package-print-package.
e91a96fe 19377 Return insertion data instead of inserting it directly.
099c39a4
JB
19378 (package-menu-describe-package, package-menu-execute):
19379 Use tabulated-list-get-id.
e91a96fe
CY
19380 (package-menu-mark-delete, package-menu-mark-install)
19381 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
19382 (package-menu-mark-obsolete-for-deletion):
19383 Use tabulated-list-put-tag.
e91a96fe
CY
19384 (package--list-packages, package-menu-revert)
19385 (package-menu-get-package, package-menu-get-version)
19386 (package-menu-sort-by-column): Functions deleted.
19387 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19388 (package-menu--status-predicate, package-menu--version-predicate)
19389 (package-menu--name-predicate)
19390 (package-menu--description-predicate): Handle arguments in the
19391 Tabulated List format.
19392 (package-list-packages-no-fetch): Call list-packages.
19393
3e214b50
JB
193942011-04-06 Juanma Barranquero <lekktu@gmail.com>
19395
19396 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 19397 (after-find-file): Don't bind it.
3e214b50
JB
19398 (revert-buffer-in-progress-p): New variable.
19399 (revert-buffer): Bind it.
19400 Pass nil for `after-find-file-from-revert-buffer'.
19401
19402 * saveplace.el (save-place-find-file-hook): Use new variable
19403 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19404
3f0f1700
GM
194052011-04-06 Glenn Morris <rgm@gnu.org>
19406
c0274801
GM
19407 * Makefile.in (AUTOGEN_VCS): New variable.
19408 (autoloads): Use $AUTOGEN_VCS.
19409
3f0f1700
GM
19410 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19411 * calendar/calendar.el (calendar-mode-map):
19412 Check for toolkit scroll bars. (Bug#8305)
19413
41ea9e48
CY
194142011-04-05 Chong Yidong <cyd@stupidchicken.com>
19415
19416 * minibuffer.el (completion-in-region--postch)
19417 (completion-in-region-mode): Remove unnecessary messages.
19418
6194c800
JB
194192011-04-05 Juanma Barranquero <lekktu@gmail.com>
19420
33256f14
JB
19421 * font-lock.el (font-lock-refresh-defaults):
19422 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19423 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19424
6194c800
JB
19425 * info.el (Info-directory-list, Info-read-node-name-2)
19426 (Info-split-parameter-string): Doc fixes.
19427 (Info-virtual-nodes): Reflow docstring.
19428 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19429 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19430 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19431 Fix typos in docstrings.
19432 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19433 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19434 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19435 (Info-restore-desktop-buffer): Mark unused parameters.
19436 (Info-directory-find-file, Info-directory-find-node)
19437 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19438 (Info-virtual-index-find-node, Info-apropos-find-file)
19439 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 19440 Mark unused parameters; fix typos in docstrings.
6194c800
JB
19441 (Info-virtual-index): Remove unused local variable `nodename'.
19442
b87a8200 194432011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 19444
b87a8200
DD
19445 * net/rcirc.el: Update my e-mail address.
19446 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 19447
3b2ff876
CY
194482011-04-05 Chong Yidong <cyd@stupidchicken.com>
19449
19450 * startup.el (command-line): Save the cursor's theme-face
19451 directly, instead of using face-override-spec.
19452
19453 * custom.el (load-theme): Minor optimization in assigning faces.
19454
8d17e7ca
JB
194552011-04-04 Juanma Barranquero <lekktu@gmail.com>
19456
19457 * help-fns.el (describe-variable): Complete all variables having
19458 documentation, including keywords.
19459 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19460
2fbc1934
JB
194612011-04-04 Juanma Barranquero <lekktu@gmail.com>
19462
19463 Convert to lexical-binding.
19464
19465 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19466 (bs--get-marked-string, bs--get-modified-string)
19467 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19468 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19469 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19470
19471 * ehelp.el (electric-help-execute-extended)
19472 (electric-help-ctrl-x-prefix):
19473 * hexl.el (hexl-revert-buffer-function):
19474 * linum.el (linum-after-change, linum-after-scroll):
19475 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19476
19477 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19478
74f50695
DU
194792011-04-04 Daiki Ueno <ueno@unixuser.org>
19480
19481 * epa-dired.el:
19482 * epa-mail.el:
19483 * epa-hook.el:
19484 * epa-file.el:
19485 * epa.el:
19486 * epg.el: Use lexical binding.
19487
c11325f7
CY
194882011-04-03 Chong Yidong <cyd@stupidchicken.com>
19489
0d9e9a12
CY
19490 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19491
c11325f7 19492 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
19493 dictionary case for flyspell-mark-duplications-exceptions.
19494 Use regexp matching for languages.
c11325f7
CY
19495 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19496 default dictionary (Bug#7926).
19497
da91b5f2
CY
194982011-04-02 Chong Yidong <cyd@stupidchicken.com>
19499
099c39a4
JB
19500 * emacs-lisp/package.el (package--with-work-buffer):
19501 Recognize https URLs.
da91b5f2 19502
099c39a4
JB
19503 * net/network-stream.el: Move from gnus/proto-stream.el.
19504 Change prefix to network-stream throughout.
da91b5f2
CY
19505 (open-protocol-stream): Merge into open-network-stream, leaving
19506 open-protocol-stream as an alias. Handle nil BUFFER args.
19507
19508 * subr.el (open-network-stream): Move to net/network-stream.el.
19509
afa8e9f6
GM
195102011-04-02 Glenn Morris <rgm@gnu.org>
19511
1d2e369d
GM
19512 * find-dired.el (find-exec-terminator): New option.
19513 (find-ls-option): Test for -ls support.
19514 (find-ls-subdir-switches): Test for -b in find-ls-option.
19515 (find-dired, find-grep-dired): Doc fixes.
19516 (find-dired): Use find-exec-terminator.
19517
8abb7da8 19518 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
19519 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19520 (find-name-arg): Remove purecopy.
8abb7da8 19521
f3ca7378
GM
19522 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19523 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19524 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19525 accordingly. Don't add the null-device if not needed.
19526
afa8e9f6
GM
19527 * files.el (save-some-buffers): Doc fix.
19528
35eae264
EZ
195292011-04-02 Eli Zaretskii <eliz@gnu.org>
19530
19531 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19532
26b51db5
JB
195332011-04-01 Juanma Barranquero <lekktu@gmail.com>
19534
19535 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19536 Use `dolist' rather than `mapcar'.
19537
7200d79c
SM
195382011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19539
03408648 19540 Add lexical binding.
7200d79c 19541
03408648
SM
19542 * subr.el (apply-partially): Use new closures rather than CL.
19543 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19544 (dolist, dotimes): Use slightly different expansion for lexical code.
19545 (functionp): Move to C.
19546 (letrec): New macro.
19547 (with-wrapper-hook): Use it and apply-partially instead of CL.
19548 (eval-after-load): Preserve lexical-binding.
19549 (save-window-excursion, with-output-to-temp-buffer): Turn them
19550 into macros.
7200d79c 19551
03408648
SM
19552 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19553
19554 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19555 than the arglist.
19556 (help-add-fundoc-usage): Don't add `Not documented'.
19557 (help-function-arglist): Handle closures, subroutines, and new
19558 byte-code-functions.
19559 (help-make-usage): Remove leading underscores.
19560 (describe-function-1): Handle closures.
19561 (describe-variable): Use special-variable-p for completion.
19562
19563 * files.el (lexical-binding): Declare safe.
f488fb65 19564
03408648
SM
19565 * emacs-lisp/pcase.el: Don't use destructuring-bind.
19566 (pcase--memoize): Rename from pcase-memoize. Change weakness.
19567 (pcase): Add `let' pattern.
19568 Change memoization so it actually works.
19569 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19570 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19571 <let>: New case.
f488fb65 19572
03408648
SM
19573 * emacs-lisp/macroexp.el: Use lexical binding.
19574 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
19575 Don't convert ' to #' without checking that it's indeed quoting
19576 a lambda.
19577
19578 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 19579 Use eval-sexp-add-defvars.
03408648
SM
19580 (eval-sexp-add-defvars): New fun.
19581
19582 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19583
19584 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19585 Don't autoload.
19586 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19587 than the internal `byte-compile-lambda'.
19588 (defmethod): Don't hide code under quotes.
19589 (eieio-defmethod): New `code' argument.
19590
19591 * emacs-lisp/eieio-comp.el: Remove.
19592
19593 * emacs-lisp/edebug.el (edebug-eval-defun)
19594 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19595 (edebug-toggle): Avoid `eval'.
19596
19597 * emacs-lisp/disass.el (disassemble-internal): Handle new
19598 `closure' objects.
19599 (disassemble-1): Handle new byte codes.
19600
19601 * emacs-lisp/cl.el (pushnew): Silence warning.
19602
19603 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19604 (cl-byte-compile-throw): Remove.
19605 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19606
19607 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19608 closures.
19609
19610 * emacs-lisp/cconv.el: New file.
19611
19612 * emacs-lisp/bytecomp.el: Use lexical binding instead of
19613 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
19614 (byte-compile-initial-macro-environment):
19615 Handle declare-function here.
19616 (byte-compile--lexical-environment): New var.
19617 (byte-stack-ref, byte-stack-set, byte-discardN)
19618 (byte-discardN-preserve-tos): New lap codes.
19619 (byte-interactive-p): Don't use any more.
19620 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19621 New macros.
19622 (byte-compile-lapcode): Use them and handle new lap codes.
19623 (byte-compile-obsolete): Remove.
19624 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19625 (byte-compile-arglist-warn): Check late def of inlinable funs.
19626 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19627 since they should have been expanded by now.
19628 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
19629 (byte-compile-from-buffer): Remove unused second arg.
19630 (byte-compile-preprocess): New function.
19631 (byte-compile-toplevel-file-form): New function to distinguish
19632 file-form calls from outside from file-form calls from hunk-handlers.
19633 (byte-compile-file-form): Simplify.
19634 (byte-compile-file-form-defsubst): Remove.
19635 (byte-compile-file-form-defmumble): Simplify now that
19636 byte-compile-lambda always returns a byte-code-function.
19637 (byte-compile): Preprocess.
19638 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
19639 Remove, not used any more.
19640 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
19641 (byte-compile-make-args-desc): New funs.
19642 (byte-compile-lambda): Handle lexical functions. Always return
19643 a byte-code-function.
19644 (byte-compile-reserved-constants): New var, to make up room for
19645 closed-over variables.
19646 (byte-compile-constants-vector): Obey it.
19647 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
19648 (byte-compile-macroexpand-declare-function): New function.
19649 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
19650 byte-code-functions.
19651 (byte-compile-form): Check obsolescence here.
19652 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
19653 (byte-compile-variable-ref): Remove.
19654 (byte-compile-dynamic-variable-op): New fun.
19655 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19656 (byte-compile-variable-set): New funs.
19657 (byte-compile-discard): Add 2 args.
19658 (byte-compile-stack-ref, byte-compile-stack-set)
19659 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
19660 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
19661 macroexpand-all instead.
19662 (byte-compile-quote-form): Remove.
19663 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
19664 (byte-compile-bind, byte-compile-unbind): New funs.
19665 (byte-compile-let): Handle let* and lexical binding.
19666 (byte-compile-let*): Remove.
19667 (byte-compile-catch, byte-compile-unwind-protect)
19668 (byte-compile-track-mouse, byte-compile-condition-case):
19669 Handle a new :fun-body form, used for lexical scoping.
19670 (byte-compile-save-window-excursion)
19671 (byte-compile-with-output-to-temp-buffer): Remove.
19672 (byte-compile-defun): Simplify.
19673 (byte-compile-stack-adjustment): New fun.
19674 (byte-compile-out): Use it.
19675 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
19676
19677 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
19678 handler any more.
19679
19680 * emacs-lisp/byte-opt.el: Use lexical binding.
19681 (byte-inline-lapcode): Remove (to bytecomp).
19682 (byte-compile-inline-expand): Pay attention to inlining to/from
19683 lexically bound code.
19684 (byte-compile-unfold-lambda): Don't handle byte-code-functions
19685 any more.
19686 (byte-optimize-form-code-walker): Don't handle save-window-excursion
19687 any more and don't call compiler-macros.
19688 (byte-compile-splice-in-already-compiled-code): Remove.
19689 (byte-code): Don't inline any more.
19690 (disassemble-offset): Receive `bytes' as argument rather than via
19691 dynamic scoping.
19692 (byte-compile-tag-number): Declare before first use.
19693 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
19694 `return' even if make-spliceable.
19695 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
19696 obsolete interactive-p.
19697 (byte-optimize-lapcode): Optimize new lap-codes.
19698 Don't trip up on new form of `byte-constant' lap code.
19699
19700 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
19701
19702 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
19703
19704 * custom.el (custom-initialize-default, custom-declare-variable):
19705 Use `defvar'.
19706
19707 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
19708 New variables.
19709 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
19710 (COMPILE_FIRST): Add macroexp and cconv.
19711 * makefile.w32-in: Mirror changes in Makefile.in.
19712
19713 * vc/cvs-status.el:
19714 * vc/diff-mode.el:
19715 * vc/log-edit.el:
19716 * vc/log-view.el:
19717 * vc/smerge-mode.el:
19718 * textmodes/bibtex-style.el:
090bd7cb 19719 * textmodes/css-mode.el:
03408648
SM
19720 * startup.el:
19721 * uniquify.el:
da91b5f2
CY
19722 * minibuffer.el:
19723 * newcomment.el:
19724 * reveal.el:
19725 * server.el:
19726 * mpc.el:
19727 * emacs-lisp/smie.el:
19728 * doc-view.el:
19729 * dired.el:
03408648
SM
19730 * abbrev.el: Use lexical binding.
19731
0f0c1f27
EZ
197322011-04-01 Eli Zaretskii <eliz@gnu.org>
19733
19734 * info.el (info-display-manual): New function.
19735
c82b2579
SM
197362011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
19737
19738 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
19739
221ddf68
TH
197402011-03-31 Tassilo Horn <tassilo@member.fsf.org>
19741
19742 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 19743 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 19744
cba6e77e
GM
197452011-03-31 Glenn Morris <rgm@gnu.org>
19746
e040639f
GM
19747 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
19748
cba6e77e
GM
19749 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
19750
6d0f1c9e
CS
197512011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
19752
19753 * progmodes/python.el (python-default-interpreter)
19754 (python-python-command-args, python-jython-command-args)
19755 (python-which-shell, python-which-args, python-which-bufname)
19756 (python-file-queue, python-comint-output-filter-function)
19757 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
19758 variables and functions.
19759
3e2d70fd
SM
197602011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
19761
19762 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
19763 (completion-in-region-mode): New minor mode.
19764 (completion-in-region): Use it.
19765 (completion-in-region--data, completion-in-region-mode-map): New vars.
19766 (completion-in-region--postch): New function.
19767 (completion--capf-misbehave-funs, completion--capf-safe-funs):
19768 New vars.
19769 (completion--capf-wrapper): New function.
19770 (completion-at-point): Use it to track well-behavedness of
19771 hook functions.
19772 (completion-help-at-point): New command.
19773
f3e4086c
JM
197742011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
19775
19776 * vc/add-log.el (add-change-log-entry): Don't use whitespace
19777 syntax class to search for whitespace on a single line
19778 (Message-ID: <4D938140.4030905@redhat.com>).
19779
eb7ffc14
LL
197802011-03-30 Leo Liu <sdl.web@gmail.com>
19781
19782 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
19783 New commands.
19784 (edit-abbrevs-map): Bind them here.
19785 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
19786
d806ab68
KM
197872011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
19788
19789 * allout.el (allout-hide-by-annotation, allout-flag-region):
19790 Reduce possibility of overlay leakage by making them volatile.
19791
19792 * allout-widgets.el (allout-widgets-tally): Define as nil so the
19793 hash is not shared between buffers. Mode initialization is
19794 responsible for giving it a useful starting value.
19795 (allout-item-span): Reduce possibility of overlay leakage by
19796 making them volatile.
19797 (allout-widgets-count-buttons-in-region): Add diagnostic function
19798 for tracking down button overlay leaks.
19799
ea622834
LL
198002011-03-29 Leo Liu <sdl.web@gmail.com>
19801
19802 * ido.el (ido-read-internal): Use the default history var
19803 minibuffer-history if no HISTORY is specified.
19804
b62f8267
G
198052011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
19806
03408648
SM
19807 * net/imap.el (imap-shell-open, imap-process-connection-type):
19808 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
19809 Kerberos, SSL, other subprocesses.
19810
947b6566
LL
198112011-03-28 Leo Liu <sdl.web@gmail.com>
19812
19813 * abbrev.el (abbrev-table-empty-p): New function.
19814 (prepare-abbrev-list-buffer): Place empty abbrev tables after
19815 nonempty ones. (Bug#5937)
19816
5ffb62aa
JD
198172011-03-27 Jan Djärv <jan.h.d@swipnet.se>
19818
19819 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
19820
7a097943
LL
198212011-03-27 Leo Liu <sdl.web@gmail.com>
19822
19823 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
19824 for foreground and background colors.
19825 (ansi-color-make-color-map): Adapt.
19826
c5b40130
LL
198272011-03-25 Leo Liu <sdl.web@gmail.com>
19828
1f48f7d2
LL
19829 * midnight.el (midnight-time-float): Remove. Note it calculates
19830 the microsecond component incorrectly and seconds-to-time does the
19831 same job.
625897ec 19832 Remove redundant (require 'timer).
1f48f7d2 19833
c5b40130
LL
19834 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
19835 (ido-completions): Remove unused arguments. (Bug#8329)
19836
d86d2721
SM
198372011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
19838
19839 * minibuffer.el (completion--flush-all-sorted-completions):
19840 Remove itself from hook.
19841 (completion-at-point): Let the functions perform the completion
19842 immediately and return nil or t.
19843 * comint.el (comint-dynamic-complete-functions): Now identical to
19844 completion-at-point-functions.
19845 (comint-dynamic-list-input-ring): Remove unused var `index'.
19846 (comint--match-partial-filename, comint--unquote&expand-filename):
19847 New funs, split from comint-match-partial-filename.
19848 (comint-dynamic-complete): Use completion-at-point.
19849 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
19850
e8974c48
DA
198512011-03-24 Drew Adams <drew.adams@oracle.com>
19852
19853 * thingatpt.el: Support `defun'.
19854
def71b5e
LL
198552011-03-23 Leo Liu <sdl.web@gmail.com>
19856
cb5af48e
LL
19857 * abbrevlist.el: Move to obsolete/abbrevlist.el.
19858
def71b5e
LL
19859 * help-mode.el (help-mode-finish): Tweak regexp.
19860
927c53e7
GM
198612011-03-23 Glenn Morris <rgm@gnu.org>
19862
18d05bed
GM
19863 * eshell/esh-opt.el (eshell-eval-using-options):
19864 Do not bind unused local variable `eshell-option-stub'.
19865
927c53e7
GM
19866 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
19867
9d0da923
JB
198682011-03-22 Juanma Barranquero <lekktu@gmail.com>
19869
19870 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
19871 keymap variable in `with-no-warnings' to avoid a warning when the
19872 keymap has been already `defconst'ed.
19873
4b978a67
LL
198742011-03-22 Leo Liu <sdl.web@gmail.com>
19875
19876 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
19877 encode all chars in abbrevs; otherwise use emacs-mule or
19878 utf-8-emacs. (Bug#8308)
19879
5fd62452
JB
198802011-03-22 Juanma Barranquero <lekktu@gmail.com>
19881
0b1596c6
JB
19882 * simple.el (backward-delete-char-untabify):
19883 Avoid warning about using `delete-backward-char'.
19884
5fd62452
JB
19885 * image.el (image-type-file-name-regexps): Make it variable.
19886 `imagemagick-register-types' modifies it, and the user may want
19887 to add new extensions for known image types.
19888 (imagemagick-register-types): Throw error if not using ImageMagick.
19889
0b4e93f1
LL
198902011-03-22 Leo Liu <sdl.web@gmail.com>
19891
19892 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
19893 located before rcirc-prompt-end-marker.
19894 (rcirc-complete): Error if point is not after rcirc prompt.
19895 Handle the case when table is nil.
9882e214 19896 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 19897
fccee4ab
CY
198982011-03-22 Chong Yidong <cyd@stupidchicken.com>
19899
19900 * custom.el (custom--inhibit-theme-enable): Make it affect only
19901 custom-theme-set-variables and custom-theme-set-faces.
19902 (provide-theme): Ignore custom--inhibit-theme-enable.
19903 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
19904 (custom-enabling-themes): Delete variable.
d86d2721
SM
19905 (enable-theme): Accept only loaded themes as arguments.
19906 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
19907 (custom-enabled-themes): Forbid themes from setting this.
19908 Eliminate use of custom-enabling-themes.
19909 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 19910
af896da6
LL
199112011-03-21 Leo Liu <sdl.web@gmail.com>
19912
19913 * ido.el (ido-read-internal): Add ido-selected to history instead
19914 of user input.
19915
78f64af0
SM
199162011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
19917
19918 * subr.el (deferred-action-list, deferred-action-function):
19919 Mark obsolete.
19920
b16ac1ec
LL
199212011-03-21 Leo Liu <sdl.web@gmail.com>
19922
810f7698
LL
19923 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
19924 change on 2011-02-13 (bug#8309).
19925
b16ac1ec
LL
19926 * minibuffer.el (read-file-name-function): Change default value.
19927 (read-file-name--defaults): Rename from read-file-name-defaults.
19928 (read-file-name-default): Rename from read-file-name.
19929 (read-file-name): Call read-file-name-function.
19930
4e05e67e
GM
199312011-03-21 Glenn Morris <rgm@gnu.org>
19932
19933 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
19934 Doc fixes.
19935
4359915b
CY
199362011-03-21 Chong Yidong <cyd@stupidchicken.com>
19937
19938 * cus-theme.el: Add missing provide statement.
19939 (customize-create-theme): Extract theme value correctly.
19940 (custom-theme-visit-theme): Autoload.
19941 (customize-create-theme): Prompt before inserting default faces.
19942
1fe275ee
JB
199432011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
19944
19945 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
19946 units and musical notes.
19947
cd394be1 199482011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
19949
19950 * ido.el (ido-read-internal): Use completing-read-default.
19951 (ido-completing-read): Fix compatibility with completing-read.
19952
7d476bde
CO
199532011-03-20 Christian Ohler <ohler@gnu.org>
19954
19955 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
19956 (ert-delete-all-tests): Use `called-interactively-p' rather than
19957 `interactive-p'.
19958 (ert--make-xrefs-region): Respect END.
19959
fe0fb33e
CY
199602011-03-19 Chong Yidong <cyd@stupidchicken.com>
19961
ff854b0b
CY
19962 * dired-aux.el (dired-create-directory): Signal an error if the
19963 directory already exists (Bug#8246).
19964
fe0fb33e
CY
19965 * facemenu.el (list-colors-display): Call list-faces-display
19966 inside with-help-window.
19967 (list-colors-print): Use display property to align the final
19968 column, instead of checking window-width.
19969
576bce32
EZ
199702011-03-19 Eli Zaretskii <eliz@gnu.org>
19971
4d61f28d 19972 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
19973 windows-nt systems.
19974 (emerge-protect-metachars): Quote correctly for ms-dos and
19975 windows-nt systems.
19976
89c41d68 199772011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
19978
19979 * info.el (info-initialize): Replace all uses of `:' with
19980 path-separator for compatibility with non-Unix systems.
19981 Cache quoting of path-separator. (Bug#8258)
19982
b14e3e21 199832011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
19984
19985 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
19986 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
19987 (mouse-avoidance-mode): Fix typos in docstrings.
19988
4525ce3e
CY
199892011-03-19 Chong Yidong <cyd@stupidchicken.com>
19990
19991 * startup.el (package-subdirectory-regexp): Move from package.el.
19992 Omit \\` and \\', and let callers add them.
19993
19994 * emacs-lisp/package.el (package-strip-version)
19995 (package-load-all-descriptors): Add \\` and \\' to
19996 package-subdirectory-regexp before using it.
19997 (package-untar-buffer): New arg DIR; ensure that file untars only
19998 into this expected directory. Remove superfluous delete-region.
19999 (package-unpack): Caller changed.
20000 (package-tar-file-info): Use package-subdirectory-regexp.
20001
a904a09a 200022011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 20003
a904a09a
SM
20004 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20005 diff-mode-shared-map (bug#8284).
20006 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
20007
200082011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20009
20010 * calendar/time-date.el (format-seconds): Use assoc instead of
20011 assoc-string, since assoc-string doesn't exist in XEmacs.
20012
171fc304
JB
200132011-03-17 Juanma Barranquero <lekktu@gmail.com>
20014
20015 * custom.el (custom-known-themes): Reflow docstring.
20016 (custom-theme-load-path): Fix typo in docstring.
20017 (load-theme): Fix typo in error message.
20018 (custom-available-themes, custom-variable-theme-value):
20019 Use `let', not `let*'.
20020
d71990a1
JB
200212011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20022
20023 * calc/README: Mention inclusion of musical notes.
20024
20025 * calc/calc-units.el (calc-lu-quant): Rename from
20026 `calc-logunits-quantity'.
20027 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20028 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20029 (calc-db): Rename from `calc-dblevel'.
20030 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20031 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20032 (calc-np): Rename from `calc-nplevel'.
20033 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20034 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20035 (calc-lu-plus): Rename from `calc-logunits-add'.
20036 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20037 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20038 (calc-lu-minus): Rename from `calc-logunits-sub'.
20039 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20040 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20041 (calc-lu-times): Rename from `calc-logunits-mul'.
20042 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20043 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20044 (calc-lu-divide): Rename from `calc-logunits-div'.
20045 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20046 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20047
20048 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20049 functions being autoloaded.
20050
20051 * calc/calc.el (calc-lu-power-reference): Rename from
20052 `calc-logunits-power-reference'.
20053 (calc-lu-field-reference): Rename from
20054 `calc-logunits-field-reference'.
20055
7a71b18d
GM
20056 * calc/calc-help.el (calc-l-prefix-help):
20057 Mention musical note functions.
d71990a1 20058
40c2934b
SM
200592011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20060
20061 * minibuffer.el (completion-all-sorted-completions):
20062 Use :completion-cycle-penalty text property if present.
20063
b0911414
KM
200642011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20065
20066 * allout.el (allout-yank-processing): Adjust for new rebulleting
20067 regime so bullet being yanked is used without prompting the user
20068 for a choice.
20069
8a05b668
JB
200702011-03-16 Juanma Barranquero <lekktu@gmail.com>
20071
20072 * startup.el (command-line): Warn the user that _emacs is deprecated.
20073
5ba5fb81
JB
200742011-03-16 Juanma Barranquero <lekktu@gmail.com>
20075
20076 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20077 (delphi-verbose, delphi-comment-face, delphi-string-face)
20078 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20079 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20080 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20081 (delphi-new-comment-line, delphi-font-lock-defaults)
20082 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20083 Fix typos in docstrings.
20084
2dab465b
KM
200852011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20086
5ba5fb81 20087 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
20088 Invert the roles of character and string values for INSTEAD, so a
20089 string is used for the more common case of a defaulting prompt.
20090
0adf5618
SM
200912011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20092
20093 * progmodes/ruby-mode.el (ruby-backward-sexp):
20094 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20095 * play/gamegrid.el (gamegrid-make-face):
20096 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20097 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20098 * notifications.el (notifications-notify):
20099 * net/xesam.el (xesam-search-engines):
20100 * net/quickurl.el (quickurl-list-insert):
20101 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20102
d72700e5
CY
201032011-03-15 Chong Yidong <cyd@stupidchicken.com>
20104
20105 * startup.el (command-line): Update package subdirectory regexp.
20106
49c5410a
SM
201072011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20108
c6eee9aa
SM
20109 * allout.el (allout-abbreviate-flattened-numbering)
20110 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20111
49c5410a
SM
20112 * subr.el (read-char-choice): Only show the cursor after the prompt,
20113 not after the answer.
20114
047b2bb9
KR
201152011-03-15 Kevin Ryde <user42@zip.com.au>
20116
20117 * help-fns.el (variable-at-point): Skip leading quotes, if any
20118 (bug#8253).
20119
0a57d256
SM
201202011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20121
20122 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20123 warning message.
20124
77c992bc
MA
201252011-03-14 Michael Albinus <michael.albinus@gmx.de>
20126
20127 * shell.el (shell): When called interactively, offer to change the
20128 shell file name on remote hosts.
20129
eebc475d
TZ
201302011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20131
20132 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20133 integration for LDAP parameters. The host, base, user or binddn,
20134 and secret tokens can be specified in a netrc file, for instance.
20135 This is optional because an `auth-source' parameter must be
20136 specified in the search attributes.
20137
9d05d1ba
JB
201382011-03-13 Juanma Barranquero <lekktu@gmail.com>
20139
20140 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20141
09d9db2c
GM
201422011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20143
20144 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20145 into declaration. Remove redundant and harmful binding.
20146
201472011-03-12 Eli Zaretskii <eliz@gnu.org>
20148
20149 * files.el (file-ownership-preserved-p): Pass `integer' as an
20150 explicit 2nd argument to `file-attributes'. If the file's owner
20151 is the Administrators group on Windows, and the current user is
20152 Administrator, consider that a match.
20153
20154 * server.el (server-ensure-safe-dir): Consider server directory
20155 safe on MS-Windows if its owner is the Administrators group while
20156 the current Emacs user is Administrator. Use `=' to compare
20157 numerical UIDs, since they could be integers or floats.
20158
219bd536
JB
201592011-03-12 Juanma Barranquero <lekktu@gmail.com>
20160
20161 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20162
f3afd36b
MA
201632011-03-12 Michael Albinus <michael.albinus@gmx.de>
20164
20165 Sync with Tramp 2.2.1.
20166
20167 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20168
20169 * net/trampver.el: Update release number.
20170
3aaaa6f1
SM
201712011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20172
94642599
SM
20173 * progmodes/compile.el (compilation--previous-directory): Fix up
20174 various nil/dead-marker mismatches (bug#8014).
20175 (compilation-directory-properties, compilation-error-properties):
20176 Don't call it at a position past the one we're about to change.
20177
3aaaa6f1
SM
20178 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20179 Disable obsolescence warnings in the file that declares it.
20180
14239447
KM
201812011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20182
099c39a4
JB
20183 * allout-widgets.el (allout-widgets-tally):
20184 Initialize allout-widgets-tally as a hash table rather than nil to
20185 prevent mode-line redisplay warnings. Also, clarify the module
20186 description and fix a comment typo.
14239447 20187
135e287c
JB
201882011-03-11 Juanma Barranquero <lekktu@gmail.com>
20189
20190 * help-fns.el (describe-variable): Don't complete keywords.
20191 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20192
ffbf300e
CY
201932011-03-10 Chong Yidong <cyd@stupidchicken.com>
20194
ba08b241
CY
20195 * emacs-lisp/package.el (package-version-join): Impose a standard
20196 string representation for pre/alpha/beta version lists.
20197 (package-unpack-single): Standardize the directory name by passing
20198 it through package-version-join.
20199 (package-strip-rcs-id): Accept any version string that does not
20200 signal an error in version-to-list.
ffbf300e 20201
f346fd6b
MA
202022011-03-10 Michael Albinus <michael.albinus@gmx.de>
20203
20204 * simple.el (delete-trailing-whitespace): Return nil for the
20205 benefit of `write-file-functions'.
20206
ccb55d27
GM
202072011-03-10 Glenn Morris <rgm@gnu.org>
20208
5ceaac0c
GM
20209 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20210
02da65ff
GM
20211 * vc/vc-git.el (vc-git-program): New option.
20212 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20213 (vc-git--call): Use it.
20214
b2f603cc
GM
20215 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20216
5772caab
GM
20217 * cus-edit.el (Custom-newline): If no button at point, look
20218 for a subgroup button at start-of-line. (Bug#2298)
20219
ccb55d27
GM
20220 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20221
ec6ecaed
JD
202222011-03-10 Julien Danjou <julien@danjou.info>
20223
20224 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20225 `cursor-type' is nil.
20226
9d5aa01d
JB
202272011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20228
20229 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20230
b6a5875b
KM
202312011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20232
7a71b18d 20233 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
20234 preserves the existing header prefix, rebulleting it if necessary,
20235 rather than replacing it. This is necessary for proper operation
20236 of cooperative addons like allout-widgets.
1154d12e
JB
20237 (allout-make-topic-prefix, allout-rebullet-heading):
20238 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20239 value as alternate bullet to be used, instead of prompting the user
20240 for a bullet character.
b6a5875b 20241
ee545c35
MA
202422011-03-09 Michael Albinus <michael.albinus@gmx.de>
20243
d86d2721
SM
20244 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20245 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
20246 `tramp-default-port'.
20247
c47971d7
DD
202482011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20249
20250 * net/rcirc.el (rcirc-handler-001): Remove useless
20251 with-rcirc-process-buffer.
20252 (rcirc-check-auth-status): Swap arguments to string-match.
20253
13522cb4
GM
202542011-03-09 Glenn Morris <rgm@gnu.org>
20255
0be6f4f1
GM
20256 * shell.el (shell-mode):
20257 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20258
13522cb4
GM
20259 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20260 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20261
515de2e3
CY
202622011-03-08 Chong Yidong <cyd@stupidchicken.com>
20263
20264 * emacs-lisp/package.el (package-refresh-contents)
20265 (package-menu-execute): Use condition-case-no-debug.
20266
b511b994
MA
202672011-03-08 Michael Albinus <michael.albinus@gmx.de>
20268
20269 * simple.el (shell-command-to-string): Use `process-file'.
20270
20271 * emacs-lisp/package.el (package-tar-file-info): Handle also
20272 remote files.
20273
d86d2721
SM
20274 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20275 Use `equal' for upload base check.
b511b994 20276
25bbfb31
AM
202772011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20278
20279 * textmodes/texinfo.el (texinfo-environments):
20280 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20281
be996521
GM
202822011-03-08 Glenn Morris <rgm@gnu.org>
20283
e9c8529f
GM
20284 * cus-start.el (cursor-in-non-selected-windows):
20285 Fix :set quoting oddness. (Bug#8192)
20286
be996521
GM
20287 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20288 in some setf expressions. (Bug#2159)
20289
2bb5649e
CY
202902011-03-08 Chong Yidong <cyd@stupidchicken.com>
20291
20292 * custom.el (custom-available-themes): Return themes in
20293 alphabetical order.
20294
33383987 20295See ChangeLog.15 for earlier changes.
e3d51b27
MR
20296
20297;; Local Variables:
20298;; coding: utf-8
e3d51b27
MR
20299;; End:
20300
acaf905b 20301 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
20302
20303 This file is part of GNU Emacs.
20304
20305 GNU Emacs is free software: you can redistribute it and/or modify
20306 it under the terms of the GNU General Public License as published by
20307 the Free Software Foundation, either version 3 of the License, or
20308 (at your option) any later version.
20309
20310 GNU Emacs is distributed in the hope that it will be useful,
20311 but WITHOUT ANY WARRANTY; without even the implied warranty of
20312 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20313 GNU General Public License for more details.
20314
20315 You should have received a copy of the GNU General Public License
20316 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.