ChangeLog fixes
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
94c66ce5
SM
12012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
4
a4ff7fe1
FEG
52012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
6
7 Implemented `backward-up-list'-like navigation.
8 * progmodes/python.el (python-nav-up-list)
9 (python-nav-backward-up-list): New functions.
10 (python-mode-map): Define substitute key for backward-up-list to
11 python-nav-backward-up-list.
12
24517d82
FEG
132012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
14
15 * progmodes/python.el (python-fill-paragraph): Rename from
16 python-fill-paragraph-function. Fixed fill-paragraph for
17 decorators (Bug#12605).
18
51867ae2
FEG
192012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
20
21 * progmodes/python.el (python-shell-output-filter): Handle extra
22 carriage return in OSX (Bug#12409).
23
a5b773c4
FEG
242012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
25
26 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 27 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
28 (python-syntax-propertize-function): Use it.
29 (python-shell-output-syntax-table): New var.
30 (inferior-python-mode): Prevent unbalanced parens/quotes from
31 previous output mess with current input context.
32
13373538
JB
332012-10-08 Juanma Barranquero <lekktu@gmail.com>
34
35 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
36 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
37
775a132d
MA
382012-10-08 Michael Albinus <michael.albinus@gmx.de>
39
40 * ffap.el (ffap-replace-file-component): Support Tramp file name
41 syntax, not only ange-ftp's one.
42
3ab44929
GM
432012-10-08 Glenn Morris <rgm@gnu.org>
44
57f1dee4
GM
45 * cus-start.el (message-log-max): Set :version.
46
3ab44929
GM
47 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
48
6a088630
MR
492012-10-08 Martin Rudalics <rudalics@gmx.at>
50
51 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
52 the minibuffer window (Bug#10851).
53
8dbce54c
FEG
542012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
55
56 Enhancements on forward-sexp movement.
57 * progmodes/python.el (python-nav-beginning-of-statement)
58 (python-nav-end-of-statement): Return point-marker.
59 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
60 (python-info-current-symbol)
61 (python-info-statement-starts-block-p): Rename from
62 python-info-beginning-of-block-p.
63 (python-info-statement-ends-block-p): Rename from
64 python-info-end-of-block-p.
65 (python-info-beginning-of-statement-p)
66 (python-info-end-of-statement-p)
67 (python-info-beginning-of-block-p, python-info-end-of-block-p):
68 New functions.
69
5acd2b3e
SM
702012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
71
72 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
73 frame-selected-windows.
74
e08348a0
DC
752012-10-08 Daniel Colascione <dancol@dancol.org>
76
77 * battery.el (battery-status-function): Check for
78 w32-battery-status itself, not system-time windows-nt.
79
80 * frame.el: Require cl-lib.
81 (display-format-alist): New variable mapping frame types to
82 functions that initialize them.
83 (window-system-for-display): New function: interprets
84 display-format-alist.
85 (make-frame-on-display): Remove existing display-selection logic
86 and just forward to make-frame, which will now DTRT.
87 (make-frame): Restructure to use window-system-for-display to
88 figure out how to create a frame on a given display.
89 (display-mouse-p): Look for frame-type w32, not a particular
90 system-type.
91
92 * loadup.el: Load w32 lisp code when we have the w32 feature.
93
94 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
95 system-type windows-nt.
96
97 * server.el (server-create-window-system-frame): Look for window
98 type.
99 (server-proces-filter): Only force a window system when windows-nt
100 _and_ w32. Explain why.
101
102 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
103 of window systems we configure for the mode.
104
105 * startup.el (command-line): Mark window system is initialized
106 after we've done it.
107
108 * common-win.el (x-select-text): Look for w32, not windows-nt.
109
110 * ns-win.el: Require cl-lib. Add ourselves to
111 display-format-alist.
112 (ns-initialize-window-system): Assert we're not initialized twice.
113
114 * w32-win.el: Enable lexical binding; require cl-lib; add
115 ourselves to display-format-alist.
116 (w32-handle-dropped-file): Convert incoming dropped files from
117 Windows paths to Cygwin ones before passing them on to the rest of
118 Emacs.
119 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
120 (w32-initialize-window-system): Assert we're not initialized twice.
121
122 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
123 (x-initialize-window-system): Assert we're not initialized twice.
124
125 * w32-common-fns.el: New File.
126 (w32-version, w32-using-nt, w32-get-clipboard-data)
127 (w32-set-clipboard-data, x-set-selection, x-get-selection)
128 (w32-charset-info-alist, x-last-selected, text)
129 (x-get-selection-value, x-selection-value): Move here.
130
131 * w32-fns.el: Require w32-common-fns.
132 (w32-version, w32-using-nt, w32-get-clipboard-data)
133 (w32-set-clipboard-data, x-set-selection, x-get-selection)
134 (w32-charset-info-alist, x-last-selected, text)
135 (x-get-selection-value, x-selection-value): Move to
136 w32-common-fns.
137
138 * w32-vars.el:
139 (w32-allow-system-shell, w32-system-shells): Define only in
140 non-cygwin case.
141
795b1482
SM
1422012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
143
144 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
145 (read-passwd): Remove a few more potential sources of leaks.
146
f27c99dc
FEG
1472012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
148
149 * progmodes/python.el (inferior-python-mode)
795b1482 150 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
151 variables copied from parent buffer.
152
fcacb558
JD
1532012-10-07 Jan Djärv <jan.h.d@swipnet.se>
154
155 * term/ns-win.el (ns-read-file-name): Update declaration to match
156 nsfns.m.
157 (ns-respond-to-change-font): Change fontsize separatly so we are sure
158 it is set when font is acted upon.
159
be0d5bae
FEG
1602012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
161
162 Enhancements to indentation.
163 * progmodes/python.el (python-indent-context): Give priority to
164 inside-string context. Make comments indentation markers.
165 (python-indent-region): Do not mess with strings, unless it's the
166 enclosing set of quotes.
167
13af0d10
SM
1682012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
169
662a9d0e
SM
170 * window.el (internal--before-save-selected-window)
171 (internal--after-save-selected-window): New functions extracted from
172 save-selected-window. Make sure we return the `alist' we construct.
173 (save-selected-window): Use them.
174
175 * textmodes/tex-mode.el (tex-recenter-output-buffer):
176 Use with-selected-window.
177
13af0d10
SM
178 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
179 forms that define macros (bug#12593).
180
6aa75fb6
KH
1812012-10-07 Kenichi Handa <handa@gnu.org>
182
13af0d10
SM
183 * international/mule-conf.el (compound-text-with-extensions):
184 Add :mime-charset property as x-ctext.
6aa75fb6 185
78d876b9
SM
1862012-10-07 Stefan Merten <smerten@oekonux.de>
187
188 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
189 (rst-indent-literal-normal, rst-indent-literal-minimized)
190 (rst-indent-comment): Correct :version tag.
557337e9 191 (rst-official-cvs-rev): Correct version string.
78d876b9 192
99a1e701
GM
1932012-10-07 Glenn Morris <rgm@gnu.org>
194
195 * mail/rmailmm.el (rmail-mime-process-multipart):
196 Do not confuse a multipart message with an epilogue
197 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
198
08f18c3d
FEG
1992012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
200
201 Fix shell output retrieval and comint-prompt-regexp init.
202 * progmodes/python.el (inferior-python-mode):
203 (python-shell-make-comint): Fix initialization of
204 comint-prompt-regexp from copied file local variables.
205 (python-shell-fetched-lines): Remove var.
206 (python-shell-output-filter-in-progress): Rename from
207 python-shell-fetch-lines-in-progress.
208 (python-shell-output-filter-buffer): Rename from
209 python-shell-fetch-lines-string.
210 (python-shell-fetch-lines-filter): Delete function.
211 (python-shell-output-filter): New function.
212 (python-shell-send-string-no-output): Use them.
213
82ed3ab4
GM
2142012-10-07 Glenn Morris <rgm@gnu.org>
215
1595ecfa
GM
216 * hi-lock.el (hi-lock-process-phrase):
217 Try to make it less fragile. (Bug#7161)
218
82ed3ab4
GM
219 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
220
f1f4dba0
GM
2212012-10-06 Glenn Morris <rgm@gnu.org>
222
addc11ed 223 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
224 non-existent mode `help'.
225 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 226
460042b8
GM
227 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
228 (reftex-create-bibtex-footer): Fix custom types.
229
67667c70
GM
230 * progmodes/sh-script.el (sh-indent-after-continuation):
231 Add explicit :group.
232
18dec750
GM
233 * textmodes/rst.el (rst-preferred-decorations)
234 (rst-shift-basic-offset): Clarify obsolescence versions.
235
d1a1c7e6
GM
236 * profiler.el (profiler): Add missing group :version tag.
237 * avoid.el (mouse-avoidance-banish-position):
238 * proced.el (proced-renice-command):
239 * calc/calc.el (calc-ensure-consistent-units):
240 * calendar/icalendar.el (icalendar-import-format-uid):
241 * net/tramp.el (tramp-save-ad-hoc-proxies):
242 * progmodes/bug-reference.el (bug-reference-bug-regexp):
243 * progmodes/flymake.el (flymake-error-bitmap)
244 (flymake-warning-bitmap, flymake-fringe-indicator-position):
245 * progmodes/sh-script.el (sh-indent-after-continuation):
246 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
247 (verilog-before-save-font-hook, verilog-after-save-font-hook):
248 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
249 (vhdl-array-index-record-field-in-sensitivity-list)
250 (vhdl-indent-comment-like-next-code-line):
251 * textmodes/reftex-vars.el (reftex-ref-style-alist)
252 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
253 (reftex-cite-key-separator, reftex-create-bibtex-header)
254 (reftex-create-bibtex-footer):
255 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
256 (rst-indent-literal-normal, rst-indent-literal-minimized)
257 (rst-indent-comment): Add missing custom :version tags.
258
ef35abb4
GM
259 * calendar/timeclock.el (timeclock-modeline-display):
260 Add missing obsolete alias for renamed user option.
261
d1aae614
GM
262 * strokes.el (strokes-modeline-string):
263 * emulation/crisp.el (crisp-mode-modeline-string):
264 * eshell/esh-mode.el (eshell-status-in-modeline):
265 Aliases to defcustoms must come before the defcustom.
266
f1f4dba0
GM
267 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
268 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
269 (cal-tex-cursor-week-monday): Doc fixes.
270 (cal-tex-cursor-week2-summary): Doc fix.
271 Rename from cal-tex-cursor-week-at-a-glance.
272
273 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
274 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
275
276 * calendar/calendar.el (calendar-mode-map):
277 Add cal-tex-cursor-week2-summary.
278
d39109c3
SM
2792012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
280
685f87b0
SM
281 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
282
d39109c3
SM
283 * subr.el (read-passwd-map): New var.
284 (read-passwd): Use `read-string' again.
285 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
286
5694896d
J
2872012-10-06 Jambunathan K <kjambunathan@gmail.com>
288
289 * register.el (append-to-register, prepend-to-register):
290 Deactivate mark, as does `copy-to-register' (bug#12389).
291
9414dd8d
CY
2922012-10-06 Chong Yidong <cyd@gnu.org>
293
294 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
295
2b89bca4
KH
2962012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
297
298 * international/characters.el: Fix simple mistake ((car chars) ->
299 elt), delete duplicated code.
300
d5acb99a
GM
3012012-10-06 Glenn Morris <rgm@gnu.org>
302
303 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
304
123ec157
JS
3052012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
306
307 * color.el (color-hsl-to-rgb): Fix incorrect results for
308 small and large hue values. (Bug#12559)
309
7fa36ccb
FEG
3102012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
311
312 Enhancements to docstring formatting when filling paragraphs.
313 * progmodes/python.el (python-fill-docstring-style): Rename from
314 python-fill-string-style. Added new style.
315 (python-fill-string): Use new style. Better checks for
316 docstrings.
317
d8788e1e
GM
3182012-10-05 Glenn Morris <rgm@gnu.org>
319
204f3953
GM
320 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
321
d8788e1e
GM
322 * color.el (color-name-to-rgb, color-rgb-to-hex)
323 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
324 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
325 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
326 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
327
8d956cef
GM
328 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
329
e8757f09 3302012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
331
332 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
333 to get the correct size across symlinks.
334
e8757f09
GM
335 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
336
0e2ae83d
JL
3372012-10-04 Juri Linkov <juri@jurta.org>
338
339 * replace.el (query-replace-interactive): Declare obsolete.
340 (query-replace-read-from): Add the last incremental search string
341 to the list of default values accessible via M-n.
342 (map-query-replace-regexp): Use `read-regexp'.
343 (query-replace, query-replace-regexp, query-replace-regexp-eval)
344 (map-query-replace-regexp, replace-string, replace-regexp):
345 Fix docstrings to replace mentions of `query-replace-interactive'
346 with alternatives. (Bug#12526)
347
93cacb6d
JL
3482012-10-04 Juri Linkov <juri@jurta.org>
349
350 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
351 (dired-pop-to-buffer): Declare obsolete.
352 (dired-mark-pop-up): Doc fix.
353
fc345011
FEG
3542012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
355
356 Allow user to set docstring style for fill-paragraph.
357 * progmodes/python.el
358 (python-fill-comment-function, python-fill-string-function)
359 (python-fill-decorator-function, python-fill-paren-function):
360 Remove :safe for defcustoms.
361 (python-fill-string-style): New defcustom
5694896d 362 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
363 (python-fill-string): Honor python-fill-string-style settings.
364
6bab5d8b
MR
3652012-10-04 Martin Rudalics <rudalics@gmx.at>
366
367 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
368 after setting its buffer (Bug#10805).
369
a1a9f411
FEG
3702012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
371
372 Fix cornercase for string syntax.
373 * progmodes/python.el (python-syntax-propertize-function):
374 Simplify and enhance the regexp for unescaped quotes. Now it also
375 matches quotes in weird situations like the single quote in
376 "something\"'".
377 (python-syntax-stringify): Simplify num-quotes detecting code.
378
05e153a6
GM
3792012-10-03 Glenn Morris <rgm@gnu.org>
380
381 * help-macro.el (three-step-help):
382 Revert 2012-09-29 change. (Bug#12567)
383
2e566ecb
MR
3842012-10-03 Martin Rudalics <rudalics@gmx.at>
385
96ef9ccd
MR
386 * menu-bar.el (kill-this-buffer): Don't do anything when
387 `menu-frame' is not alive or visible (Bug#8184).
388
2e566ecb
MR
389 * emacs-lisp/debug.el (debug): When quitting the debugger window
390 restore current buffer (Bug#12502).
391
a96e1cb7
CY
3922012-10-02 Chong Yidong <cyd@gnu.org>
393
5694896d
J
394 * progmodes/hideif.el (hif-lookup, hif-defined):
395 Handle semantic-c-takeover-hideif.
a96e1cb7 396
b3ecad33
PE
3972012-10-02 Paul Eggert <eggert@cs.ucla.edu>
398
399 Change sampling interval units from ms to ns.
400 * profiler.el (profiler-sampling-interval): Change units
401 from ms to ns, multiplying the default by 1000000 so that
402 it remains 1 ms.
403 (profiler-report-cpu-line-format): Give enough room for
404 the maximum counters on 64-bit hosts.
405 (profiler-report-render-calltree-1): Call them "CPU samples",
406 not "Time (ms)", since they are not milliseconds now (and
407 never really were).
408
8cb51b66 4092012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 410
5694896d
J
411 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
412 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 413
fd795bf4
CY
4142012-10-02 Chong Yidong <cyd@gnu.org>
415
416 * emacs-lisp/eieio.el: Restore Version header.
417
fe0a74f9
SM
4182012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
419
6be9197e
SM
420 * vc/diff-mode.el (diff--auto-refine-data): New var.
421 (diff-hunk): Use it to delay refinement.
422 (diff-mode): Remove overlays when we turn off font-lock.
423
18486139
SM
424 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
425 (table-initialize-table-fixed-width-mode)
426 (table-set-table-fixed-width-mode): Remove functions.
427 (table-command-list): Move initialization into declaration.
428 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
429 (table-with-cache-buffer): Use `declare'.
430 (table-span-cell): Simplify via CSE.
431 (table-fixed-width-mode): Use define-minor-mode.
432 (table-call-interactively, table-funcall, table-apply): Remove.
433 (table-function): New function, to replace them.
434
d83ef976
SM
435 * bookmark.el (bookmark-search-pattern): Remove var.
436 (bookmark-read-search-input): Remove function.
437 (bookmark-bmenu-search): Reimplement using a minibuffer.
438
cd386662
SM
439 * faces.el (modeline): Remove obsolete face name.
440
fe0a74f9
SM
441 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
442 and give a non-nil default value.
443 (add-change-log-entry): Simplify accordingly.
444
9f7b98f8
DG
4452012-10-01 Dmitry Gutov <dgutov@yandex.ru>
446
447 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
448 (vc-git-log-edit-toggle-amend): New function.
449 (vc-git-log-edit-toggle-signoff): New function.
450 (vc-git-log-edit-mode): New major mode.
451 (vc-git-log-edit-mode-map): Keymap for it.
452 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
453
454 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
455 header names.
456 (log-edit-toggle-header): New function.
457 (log-edit-extract-headers): Accept function values in HEADERS alist.
458
62a81506
CY
4592012-10-01 David Engster <deng@randomsample.de>
460
461 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
462 from symbol property and change message to be more consistent with
463 Emacs proper.
464 (eieio-describe-generic): Add filename for each implementation.
465 Fix indices for generic and normal methods.
466 (eieio-method-def, eieio-class-def): New buttons.
467 (eieio-help-find-method-definition)
468 (eieio-help-find-class-definition): New functions.
469 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
470 class, constructor and method definitions.
471
472 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
473 information in symbol property.
474 (scoped-class): Remove.
475 (eieio-slot-name-index, call-next-method): Check if it is bound.
476
4772012-10-01 Leo P. White <lpw25@cam.ac.uk>
478
479 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
480 (eieio-custom-mode): New major mode.
481 (eieio-customize-object): Use it.
482
4832012-10-01 Eric Ludlam <zappo@gnu.org>
484
485 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
486 specifying the expected class, and whether subclassing is allowed.
487 (eieio-persistent-convert-list-to-object):
488 (eieio-persistent-validate/fix-slot-value)
489 (eieio-persistent-slot-type-is-class-p): New functions.
490 (eieio-named::slot-missing): Doc fix.
491
492 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
493 Stop using unused publd variable.
494
495 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
496 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
497 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
498 (eieio-speedbar-handle-click): Do not specify a class for the
499 method. Fixes method invocation order problems with EDE.
500
375e49d4
SM
5012012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
502
503 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
504 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
505
16ce6ccd
KF
5062012-10-01 Karl Fogel <kfogel@red-bean.com>
507
508 * bookmark.el (bookmark-version-control): Give tags in the
509 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
510 (bookmark-write-file): Bind `print-circle' to `t' to allow
511 circular custom bookmark types. (Bug#12503)
16ce6ccd 512
19e54a4d
PE
5132012-10-01 Paul Eggert <eggert@cs.ucla.edu>
514
86ec63ba
PE
515 Revert the FOLLOW-SYMLINKS change for file-attributes.
516 * files.el (remote-file-name-inhibit-cache, after-find-file):
517 * time.el (display-time-file-nonempty-p): Undo last change.
518
19e54a4d
PE
519 * profiler.el (profiler-sampling-interval): Change default back to 1.
520 See Stefan Monnier in
521 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
522
0478776b
FEG
5232012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
524
525 Shell output catching a la gud-gdb.
526 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
527 (python-shell-fetch-lines-string, python-shell-fetched-lines):
528 New Vars.
0478776b
FEG
529 (python-shell-fetch-lines-filter): New function.
530 (python-shell-send-string-no-output): Use them.
531
c22bac2c
TM
5322012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
533
534 * profiler.el (profiler-sampling-interval): Rename from
535 profiler-sample-interval.
536 (profiler-sampling-interval): Default to 10.
537 (profiler-find-profile): New command (was profiler-find-log).
538 (profiler-find-profile-other-window): New command.
539 (profiler-find-profile-other-frame): New command.
540 (profiler-profile): Introduce API-level data structure.
541
e7a2937b
PE
5422012-09-30 Paul Eggert <eggert@cs.ucla.edu>
543
544 file-attributes has a new optional arg FOLLOW-SYMLINKS.
545 * files.el (remote-file-name-inhibit-cache):
546 * time.el (display-time-file-nonempty-p): Use it.
547 * files.el (after-find-file): Don't chase links before calling
548 file-exists-p, as file-exists-p already does the right thing.
549
4f595e15
RA
5502012-09-30 Ralf Angeli <angeli@caeruleus.net>
551
552 Merge from standalone RefTeX repository.
553
554 The following ChangeLog entries are shortened versions of the
555 original ones with file paths adapted. A not so strongly edited
556 version of the original ChangeLog can be found in the commit log.
557
558 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
559 (reftex-arg-cite): Use `reftex-cite-key-separator'.
560 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
561
562 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
563 that entries with whitespace at various places are found.
564 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
565 Include @String definitions in the resulting bib file. Add header
566 and footer defined in `reftex-create-bibtex-header' and
567 `reftex-create-bibtex-footer'.
568 (reftex-do-citation): Make it possible again to insert
569 non-existent entries. Save match data when asking for optional
570 arguments. Return all keys, not just the first one.
571 (reftex-all-used-citation-keys): Fix regexp to correctly extract
572 all citations in the same line.
573 (reftex-parse-bibtex-entry): Accept additional optional argument
574 `raw' and keep quotes or braces if it is non-nil. Match fields
575 containing hyphens besides word constituents.
576 (reftex-get-string-refs): New function.
577 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
578 and ask if it should be reread in case it did.
579 (reftex-pop-to-bibtex-entry)
580 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
581 entries with spaces or tabs in front of arguments.
582 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
583 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
584 Match entries containing numbers and symbol constituents.
585 (reftex-do-citation, reftex-figure-out-cite-format):
586 Use `reftex-cite-key-separator'.
4f595e15
RA
587
588 * textmodes/reftex-dcr.el: Move provide statement to end of file.
589 (reftex-mouse-view-crossref): Explain why point is set.
590
591 * textmodes/reftex-global.el: Whitespace changes.
592
593 * textmodes/reftex-index.el: Move provide statement to end of
594 file.
595 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
596 (reftex-index-visit-phrases-buffer): Set marker when visiting
597 buffer. This allows for returning from the phrases file to the
598 file one was just editing instead of the file where the last
599 phrases was added from.
600 (reftex-index-phrases-syntax-table): New variable. Give ?\"
601 punctuation syntax as it usually is not used as string quote in
602 TeX-related modes and may occur unmatched. The change also
603 prevents fontification of quoted content.
604 (reftex-index-phrases-mode): Use it.
605
375e49d4
SM
606 * textmodes/reftex-parse.el (reftex-parse-from-file):
607 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
608 (reftex-parse-from-file): Use beginning of match instead of end as
609 bound.
610
611 * textmodes/reftex-ref.el: Adapt creation of
612 `reftex-<package>-<macro>' functions to new structure of
613 `reftex-ref-style-alist'.
375e49d4
SM
614 (reftex-reference): Use `reftex-ref-style-list' function.
615 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
616 reference macro if `reftex-ref-macro-prompt' is non-nil.
617 (reftex-reference): Pass refstyle to `reftex-format-special'.
618 Determine reference macro by looking at
375e49d4
SM
619 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
620 Use only one special format function.
4f595e15
RA
621 (reftex-varioref-vref, reftex-fancyref-fref)
622 (reftex-fancyref-Fref): Remove definitions. The functions are now
623 generated from `reftex-ref-style-alist'.
624 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
625 Remove.
626 (reftex-format-special): New function.
627
628 * textmodes/reftex-sel.el
629 (reftex-select-cycle-ref-style-internal): Adapt to new structure
630 of `reftex-ref-style-alist'. Remove code for testing macro type.
631 (reftex-select-toggle-varioref)
632 (reftex-select-toggle-fancyref): Remove.
633 (reftex-select-cycle-ref-style-internal)
634 (reftex-select-cycle-ref-style-forward)
635 (reftex-select-cycle-ref-style-backward): New functions.
636 (reftex-select-label-map): Use `v' and `V' for general cycling
637 through reference styles. Add `p' for switching between number
638 and page reference types.
639
375e49d4
SM
640 * textmodes/reftex-toc.el (reftex-re-enlarge):
641 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
642 the horizontal version throws an error even if the parameter is 0.
643
644 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
645 (reftex-plug-into-AUCTeX): Doc fix.
646 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
647 string. Adapt to new name.
648 (reftex-ref-style-alist): Change structure so that it is not
649 possible to use multiple different package names within a style.
375e49d4
SM
650 Remove the symbols for symbols for macro type distinction.
651 Add characters for macro selection.
4f595e15
RA
652 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
653 (reftex-create-bibtex-footer): New variables.
654 (reftex-format-ref-function): Mention third argument of special
655 format function.
375e49d4
SM
656 (reftex-ref-style-alist, reftex-ref-style-default-list):
657 New variables.
4f595e15
RA
658 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
659 to new implementation. Mark as obsolete. Add compatibility code
660 for honoring the variable values in case they are set.
375e49d4
SM
661 (reftex-cite-format-builtin, reftex-bibliography-commands):
662 Add support for ConTeXt.
663 (reftex-format-ref-function, reftex-format-cite-function):
664 Fix custom type.
4f595e15
RA
665 (reftex-cite-key-separator): New variable.
666
667 * textmodes/reftex.el (reftex-syntax-table-for-bib)
668 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
669 `reftex-syntax-table' because parens have to retain their paren
670 syntax in order for parsing of BibTeX entries like @book(...) to
671 work.
672 (reftex-in-comment): Do not error out if `comment-start-skip' is
673 not set. Deal correctly with escaped comment characters.
375e49d4
SM
674 (reftex-tie-multifile-symbols): Add doc string.
675 Initialize `reftex-ref-style-list'.
4f595e15
RA
676 (reftex-untie-multifile-symbols): Add doc string.
677 (reftex-add-index-macros): Doc fix.
678 (reftex-ref-style-activate, reftex-ref-style-toggle)
679 (reftex-ref-style-list): New functions.
680 (reftex-mode-menu): Use them. Adapt to new structure of
681 `reftex-ref-style-alist'.
682 (reftex-select-with-char): Kill the RefTeX Select buffer when
683 done.
684 (reftex-remove-if): New function.
685 (reftex-erase-all-selection-and-index-buffers)
686 (reftex-mode-menu): Reference styles are now computed from
687 `reftex-ref-style-alist'. Fix typo.
688 (reftex-report-bug): New function.
689 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
690 algorithms with O(n log n). Introduce optional argument SORT (not
691 yet used).
692
440ba395
FEG
6932012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
694
695 Enhancements for triple-quote string syntax.
375e49d4
SM
696 * progmodes/python.el (python-syntax-propertize-function):
697 Match both quote cases in one regexp.
440ba395
FEG
698 (python-syntax-stringify): Handle matches properly.
699
4c478e6b
JL
7002012-09-30 Juri Linkov <juri@jurta.org>
701
702 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 703 to nil around the call to `insert' to prevent
4c478e6b
JL
704 directory time modification by lock_file. (Bug#2295)
705 * tar-mode.el (tar-summarize-buffer): Idem.
706
d80d54b2
JL
7072012-09-30 Juri Linkov <juri@jurta.org>
708
709 * facemenu.el (list-colors-sort): Add option "Luminance".
710 (list-colors-sort-key): Implement it.
711
712 * vc/diff-mode.el (diff-refine-removed):
713 * vc/ediff-init.el (ediff-fine-diff-A):
714 * vc/smerge-mode.el (smerge-refined-removed):
715 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
716
d7e642cc
JD
7172012-09-30 Jan Djärv <jan.h.d@swipnet.se>
718
719 * term/ns-win.el (x-file-dialog): New function.
720
ee41332b
JB
7212012-09-30 Juanma Barranquero <lekktu@gmail.com>
722
723 * ido.el (ido-max-directory-size): Default to nil; the current
724 default is small for POSIX systems, and impractical on Windows 7
725 now that lstat returns directory sizes for NTFS.
726
5938d519
MR
7272012-09-30 Martin Rudalics <rudalics@gmx.at>
728
729 In buffer display functions handle window-height/window-width
730 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
731 * window.el (window--display-buffer): New argument ALIST.
732 Obey window-height and window-width alist entries.
733 (window--try-to-split-window): New argument ALIST.
734 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
735 changed and window-combination-limit equals `window-size'.
736 (display-buffer-in-atom-window)
737 (display-buffer-in-major-side-window)
738 (display-buffer-in-side-window, display-buffer-same-window)
739 (display-buffer-reuse-window, display-buffer-pop-up-frame)
740 (display-buffer-pop-up-window, display-buffer-below-selected)
741 (display-buffer-at-bottom, display-buffer-in-previous-window)
742 (display-buffer-use-some-window): Adjust all callers of
743 window--display-buffer and window--try-to-split-window.
744 (fit-frame-to-buffer): New option.
745 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
746 is non-nil.
747 (display-buffer-in-major-side-window): Evaluate window-height /
748 window-width alist entries.
749
750 * help.el (temp-buffer-resize-frames)
751 (temp-buffer-resize-regexps): Remove options.
752 (temp-buffer-resize-mode): Adjust doc-string.
753 (resize-temp-buffer-window): Don't consult
754 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
755 temp-buffer-resize-frames.
756
375e49d4
SM
757 * dired.el (dired-mark-pop-up):
758 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
759 entry.
760
c4c0c2df
CY
7612012-09-30 Chong Yidong <cyd@gnu.org>
762
48de8b12
CY
763 * server.el (server-host): Document the security implications.
764 (server-auth-key): Doc fix.
765
766 * startup.el (initial-buffer-choice): Doc fix.
767
768 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
769
a97dc380
CY
770 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
771 restriction change.
772
d39d3c8e
CY
773 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
774
c4c0c2df
CY
775 * help-fns.el (help-fns--obsolete): Fix last change.
776
98a5e33b
SM
7772012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
778
34cf6f39
SM
779 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
780 (minor-mode-map-alist): Remove redundant code.
781
e01c13fe
SM
782 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
783 visited in a buffer.
784 (cvs-insert-visited-file): New function.
785 (find-file-hook): Use it.
786
787 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
788
02661b3a
SM
789 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
790 chose face.
791 (log-edit-empty-buffer-p): Don't require a space after a header.
792
43711d4b
SM
793 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
794
38a30d64
SM
795 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
796
4ffb41a9
SM
797 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
798 a proper minor-mode.
799
98a5e33b
SM
800 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
801
de82e29b
GM
8022012-09-29 Glenn Morris <rgm@gnu.org>
803
5cc2e639
GM
804 * winner.el (winner-mode): Remove variable (let define-minor-mode
805 handle it).
806 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
807 Doc fixes.
808 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
809 (winner-mode): Use define-minor-mode.
810
7bd302eb
GM
811 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
812 the full definition in loaddefs, rather than duplicating it.
813
2923922f 814 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 815
0e3e4156
GM
816 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
817 (inferior-lisp-program, inferior-lisp-load-command)
818 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 819 No need to autoload defcustoms.
0e3e4156 820
de82e29b
GM
821 * hippie-exp.el (hippie-expand-try-functions-list)
822 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
823 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
824 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 825 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
826 * progmodes/vhdl-mode.el (vhdl-line-expand):
827 Explicitly load hippie-exp, so it does not get autoloaded
828 while hippie-expand-try-functions-list is let-bound.
829
e60b51ab
GM
8302012-09-28 Glenn Morris <rgm@gnu.org>
831
277f0cfa
GM
832 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
833
e60b51ab
GM
834 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
835 Only "cl.el" counts as cl these days.
836
53baf48a
JL
8372012-09-28 Juri Linkov <juri@jurta.org>
838
839 Display archive errors in the echo area instead of inserting
840 to the file buffer.
841
842 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
843 to STDERR-TEST that can be a regexp matching a successful output.
844 Create a temporary file and redirect stderr to it. Search for
845 STDERR-TEST in the stderr output and display it in the echo area
846 if no match is found.
847 (archive-extract-by-file): New function like
848 `archive-extract-by-stdout' but extracting archives to files
849 and looking for successful matches in stdout. Function body is
850 mostly copied from `archive-rar-extract'.
851 (archive-rar-extract): Use `archive-extract-by-file'.
852 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
853
9c1228c3
LL
8542012-09-28 Leo Liu <sdl.web@gmail.com>
855
375e49d4
SM
856 * pcomplete.el (pcomplete-show-completions):
857 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 858
9c1228c3
LL
859 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
860
7f457c06
SM
8612012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
862
3df749b0
SM
863 * type-break.el: Use lexical-binding.
864 (type-break-mode): Use define-minor-mode.
865
7f457c06
SM
866 * emacs-lisp/pcase.el (pcase--mark-used): New.
867 (pcase--u1): Use it (bug#12512).
868
869 * custom.el (load-theme): Set buffer-file-name so the load is recorded
870 in load-history with the right file name.
871
c00ebc98
TH
8722012-09-28 Tassilo Horn <tsdh@gnu.org>
873
874 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
875 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
876 (doc-view-get-bounding-box): Make bounding box slicing work for
877 ODF and DVI documents.
878
96fb7170
GM
8792012-09-28 Glenn Morris <rgm@gnu.org>
880
881 * type-break.el (type-break-mode, type-break-interval)
882 (type-break-good-rest-interval, type-break-keystroke-threshold):
883 No need to autoload.
884 (type-break-good-rest-interval, type-break-keystroke-threshold):
885 Add :set-after.
886
5bc93c67
CY
8872012-09-28 Chong Yidong <cyd@gnu.org>
888
889 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
890 Add :version tag.
891
9cad61d6
SM
8922012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
893
e28e67b3 894 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 895
daee954c
GM
8962012-09-27 Glenn Morris <rgm@gnu.org>
897
a88324d4
GM
898 * faces.el (x-display-name): Declare (for without-x builds).
899
8e5064e5
GM
900 * linum.el (linum-format): Don't autoload it. Improve :type.
901
cc1783c2
GM
902 * progmodes/tcl.el: Don't require outline when compiling.
903 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
904 * textmodes/sgml-mode.el: Don't require outline when compiling.
905 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
906
48c339f2
GM
907 * term.el (term-ansi-reset):
908 Try setting term-ansi-face-already-done to nil. (Bug#11785)
909
daee954c
GM
910 * vc/vc.el (vc-next-action): Only gripe about committing read-only
911 files for RCS and SCCS. (Bug#9781)
912
b7f42161
CY
9132012-09-27 Chong Yidong <cyd@gnu.org>
914
915 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
916 change; value should be t.
917
a2e770db
SM
9182012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
919
83600dc8
SM
920 * image-mode.el: Use lexical-binding.
921 (image-mode-winprops): Use t to stand for the window of
922 a buffer that's not displayed.
923 * doc-view.el (doc-view-new-window-function): Handle the new
924 t in winprops.
925 (doc-view-enlarge): Make it a real nop if the size is not changed.
926 (doc-view-display): Handle the case where the buffer is not (yet?)
927 displayed in any window.
928 (doc-view-saved-settings): New var.
929 (doc-view-mode): Use it.
930 (doc-view-fallback-mode): Set it.
931
a2e770db
SM
932 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
933 Set lexical-binding.
934 (minibuffer-eldef-shorten-default): New var.
935 (minibuffer-default-in-prompt-regexps): Use it for new default.
936 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
937
e3b60857
JB
9382012-09-26 Juanma Barranquero <lekktu@gmail.com>
939
940 * international/uni-bidi.el:
941 * international/uni-category.el:
942 * international/uni-name.el:
943 * international/uni-numeric.el: Regenerate.
944
3a880af4
SM
9452012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
946 Stefan Monnier <monnier@iro.umontreal.ca>
947
948 * profiler.el: New file.
949
07b1a5fb
SM
9502012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
951
952 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
953 (testcover-reinstrument): Simplify with CSE.
954
42019c2e
JB
9552012-09-26 Juanma Barranquero <lekktu@gmail.com>
956
957 * window.el (temp-buffer-window-setup): Fix typo in docstring.
958
179f044b
WS
9592012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
960
961 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
962 (verilog-auto-input, verilog-auto-insert-lisp)
963 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
964 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
965 (verilog-auto-unused, verilog-auto-wire)
966 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
967 newline. Reported by Andrew Jones.
968 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
969 Reported by Brad Dobbie.
07b1a5fb
SM
970 (verilog-batch-delete-trailing-whitespace):
971 Create verilog-batch-delete-trailing-whitespace.
972 Reported by Brad Dobbie.
179f044b
WS
973 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
974 parameters from another module. Reported by Dan Katz.
975 (verilog-auto, verilog-auto-assign-modport)
976 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
977 AUTOINOUTMODPORT for UVM interface module shell generation.
978 Reported by Brad Dobbie.
979 (verilog-auto-inst-interfaced-ports): Make default nil, as more
980 standard behavior.
981 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
982 Reported by Matt Martin.
983
9c52dd5a
MR
9842012-09-25 Martin Rudalics <rudalics@gmx.at>
985
986 * window.el (window--resize-child-windows): When resizing child
987 windows proportionally, process them in reverse order to
988 preserve the "when splitting a window the new one gets the odd
989 line" behavior.
990 (window--resize-root-window-vertically): When resizing the
991 minibuffer window try to affect only windows at the bottom of the
992 frame. (Bug#12419)
993
863666eb
CY
9942012-09-25 Chong Yidong <cyd@gnu.org>
995
996 * subr.el (declare): Doc fix.
997
998 * help-fns.el (help-fns--obsolete): Handle macros properly.
999
59f7af81
CY
10002012-09-25 Chong Yidong <cyd@gnu.org>
1001
1002 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1003 this function obsolete.
1004
1005 * calendar/cal-x.el (calendar-two-frame-setup)
1006 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1007 * calendar/calendar.el (american-calendar, european-calendar)
1008 (calendar-for-loop):
1009 * comint.el (comint-dynamic-simple-complete)
1010 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1011 * desktop.el (desktop-load-default):
1012 * dired-x.el (dired-omit-here-always)
1013 (dired-hack-local-variables, dired-default-directory):
1014 * emacs-lisp/derived.el (derived-mode-class):
1015 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1016 * emacs-lock.el (toggle-emacs-lock):
1017 * epa.el (epa-display-verify-result):
1018 * epg.el (epg-sign-keys, epg-start-sign-keys)
1019 (epg-passphrase-callback-function):
1020 * eshell/esh-util.el (eshell-for):
1021 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1022 (eshell-add-to-window-buffer-names):
1023 * files.el (locate-file-completion):
1024 * imenu.el (imenu-example--create-c-index)
1025 (imenu-example--create-lisp-index)
1026 (imenu-example--lisp-extract-index-name)
1027 (imenu-example--name-and-position):
1028 * international/mule-cmds.el (princ-list):
1029 * international/mule-diag.el (decode-codepage-char):
1030 * international/mule-util.el (detect-coding-with-priority):
1031 * iswitchb.el (iswitchb-read-buffer):
1032 * mail/mailalias.el (mail-complete):
1033 * mail/sendmail.el (mail-sent-via):
1034 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1035 (mouse-major-mode-menu):
1036 * password-cache.el (password-read-and-add):
1037 * pcomplete.el (pcomplete-parse-comint-arguments):
1038 * progmodes/sh-script.el (sh-maybe-here-document):
1039 * replace.el (query-replace-regexp-eval):
1040 * savehist.el (savehist-load):
1041 * simple.el (choose-completion-delete-max-match):
1042 * term.el (term-dynamic-simple-complete):
1043 * vc/ediff-init.el (ediff-check-version):
1044 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1045 * vc/vc.el (vc-diff-switches-list):
1046 * view.el (view-return-to-alist-update): Likewise.
1047
1048 * subr.el (eval-next-after-load, makehash, insert-string)
1049 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1050 mark obsolete.
1051 (mode-line-inverse-video): Variable deleted.
1052
1053 * international/mule-util.el (string-to-sequence): Remove.
1054
1055 * calendar/calendar.el (calendar-version):
1056 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1057 (icalendar-convert-diary-to-ical):
1058 * cus-edit.el (custom-mode):
1059 * ansi-color.el (ansi-color-unfontify-region):
1060 * international/latin1-disp.el (latin1-char-displayable-p):
1061 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
1062 * progmodes/which-func.el (which-func-update-1):
1063 Use define-obsolete-function-alias.
59f7af81
CY
1064
1065 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
1066 * net/newst-treeview.el (newsticker-groups-filename):
1067 Fix incorrect obsolescence declaration.
59f7af81
CY
1068
1069 * allout.el (allout-passphrase-hint-string): Likewise.
1070 (allout-init): Use a declare form to mark obsolete.
1071
1072 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1073 this applies to functions.
1074
1075 * iswitchb.el (iswitchb-read-buffer): Move code of
1076 iswitchb-define-mode-map here, and delete that obsolete function.
1077
1078 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1079 font-lock-reference-face.
1080
cca96c97
GM
10812012-09-25 Glenn Morris <rgm@gnu.org>
1082
b06eeda8
GM
1083 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1084 Doc fixes.
1085
cca96c97
GM
1086 * eshell/em-term.el (eshell-term-name):
1087 Default to term-term-name. (Bug#12485)
1088
dc4f818b
FEG
10892012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1090
cca96c97
GM
1091 * progmodes/python.el (python-shell-send-buffer): Better handling
1092 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 1093
289c24bd
GM
10942012-09-24 Glenn Morris <rgm@gnu.org>
1095
1096 * eshell/esh-cmd.el (eshell-find-alias-function):
1097 Tighten up file-name regexp. (Bug#12499)
1098
8fb8b88f
FEG
10992012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1100
1101 Enhancements for triple-quote string syntax.
1102 * progmodes/python.el (python-quote-syntax): Remove.
1103 (python-syntax-propertize-function): New value.
07b1a5fb
SM
1104 (python-syntax-count-quotes, python-syntax-stringify):
1105 New functions.
8fb8b88f 1106
6c27f0f8
CY
11072012-09-24 Chong Yidong <cyd@gnu.org>
1108
a5f2b6ec
CY
1109 * mail/supercite.el (sc-version): Remove obsolete function.
1110 (sc-describe): Don't mark as obsolete, since it is bound.
1111 (sc-submit-bug-report): Remove.
1112
1113 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1114 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
1115 (log-edit-require-final-newline)
1116 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
1117
1118 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1119 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1120 * vc/vc.el (vc-checkout-carefully): Likewise.
1121
1122 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1123 (emerge-version): Remove.
1124
1125 * progmodes/compile.el (compile-internal): Remove.
1126 (compilation-parse-errors-function): Fix typo.
1127
1128 * international/mule.el (set-char-table-default): Remove.
1129 (set-coding-priority, make-coding-system, generic-char-p)
1130 (charset-list, charset-bytes, charset-id): Use declare to mark
1131 functions as obsolete.
1132
1133 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1134 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1135 * vc/vc-hooks.el (vc-default-registered): Don't use
1136 vc-master-templates.
1137
07b1a5fb
SM
1138 * font-lock.el (font-lock-reference-face):
1139 Use define-obsolete-variable-alias.
6c27f0f8
CY
1140
1141 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1142 * calendar/calendar.el (calendar-font-lock-keywords):
1143 * calendar/diary-lib.el (diary-font-lock-keywords)
1144 (diary-fancy-font-lock-keywords):
1145 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1146 * textmodes/reftex-index.el (reftex-insert-index):
1147 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1148 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1149 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1150 * progmodes/prolog.el (prolog-font-lock-keywords):
1151 * progmodes/idlwave.el (idlwave-idl-keywords):
1152 * progmodes/ada-mode.el (ada-font-lock-keywords):
1153 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1154
bcc0adbf
GM
11552012-09-24 Glenn Morris <rgm@gnu.org>
1156
1157 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1158
095bb823
FEG
11592012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1160
1161 * progmodes/python.el (python-indent-line): More consistent cursor
1162 movement behavior.
1163
70efc5c9
SM
11642012-09-23 Stefan Merten <smerten@oekonux.de>
1165
1166 * textmodes/rst.el: Fix compiler warning.
1167
2f438239
RW
11682012-09-23 Roland Winkler <winkler@gnu.org>
1169
07b1a5fb
SM
1170 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1171 Transcribe also LaTeX hyphenation.
2f438239
RW
1172 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1173 bibtex-reformat-previous-options.
1174
936ad041
RW
11752012-09-23 Roland Winkler <winkler@gnu.org>
1176
1177 * proced.el (proced-renice-command): New variable.
1178 (proced-marked-processes): New function.
1179 (proced-with-processes-buffer): New macro.
1180 (proced-send-signal): Use them.
1181 (proced-renice): New command bound to r.
1182
6fab0274
RW
11832012-09-23 Roland Winkler <winkler@gnu.org>
1184
1185 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1186 ibuffer-saved-filter-groups has one element, shortcut the call of
1187 completing-read. (Bug#12331)
1188
9a930676
CY
11892012-09-23 Chong Yidong <cyd@gnu.org>
1190
1191 * bindings.el (mode-line-toggle-read-only):
1192 * bs.el (bs-toggle-readonly):
1193 * buff-menu.el (Buffer-menu-toggle-read-only):
1194 * dired.el (dired-toggle-read-only):
1195 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1196
d07ff9db
CY
11972012-09-23 Chong Yidong <cyd@gnu.org>
1198
1199 * image.el (image-type-available-p): Adapt to init-image-library
1200 argument changes.
1201
51c4474e
JL
12022012-09-22 Juri Linkov <juri@jurta.org>
1203
1204 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1205 `dired-toggle-read-only'. (Bug#12462)
1206
43bf5e8e
MR
12072012-09-22 Martin Rudalics <rudalics@gmx.at>
1208
1209 * subr.el (temp-output-buffer-show): New function.
1210 (with-output-to-temp-buffer): Call temp-output-buffer-show
1211 instead of internal-temp-output-buffer-show.
1212
c88b867f
CY
12132012-09-22 Chong Yidong <cyd@gnu.org>
1214
3df47cd5
CY
1215 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1216 (Bug#12462).
1217
c88b867f
CY
1218 * repeat.el (repeat): Doc fix (Bug#12348).
1219
1220 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1221 (Bug#10909).
1222
1223 * simple.el (shell-command-on-region): Doc fix.
3171e303 1224 (read-only-mode): Doc fix.
c88b867f 1225
df9685f3
EZ
12262012-09-22 Eli Zaretskii <eliz@gnu.org>
1227
1228 * emacs-lisp/timer.el (run-with-idle-timer)
1229 (timer-activate-when-idle): Warn against reinvoking an idle timer
1230 from within its own timer action. (Bug#12447)
1231
8e17c9ba
MR
12322012-09-22 Martin Rudalics <rudalics@gmx.at>
1233
1234 * cus-start.el (window-combination-limit): Add new optional
1235 values.
1236 * window.el (temp-buffer-window-show)
1237 (window--try-to-split-window): Handle new values of
1238 window-combination-limit (Bug#1806).
1239 (split-window): Test window-combination-limit for t instead of
1240 non-nil.
1241 (display-buffer-at-bottom): New buffer display action function.
1242 * help.el (temp-buffer-resize-regexps): New option.
1243 (temp-buffer-resize-mode): Rewrite doc-string.
1244 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 1245 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 1246
48a24920
SM
12472012-09-22 Stefan Merten <smerten@oekonux.de>
1248
70efc5c9 1249 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
1250 (rst-official-version)
1251 (rst-package-emacs-version-alist): Sync with official version
1252 V1.4.0.
1253 (rst-faces-defaults, rst-set-level-default)
1254 (rst-level-face-max, rst-level-face-base-color)
1255 (rst-level-face-base-light, rst-level-face-format-light)
1256 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1257 (rst-adornment-faces-alist): Match new setup.
1258 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1259 (rst-level-5, rst-level-6): New faces.
1260
82f8cd94
CY
12612012-09-22 Chong Yidong <cyd@gnu.org>
1262
1263 * simple.el (undo): Handle indirect buffers (Bug#8207).
1264
acfa068f 12652012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
1266
1267 IDO: Disable match re-ordering for buffer switching.
2bc9406c 1268 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
1269 (ido-set-matches-1): Use it. (Bug#2042)
1270
acfa068f 12712012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
1272
1273 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1274 Fix 2011-05-17 change. (Bug#12418)
1275
acfa068f 12762012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
1277
1278 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
1279
acfa068f 12802012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
1281
1282 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
1283 Be more robust about locating simple.el.
1284
acfa068f 12852012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
1286
1287 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
1288
acfa068f
CY
12892012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
1290
1291 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
1292
41a97e6f
JL
12932012-09-20 Juri Linkov <juri@jurta.org>
1294
eb2deaff
JL
1295 * replace.el (query-replace-read-from): Use `read-regexp' instead
1296 of `read-from-minibuffer' when `regexp-flag' is non-nil.
1297 (occur-read-primary-args): Use `read-regexp' instead of
1298 `read-string'.
1299 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
1300 `read-from-minibuffer'.
1301 * isearch.el (isearch-occur): Use `read-regexp' instead of
1302 `read-string'.
1303 * dired.el (dired-read-regexp): Use `read-regexp' instead of
1304 `read-from-minibuffer'.
1305 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
1306 of `read-string'. (Bug#7567)
1307
5825610b
JL
1308 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
1309 and allow accepting a list of strings prepended to a list of
1310 standard default values. Doc fix. (Bug#12321)
1311
eebbf404
JL
1312 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
1313
41a97e6f
JL
1314 * replace.el (read-regexp): Don't add ": " when PROMPT already
1315 ends with a colon and space. (Bug#12321)
1316
c9e452d3
TH
13172012-09-20 Tassilo Horn <tsdh@gnu.org>
1318
1319 * doc-view.el (doc-view-display): Better fix for the cl-assertion
1320 error.
1321
ee97deee
SM
13222012-09-20 Stefan Merten <smerten@oekonux.de>
1323
70efc5c9 1324 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
1325 Fixes feature request bug#11711.
1326 (rst-mode): Create `imenu-create-index-function'.
1327 (rst-get-stripped-line): Delete after refactoring.
1328 (rst-section-tree, rst-section-tree-rec)
1329 (rst-section-tree-point): Refactor and document properly.
1330 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
1331 (rst-imenu-convert-cell, rst-imenu-create-index):
1332 New function.
ee97deee 1333
f490dab9
SM
13342012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1335
95b9712e
SM
1336 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
1337 (macroexp--expand-all): Use it.
1338 (macroexp--funcall-and-return): Remove by folding it into its sole
1339 caller (macroexp--warn-and-return).
1340 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
1341 Use macroexp--obsolete-warning.
1342
f490dab9
SM
1343 * calc/calc.el: Fix last change by removing the whole chunk, since it
1344 was only needed back when Calc was not bundled.
1345
96e8d411
MR
13462012-09-20 Martin Rudalics <rudalics@gmx.at>
1347
1348 * emacs-lisp/debug.el (debug): Restore assignment to
1349 debugger-old-buffer removed on 2012-09-08.
1350
0876a82d
JL
13512012-09-20 Juri Linkov <juri@jurta.org>
1352
1353 * dired-aux.el (dired-diff): Remove (require 'diff) since
1354 `diff-latest-backup-file' is now autoloaded.
1355
9f7c28f0
CY
13562012-09-20 Chong Yidong <cyd@gnu.org>
1357
1358 * vc/diff.el (diff-latest-backup-file): Autoload.
1359
7a04bee9
SM
13602012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1361
e6f0a80d
SM
1362 * calc/calc.el: Remove redundant autoload shape check.
1363 (sel-mode): Don't defvar.
1364 (calc-get-stack-element): Add `sel-mode' arg instead.
1365 (calc-top, calc-top-list): Pass it this additional argument.
1366 * calc/calc-store.el (calc-store-map):
1367 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
1368 (calc-map-equation, calc-outer-product, calc-inner-product):
1369 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
1370
7a04bee9
SM
1371 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
1372
12734222
JL
13732012-09-19 Juri Linkov <juri@jurta.org>
1374
1375 * dired-aux.el (dired-diff): Add (require 'diff) because
1376 `diff-latest-backup-file' is not autoloaded.
1377 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
1378 of `dired-get-filename' to t to not report error when there is
1379 no default file on the current line.
1380
46624b4f
SM
13812012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1382
ce97595b
SM
1383 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
1384 macroexp--eval-if-compile.
1385 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
1386 (macroexp--expand-all): Use them (bug#12371).
1387
46624b4f
SM
1388 * doc-view.el (doc-view-guess-paper-size)
1389 (doc-view-scale-bounding-box): Fix unbound `caddr'.
1390
db8a5a18
TH
13912012-09-19 Tassilo Horn <tsdh@gnu.org>
1392
1393 New feature: set optimal slice from BoundingBox information.
1394 * doc-view.el (doc-view-mode-map): Add keybinding.
1395 (doc-view-menu): Add menu entry.
1396 (doc-view-set-slice): Adapt docstring.
1397 (doc-view-get-bounding-box, doc-view-guess-paper-size)
1398 (doc-view-scale-bounding-box)
1399 (doc-view-set-slice-from-bounding-box): New functions.
1400 (doc-view-paper-sizes): New defvar.
1401
69f6644c
GM
14022012-09-19 Glenn Morris <rgm@gnu.org>
1403
35f5b19d
GM
1404 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
1405 (byte-compile-log-warning): Autoload. (Bug#12371)
1406
69f6644c
GM
1407 * calendar/calendar.el (calendar-american-month-header)
1408 (calendar-european-month-header, calendar-iso-month-header)
1409 (calendar-month-header): New options.
1410 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
1411 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
1412
e543ae91
JD
14132012-09-19 Jan Djärv <jan.h.d@swipnet.se>
1414
1415 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
1416
2fd5e67d
JL
14172012-09-18 Juri Linkov <juri@jurta.org>
1418
1419 * dired-aux.el (dired-diff): Restore original functionality of
1420 getting the default value, but keep new feature of using the
1421 latest existing backup file (`diff-latest-backup-file').
1422
42917e79
JL
14232012-09-18 Juri Linkov <juri@jurta.org>
1424
1425 * dired.el (dired-mark): If the region is active in Transient Mark
1426 mode, mark all files in the active region. Doc fix.
1427 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
1428 Doc fix. (Bug#10624)
1429
20f70ede
JL
14302012-09-18 Juri Linkov <juri@jurta.org>
1431
1432 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
1433 attributes for M-n are pulled from the file at point.
1434 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
1435 Suggested by Drew Adams. (Bug#10624)
1436
32fb8162
DG
14372012-09-18 Dmitry Gutov <dgutov@yandex.ru>
1438
1439 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
1440 whitespace after "end".
1441 (ruby-do-end-to-brace): Collapse block to one line if it fits
1442 within fill-column.
1443
37ab5092
MR
14442012-09-18 Martin Rudalics <rudalics@gmx.at>
1445
1446 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
1447 value.
1448 (debug): Don't remove debugger window when debugger is expected
1449 to be back.
1450
ed1f0bd3
CY
14512012-09-18 Chong Yidong <cyd@gnu.org>
1452
1453 * custom.el (defface): Doc fix.
1454
1455 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
1456
a11035b8
MB
14572012-09-18 Martin Blais <blais@furius.ca> (tiny change)
1458
1459 * progmodes/compile.el (compilation-start): Use compilation-always-kill
1460 to initialize query-on-exit; then test that instead (bug#12288).
1461
64f6a736
SM
14622012-09-17 Stefan Merten <smerten@oekonux.de>
1463
70efc5c9 1464 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
1465 (rst-defcustom-testcover, rst-testcover-add-compose)
1466 (rst-testcover-add-1value): New functions.
1467 (rst-portable-mark-active-p): Replace by `use-region-p'.
1468 (rst-update-section, rst-classify-adornment)
1469 (rst-find-title-line): Mark `1value' forms.
1470 (rst-classify-adornment): Remove superfluous form.
1471 (rst-update-section, rst-get-adornments-around)
1472 (rst-adornment-complete-p, rst-get-next-adornment)
1473 (rst-adjust, rst-promote-region)
1474 (rst-display-adornments-hierarchy, rst-straighten-adornments)
1475 (rst-find-pfx-in-region, rst-section-tree-rec)
1476 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
1477 (rst-toc-node, rst-toc, rst-forward-section)
1478 (rst-iterate-leftmost-paragraphs)
1479 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
1480 (rst-bullet-list-region)
1481 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
1482 (rst-compile-find-conf, rst-compile)
1483 (rst-repeat-last-character): Fix style.
1484
580bd868
CY
14852012-09-17 Chong Yidong <cyd@gnu.org>
1486
1487 * comint.el (comint--complete-file-name-data): Don't add a space
1488 if the status is `sole'; that adds a gratuitous space in the
1489 completion-cycling case (Bug#12092).
1490
1491 * pcomplete.el (pcomplete-completions-at-point): Likewise.
1492
69de3ec6
RS
14932012-09-17 Richard Stallman <rms@gnu.org>
1494
0dee970c
RS
1495 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
1496 only in the mime-shown mode, not in raw mode.
1497 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 1498 mime processing. (Bug#12305)
0dee970c 1499
6b250df6
GM
1500 * mail/rmail.el (rmail-retry-failure):
1501 Turn off mime processing first. (Bug#12037)
acb1c47b 1502
69de3ec6
RS
1503 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
1504
d079ee5f
CY
15052012-09-17 Chong Yidong <cyd@gnu.org>
1506
1507 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
1508 (shell-dynamic-complete-functions): Convert to defcustom.
1509 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
1510
865fe16f
CY
1511 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
1512 * comint.el (comint-prompt-read-only):
1513 * custom.el (defcustom):
1514 * hi-lock.el (hi-lock-mode):
1515 * ibuffer.el (ibuffer-formats):
1516 * ielm.el (ielm-prompt-read-only):
1517 * novice.el (disable-command):
1518 * saveplace.el (toggle-save-place):
1519 * speedbar.el (speedbar-supported-extension-expressions):
1520 * startup.el (auto-save-list-file-prefix, init-file-user)
1521 (after-init-hook, inhibit-startup-echo-area-message):
1522 * strokes.el (strokes-help):
1523 * time-stamp.el (time-stamp):
1524 * calendar/calendar.el (calendar, diary-file):
1525 * calendar/diary-lib.el (diary-mail-entries, diary)
1526 (diary-list-entries-hook):
1527 * calendar/holidays.el (holidays, calendar-holidays):
1528 * calendar/lunar.el (lunar-phases):
1529 * calendar/solar.el (sunrise-sunset):
1530 * emulation/edt.el (edt-load-keys):
1531 * emulation/viper.el (viper-mode):
1532 * eshell/em-alias.el (eshell-command-aliases-list):
1533 * eshell/esh-util.el (eshell-convert-numeric-arguments):
1534 * international/ogonek.el (ogonek-information):
1535 * net/tramp-cmds.el (tramp-bug):
1536 * net/quickurl.el (quickurl-reread-hook-postfix):
1537 * play/decipher.el (decipher-font-lock-keywords):
1538 * progmodes/cc-styles.el (c-set-style):
1539 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
1540 * progmodes/inf-lisp.el (inferior-lisp-prompt):
1541 * progmodes/octave-mod.el (octave-mode):
1542 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
1543 * progmodes/verilog-mode.el (verilog-read-defines):
1544 * textmodes/two-column.el (2C-mode): Likewise.
1545
48093eb9
KY
15462012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
1547
1548 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
1549 that holds many addresses.
1550
c584eaf9
CY
15512012-09-16 Chong Yidong <cyd@gnu.org>
1552
40d70ecb
CY
1553 * align.el (align-areas): Call the indication function with
1554 positions instead of markers for arguments (Bug#12343).
1555
1667e065
CY
1556 * files.el (parse-colon-path): Use split-string (Bug#12351).
1557
fdc2806d 1558 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 1559 (display-buffer-function): Mark as obsolete.
fdc2806d 1560
f1be615c 1561 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
1562 values similar to font-lock-keywords (Bug#12136).
1563 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
1564 (compilation-error-regexp-alist): Doc fix.
1565
f40a9709
GM
15662012-09-15 Glenn Morris <rgm@gnu.org>
1567
72aa16e1
GM
1568 * version.el (emacs-bzr-version-bzr): New function.
1569 (emacs-bzr-get-version): Add optional EXTERNAL argument.
1570
82375160
GM
1571 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
1572 checkouts, check the parent dirstate matches the branch.
1573 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
1574 empty string.
1575
f40a9709
GM
1576 * version.el (emacs-bzr-version): Doc fix.
1577 (emacs-bzr-version-dirstate): New function.
1578 (emacs-bzr-get-version): For lightweight checkouts, if the parent
1579 is local try and check that it matches the branch. If not, just
1580 use dirstate information. (Bug#12441)
1581
cb26b7f5
JL
15822012-09-14 Juri Linkov <juri@jurta.org>
1583
1584 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
1585 (Bug#12399)
1586
2de39f08
SM
15872012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1588
0fb3cb7c
SM
1589 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
1590
2de39f08
SM
1591 * emacs-lisp/edebug.el: Miscellaneous cleanup.
1592 Remove obsolete byte-compiler hack that tried to silence some warnings.
1593 (edebug-submit-bug-report): Remove.
1594 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
1595 Remove aliases, use the un-prefixed name instead.
1596 (edebug-pop-to-buffer): Consider other frames.
1597 (edebug-original-read):: Make it more obvious that it's always defined.
1598 (edebug--make-form-data-entry, edebug--form-data-name)
1599 (edebug--form-data-begin, edebug--form-data-end): Rename from the
1600 single-dashed name, and implement with cl-defstruct.
1601 (edebug-set-form-data-entry): Use the standard accessors.
1602 (edebug-make-top-form-data-entry): Use push.
1603 (edebug-no-match): Drop useless `funcall'.
1604 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
1605 to functions.
1606 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
1607 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
1608 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
1609 (easy-menu-define, with-custom-print): Remove redundant specs.
1610 (edebug-outside-overriding-local-map)
1611 (edebug-outside-overriding-terminal-local-map): Remove, unused.
1612 (edebug--display): Bind unread-command-events directly to nil rather
1613 than binding it to unread-command-events and later setting it to nil.
1614 (edebug--display): Kill edebug-eval-buffer here...
1615 (edebug--recursive-edit): ...rather than here.
1616 Bind standard-output and standard-input.
1617 (edebug-eval): Check cl-macroexpand-all is fboundp.
1618 (edebug-temp-display-freq-count): Fix last change.
1619
1620 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
1621 * subr.el (noreturn, 1value): Add `debug' spec.
1622 * emacs-lisp/advice.el: Require cl-lib.
1623 (ad-copy-tree): Remove, use copy-tree instead.
1624 (ad-dolist): Remove use dolist or cl-dolist instead.
1625 (ad-do-return): Remove, use cl-return instead.
1626 (defadvice): Add `debug' spec.
1627
5b68b333
JL
16282012-09-13 Juri Linkov <juri@jurta.org>
1629
1630 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
1631 (Bug#12399)
1632
b9800ec4
GM
16332012-09-13 Glenn Morris <rgm@gnu.org>
1634
6a2e6868
GM
1635 * calc/calc.el (math-compose-expr):
1636 * calc/calc-ext.el (math-compose-expr):
1637 * progmodes/cc-defs.el (cl-macroexpand-all):
1638 * progmodes/cc-langs.el (delete-duplicates, mapcan)
1639 (cl-macroexpand-all): Update declarations.
1640
b9800ec4
GM
1641 * vc/vc.el: No need to require ediff.
1642 (ediff-load-version-control): Declare.
1643 (ediff-vc-internal): Fix declaration.
1644 (vc-version-ediff): Require ediff.
1645
c18e885b
PE
16462012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1647
1648 Use a more backwards-compatible timer format (Bug#12430).
1649 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
1650 being right after USECS, as that better supports old code that
1651 inadvisedly looked directly at the timer vector.
1652
d607d303
KH
16532012-09-13 Kenichi Handa <handa@gnu.org>
1654
1655 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
1656 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
1657 `coding-priority' property of these language environment.
1658
72eac303
PE
16592012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1660
1661 Fix glitches caused by addition of psec to timers (Bug#12430).
1662 * image.el (image-animate-timer):
1663 * time.el (display-time-world-timer):
1664 Use timer--function and timer--args rather than raw access to
1665 timer vector.
1666
2168fe4f
GM
16672012-09-13 Glenn Morris <rgm@gnu.org>
1668
1669 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
1670 If not compiling a file, try using load-file-name.
1671
bd8d6108
SM
16722012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1673
c0c54fbd
SM
1674 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
1675 Fix last change.
1676 (edebug-update-eval-list): Use `push'.
1677
bd8d6108
SM
1678 * emacs-lisp/edebug.el: Use lexical-binding.
1679 Remove the "edebug-" prefix from non-dynamically-scoped variables.
1680 Mark unused args with underscore.
1681 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
1682 (edebug-form-data): Use defvar-local.
1683 (edebug-make-before-and-after-form, edebug-make-after-form):
1684 Use backquote.
1685 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
1686 Not dynamically scoped any more.
1687 (edebug--enter-trace): Add arguments `function' and `args'.
1688 Rename from edebug-enter-trace.
1689 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
1690 (edebug--update-coverage): Add `after-index' and `value' args.
1691 Rename from edebug-update-coverage.
1692 (edebug-slow-after): Call it accordingly.
1693 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
1694 edebug-recursive-edit.
1695 (edebug--display): Call it accordingly. Add args `value',
1696 `offset-index', and `arg-mode'. Rename from edebug-display.
1697 (edebug-debugger, edebug): Call it accordingly.
1698 (edebug-eval-display-list): Use dolist.
1699
a9f9d9de
JL
17002012-09-12 Juri Linkov <juri@jurta.org>
1701
1702 * info.el (Info-search): Don't check for isearch-mode and
1703 isearch-regexp before let-binding search-spaces-regexp to
1704 Info-search-whitespace-regexp.
1705 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
1706 search-whitespace-regexp if isearch-lax-whitespace or
1707 isearch-regexp-lax-whitespace is non-nil.
1708 (Info-mode): Don't set local variable search-whitespace-regexp.
1709 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
1710
bfeae2cf
SM
17112012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1712
1713 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
1714 (debugger-env-macro): Remove support for unread-command-char.
1715
1716 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
1717 the temporary map re-appearing on emulation-mode-map-alists.
1718
1719 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
1720 since 22.1.
1721
1722 * ehelp.el (with-electric-help): Accept functions in
1723 electric-help-form-to-execute.
1724 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
1725 And replace unread-command-char -> unread-command-events.
1726
fbbcaf1b
MA
17272012-09-12 Michael Albinus <michael.albinus@gmx.de>
1728
1729 Sync with Tramp 2.2.6.
1730
1731 * net/tramp.el (tramp-accept-process-output): Don't use
1732 JUST-THIS-ONE in the XEmacs case.
1733
1734 * net/trampver.el: Update release number.
1735
4dece104
MR
17362012-09-12 Martin Rudalics <rudalics@gmx.at>
1737
bfeae2cf
SM
1738 * emacs-lisp/debug.el (debugger-previous-window-height):
1739 New variable.
4dece104
MR
1740 (debug): When debugger-jumping-flag is non-nil try to restore
1741 height of debugger window. (Bug#8789)
1742
45b82ad0
SM
17432012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1744
60c49c0f
SM
1745 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
1746 overriding-local-map and pre/post-command-hook here.
1747 (edebug-recursive-edit): Do it here instead (bug#12345).
1748 (edebug-outside-unread-command-char): Remove all uses of
1749 unread-command-char.
1750
45b82ad0
SM
1751 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
1752 inhibit-debugger is bound instead.
1753
baa26ea0
BG
17542012-09-11 Bastien Guerry <bzg@gnu.org>
1755
1756 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 1757 (Bug#12346)
baa26ea0 1758
04e8abfa
BG
17592012-09-11 Bastien Guerry <bzg@gnu.org>
1760
96d03571 1761 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 1762 (Bug#12347)
96d03571
BG
1763
17642012-09-11 Bastien Guerry <bzg@gnu.org>
1765
fc0c31f8 1766 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 1767
04e082b0
MM
17682012-09-10 Michael R. Mauger <mmaug@yahoo.com>
1769
1770 * progmodes/sql.el: Version 3.1
1771 (sql-db2-escape-newlines): New variable.
1772 (sql-escape-newlines-filter): Use it.
1773
399a361b
JB
17742012-09-10 Juanma Barranquero <lekktu@gmail.com>
1775
1776 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
1777
0780c517
DN
17782012-09-10 Dan Nicolaescu <dann@gnu.org>
1779
45b82ad0
SM
1780 * vc/diff-mode.el (diff-mode-menu):
1781 Bind diff-remove-trailing-whitespace.
0780c517 1782
9b851e25
SM
17832012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1784
1785 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
1786 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
1787 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
1788 (eval-sexp-add-defvars): Don't skip defvars in column >0.
1789 (eval-defun-2): Remove bogus interactive spec.
1790 (lisp-indent-line): Remove redundant whole-exp code, now done in
1791 indent-according-to-mode.
1792 (save-match-data): Remove redundant indent data.
1793
1794 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
1795 Use `declare'.
1796
3231d532
JL
17972012-09-09 Juri Linkov <juri@jurta.org>
1798
1799 * replace.el (replace-regexp-lax-whitespace): New defcustom.
1800 (replace-lax-whitespace, query-replace-regexp)
1801 (query-replace-regexp-eval, replace-regexp): Doc fix.
1802 (perform-replace, replace-highlight): Let-bind
1803 isearch-lax-whitespace to replace-lax-whitespace and
1804 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
1805
1806 * isearch.el (isearch-query-replace): Let-bind
1807 replace-lax-whitespace to isearch-lax-whitespace and
1808 replace-regexp-lax-whitespace to
1809 isearch-regexp-lax-whitespace. (Bug#10885)
1810
70fe8236
SM
18112012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
1812
1813 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
1814
8ed43f15
AM
18152012-09-09 Alan Mackenzie <acm@muc.de>
1816
70fe8236
SM
1817 * progmodes/cc-engine.el (c-state-cache-init):
1818 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
1819 (c-record-parse-state-state):
1820 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 1821
bfabf70a
AS
18222012-09-09 Andreas Schwab <schwab@linux-m68k.org>
1823
1824 * register.el (register-separator): Rename from
1825 separator-register. All uses changed. Doc fix.
1826 (register): Fix version.
1827
011474aa
CY
18282012-09-09 Chong Yidong <cyd@gnu.org>
1829
1830 * replace.el (query-replace-map): Bind four new symbols for
1831 requesting window scrolling.
1832
1833 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
1834 query-replace-map (Bug#8948).
1835
1836 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
1837
1838 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
1839 since they are now in query-replace-map.
1840
1841 * window.el (scroll-other-window-down): Make the arg optional.
1842
a8b7cd8d
CY
18432012-09-09 Chong Yidong <cyd@gnu.org>
1844
1845 * files.el (hack-local-variables-confirm): Use quit-window to kill
1846 the *Local Variables* buffer.
1847
c3268831
DG
18482012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1849
1850 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
1851 not just expect to be at its beginning. Adjust callees.
1852 Succeed when do-end block has no space before the pipe character.
1853 (ruby-brace-to-do-end): When the original block is one-liner,
1854 convert to multiline. Reindent the result.
1855
0979429b
J
18562012-09-08 Jambunathan K <kjambunathan@gmail.com>
1857
1858 * register.el (register): New group.
27359e99 1859 (separator-register): New user option.
0979429b
J
1860 (increment-register): Route it to `append-to-register', if
1861 register contains text. Implication is that `C-x r +' can now be
1862 used for appending to a text register (bug#12217).
1863 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 1864 `separator-register'.
0979429b 1865
ace2989a
AM
18662012-09-08 Alan Mackenzie <acm@muc.de>
1867
1868 AWK Mode: make auto-newline work when there's "==" in the pattern.
1869 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
1870 correctly.
0979429b
J
1871 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
1872 Test more rigorously for "=" token.
ace2989a 1873
616c6c36
DG
18742012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1875
0979429b
J
1876 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
1877 Only fail when reached LIMIT.
616c6c36 1878
35d98877
CY
18792012-09-08 Chong Yidong <cyd@gnu.org>
1880
1881 * dired.el (dired-mode-map): Don't bind M-=.
1882
1883 * dired-aux.el (dired-diff): Use backup file as default.
1884
1715f2db
DA
18852012-09-08 Drew Adams <drew.adams@oracle.com>
1886
1887 * subr.el (add-to-history): Fix delete usage (Bug#12314).
1888
6dcef6ec
CY
18892012-09-08 Chong Yidong <cyd@gnu.org>
1890
1891 * subr.el (syntax-after, syntax-class): Doc fix.
1892
fa2bcf43
MR
18932012-09-08 Martin Rudalics <rudalics@gmx.at>
1894
1895 * window.el (display-buffer-in-previous-window): New buffer
1896 display action function.
1897
1898 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
1899 (debugger-previous-window): New variable.
1900 (debug): Rewrite using display-buffer-in-previous-window,
1901 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
1902
daac280a
SM
19032012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1904
1905 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
1906
9dd40b00
MM
19072012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
1908
daac280a
SM
1909 * progmodes/python.el (python-shell-send-string):
1910 When default-directory is remote, create temp file on remote
9dd40b00
MM
1911 filesystem.
1912 (python-shell-send-file): When file is remote, pass local view of
1913 file paths to remote Python interpreter. (Bug#12340)
1914
145823ec
CY
19152012-09-07 Chong Yidong <cyd@gnu.org>
1916
cee2e90d
CY
1917 * window.el (switch-to-buffer): Doc fix (Bug#12181).
1918
0d7eb2ea
CY
1919 * files.el (after-find-file): Don't fail on a read-only buffer if
1920 require-final-newline is `visit' or `visit-save' (Bug#11156).
1921
145823ec
CY
1922 * subr.el (read-char-choice): Allow quitting via ESC ESC.
1923
daac280a
SM
1924 * userlock.el (ask-user-about-supersession-threat):
1925 Use read-char-choice (Bug#12093).
145823ec 1926
74c582e6
CY
19272012-09-07 Chong Yidong <cyd@gnu.org>
1928
e5c2edf7
CY
1929 * subr.el (buffer-narrowed-p): New function.
1930
1931 * ses.el (ses-widen):
1932 * simple.el (count-words--buffer-message):
1933 * net/browse-url.el (browse-url-of-buffer): Use it
1934
1935 * simple.el (count-words-region): Don't signal an error if there
1936 is a non-nil prefix arg and the mark is not set.
c640e87d 1937
74c582e6
CY
1938 * help.el (describe-key-briefly): Allow the message to be seen
1939 when invoked from the minibuffer (Bug#7014).
1940
d81ceaaf
DG
19412012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1942
1943 * progmodes/ruby-mode.el (ruby-end-of-defun)
1944 (ruby-beginning-of-defun): Simplify, allow indentation before
1945 block beginning and end keywords.
8f06acce
DG
1946 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
1947 (ruby-end-of-defun): Expect that the point is at the beginning of
1948 the defun.
d81ceaaf 1949
d458ef98
SM
19502012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1951
1952 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
1953 (bug#12367).
1954 (cl--make-usage-args): Strip _ from argument names.
1955
20367d28
RS
19562012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1957
1958 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
1959 obsolete alias speedbar-key-map.
1960 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
1961 (vhdl-index-menu-init): Don't use obsolete variable
1962 font-lock-maximum-size.
1963
3424a4f6
CY
19642012-09-06 Chong Yidong <cyd@gnu.org>
1965
1966 * frame.el (window-system-version): Mark as obsolete.
1967
fcbfbdea
CY
1968 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
1969 of obsolete variable speedbar-key-map.
1970
826b3235
JL
19712012-09-06 Juri Linkov <juri@jurta.org>
1972
1973 * replace.el (replace-lax-whitespace): New defcustom.
1974 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1975 (replace-string, replace-regexp): Mention it in docstrings.
1976 (perform-replace, replace-highlight): Let-bind
1977 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
1978 to the values of replace-lax-whitespace and regexp-flag.
1979 Don't let-bind search-whitespace-regexp. (Bug#10885)
1980
1981 * isearch.el (isearch-query-replace): Let-bind
1982 replace-lax-whitespace instead of let-binding
1983 replace-search-function and replace-re-search-function.
1984 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
1985 and isearch-regexp-lax-whitespace to lazy-highlight variables.
1986 (isearch-toggle-symbol): Set isearch-regexp to nil
1987 in isearch-word mode (like in isearch-toggle-word).
1988
1ec5e41d
JL
19892012-09-06 Juri Linkov <juri@jurta.org>
1990
1991 * replace.el (replace-search-function)
1992 (replace-re-search-function): Set default values to nil.
1993 (perform-replace): Let-bind isearch-related variables based on
1994 replace-related values, call `isearch-search-fun' and let-bind
1995 the result to `search-function'. Remove code that sets
1996 `search-function' and `search-string' separately for
1997 `delimited-flag'.
1998 (replace-highlight): Add new argument `delimited-flag' and
1999 rename other arguments to the names used in `perform-replace'.
2000 Let-bind `isearch-word' to the argument `delimited-flag'.
2001 (Bug#10885, bug#10887)
2002
0ba2d4b6
DG
20032012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2004
2005 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2006 ruby-beginning-of-indent, simplify, allow all keywords to have
2007 indentation before them.
2008 (ruby-beginning-of-indent): Adjust for above. Search until the
2009 found point is not inside a string or comment.
2010 (ruby-font-lock-keywords): Allow symbols to start with "@"
2011 character, give them higher priority than variables.
2012 (ruby-syntax-propertize-function)
2013 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2014 matchers. Expression expansions are not comments when inside a
2015 string, and there comment syntax status is irrelevant.
2016 (ruby-match-expression-expansion): New function. Check that
2017 expression expansion is inside a string, and it's not escaped.
2018 (ruby-font-lock-keywords): Use it.
2019
ef654460
MR
20202012-09-05 Martin Rudalics <rudalics@gmx.at>
2021
2022 * help.el (temp-buffer-max-height): New default value.
2023 (temp-buffer-resize-frames): New option.
2024 (resize-temp-buffer-window): Optionally resize frame.
2025
2026 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2027 (fit-frame-to-buffer): New function.
2028
7e570fbf 20292012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
2030
2031 * emulation/cua-rect.el (cua--init-rectangles):
2032 * textmodes/picture.el (picture-mode-map):
2033 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2034 like forward-char and backward-char. (Bug#12317)
2035
7e570fbf 20362012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
2037
2038 * progmodes/flymake.el (flymake-warning-re): New variable.
2039 (flymake-parse-line): Use it.
2040
7e570fbf 20412012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
2042
2043 * calendar/holidays.el (holiday-christian-holidays):
2044 Rename an entry. (Bug#12289)
2045
7e570fbf 20462012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
2047
2048 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2049 (bug#12222).
2050
972debf2
SM
20512012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2052
2053 * loadup.el: Load macroexp. Remove hack.
2054 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2055 (macroexp--expand-all): Use it to get better warnings.
2056 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2057 (internal-macroexpand-for-load): New functions.
2058 (macroexp--pending-eager-loads): New var.
2059 (emacs-startup-hook): New hack to replace one in loadup.el.
2060 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2061 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2062 (cl-psetf): Simplify.
2063 (cl-defstruct): Add indent rule.
2064
8ce192e3
LI
20652012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2066
2067 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2068 over `user-mail-address' for the SMTP MAIL FROM envelope.
2069 (smtpmail-via-smtp): Ditto.
2070
6578b4d8
DG
20712012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2072
2073 * progmodes/ruby-mode.el: Clean up keybindings.
2074 (ruby-mode-map): Don't bind ruby-electric-brace,
2075 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2076 backward-kill-word, reindent-then-newline-and-indent.
2077 (ruby-mark-defun): Remove.
2078 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2079 (ruby-mode): Set local beginning-of-defun-function and
2080 end-of-defun-function values.
2081
c5e28e39
MR
20822012-09-03 Martin Rudalics <rudalics@gmx.at>
2083
2084 * window.el (temp-buffer-window-setup-hook)
2085 (temp-buffer-window-show-hook): New hooks.
2086 (temp-buffer-window-setup, temp-buffer-window-show)
2087 (with-temp-buffer-window): New functions.
972debf2
SM
2088 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2089 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
2090
2091 * help.el (temp-buffer-resize-mode): Fix doc-string.
2092 (resize-temp-buffer-window): New optional argument WINDOW.
2093
2094 * files.el (recover-file, save-buffers-kill-emacs):
2095 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2096
73406194
MA
20972012-09-02 Michael Albinus <michael.albinus@gmx.de>
2098
2099 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2100 remote definition of `default-directory', ensure we can connect.
2101
63dd1c6f
JL
21022012-09-02 Juri Linkov <juri@jurta.org>
2103
2104 Toggle whitespace matching mode with M-s SPC.
2105 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2106
2107 * isearch.el (search-whitespace-regexp): Doc fix.
2108 Remove cons cell customization.
2109 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2110 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2111 New variables.
2112 (isearch-forward, isearch-forward-regexp): Doc fix.
2113 (isearch-toggle-lax-whitespace): New command.
2114 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2115 (re-search-forward-lax-whitespace)
2116 (re-search-backward-lax-whitespace): New functions.
2117 (isearch-whitespace-regexp): Remove function.
2118 (isearch-query-replace): Let-bind replace-search-function and
2119 replace-re-search-function.
2120 (isearch-occur): Let-bind search-spaces-regexp according to the
2121 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2122 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2123 condition for C-q SPC.
2124 (isearch-search-fun-default): Use new functions mentioned above.
2125 (isearch-search-forward, isearch-search-backward): Remove functions.
2126 (isearch-search): Don't let-bind search-spaces-regexp.
2127 (isearch-lazy-highlight-space-regexp): Remove variable.
2128 (isearch-lazy-highlight-lax-whitespace)
2129 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2130 (isearch-lazy-highlight-new-loop): Use them.
2131 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2132
af7dda05
CY
21332012-09-02 Chong Yidong <cyd@gnu.org>
2134
2135 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2136
d67d3afd
GM
21372012-09-02 Glenn Morris <rgm@gnu.org>
2138
2139 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2140
69678719
GM
21412012-09-01 Glenn Morris <rgm@gnu.org>
2142
2143 * term.el: Tidy up menu definitions.
2144 (term-mode-map): Use easymenu for In/Out, Complete menus.
2145 (term-pager-break-map): Initialize in the defvar.
2146 (term-terminal-menu, term-signals-menu): Define with easymenu.
2147 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2148 (term-pager-menu): New, extracted from term-process-pager.
2149 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2150 (term-update-mode-line): Propertize line/char and page items.
2151 (term-process-pager): Move keymap initialization elsewhere.
2152
78dd6ab1
MR
21532012-09-01 Martin Rudalics <rudalics@gmx.at>
2154
2155 * window.el (switch-to-prev-buffer): Handle additional values of
2156 BURY-OR-KILL argument. Don't switch in minibuffer window.
2157 (switch-to-next-buffer): Don't switch in minibuffer window.
2158 (quit-restore-window): New function based on quit-window.
2159 Handle additional values of former KILL argument.
2160 (quit-window): Call quit-restore-window with appropriate
2161 interpretation of KILL argument.
2162 (display-buffer-below-selected): New buffer display action
2163 function.
2164
3d10e134
SM
21652012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2166
2167 * minibuffer.el (completion-at-point-functions): Complete docstring
2168 (bug#12254).
2169
0e23ef9d
PE
21702012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2171
2172 Better seed support for (random).
2173 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2174 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2175 * play/mpuz.el, play/tetris.el, play/zone.el:
2176 * calc/calc-comb.el (math-init-random-base):
2177 * play/blackbox.el (bb-init-board):
2178 * play/life.el (life):
2179 * server.el (server-use-tcp):
2180 * type-break.el (type-break):
2181 Remove unnecessary call to (random t).
2182 * net/sasl.el (sasl-unique-id-function):
2183 Change (random t) to (random), now that the latter is more random.
2184 * play/life.el (life-initialized): Remove no-longer-needed var.
2185
862382df
MR
21862012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2187
2188 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2189 Consider frame's buffer predicate when choosing the buffer.
2190 (Bug#12081)
2191
262a66e1
RS
21922012-08-30 Richard Stallman <rms@gnu.org>
2193
2194 * simple.el (special-mode-map): Delete binding for `z'.
2195
f17e1d00
AS
21962012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2197
2198 * progmodes/compile.el (compilation-always-kill): Doc fix.
2199
24777832
CY
22002012-08-30 Chong Yidong <cyd@gnu.org>
2201
2202 * window.el (display-buffer-reuse-frames): Make the obsolescence
2203 message more informative.
2204
69ba1f04
GM
22052012-08-30 Glenn Morris <rgm@gnu.org>
2206
2207 * paren.el (show-paren-delay):
2208 Add a :set function. Doc fix. (Bug#12297)
2209
f0019ede
MB
22102012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2211
2212 * progmodes/compile.el (compilation-always-kill): New var.
2213 (compilation-start): Use it.
2214
35e62fc9
SM
22152012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2216
af070a1c
SM
2217 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2218 * files.el (read-only-mode): Move to simple.el.
2219
35e62fc9
SM
2220 * files.el (read-only-mode): New minor mode.
2221 (toggle-read-only): Use it and mark obsolete.
2222 (find-file--read-only):
2223 * vc/vc.el (vc-next-action, vc-checkout):
2224 * vc/vc-cvs.el (vc-cvs-checkout):
2225 * obsolete/vc-mcvs.el (vc-mcvs-update):
2226 * ffap.el (ffap--toggle-read-only): Update callers.
2227
c2c43c23
MA
22282012-08-29 Michael Albinus <michael.albinus@gmx.de>
2229
2230 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
2231 remote shell scripts.
2232 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
2233
2234 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2235 "/usr/local/sbin".
2236
9fba804b
SM
22372012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2238
2239 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2240
eada0861 22412012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 2242
806f0cc7
LL
2243 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2244 completion-at-point. (Bug#12220)
2245
3bb213b9
LL
2246 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2247
22ab32ef
LL
2248 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2249
eada0861 22502012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 2251
19c17fc1
CY
2252 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2253 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 2254
eada0861 22552012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
2256
2257 * progmodes/hideif.el (hif-compress-define-list):
2258 Fix typo. (Bug#11951)
2259
eada0861 22602012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
2261
2262 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2263 buffer local setting.
2264
27d6c5a8
LL
2265 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2266 rcirc-encode-coding-system.
2267
eada0861 22682012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
2269
2270 * net/rcirc.el (rcirc-split-message): New function.
2271 (rcirc-send-message): Use it. (Bug#12051)
2272
d44688e4
JL
22732012-08-28 Juri Linkov <juri@jurta.org>
2274
2275 * info.el (Info-fontify-node): Hide empty lines at the end of
2276 the node. (Bug#12272)
2277
34f10d41
MR
22782012-08-27 Drew Adams <drew.adams@oracle.com>
2279
2280 * dired.el (dired-pop-to-buffer): Make window start at beginning
2281 of buffer (Bug#12281).
2282
77f1f99c
CY
22832012-08-26 Chong Yidong <cyd@gnu.org>
2284
2285 * window.el (special-display-regexps, special-display-frame-alist)
2286 (special-display-buffer-names, special-display-function)
2287 (display-buffer-reuse-frames): Mark as obsolete.
2288
2289 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2290
2291 * help.el (help-print-return-message): Don't treat
2292 display-buffer-reuse-frames specially.
2293
d97af5a0
CY
22942012-08-26 Chong Yidong <cyd@gnu.org>
2295
9fba804b
SM
2296 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2297 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
2298 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2299 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2300 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2301 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2302 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2303 the functions directly with gdb-display-buffer-other-frame-action.
2304 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2305 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2306 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2307 (gdb-display-registers-buffer): Define directly.
2308 (def-gdb-display-buffer): Macro deleted.
2309 (gdb-display-buffer): Remove second and third args, callers don't
2310 use them. Defer to the default display-buffer behavior, apart
2311 from making windows dedicated.
2312 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2313
2314 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2315
2316 * window.el (display-buffer-pop-up-frame): Handle a
2317 pop-up-frame-parameters alist entry.
2318 (display-buffer): Document it.
2319
dd7ffad6
CY
23202012-08-26 Chong Yidong <cyd@gnu.org>
2321
2322 * isearch.el (search-whitespace-regexp): Make string and nil
2323 values apply to both ordinary and regexp search. Allow a cons
2324 cell value to distinguish between the two.
2325 (isearch-whitespace-regexp, isearch-search-forward)
2326 (isearch-search-backward): New functions.
2327 (isearch-occur, isearch-search-fun-default, isearch-search)
2328 (isearch-lazy-highlight-new-loop): Use them.
2329 (isearch-forward, isearch-forward-regexp): Doc fix.
2330
4c47bd1e
CY
23312012-08-26 Chong Yidong <cyd@gnu.org>
2332
2333 * faces.el (help-argument-name): Always inherit from italic
2334 (Bug#12213).
2335
9aba119d
MR
23362012-08-25 Martin Rudalics <rudalics@gmx.at>
2337
2338 * window.el (window--even-window-heights): Even heights when
2339 WINDOW and the selected window form a vertical combination.
2340 (display-buffer-use-some-window): Provide that window used gets
2341 sized back by quit-window. (Bug#11880) and (Bug#12091)
2342
ca5256ad
PE
23432012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2344
2345 Fix file time stamp problem with bzr and CVS (Bug#12001).
2346 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2347 in the file's time stamp, since the version control system loses
2348 that information.
2349
d1c0d176
JL
23502012-08-22 Juri Linkov <juri@jurta.org>
2351
2352 * info.el (Info-fontify-node): Hide the suffix of the
2353 Info file name in the header line. (Bug#12187)
2354
141562ff
GM
23552012-08-22 Glenn Morris <rgm@gnu.org>
2356
2357 * calendar/cal-tex.el (cal-tex-weekly-common):
2358 Restore leading blank page.
2359
61a48e19 23602012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
2361
2362 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
2363 the region under `shift-select-mode'. (Bug#12231)
2364
23652012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
2366
2367 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2368 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2369 gives details on why the space is never needed.
2370
ea95074e
MR
23712012-08-22 Martin Rudalics <rudalics@gmx.at>
2372
9fba804b
SM
2373 * window.el (walk-window-tree, window-with-parameter):
2374 New optional argument MINIBUF to control whether these functions
ea95074e
MR
2375 should run on the minibuffer window.
2376 (window-at-side-list): Don't operate on minibuffer window.
2377 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
2378 (window--size-ignore): Rename to window--size-ignore-p.
2379 Update callers.
caceae25
MR
2380 (display-buffer-in-atom-window, window--major-non-side-window)
2381 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
2382 (delete-side-window, display-buffer-in-side-window):
2383 New functions.
caceae25
MR
2384 (window--side-check, window-deletable-p, delete-window)
2385 (delete-other-windows, split-window): Handle side windows and
2386 atomic windows appropriately.
2387 (window--display-buffer): Call display-buffer-record-window also
2388 when the window buffer did not change.
ea95074e 2389
80a51fa0
CS
23902012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2391
2392 * help-fns.el (help-fns--key-bindings):
2393 Abbreviate non-symbol remap targets. (Bug#12174)
2394
fbb6300b
MR
23952012-08-22 Martin Rudalics <rudalics@gmx.at>
2396
2397 * dired.el (dired-mark-remembered): Don't clobber point.
2398 (Bug#11795)
2399
2b2c0794
GM
24002012-08-22 Glenn Morris <rgm@gnu.org>
2401
2402 * progmodes/bug-reference.el (bug-reference): New custom group.
2403 (bug-reference-bug-regexp): Make it a defcustom.
2404
37219830
DU
24052012-08-22 Daiki Ueno <ueno@unixuser.org>
2406
2407 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2408 (js-paren-indent-offset, js-square-indent-offset)
2409 (js-curly-indent-offset): Add :safe (Bug#12257).
2410
94e0e559
EC
24112012-08-22 Edward O'Connor <hober0@gmail.com>
2412
2413 * json.el (json-key-format): Add error properties.
2414 (json-encode-key): New function.
2415 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2416 Use json-encode-key.
2417
da485f5e
GM
24182012-08-22 Glenn Morris <rgm@gnu.org>
2419
2420 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2421 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2422 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2423 Update for above change.
2424
c6cc78b8
AS
24252012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2426
2427 * cus-face.el (custom-face-attributes): Fix customize type for the
2428 :underline attribute. (Bug#11805)
2429
5481664a
MR
24302012-08-21 Martin Rudalics <rudalics@gmx.at>
2431
2432 * window.el (window-point-1, set-window-point-1): Remove.
2433 (window-in-direction, record-window-buffer)
2434 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
2435 (window--state-get-1, display-buffer-record-window):
2436 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
2437 window-point and set-window-point respectively.
2438
6d74698e
GM
24392012-08-21 Glenn Morris <rgm@gnu.org>
2440
b7fa2691
GM
2441 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2442 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2443 Use it.
2444
52f56d5a
GM
2445 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2446 (cal-tex-shortday): New function.
2447 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2448 (cal-tex-cursor-filofax-daily): Use the above.
2449
9f1ee09e
GM
2450 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2451 New functions.
2452 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2453 (cal-tex-cursor-filofax-week): Use them.
2454
79858159
GM
2455 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2456 New constants.
2457 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2458 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2459
d346b2b4
GM
2460 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2461 (cal-tex-end-document): Don't rely on buffer name.
2462
b2403709
GM
2463 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2464 Use cal-tex-vspace.
2465 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2466 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
2467 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2468 Use cal-tex-arg.
b2403709 2469
1cebb5c0
GM
2470 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2471 (cal-tex-cursor-week, cal-tex-cursor-week2)
2472 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2473 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2474 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2475 (cal-tex-insert-preamble, cal-tex-b-document)
2476 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2477 Improve cal-tex-cmd usage.
2478
c68cd5d4
GM
2479 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2480 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2481 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2482 (cal-tex-weekly-paper): New function.
2483 (cal-tex-cursor-week, cal-tex-cursor-week2)
2484 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2485 (cal-tex-cursor-day): Use it.
2486
9dca4801
GM
2487 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2488 (cal-tex-cursor-filofax-week): Remove leading blank page.
2489
1941e134
GM
2490 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2491 Add autoload cookie. For now at least, don't use color, since
2492 no other cal-tex function does.
2493
6d74698e
GM
2494 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2495 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2496 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2497
64cde199
JL
24982012-08-21 Juri Linkov <juri@jurta.org>
2499
2500 * info.el (Info-file-attributes): New variable.
2501 (info-insert-file-contents): Add file attributes to
2502 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2503 `Info-toc-nodes' when previous modtime of the Info file is less
2504 than new modtime.
2505 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2506 of info.el. (Bug#12230)
2507
32757648
GM
25082012-08-20 Glenn Morris <rgm@gnu.org>
2509
2510 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2511 * calendar/holidays.el (calendar-holiday-list):
2512 Report errors with display-warning rather than beep'n'sleep.
2513
a32fbbcf
MA
25142012-08-20 Michael Albinus <michael.albinus@gmx.de>
2515
2516 * net/tramp.el (tramp-accept-process-output): Accept only output
2517 from PROC. Otherwise, process filters and sentinels might be
2518 confused. (Bug#12145)
2519
a05731a0
CY
25202012-08-20 Chong Yidong <cyd@gnu.org>
2521
2522 * descr-text.el (describe-text-properties-1): Use overlays-in to
2523 report on empty overlays (Bug#3322).
2524
36e8d1eb
GM
25252012-08-20 Glenn Morris <rgm@gnu.org>
2526
3d300447
GM
2527 * mail/rmailout.el (rmail-output-read-file-name):
2528 Trap and report errors in rmail-output-file-alist elements.
2529
36e8d1eb
GM
2530 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2531 since most non-font-lock faces are not also variables).
2532
b96e5814
ER
25332012-08-20 Edward Reingold <reingold@iit.edu>
2534
2535 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2536 New function. (Bug12160)
2537
7cef3569
GM
25382012-08-19 Glenn Morris <rgm@gnu.org>
2539
2540 * mail/rmailout.el (rmail-output-read-file-name):
2541 Fix previous change (when the alist is nil or does not match).
2542
17975d7f
CY
25432012-08-19 Chong Yidong <cyd@gnu.org>
2544
2545 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2546 (Bug#12228).
2547
2170b1bd
CY
25482012-08-18 Chong Yidong <cyd@gnu.org>
2549
2550 * simple.el (yank-handled-properties): New defcustom.
2551 (yank-excluded-properties): Add font-lock-face and category.
2552 (yank): Doc fix.
2553
9fba804b
SM
2554 * subr.el (remove-yank-excluded-properties):
2555 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
2556 and category is now done this way, instead of being hard-coded.
2557 (insert-for-yank-1): Remove font-lock-face handling.
2558 (yank-handle-font-lock-face-property)
2559 (yank-handle-category-property): New function.
2560
ee218151
GM
25612012-08-17 Glenn Morris <rgm@gnu.org>
2562
2563 * mail/rmailout.el (rmail-output-read-file-name):
2564 Check rmail-output-file-alist against the full message body
2565 in the correct rmail buffer. (Bug#12214)
2566
4a6bc3fd
MA
25672012-08-17 Michael Albinus <michael.albinus@gmx.de>
2568
9fba804b
SM
2569 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2570 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 2571
383dcbf9
CY
25722012-08-17 Chong Yidong <cyd@gnu.org>
2573
2574 * mouse.el (mouse-appearance-menu): If x-select-font returns a
2575 font spec, set the font directly (Bug#3228).
2576
998c4a6a
MR
25772012-08-17 Martin Rudalics <rudalics@gmx.at>
2578
2579 * window.el (delete-window): Fix last fix.
2580
52162052
MR
25812012-08-16 Martin Rudalics <rudalics@gmx.at>
2582
2583 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
2584 (window-child, window-child-count, window-last-child)
2585 (window-normalize-window, window-combined-p)
2586 (window-combinations, window-atom-root, window-min-size)
2587 (window-sizable, window-sizable-p, window-size-fixed-p)
2588 (window-min-delta, window-max-delta, window--resizable)
2589 (window--resizable-p, window-resizable, window-total-size)
2590 (window-full-height-p, window-full-width-p, window-body-size)
2591 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2592 (minimize-window, window-deletable-p, delete-window)
2593 (delete-other-windows, set-window-buffer-start-and-point)
2594 (next-buffer, previous-buffer, split-window, balance-windows-2)
2595 (set-window-text-height, window-buffer-height)
2596 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
2597 (truncated-partial-width-window-p): Minor code adjustments.
2598 In doc-strings state whether the argument window has to denote a
85c2386b 2599 live, valid or any window.
52162052 2600
1c308380
PS
26012012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
2602
2603 * progmodes/subword.el (subword-forward-function)
2604 (subword-backward-function, subword-forward-regexp)
2605 (subword-backward-regexp): New variables.
2606 (subword-forward, subword-forward-internal, subword-backward-internal):
2607 Use new variables, eg so that different "word" definitions
2608 can be easily used. (Bug#11411)
2609
94c9ece1
SM
26102012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2611
2612 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2613 for composite selectors.
2614 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2615 operation just because we can't find a previous revision.
2616
f2045622
CY
26172012-08-15 Chong Yidong <cyd@gnu.org>
2618
2619 * frame.el (set-frame-font): Accept font objects.
2620
582db660
SM
26212012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2622
2623 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2624
2f29c200
WJ
26252012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
2626
456e62c2
WJ
2627 * man.el (Man-overstrike-face, Man-underline-face)
2628 (Man-reverse-face): Remove variables.
2629 (Man-overstrike, Man-underline, Man-reverse): New faces.
2630 (Man-fontify-manpage): Use them instead of the variables.
2631 (Man-cleanup-manpage): Comment change.
2632 (Man-ansi-color-map): New variable.
2633 (Man-fontify-manpage): Use it.
2634 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
2635
2f29c200
WJ
2636 Implement ANSI SGR parameters 22-27 (bug#12146).
2637 * ansi-color.el (ansi-colors): Doc fix.
2638 (ansi-color-context, ansi-color-context-region): Doc fix.
2639 (ansi-color--find-face): New function.
2640 (ansi-color-apply, ansi-color-apply-on-region): Use it.
2641 Rename the local variable `face' to `codes' since it is now a list of
2642 ansi codes. Doc fix.
2643 (ansi-color-get-face): Remove.
2644 (ansi-color-parse-sequence): New function, derived from
2645 ansi-color-get-face.
2646 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
2647 codes 22-27.
2648
b4f5e9df
SM
26492012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
2650
2651 * subr.el (read-passwd): Allow use from a minibuffer.
2652
ba025fbd
EZ
26532012-08-14 Eli Zaretskii <eliz@gnu.org>
2654
2655 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
2656 inside comments and strings as identifiers.
2657
2658 * progmodes/gud.el (gud-tooltip-print-command): Quote the
2659 expression to evaluate. This allows to evaluate expressions with
2660 embedded whitespace.
2661 (gud-tooltip-tips): Add a blank before the newline in the
2662 message-box text, for the benefit of message-box emulation on
2663 MS-Windows.
2664
2665 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
2666 messages from GDB, pop them up in a tooltip to give feedback to
2667 user.
b4f5e9df
SM
2668 (gdb-tooltip-print-1): Quote the expression to evaluate.
2669 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
2670 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
2671 if the TTY name is nil or empty (which happens when communicating
2672 with the inferior via pipes, e.g. on MS-Windows).
2673 (gdb-internals): If GDB sends a "&\n" empty debugging message,
2674 don't send that to the GUD buffer.
2675
c548f821
GM
26762012-08-14 Glenn Morris <rgm@gnu.org>
2677
2678 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
2679 Optimize away setq-default with no args, as for setq. (Bug#12195)
2680
55802e4a
CY
26812012-08-14 Chong Yidong <cyd@gnu.org>
2682
4abcdac8
CY
2683 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
2684
55802e4a
CY
2685 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
2686 (Bug#12085).
2687
3c3cda1a
GM
26882012-08-14 Glenn Morris <rgm@gnu.org>
2689
2690 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
2691
e1873bd0
MA
26922012-08-14 Michael Albinus <michael.albinus@gmx.de>
2693
2694 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
2695 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2696 Use cached shell name.
2697
925411b4
FEG
26982012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2699
2700 * progmodes/python.el (python-shell-send-string):
3c3cda1a 2701 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 2702
e636fafe
DG
27032012-08-14 Dmitry Gutov <dgutov@yandex.ru>
2704
2705 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
2706 (ruby-percent-literal-beg-re): New constant.
2707 (ruby-syntax-general-delimiters-goto-beg): Rename to
2708 `ruby-syntax-enclosing-percent-literal', improve literal type check.
2709 (ruby-syntax-propertize-general-delimiters): Rename to
2710 `ruby-syntax-propertize-percent-literal', it's a shorter and more
2711 popular term. Adjust comments everywhere.
2712 (ruby-syntax-propertize-percent-literal): Only propertize when not
2713 inside a simple string or comment. When the literal is unclosed,
2714 leave the text after it unpropertized.
f063063a
DG
2715 (ruby-syntax-methods-before-regexp): New constant.
2716 (ruby-syntax-propertize-function): Use it to recognize regexps.
2717 Don't look at the text after regexp, just use the whitelist.
e636fafe 2718
e5b19827
AS
27192012-08-14 Andreas Schwab <schwab@linux-m68k.org>
2720
2721 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
2722 non-nil always load the compiled file if it exists. (Bug#12197)
2723
a9f6f311
CY
27242012-08-14 Chong Yidong <cyd@gnu.org>
2725
2726 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
2727 (hi-lock-set-pattern): When deciding whether to use font lock or
2728 overlays, look at font-lock-mode instead of font-lock-fontified
2729 (Bug#12168).
2730 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
2731 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
2732
7d806b1e
DU
27332012-08-14 Daiki Ueno <ueno@unixuser.org>
2734
2735 * subr.el (internal--after-with-selected-window): Fix typo
2736 (Bug#12193).
2737
5beed586
FEG
27382012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2739
2740 Use `completion-table-dynamic' for completion functions.
2741 * progmodes/python.el
2742 (python-shell-completion--do-completion-at-point)
e636fafe
DG
2743 (python-shell-completion--get-completions):
2744 Remove functions.
5beed586
FEG
2745 (python-shell-completion-complete-at-point): New function.
2746 (python-completion-complete-at-point): Use it.
2747
92cb3b04
J
27482012-08-13 Jambunathan K <kjambunathan@gmail.com>
2749
2750 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
2751 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
2752
89660017
SM
27532012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2754
3c98c962
SM
2755 * subr.el (function-get): Refine `autoload' arg so it can also
2756 autoload functions for gv.el (bug#12191).
2757 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
2758 autoloads macros.
2759
aa7c6dbe
SM
2760 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
2761 Prefer pcase-let over destructuring-bind.
2762 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
2763 Also, remove whitespace as we go, rather than after accumulating the
2764 various places.
2765
89660017
SM
2766 * subr.el (internal--before-with-selected-window)
2767 (internal--after-with-selected-window): Fix typo seleted->selected.
2768 (with-selected-window): Adjust callers.
2769 Reported by Dmitry Gutov <dgutov@yandex.ru>.
2770
31cd32c9
BG
27712012-08-13 Bastien Guerry <bzg@gnu.org>
2772
0fcd3d9f 2773 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
2774 enhancement. (Bug#12172)
2775
1b15d8ad
AS
27762012-08-13 Andreas Schwab <schwab@linux-m68k.org>
2777
31e54db0
AS
2778 * tar-mode.el (tar-header-data-end): Only ignore size for files of
2779 type 1-6.
2780 (tar-header-block-summarize, tar-get-descriptor): Handle pax
2781 extended headers.
2782
1b15d8ad
AS
2783 * files.el (hack-local-variables-filter): Remove useless eval.
2784
35cb9c06
MR
27852012-08-13 Martin Rudalics <rudalics@gmx.at>
2786
2787 * subr.el (with-selected-window): Fix last change.
2788
1439443b
SM
27892012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2790
2791 * subr.el (internal--before-with-seleted-window)
2792 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
2793 (with-selected-window): Use them, to replace dependency on
2794 tty-top-frame.
1439443b 2795
0d9e2599
NN
27962012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
2797
2798 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
2799 binding for `newline'.
2800 (ruby-move-to-block): When moving backward, stop at block opening,
2801 not indentation.
2802 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
2803 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
2804 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2805 `ruby-toggle-block'.
2806
ba10c48c
SM
28072012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2808
2809 * ibuffer.el (ibuffer-do-toggle-read-only):
2810 * dired.el (dired-toggle-read-only):
2811 * buff-menu.el (Buffer-menu-toggle-read-only):
2812 * bindings.el (mode-line-toggle-read-only):
2813 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
2814
9229c658
AS
28152012-08-12 Andreas Schwab <schwab@linux-m68k.org>
2816
2817 * descr-text.el (describe-char): Put the overlays over the
2818 "displayed as" character.
2819
0fd09128
JB
28202012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
2821
2822 * calc/calc-units.el (math-default-units-table): Give an
2823 initial value.
2824 (math-put-default-units): Add options to put composite units and
2825 unit systems in the default units table.
2826 (calc-convert-units): Send composite units to
2827 `math-put-default-units' when appropriate.
2828
9ff9402d 28292012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 2830
fbb5e336
GM
2831 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
2832
7aacaf15
GM
2833 * tutorial.el (help-with-tutorial):
2834 * emacs-lisp/copyright.el (copyright-update-directory):
2835 * emacs-lisp/autoload.el (autoload-find-generated-file)
2836 (autoload-find-file): Disable local eval: (for insurance).
2837
f40b9f10
GM
2838 * files.el (hack-local-variables-filter): If an eval: form is not
2839 known to be safe, and enable-local-variables is :safe, then ignore
2840 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 2841 This is CVE-2012-3479.
f40b9f10 2842
daa9f1a6
SM
28432012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2844
2845 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
2846 (rx-form): Simplify.
2847
9cd80478
DG
28482012-08-09 Dmitry Gutov <dgutov@yandex.ru>
2849
0d9e2599
NN
2850 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
2851 ?, _, and : are symbol constituents, ! is not (but kinda should be).
2852 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
2853 (ruby-syntax-propertize-function): Adjust for changes in
2854 `ruby-syntax-propertize-heredoc'.
2855
28562012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
2857
9cd80478
DG
2858 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
2859 binding (use `M-;' instead).
9cd80478 2860 (ruby-singleton-class-p): New function.
0d9e2599 2861 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 2862
d301b413
SM
28632012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2864
2865 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
2866
1530c98e
CY
28672012-08-10 Chong Yidong <cyd@gnu.org>
2868
2869 * progmodes/python.el (python-shell-get-process-name): Don't mess
2870 with same-window-buffer-names.
2871
2872 * eshell/eshell.el (eshell-add-to-window-buffer-names)
2873 (eshell-remove-from-window-buffer-names): Make obsolete.
2874 (eshell-buffer-name, eshell-unload-hook): Don't use them.
2875 (eshell): Just use pop-to-buffer-same-window instead.
2876
e1293765
CY
28772012-08-10 Chong Yidong <cyd@gnu.org>
2878
2879 * bindings.el: Bind M-= back to count-words-region.
2880
2881 * simple.el (count-words-region): Accept a prefix arg for acting
2882 on the entire buffer.
2883 (count-words--buffer-message): New helper function.
2884
e1894109
SM
28852012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2886
2887 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
2888 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
2889 (event-start, event-end): Use posn-at-point to return a more
2890 informative posn.
2891 (posnp): New function.
2892 * mouse.el (popup-menu-normalize-position): Use it.
2893
c69f56a2
MY
28942012-08-10 Masatake YAMATO <yamato@redhat.com>
2895
2896 * mouse.el (popup-menu-normalize-position): New function.
2897 (popup-menu): Use `popup-menu-normalize-position' to normalize
2898 the form for POSITION argument.
2899
2900 * term/x-win.el (x-menu-bar-open):
2901 Use the value returend from (posn-at-point) as position
2902 passed to `popup-menu'.
2903
31673780
JB
29042012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2905
2906 * calc/calccomp.el (math-compose-expr): Add extra argument
2907 indicating that parentheses should be put around products in
2908 denominators. Give multiplication precedence over division during
2909 composition.
2910
dab7711b
CY
29112012-08-09 Chong Yidong <cyd@gnu.org>
2912
dee4ef93
CY
2913 * man.el (Man-switches, Man-sed-command, Man-awk-command)
2914 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
2915 (Man-untabify-command, manual-program): Convert to defcustom
2916 (Bug#10429).
2917
73e2bbc5
CY
2918 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
2919
3e861c8a
CY
2920 * descr-text.el (describe-char): Don't insert extra newlines
2921 (Bug#10127).
2922
a9f5a649
CY
2923 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
2924 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
2925
dab7711b
CY
2926 * align.el (align-region): Delete temporary markers (Bug#10047).
2927 Plus some code cleanups.
2928
e0cc4efa
FEG
29292012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2930
2931 * progmodes/python.el (python-pdbtrack-tracked-buffer)
2932 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
2933 (python-shell-internal-last-output): Use make-local-variable
2934 instead of make-variable-buffer-local.
2935
489af14f
FEG
29362012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2937
2938 * progmodes/python.el: Enhancements to forward-sexp.
2939 (python-nav-forward-sexp): Rename from
2940 python-nav-forward-sexp-function.
c69f56a2
MY
2941 (python-nav--forward-sexp, python-nav--backward-sexp):
2942 New functions.
489af14f 2943
0fc50303
JB
29442012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2945
2946 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
2947 modes and simplification modes.
2948
5d65606a
SM
29492012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2950
2951 * delsel.el (delete-selection-pre-hook): Don't propagate the
2952 file-supersession signals (bug#12161).
2953
4250fdf5
SM
29542012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2955
2956 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
2957 (cl-map-extents): Add compatibility aliases (bug#12135).
2958
d9f9b465
MA
29592012-08-08 Michael Albinus <michael.albinus@gmx.de>
2960
2961 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
2962 tests by `ignore-error'.
2963 (tramp-find-shell): Open also a new shell, when cache is already
2964 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
2965
ce0fcefa
JL
29662012-08-08 Juri Linkov <juri@jurta.org>
2967
2968 * bookmark.el: Add `defaults' property to the bookmark record.
2969 (bookmark-current-buffer): Doc fix.
2970 (bookmark-make-record): Add `defaults' property with default values
2971 to the bookmark record.
2972 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
2973 with `bookmark-insert-current-bookmark'.
2974 (bookmark-set): Get `defaults' property from the bookmark record
2975 and use it in `read-from-minibuffer'.
2976 (bookmark-insert-current-bookmark): Remove function.
2977
2978 * info.el (Info-bookmark-make-record): Add `defaults' property
2979 with values of canonical Info node name, the current Info file
2980 name and the current Info node name. (Bug#12107)
2981
53fa8652
JL
29822012-08-08 Juri Linkov <juri@jurta.org>
2983
2984 * files.el (basic-save-buffer): Use `buffer-name' as the default
2985 of `read-file-name' when buffer is not visiting a file (bug#12128).
2986
242c0a95
JL
29872012-08-08 Juri Linkov <juri@jurta.org>
2988
2989 * info.el (Info-isearch-search): Doc fix.
2990 (Info-search): Change search-failed message from "initial node" to
2991 "end of node" (bug#12078).
2992 (Info-isearch-search): Change `isearch-string-state' to
2993 `isearch--state-string'.
2994
32ac3a6b
GM
29952012-08-08 Glenn Morris <rgm@gnu.org>
2996
2997 * language/persian.el: Remove file.
f8c1afd5 2998 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
2999 * loadup.el: Remove language/persian.
3000
2c2d9c9c
OF
30012012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3002
3003 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3004
2d79ec42
FEG
30052012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3006
3007 * progmodes/python.el Fixed defsubst warning.
3008 (python-syntax-context) Rename from python-info-ppss-context.
3009 (python-syntax-context-type): Rename from
3010 python-info-ppss-context-type.
3011 (python-syntax-comment-or-string-p): Rename from
3012 python-info-ppss-comment-or-string-p.
3013
2bd255dd
JB
30142012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3015
3016 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3017
c395097f
AS
30182012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3019
6125983e
AS
3020 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3021 a defcustom that is quoted with backquote.
3022
4250fdf5
SM
3023 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3024 Fix handling of interactive spec when the body uses return.
651eaf36
AS
3025 (math-do-arg-check, math-define-function-body): Use backquote forms.
3026 * calc/calc-ext.el (math-defcache): Likewise.
3027 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3028 * allout.el (allout-new-exposure): Likewise.
3029 * calc/calcalg2.el (math-tracing-integral): Likewise.
3030 * info.el (Info-last-menu-item): Likewise.
3031 * emulation/vip.el (vip-loop): Likewise.
3032 * textmodes/artist.el (artist-funcall): Likewise.
3033 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3034 Construct menu-item directly.
3035
4250fdf5
SM
3036 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3037 Don't declare.
c395097f 3038
5fb50dd3
CY
30392012-08-07 Chong Yidong <cyd@gnu.org>
3040
3041 * simple.el (deactivate-mark): Preserve text properties when
3042 saving the primary selection (Bug#8384).
3043
54eea618
KR
30442012-08-07 Kevin Ryde <user42@zip.com.au>
3045
3046 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3047 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3048 and continue processing (Bug#12110).
3049
638eaeb9
SM
30502012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3051
3052 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3053 syntax-propertize-function (bug#10095).
3054
ea376861
SM
30552012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3056
f91b35be
SM
3057 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3058 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3059 describe-function-1.
3060 (describe-function-1): Use them. Move compiler macro after sig.
3061 (help-fns--compiler-macro): Use function-get. Assume we're already in
3062 standard-output. Adjust layout to new call order.
3063
ea376861
SM
3064 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3065 re-binding a symbol that has a symbol-macro (bug#12119).
3066
d5be7bd0
MB
30672012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3068
3069 * language/persian.el: New file. (Bug#11812)
3070 * loadup.el: Add language/persian.el.
3071
90749b53
CY
30722012-08-06 Chong Yidong <cyd@gnu.org>
3073
3074 * window.el (window--maybe-raise-frame): New function.
3075 (window--display-buffer): Split off from here.
3076 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3077 (display-buffer-pop-up-window, display-buffer-use-some-window):
3078 Obey an inhibit-switch-frame action alist entry.
3079 (display-buffer): Update doc.
3080
3081 * replace.el (occur-after-change-function): Avoid losing focus by
3082 using the inhibit-switch-frame display parameter (Bug#12139).
3083
ba7b0154
FEG
30842012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3085
3086 Make internal shell process buffer names start with space.
3087 * progmodes/python.el (python-shell-make-comint): Add optional
3088 argument INTERNAL.
3089 (run-python-internal): Use it.
3090 (python-shell-internal-get-or-create-process): Check for new
3091 internal buffer names.
3092
5eaeacb5
GM
30932012-08-06 Glenn Morris <rgm@gnu.org>
3094
e296d94b 3095 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
3096 Do less getting and setting of environment variables.
3097
b7ccbdc2
CY
30982012-08-05 Chong Yidong <cyd@gnu.org>
3099
777fe95e
CY
3100 * proced.el (proced): Add substitution string to docstring to
3101 trigger autoloading of the proced library on C-h f (Bug#1768).
3102
4250fdf5
SM
3103 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3104 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
3105
3106 * imenu.el (imenu-generic-expression): Move documentation here
3107 from imenu--generic-function.
3108 (imenu--generic-function): Refer to imenu-generic-expression.
3109
9e3b7800 31102012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
3111
3112 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3113 indentation declaration.
3114 (viper-loop): Add indentation declaration (Bug#7025).
3115
e5d9c0d1
CY
31162012-08-05 Chong Yidong <cyd@gnu.org>
3117
f0422feb
CY
3118 * help-fns.el (describe-variable): Add hyperlink for
3119 directory-local variables files. Improve buffer-local and
3120 permanent-local reporting; suggested by MON KEY (Bug#6644).
3121
3122 * help-mode.el (help-dir-local-var-def): New button type.
3123
e5d9c0d1
CY
3124 * files.el (kill-buffer-hook): Provide a defvar.
3125
a4f2deaa
GM
31262012-08-05 Glenn Morris <rgm@gnu.org>
3127
3128 * eshell/esh-ext.el (eshell/addpath):
3129 Also update eshell-path-env. (Bug#12013)
3130
a9dd5754
CY
31312012-08-05 Chong Yidong <cyd@gnu.org>
3132
a4f2deaa 3133 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 3134
d014c740
CY
3135 * fringe.el (fringe-styles): Add docstring.
3136 (fringe--check-mode): New function.
3137 (set-fringe-mode, set-fringe-style): Use it.
3138 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3139
a9dd5754
CY
3140 * files.el (set-auto-mode): Fix invalid setq call.
3141
7c2dc8bd
SM
31422012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3143
3144 * isearch.el: Misc simplification; use defstruct.
3145 (isearch-mode-map): Dense maps now work like sparse ones.
3146 (isearch--state): New defstruct.
3147 (isearch-string-state, isearch-message-state, isearch-point-state)
3148 (isearch-success-state, isearch-forward-state)
3149 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3150 (isearch-wrapped-state, isearch-barrier-state)
3151 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3152 replaced by defstruct's accessors.
3153 (isearch--set-state): Rename from isearch-top-state and change
3154 calling convention.
3155 (isearch-push-state): Use new isearch--get-state.
3156 (isearch-toggle-word): Disable regexp when enabling word.
3157 (isearch-message-prefix): Remove unused arg _c-q-hack.
3158 (isearch-message-suffix): Remove unused arg _ellipsis.
3159
7fcc0070
AS
31602012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3161
3162 * simple.el (list-processes--refresh): For a server use :host or
3163 :local as the address.
97ad0769 3164 (list-processes): Doc fix.
7fcc0070 3165
a11035b8 31662012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
3167
3168 * lisp/mpc.el: Support password in host argument.
3169 (mpc--proc-connect): Parse and use new password element.
3170 Set mpc-proc variable instead of returning process.
3171 (mpc-proc): Adjust accordingly.
3172
6dad7178
EZ
31732012-08-03 Eli Zaretskii <eliz@gnu.org>
3174
18949c2f
EZ
3175 * whitespace.el (whitespace-display-mappings): Use Unicode
3176 codepoints, instead of emacs-mule codepoints. See
3177 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3178 for the details.
3179
6dad7178
EZ
3180 * files.el (file-truename): Don't skip symlink-chasing part on
3181 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
3182 Windows into the loop that recursively chases symlinks.
3183 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
3184 MS-DOS.
3185
385b0198
CY
31862012-08-03 Chong Yidong <cyd@gnu.org>
3187
6200f3c4
CY
3188 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3189
385b0198
CY
3190 * sort.el (sort-regexp-fields): Doc fix.
3191
b9e74744
TH
31922012-08-03 Tassilo Horn <tsdh@gnu.org>
3193
3194 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3195 labels regex position point at the expected place.
3196
41013cb4
MK
31972012-08-03 MON KEY <monkey@sandpframing.com>
3198
3199 * net/imap.el (imap-interactive-login, imap-authenticate)
3200 (imap-mailbox-lsub, imap-mailbox-list)
3201 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3202 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3203 (imap-parse-response): Doc fix.
3204
0ffee616
JT
32052012-08-03 João Távora <joaotavora@gmail.com>
3206
3207 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3208 if sexp scanning does not move point (Bug#5734).
3209
cfcc9cc8
TH
32102012-08-02 Tassilo Horn <tsdh@gnu.org>
3211
3212 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3213 Add listings, minted, and ctable packages.
3214 (reftex-label-alist-builtin): Move listings, minted, and ctable
3215 entries before LaTeX.
a01bbb84 3216 (reftex-label-alist): Docfix.
cfcc9cc8 3217
66ec2442
BG
32182012-08-02 Bastien Guerry <bzg@gnu.org>
3219
3220 * replace.el (occur): Fix docstring (bug#12122).
3221
837b365b
GM
32222012-08-02 Glenn Morris <rgm@gnu.org>
3223
3224 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3225
e098de97
PE
32262012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3227
3228 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3229 * international/mule-cmds.el: Create
3230 inactivate-current-input-method-function as an obsolete alias for
3231 deactivate-current-input-method-function. See Katsumi Yamaoka in
3232 <http://bugs.gnu.org/10150#46>.
3233
a0f95636
JB
32342012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3235
3236 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3237 of nested `if's.
3238
0d26d7c4
GM
32392012-08-01 Glenn Morris <rgm@gnu.org>
3240
3241 * progmodes/autoconf.el (autoconf-definition-regexp):
3242 Add AH_TEMPLATE, adjust submatch numbering.
3243 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3244 (autoconf-current-defun-function): Update for above change.
3245 (autoconf-current-defun-function): First skip to end of current word.
3246
b686ba06
RS
32472012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3248
3249 * calendar/cal-html.el (cal-html-insert-agenda-days):
3250 Fix typo. (Bug#12018)
3251
0d49da68
FEG
32522012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3253
3254 Shell processes: enhancements to startup and CEDET compatibility.
3255 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3256 (python-shell-make-comint): accept-process-output at startup.
3257 (run-python-internal): Set inferior-python-mode-hook to nil.
3258 (python-shell-internal-get-or-create-process): call sit-for.
3259 (python-preoutput-result): Add obsolete alias.
3260 (python-shell-internal-send-string): Use it.
3261 (python-shell-send-setup-code): Remove call to
3262 accept-process-output.
3263
f1a71c6e
AS
32642012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3265
3266 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3267 (Bug#12108)
3268
d2605269
JB
32692012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3270
3271 * calc-mode.el (calc-basic-simplification-mode): Rename from
3272 `calc-limited-simplification-mode'.
3273 (calc-alg-simplification-mode): New function.
fc0c31f8 3274 (calc-set-simplify-mode): Adjust message.
f1a71c6e 3275
d2605269
JB
3276 * calc.el (calc-set-mode-line): Adjust mode line display for
3277 basic simplification mode.
3278
3279 * calc-help.el (calc-m-prefix-help): Update help message.
3280
3281 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3282 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3283
a3827a43
BG
32842012-07-31 Bastien Guerry <bzg@gnu.org>
3285
3286 * man.el (man): Fix comment. (bug#12101)
3287
502e3f89
MR
32882012-07-31 Martin Rudalics <rudalics@gmx.at>
3289
3290 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3291 Don't return a non-nil value when no suitable buffer was found.
3292
d7714961
FEG
32932012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3294
3295 * progmodes/python.el (run-python-internal): Disable font lock for
3296 internal shells.
3297
1f45e27e
SM
32982012-07-30 Stefan Merten <smerten@oekonux.de>
3299
70efc5c9 3300 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
3301 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3302 (rst-official-version, rst-official-cvs-rev)
3303 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3304 (rst-mode-map): New key binding.
3305
0aee6912
PE
33062012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3307
3308 Update .PHONY listings in makefiles.
3309 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3310 autoloads, update-subdirs, updates, bzr-update, update-authors,
3311 compile-onefile, compile-calc, backup-compiled-files,
3312 compile-after-backup, compile-one-process, mh-autoloads,
3313 bootstrap-clean, distclean, maintainer-clean.
3314
9052f9f0
JB
33152012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3316
1823ac5a
JB
3317 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3318 (calc-set-mode-line): Don't display "AlgSimp ".
3319
3320 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3321 (calc-lim-simplify-mode): New function.
3322 (calc-set-simplify-mode): Default to 'alg.
3323 (calc-default-simplify-mode): Make algebraic simplifications
3324 the default.
3325
3326 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3327 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3328
8d7c7eed 3329 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
3330 indicate new simplification modes.
3331
1823ac5a
JB
3332 * calc/README: Mention new default simplification mode.
3333
9052f9f0
JB
3334 * calc/calc.el (math-normalize-error): New variable.
3335 (math-normalize): Set `math-normalize-error' to t
3336 when there's an error.
3337
3338 * calc/calc-alg.el (math-simplify): Don't simplify when
3339 `math-normalize' returns an error.
3340
20ba0cb4
EZ
33412012-07-29 Eli Zaretskii <eliz@gnu.org>
3342
3343 * international/mule-cmds.el (set-locale-environment): Revert last
3344 change, since display-graphic-p returns nil when this function is
3345 called during startup. Instead...
3346
3347 * term/w32console.el (terminal-init-w32console): ...setup the
3348 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3349
a5dcc929
JL
33502012-07-29 Juri Linkov <juri@jurta.org>
3351
3352 * simple.el (goto-line): Don't display default line number in the
3353 prompt because it should be displayed by `read-number' (bug#9952).
3354 Add the current line number to the defaults of `goto-line' to
3355 allow its easier modification by users with `M-n' (bug#9201).
3356
3357 * subr.el (read-number): Support multiple default values like in
3358 other minibuffer reading functions. Replace `read' with
3359 `string-to-number' for consistency with `number-to-string'.
3360
72b255c7
PE
33612012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3362
3363 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3364 * emulation/viper-init.el (viper-deactivate-input-method-action):
3365 Rename from viper-inactivate-input-method-action.
3366 (viper-deactivate-input-method):
3367 Rename from viper-inactivate-input-method.
3368 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3369 * international/mule-cmds.el (deactivate-input-method):
3370 Rename from inactivate-input-method.
3371 Also run input-method-deactivate-hook.
3372 (deactivate-current-input-method-function):
3373 Rename from inactivate-current-input-method-function.
3374 (input-method-deactivate-hook): New hook.
3375 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
3376 (inactivate-input-method): Mark obsolete.
3377
72b255c7
PE
3378 * international/quail.el (quail-activate):
3379 Also run quail-deactivate-hook.
3380 (quail-deactivate): Rename from quail-inactivate.
3381 * international/robin.el (robin-activate):
3382 Also run robin-deactivate-hook.
3383 (robin-deactivate): Rename from robin-inactivate.
3384
2549c068
CY
33852012-07-29 Chong Yidong <cyd@gnu.org>
3386
3387 * simple.el (indicate-copied-region): New function.
3388 (kill-ring-save): Split off from here.
3389
3390 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3391 (kill-rectangle): Set deactivate-mark to t on read-only error.
3392
3393 * register.el (copy-to-register, copy-rectangle-to-register):
3394 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
3395 (append-to-register, prepend-to-register): Call indicate-copied-region.
3396
33972012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
3398
3399 * simple.el (async-shell-command-buffer): New defcustom.
3400 (shell-command): Use it. (Bug#4719)
3401
01bd1b0d
EZ
34022012-07-28 Eli Zaretskii <eliz@gnu.org>
3403
3404 * international/mule-cmds.el (set-locale-environment): In a
3405 console session on MS-Windows, set up keyboard and terminal
3406 encoding from the OEM codepage, not the ANSI codepage.
3407 (Bug#12055)
3408
a55739d3
CY
34092012-07-28 Chong Yidong <cyd@gnu.org>
3410
3411 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3412 gdb-get-location.
3413
0e1a094f 34142012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
3415
3416 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3417 the alist (bug#12029).
3418
20329d73
EZ
34192012-07-28 Eli Zaretskii <eliz@gnu.org>
3420
3421 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3422 (compile-always, compile-first)
3423 ($(lisp)/calendar/cal-loaddefs.el)
3424 ($(lisp)/calendar/diary-loaddefs.el)
3425 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3426 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3427 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3428 instead of on update-subdirs.
3429 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3430
345a2258
CY
34312012-07-28 Chong Yidong <cyd@gnu.org>
3432
1eee6341
CY
3433 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3434 directory if vc-deduce-backend returns nil (Bug#7350).
3435
345a2258
CY
3436 * simple.el (delete-trailing-lines): New option.
3437 (delete-trailing-whitespace): Obey it (Bug#11879).
3438
049a0936
DE
34392012-07-28 David Engster <deng@randomsample.de>
3440
3441 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3442 Explanation of new 'symbol-qnames feature in doc-strings.
3443 (xml-maybe-do-ns): Return expanded names as plain symbols if
3444 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3445 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3446
aa81af71
FEG
34472012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3448
3449 Consistent completion in inferior python with emacs -nw.
3450 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3451 binding in inferior-python-mode-map with "\t".
3452 (python-shell-completion-complete-at-point)
3453 (python-completion-complete-at-point): Remove interactive spec.
3454
e827b1eb
JB
34552012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3456
3457 * calc/calccomp.el (math-compose-expr): Undo previous change.
3458
a90dfb95
FEG
34592012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3460
4250fdf5 3461 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
3462 run-python.
3463 (python-shell-make-comint): Fix pop-to-buffer call.
3464 (run-python): Autoload. New arg SHOW.
3465 (python-shell-get-or-create-process): Do not pop python process
3466 buffer.
3467
32770973 34682012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
3469
3470 * notifications.el (notifications-on-action-signal)
3471 (notifications-on-closed-signal): Use also the bus address for the map.
3472 (notifications-notify, notifications-close-notification)
fc0c31f8 3473 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 3474
86332df2
TH
34752012-07-27 Tassilo Horn <tsdh@gnu.org>
3476
4250fdf5
SM
3477 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3478 Add support for the lstlisting and minted environments, and for the
86332df2
TH
3479 ctable macro.
3480 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3481 labels written in keyvals syntax.
3482
ca1302a4
JB
34832012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3484
3485 * calc/calccomp.el (math-compose-expr): Use parentheses when
3486 there is a product in the denominator of a fraction.
3487
f8b91036
EZ
34882012-07-26 Eli Zaretskii <eliz@gnu.org>
3489
3490 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3491 ($(lisp)/calendar/diary-loaddefs.el)
3492 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
3493 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3494 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
3495 rewritten while the autoload files are built at the same time,
3496 which needs to load subdirs.el.
3497
c8e5a42c
MR
34982012-07-26 Martin Rudalics <rudalics@gmx.at>
3499
3500 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3501 (mouse-drag-line): Don't exit tracking when a switch-frame or
3502 switch-window event occurs (Bug#12006).
3503
670d85ea
SM
35042012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3505
3506 * mouse.el (popup-menu): Fix last change.
3507
7abaf5cc
SM
35082012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3509
3510 Autoload from Lisp with more care. Follow aliases when looking for
3511 function properties.
3512 * subr.el (autoloadp): New function.
3513 (symbol-file): Use it.
3514 (function-get): New function.
3515 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3516 autoload-do-load.
3517 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3518 (lisp-indent-function):
3519 * emacs-lisp/gv.el (gv-get):
3520 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3521 * emacs-lisp/byte-opt.el (byte-optimize-form):
3522 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3523 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3524 Use function-get.
3525 * emacs-lisp/cl.el: Don't propagate function properties any more.
3526
3527 * speedbar.el (speedbar-add-localized-speedbar-support):
3528 * emacs-lisp/disass.el (disassemble-internal):
3529 * desktop.el (desktop-load-file):
3530 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3531 (describe-function-1):
3532 * emacs-lisp/find-func.el (find-function-noselect):
3533 * emacs-lisp/elp.el (elp-instrument-function):
3534 * emacs-lisp/advice.el (ad-has-proper-definition):
3535 * apropos.el (apropos-safe-documentation, apropos-macrop):
3536 * emacs-lisp/debug.el (debug-on-entry):
3537 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3538 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3539 * calc/calc.el (name): Use autoloadp & autoload-do-load.
3540
b1364986
AA
35412012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
3542
3543 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3544 function, not an obsolete variable (Bug#12046).
3545
67ada220
AS
35462012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3547
3548 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
3549
f08088e3
CS
35502012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
3551
3552 * emacs-lisp/pp.el (pp-display-expression): Select old selected
3553 window only if it is still live (Bug#12034).
3554
8137e7b3
MR
35552012-07-25 Martin Rudalics <rudalics@gmx.at>
3556
3557 * subr.el (redirect-frame-focus): Add advertised calling
3558 convention (Bug#12030).
3559
09ae5da1
PE
35602012-07-25 Paul Eggert <eggert@cs.ucla.edu>
3561
3562 Prefer typical American spelling for "acknowledgment".
3563 * vc/add-log.el (change-log-acknowledgment): Rename from
3564 change-log-acknowledgement, with an alias for the old name.
3565
3cc5a3a8
JB
35662012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
3567
3568 * calc-alg.el (math-simplify-divide): Don't cross multiply
3569 in an equation when the lhs is a variable.
3570
b7af7f62
JD
35712012-07-24 Julien Danjou <julien@danjou.info>
3572
3573 * net/netrc.el (netrc-find-service-number, netrc-store-data):
3574 Remove, unused.
3575
ec1b09b1
EZ
35762012-07-23 Eli Zaretskii <eliz@gnu.org>
3577
3578 * startup.el (command-line): Don't display an empty user name in
3579 the error message about non-existent home directory, when
3580 init-file-user was set to an empty string. See
3581 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3582 for the details and context.
3583
b525fd8a
VB
35842012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
3585
3586 * ses.el (ses-cell-formula-aset): New macro.
3587 (ses-cell-references-aset): New macro.
3588 (ses-cell-p): New function.
3589 (ses-rename-cell): Do no longer rely on complex operations like
3590 ses-cell-set-formula or ses-set-cell to change the cell and handle
3591 the undo at the same time, but rather use lower level new macros
3592 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 3593 the undo directly. Refresh the mode line.
b525fd8a 3594
2c73e345
LL
35952012-07-21 Leo Liu <sdl.web@gmail.com>
3596
670d85ea
SM
3597 * progmodes/cc-cmds.el (c-defun-name):
3598 Use match-string-no-properties instead for consistency.
2c73e345 3599
542dfbde
LL
36002012-07-20 Leo Liu <sdl.web@gmail.com>
3601
3646bcd6
LL
3602 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3603 (Bug#7879)
3604
542dfbde
LL
3605 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3606
25721031
CY
36072012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3608
3609 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3610 * progmodes/bug-reference.el, misearch.el: Provide themselves
3611 (bug#11915).
3612
3613 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3614 of narrowed buffer (bug#11966).
3615
316e68a7
VB
36162012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
3617
3618 * ses.el (ses-rename-cell): Set new name also in reference list of
3619 cells of which the renamed cell depends.
3620
bbf0e7d9
MY
36212012-07-20 Masatake YAMATO <yamato@redhat.com>
3622
3623 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3624 to check whether menu-bar is shown or not. If not shown,
3625 show the menu-bar as a popup menu instead of using tmm.
3626 * mouse.el (popup-menu): Accept `point' as `position' argument.
3627
c28662a8
DG
36282012-07-20 Dmitry Gutov <dgutov@yandex.ru>
3629
3630 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
3631 up inside string symbol literal (bug#11923).
3632
87ab808f
EZ
36332012-07-20 Eli Zaretskii <eliz@gnu.org>
3634
3635 * startup.el (fancy-startup-text): Read the whole tutorial, not
3636 just its first 256 bytes. Prevents gibberish in display of the
3637 tutorial title.
3638
89dea803
DA
36392012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
3640
3641 Drop idle buffer compaction due to an absence of the
3642 proved efficiency.
3643 * compact.el: Remove.
3644
8a4e6db8
SS
36452012-07-19 Sam Steingold <sds@gnu.org>
3646
3647 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
3648 vc-bzr-pull & vc-bzr-merge-branch.
3649 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
3650 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
3651 for consistency with compilation-error-regexp-alist.
3652 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
3653 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
3654 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
3655 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
3656
5db81e33
SM
36572012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3658
3659 * emacs-lisp/chart.el: Use lexical-binding.
3660 (chart-emacs-storage): Don't hardcode the list of entries.
3661
5b835e1d
DA
36622012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3663
3664 Next round of tweaks caused by Fgarbage_collect changes.
3665 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
3666
9cd47b72
DA
36672012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3668
3669 Compact buffers when idle.
3670 * compact.el: New file.
3671
1d6fc0df
SM
36722012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3673
3674 * subr.el (eventp): Presume that if it looks vaguely like an event,
3675 it's an event (bug#10190).
3676
1d29cc7d
FEG
36772012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
3678
3679 Enhancements to ppss related code (thanks Stefan).
3680 * progmodes/python.el (python-indent-context)
3681 (python-indent-calculate-indentation, python-indent-dedent-line)
3682 (python-indent-electric-colon, python-nav-forward-block)
3683 (python-mode-abbrev-table)
1d6fc0df 3684 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
3685 for ppss context.
3686 (python-info-continuation-line-p): Cleanup.
3687 (python-info-ppss-context): Do not catch 'quote.
3688 (python-info-ppss-context-type)
3689 (python-info-ppss-comment-or-string-p): Simplify.
3690
d583cbe6
FEG
36912012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
3692
3693 * progmodes/python.el: Enhancements to eldoc support.
3694 (python-info-current-symbol): New function.
3695 (python-eldoc-at-point): Use python-info-current-symbol.
3696 (python-info-current-defun): Fix cornercase on first defun scan.
3697 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
3698 and signal error when no inferior python process is available.
3699
eceb6feb
DG
37002012-07-18 Dmitry Gutov <dgutov@yandex.ru>
3701
3702 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
3703 assume it's always t.
3704 (vc-git-registered): Remove caching, the function is only called
3705 once.
3706 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
3707
4c8ff0fe
CY
37082012-07-18 Chong Yidong <cyd@gnu.org>
3709
19fb7186
CY
3710 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
3711
9587c688
CY
3712 * simple.el (count-words): Report on narrowing (Bug#9959).
3713
0fe776a1
CY
3714 * bindings.el: Bind M-= to count-words.
3715
4c8ff0fe
CY
3716 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
3717
7f5331cc
MY
37182012-07-18 Masatake YAMATO <yamato@redhat.com>
3719
3720 * progmodes/sh-script.el (sh-imenu-generic-expression):
3721 Capture a function with `function' keyword and without parentheses
3722 like "function FOO" (bug#11856).
3723
2dc2a609
TH
37242012-07-18 Tassilo Horn <tassilo@member.fsf.org>
3725
3726 * window.el (split-window-sensibly): Make WINDOW argument
3727 optional.
3728
439f7677
CY
37292012-07-18 Chong Yidong <cyd@gnu.org>
3730
9aeb25a6
CY
3731 * subr.el (keyboard-translate): Doc fix (Bug#7261).
3732
439f7677
CY
3733 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
3734 and make C-x 8 RET exit isearch (Bug#11439).
3735
3736 * international/iso-transl.el: Move isearch-mode-map key
3737 definitions to isearch.el.
3738
12999ea8
SM
37392012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
3740
3741 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
3742 (eieio-defclass): Use gv-define-setter when possible.
3743
3ab6e069
DA
37442012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
3745
3746 Reflect recent changes in Fgarbage_collect.
3747 * emacs-lisp/chart.el (chart-emacs-storage): Change to
3748 reflect new format of data returned by Fgarbage_collect.
3749
0a60bc10
FEG
37502012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3751
3752 New utility functions + python-info-ppss-context fix (Bug#11910).
3753 * progmodes/python.el (python-info-beginning-of-block-statement-p)
3754 (python-info-ppss-comment-or-string-p): New functions.
3755 (python-info-ppss-context): Small fix for string check.
3756
6dafa0d5
JL
37572012-07-17 Juri Linkov <juri@jurta.org>
3758
3759 * dired-aux.el (dired-do-async-shell-command): Doc fix.
3760 (dired-do-async-shell-command): Don't add `*' at the end of the
3761 command (Bug#11815).
3762 (dired-do-shell-command): Doc fix.
3763 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
3764 Join the individual commands using either "&" or ";" as the
3765 separator depending on the values of these trailing characters.
3766 At the end re-add the trailing "&". (Bug#10598)
3767
3768 * simple.el (async-shell-command): Sync the interactive spec with
3769 `shell-command'. Doc fix.
3770 (shell-command): Doc fix.
3771
b19dd9d1
JL
37722012-07-17 Juri Linkov <juri@jurta.org>
3773
3774 * descr-text.el (describe-char): Fix format args. (Bug#10129)
3775
bcdc27d7 37762012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 3777
bcdc27d7 3778 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
3779 * progmodes/python.el (python-nav-beginning-of-statement):
3780 Rename from python-nav-statement-start.
bcdc27d7
FEG
3781 (python-nav-end-of-statement): Rename from
3782 python-nav-statement-end.
3783 (python-nav-beginning-of-block): Rename from
3784 python-nav-block-start.
3785 (python-nav-end-of-block): Rename from python-nav-block-end.
3786
191da00e
FEG
37872012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3788
7f5331cc
MY
3789 * progmodes/python.el (python-shell-send-string-no-output):
3790 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
3791 future interactions (Bug#11868).
3792
4dc7c8d5 37932012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 3794
88ecaf8f
SM
3795 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
3796
ef501ef0
SM
3797 * emacs-lisp/elint.el (elint-find-args-in-code):
3798 Use help-function-arglist, so as to handle lexical byte-code.
3799
aa7aaf8f
SM
3800 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
3801 change (bug#11826).
3802
45fd731c
SM
38032012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3804
2143fa32
SM
3805 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
3806 Avoid spuriously marking the buffer as modified because of c-is-sws.
3807
efc26dbe
SM
3808 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
3809 as not-a-comment (bug#11946).
3810
f5695c9a
SM
3811 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
3812 for uninterned vars.
3813
3814 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
3815 Use read-event since we don't really want to read chars but bytes.
3816
45fd731c
SM
3817 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
3818 $$..$$ but also $..$ using regexps (bug#11953).
3819 Use tex-verbatim for \url and \path.
3820 (tex-font-lock-keywords): Define as defconst like the others.
3821 (tex-common-initialization): Don't use font-lock-syntax-table any more.
3822
ddfc8813
RK
38232012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
3824
3825 * international/mule-cmds.el (ucs-insert): Make it an obsolete
3826 alias for insert-char.
3827
758e556a
FEG
38282012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3829
3830 * progmodes/python.el: Simplified imenu implementation.
3831 (python-nav-jump-to-defun): Remove command.
3832 (python-mode-map): Use `imenu' instead.
3833 (python-nav-list-defun-positions-cache)
3834 (python-imenu-include-defun-type, python-imenu-make-tree)
3835 (python-imenu-subtree-root-label, python-imenu-index-alist):
3836 Remove vars.
3837 (python-nav-list-defun-positions, python-nav-read-defun)
3838 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
3839 (python-imenu-make-tree, python-imenu-create-index):
3840 Remove functions.
758e556a
FEG
3841 (python-mode): Update to interact with imenu by setting
3842 `imenu-extract-index-name-function' only.
3843
032d23ab
FEG
38442012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3845
3846 * progmodes/python.el: Enhancements to navigation commands.
3847 (python-nav-backward-sentence)
3848 (python-nav-forward-sentence): Remove.
3849 (python-nav-backward-statement, python-nav-forward-statement)
3850 (python-nav-statement-start, python-nav-statement-end)
3851 (python-nav-backward-block, python-nav-forward-block)
3852 (python-nav-block-start, python-nav-block-end)
3853 (python-nav-forward-sexp-function)
3854 (python-info-current-line-comment-p)
3855 (python-info-current-line-empty-p): New functions.
3856 (python-indent-context): Use `python-nav-statement-start'.
3857
01795a1b
MA
38582012-07-16 Michael Albinus <michael.albinus@gmx.de>
3859
9328d9aa
MA
3860 * eshell/em-ls.el (eshell/ls): Use `apply'.
3861
3862 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
3863 multi-hops, instead of Tramp internals.
3864
01795a1b
MA
3865 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
3866
3867 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
3868 when F1 and F2 are located on different hosts.
3869
63408057
CY
38702012-07-14 Chong Yidong <cyd@gnu.org>
3871
3872 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
3873 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
3874 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
3875 (xterm-mouse--read-event-sequence-1000)
3876 (xterm-mouse--read-event-sequence-1006): New functions. For old
3877 mouse protocol, handle M-mouse-X events correctly.
3878 (xterm-mouse-event): New arg specifying mouse protocol.
3879 (turn-on-xterm-mouse-tracking-on-terminal)
3880 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
3881 sequence to toggle extended coordinates on newer XTerms.
3882 This appears to be harmless on terminals which do not support this.
63408057 3883
cd276f6e
LL
38842012-07-14 Leo Liu <sdl.web@gmail.com>
3885
28ca98ac
LL
3886 Add fringe bitmap indicators for flymake. (Bug#11253)
3887 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
3888 (flymake-make-overlay): New arg BITMAP.
3889 (flymake-error-bitmap, flymake-warning-bitmap)
3890 (flymake-fringe-indicator-position): New user variables.
3891
cd276f6e
LL
3892 * fringe.el: New bitmap exclamation-mark.
3893
04408072
JD
38942012-07-14 Jan Djärv <jan.h.d@swipnet.se>
3895
3896 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
3897 also (Bug#7879).
3898
b5cf7fc4
CY
38992012-07-14 Chong Yidong <cyd@gnu.org>
3900
3901 * electric.el (electric-pair-post-self-insert-function): Fix pair
3902 insertion in empty-region case (Bug#11520).
3903
be755c79
RT
39042012-07-14 Chong Yidong <cyd@gnu.org>
3905
45fd731c
SM
3906 * bindings.el: Consolidate ctl-x-r-map bindings.
3907 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
3908
3909 * rect.el, register.el: Move bindings to bindings.el.
3910
39112012-07-14 Reuben Thomas <rrt@sc3d.org>
3912
3913 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
3914
7f5b3198
AS
39152012-07-13 Andreas Schwab <schwab@linux-m68k.org>
3916
3917 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
3918
97662200
JB
39192012-07-13 Juanma Barranquero <lekktu@gmail.com>
3920
80185fed
JB
3921 * bindings.el (top): Use `mapc' instead of `mapcar'.
3922
97662200
JB
3923 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
3924
2bb1ae55
MA
39252012-07-13 Michael Albinus <michael.albinus@gmx.de>
3926
3927 * progmodes/sql.el (sql-comint): Suppress the check for program on
3928 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
3929 (Bug#11908)
3930
dea31bd3
CY
39312012-07-13 Chong Yidong <cyd@gnu.org>
3932
3933 * bindings.el: Assign a non-nil permanent-local property to
3934 per-buffer variables which lack a default value (Bug#11930).
3935
3936 * help-fns.el (describe-variable): In the "automatically becomes
3937 local" notice, take note of permanent-local variables.
3938
b68b3337
CY
39392012-07-13 Chong Yidong <cyd@gnu.org>
3940
3941 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
3942 to allow printing the message when called from Lisp.
3943
3944 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3945 Remove toggle-read-only.
3946
3947 * bs.el (bs-toggle-readonly):
45fd731c
SM
3948 * buff-menu.el (Buffer-menu-toggle-read-only):
3949 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
3950
3951 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
3952 Remove with-no-warnings around toggle-read-only.
3953 (ffap-read-only, ffap-read-only-other-window)
3954 (ffap-read-only-other-frame): Callers changed.
3955
3956 * help-mode.el: Don't require view package.
3957 (help-mode-finish): Set buffer-read-only instead of calling
3958 toggle-read-only.
3959
3960 * bindings.el (mode-line-toggle-read-only):
3961 * dired.el (dired-toggle-read-only):
3962 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
3963 with non-nil second arg.
3964
3965 * emacs-lisp/eieio-custom.el (eieio-customize-object):
3966 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
3967 directly.
3968
56bc1586
EZ
39692012-07-12 Eli Zaretskii <eliz@gnu.org>
3970
3971 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
3972 not incf.
3973
a464a6c7
SM
39742012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
3975
3976 More CL cleanups and reduction of use of cl.el.
3977 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
3978 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
3979 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
3980 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
3981 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
3982 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
3983 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
3984 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
3985 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
3986 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
3987 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
3988 * eshell/em-cmpl.el, eshell/em-banner.el:
3989 * calendar/parse-time.el: Use cl-lib.
3990 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
3991 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
3992 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
3993 * term/ns-win.el, term.el, shell.el, ps-samp.el:
3994 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
3995 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
3996 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
3997 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
3998 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
3999 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4000 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4001 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4002 `lambda' rather than with `quote'.
4003 (eshell-do-opt): Adjust accordingly.
4004 (eshell-process-option): Simplify.
4005 * eshell/esh-var.el:
4006 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4007 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4008 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4009 to `pcase--dontcare'.
4010 * emacs-lisp/cl.el (labels): Mark obsolete.
4011 (cl--letf, letf): Move to cl-lib.
4012 (cl--letf*, letf*): Remove.
4013 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4014 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4015 (cl-progv): Rewrite.
4016 (cl--letf, cl-letf): Move from cl.el.
4017 (cl-letf*): New macro.
4018 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4019
7ad4afe1
MA
40202012-07-11 Michael Albinus <michael.albinus@gmx.de>
4021
4022 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4023
9af57756
CY
40242012-07-11 Chong Yidong <cyd@gnu.org>
4025
4026 * vc/log-edit.el (log-edit-vc-backend): New variable.
4027 (log-edit): Doc fix.
4028
4029 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4030 argument of log-edit to set up all local variables.
4031 (vc-start-logentry): New optional arg specifying VC backend.
4032
4033 * vc/vc.el (vc-checkin): Use it.
4034 (vc-deduce-fileset): Handle Log Edit buffers.
4035 (vc-diff): Make first argument optional too.
4036
4037 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4038
8477cc7a
MA
40392012-07-10 Michael Albinus <michael.albinus@gmx.de>
4040
4041 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4042 command, just in case. The function is not needed anymore.
4043 (eshell-external-command): Do not call `eshell-remote-command'.
4044
19faa8e8
SM
40452012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4046
f58e0fd5
SM
4047 Reduce use of (require 'cl).
4048 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4049 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4050 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4051 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4052 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4053 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4054 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4055 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4056 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4057 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4058 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4059 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4060 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4061 (byte-compile-unfold-bcf, byte-compile-check-variable):
4062 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4063 (byte-compile-nilconstp):
4064 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4065 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4066
2519d43a
SM
4067 * emacs-lisp/gv.el (cond): Make it a valid place.
4068 (if): Simplify slightly.
4069
19faa8e8
SM
4070 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4071 (pcase--self-quoting-p): New function.
4072 (pcase--u1): Use it.
4073
c4907a5e
GM
40742012-07-10 Glenn Morris <rgm@gnu.org>
4075
4076 * emacs-lisp/authors.el (authors-fixed-entries):
4077 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4078
c4444d16
PE
40792012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4080
4081 Rename configure.in to configure.ac (Bug#11603).
4082 * emacs-lisp/authors.el (authors-canonical-file-name):
4083 * progmodes/autoconf.el (autoconf-mode):
4084 Prefer configure.ac to configure.in.
4085
d75be97d
CY
40862012-07-08 Chong Yidong <cyd@gnu.org>
4087
01ac65bd
CY
4088 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4089 Implement the mouse-1-click-follows-link handling properly.
4090
4091 * info.el (Info-link-keymap): Use follow-link mechanism for
4092 header-line links (Bug#374).
4093
d75be97d
CY
4094 * simple.el (deactivate-mark): Do not set the primary selection
4095 if another program has acquired it (Bug#11772).
4096
87a92845 40972012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
4098
4099 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4100 (woman-decode-region): Replace escaped-escapes without destroying
4101 bold or underline (Bug#11552).
87a92845 4102 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 4103
621b9d6c
CY
41042012-07-07 Chong Yidong <cyd@gnu.org>
4105
4106 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
4107 (interprogram-cut-function, interprogram-paste-function):
4108 Mention that we typically mean the clipboard.
621b9d6c 4109
133a11fc
GM
41102012-07-06 Glenn Morris <rgm@gnu.org>
4111
0d27a45e
GM
4112 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4113
133a11fc
GM
4114 * files.el (toggle-read-only): Restrict message to interactive use.
4115
07b151f1
MA
41162012-07-06 Michael Albinus <michael.albinus@gmx.de>
4117
4118 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4119
4120 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4121
211b896b
GM
41222012-07-06 Glenn Morris <rgm@gnu.org>
4123
50394322
GM
4124 * Makefile.in (compile-one-process): Rename from "recompile".
4125
211b896b
GM
4126 * Makefile.in (bzr-update): "compile" is the same as "recompile
4127 autoloads", but parallelizable, so use that instead.
4128
4737eec9
DG
41292012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4130
4131 * window.el (quit-window): Always restore window height when
8137e7b3 4132 it's saved in quit-restore parameter (Bug#11810).
4737eec9 4133
226c3633 41342012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
4135
4136 * simple.el (kill-whole-line): Doc tweak.
4137
226c3633 41382012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
4139
4140 * files.el (file-relative-name): Compare file names
4141 case-insensitively if on MS-Windows or MS-DOS, or if
4142 read-file-name-completion-ignore-case is non-nil. Don't use
4143 case-fold-search for this purpose. (Bug#11827)
4144
4dc7c8d5
SM
41452012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4146
4147 * calendar/cal-dst.el (calendar-current-time-zone):
4148 Return calendar-current-time-zone-cache if non-nil.
4149
41502012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 41512012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4152
19faa8e8
SM
4153 * calendar/cal-dst.el (calendar-current-time-zone):
4154 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4155
60198fc9
GM
41562012-07-06 Glenn Morris <rgm@gnu.org>
4157
4158 * Makefile.in (cvs-update): Remove old alias.
4159
957b3189
MA
41602012-07-05 Michael Albinus <michael.albinus@gmx.de>
4161
4162 Sync with Tramp 2.2.6-pre.
4163
4164 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4165 compatible declaration.
4166
19faa8e8
SM
4167 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4168 Protect `list-load-path-shadows' call.
957b3189
MA
4169
4170 * net/tramp-compat.el (top): Require packages, which aren't
4171 autoloaded anymore for XEmacs. Protect call of
4172 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4173 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4174 it hurts at least for SXEmacs.
4175 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4176 standard-value for `temporary-file-directory'.
4177
4178 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4179 Redirect stderr to /dev/null.
4180 (tramp-sh-handle-write-region): uid and gid can be floats.
4181 Reported by Russell Sim <russell.sim@gmail.com>.
4182 (tramp-sh-handle-vc-registered): Hide errors.
4183 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4184 and `start-file-process'.
4185 (tramp-maybe-open-connection): Check also whether `non-essential'
4186 is bound.
4187
566df3fc
CY
41882012-07-04 Chong Yidong <cyd@gnu.org>
4189
4190 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4191 (xml-parse-tag): Likewise, and avoid changing entity tables.
4192 (xml-syntax-table): Define from scratch, making sure not to give
4193 x2000 and other Unicode spaces whitespace syntax, since those are
4194 not spaces in XML.
4195 (xml-parse-fragment): Delete unused function.
4196 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4197 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4198 (xml-entity-ref, xml-pe-reference-re)
4199 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4200 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4201 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4202 (xml-entity-value-re): Use syntax references in regexps where
4203 possible; no need to define inside a let-binding.
4204 (xml-parse-dtd): Use xml-pe-reference-re.
4205 (xml-entity-or-char-ref-re): New defconst.
4206 (xml-parse-string, xml-substitute-special): Use it.
4207
30eabd7a
SM
42082012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4209
0781098a
SM
4210 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4211 (find-file--read-only): New function.
4212 (find-file-read-only, find-file-read-only-other-window)
4213 (find-file-read-only-other-frame): Use it.
4214 (insert-file-contents-literally): Don't `fset'.
4215 (get-free-disk-space): Use locate-dominating-file.
4216
b5771c0d
SM
4217 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4218 function is already compiled.
4219
30eabd7a
SM
4220 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4221
b4886f6e
MA
42222012-07-03 Michael Albinus <michael.albinus@gmx.de>
4223
4224 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4225 files on the same host.
4226
b9d82339
AS
42272012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4228
4229 * help-fns.el (describe-function-1): Only call
4230 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4231
a76e6535
CY
42322012-07-03 Chong Yidong <cyd@gnu.org>
4233
4234 * xml.el: Protect parser against XML bombs.
4235 (xml-entity-expansion-limit): New variable.
4236 (xml-parse-string, xml-substitute-special): Use it.
4237 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4238
b544fef2
GM
42392012-07-03 Glenn Morris <rgm@gnu.org>
4240
4241 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4242 Allow linking to specific messages in debbugs reports (eg 123#5).
4243
a7aef6f5
CY
42442012-07-02 Chong Yidong <cyd@gnu.org>
4245
4246 * xml.el: Fix entity and character reference expansion, allowing
4247 them to expand into markup as per XML spec.
4248 (xml-default-ns): New variable.
4249 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
4250 (xml-parse-region): Make first two arguments optional.
4251 Discard text properties.
4252 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4253 All callers changed.
a7aef6f5
CY
4254 (xml-parse-tag): Call xml-parse-tag-1. For backward
4255 compatibility, this function should not modify buffer contents.
4256 (xml-parse-tag-1): Fix opening-tag regexp.
4257 (xml-parse-string): Rewrite, handling entity and character
4258 references properly.
4259 (xml--entity-replacement-text): Signal an error if a parameter
4260 entity is undefined.
4261
3df31c9f
SM
42622012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4263
2b5208f1
SM
4264 * comint.el (comint-output-filter): Filter out repeated prompts.
4265
3df31c9f
SM
4266 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4267 and file-name-absolute-p.
4268 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4269 internal calls.
4270
e3ac1281
PE
42712012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4272
4273 Spelling fixes.
4274 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4275 Rename from byte-compile--refiy-function. All uses changed.
4276
fbf2e7ad
CY
42772012-07-01 Chong Yidong <cyd@gnu.org>
4278
4279 * xml.el (xml--parse-buffer): New function. Move most of
4280 xml-parse-region here.
4281 (xml-parse-region): Copy region into a temporary buffer, since
4282 parameter entity substitution requires changing buffer contents.
4283 Use xml--parse-buffer.
4284 (xml-parse-file): Use xml--parse-buffer.
4285 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 4286 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 4287
9bf0aa15
GM
42882012-06-30 Glenn Morris <rgm@gnu.org>
4289
bbce2853
GM
4290 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4291
9bf0aa15
GM
4292 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4293 Remove outdated and unnecessary dbus declarations.
4294
0d23c240
EZ
42952012-06-30 Eli Zaretskii <eliz@gnu.org>
4296
4297 * emacs-lisp/timer.el (timer-until): Subtract results of
4298 float-time, instead of taking float-time of the result of
4299 time-subtract, since float-time signals an error for negative time
4300 arguments.
4301
b3218de1
CY
43022012-06-30 Chong Yidong <cyd@gnu.org>
4303
4304 * xml.el (xml-*-re): Convert defvars into defconsts, and
4305 eval-and-compile them so eval-and-compile works on derivatives.
4306 (xml--entity-replacement-text): Use eval-and-comple.
4307
a40c87a0
MA
43082012-06-30 Michael Albinus <michael.albinus@gmx.de>
4309
4310 * vc/vc-git.el (vc-git-registered): Use cache property
4311 `git-registered'.
4312 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4313 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 4314 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 4315
ac87de97
DG
43162012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4317
4318 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 4319 removed (likely outside Emacs). (Bug#11757)
ac87de97 4320
ac10fe06
SM
43212012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4322
3df31c9f 4323 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 4324
7f3fbd5d
CY
43252012-06-30 Chong Yidong <cyd@gnu.org>
4326
4327 * xml.el: Implement XML parameter entities.
4328 (xml-parameter-entity-alist): New variable.
4329 (xml-parse-region, xml-parse-fragment): Preserve previous values
4330 of xml-entity-alist and xml-parameter-entity-alist, so that
4331 repeated calls on different documents do not change them.
4332 (xml-parse-tag): Fix doctype regexp.
4333 (xml--entity-replacement-text): New function.
4334 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4335 properly requires url retrieval which is unimplemented.
4336 (xml-escape-string): Doc fix.
4337
3cfbebba
SM
43382012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4339
4340 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4341
2af3565e
DA
43422012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4343
4344 * fringe.el (fringe-mode): Doc fix.
4345
929df0e7
MA
43462012-06-29 Michael Albinus <michael.albinus@gmx.de>
4347
4348 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4349 is non-nil.
4350 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4351 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4352
c8d3a25c 43532012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4354
c8d3a25c
GM
4355 * calendar/cal-dst.el (calendar-current-time-zone):
4356 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4357
c8d3a25c 43582012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
4359
4360 * progmodes/which-func.el (which-func-format):
4361 Add mouse-face. (Bug#11698)
4362
c8d3a25c
GM
43632012-06-29 Leo Liu <sdl.web@gmail.com>
4364
4365 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4366
43672012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4368
4369 * minibuffer.el (minibuffer-confirm-exit-commands):
4370 Add completion-at-point (bug#11725).
4371
43722012-06-29 Glenn Morris <rgm@gnu.org>
4373
4374 * progmodes/f90.el (f90-font-lock-keywords-2):
4375 Add some preprocessor elements. (Bug#10499)
4376
43772012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4378
4379 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4380 Use syntax-propertize (bug#11739).
4381
2badeec4
JB
43822012-06-28 Juanma Barranquero <lekktu@gmail.com>
4383
4384 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4385
ae4969c2
JD
43862012-06-28 Julien Danjou <julien@danjou.info>
4387
4388 * term.el (term-handle-colors-array): Use a set of new faces to
4389 color the terminal. Also uses :inverse-video property.
4390 (term-default-fg-color): Set to nil by default, deprecate in favor
4391 of `term-face'.
4392 (term-default-bg-color): Set to nil by default, deprecate in favor
4393 of `term-face'.
4394 (term-current-face): Use `term-face' by default.
4395 (term-bold-attribute): Variable deleted.
4396
1c9bd870
GM
43972012-06-28 Glenn Morris <rgm@gnu.org>
4398
4399 * simple.el (completion-list-mode-finish):
4400 Don't use toggle-read-only. (Since completion-list-mode has
4401 a special mode-class, it wasn't doing anything extra anyway.)
4402
c207708c
SM
44032012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4404
4405 Make inlining of other-mode interpreted functions work (bug#11799).
4406 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4407 (byte-compile): Use it to fix compilation of lexical-binding closures.
4408 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4409 function, if needed.
4410
3fd56834
SM
44112012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4412
04901786
SM
4413 * help-mode.el (help-make-xrefs): Don't just withstand
4414 cyclic-variable-indirection but any error in documentation-property.
4415
1ec4b7b2
SM
4416 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4417 memory use.
4418 * bindings.el (bindings--define-key): New function.
4419 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4420 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4421 * bindings.el: Use it to purecopy define-key bindings.
4422
e309e2a5
SM
4423 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4424
d5c6faf9
SM
4425 * emacs-lisp/cl.el (flet): Mark obsolete.
4426 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4427 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4428 * progmodes/js.el (js-c-fill-paragraph):
4429 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4430 (ebrowse-switch-member-buffer-to-derived-class):
4431 * play/5x5.el (5x5-solver): Use cl-flet.
4432
6e9590e2
SM
4433 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4434 (cl--symbol-function): New macro.
4435 (cl--letf, cl--letf*): Use it.
4436
3fd56834
SM
4437 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4438 Strip "toggle-" if any.
4439
35ff222c
GM
44402012-06-27 Glenn Morris <rgm@gnu.org>
4441
1ba6038a
GM
4442 * info.el (Info-default-directory-list): Move here from paths.el.
4443 * paths.el: Remove file, which is now empty.
4444 * loadup.el: No longer load "paths".
4445
0ea0e51b
GM
4446 * custom.el (custom-initialize-delay): Doc fix.
4447
35ff222c
GM
4448 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4449 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4450 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4451 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4452 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4453 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4454 * eshell/eshell.el (eshell-defgroup): Remove alias.
4455
c89926a5
CY
44562012-06-27 Chong Yidong <cyd@gnu.org>
4457
4458 * help.el (help-enable-auto-load): New variable.
4459
4460 * help-fns.el (help-fns--autoloaded-p): New function.
4461 (describe-function-1): Refer to a function as "autoloaded" if it
4462 was autoloaded at any time in the past. Perform autoloading if
4463 help-enable-auto-load is non-nil.
4464
cc06e7e7
EZ
44652012-06-26 Eli Zaretskii <eliz@gnu.org>
4466
4467 * makefile.w32-in (compile, compile-always): Depend on
4468 update-subdirs, not on subdirs.el. Otherwise, several different
4469 sub-targets of 'bootstrap' running in parallel could
4470 simultaneously write to subdirs.el, producing a garbled file.
4471
d2c32364
SS
44722012-06-26 Sam Steingold <sds@gnu.org>
4473
4474 * files.el (file-name-base): New convenience function.
0d14cc21
GM
4475 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4476 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4477 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4478 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4479 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
4480 * textmodes/tex-mode.el: Use it.
4481 Did not touch cedet and org because they are maintained elsewhere.
4482
5cf983b2
MR
44832012-06-26 Martin Rudalics <rudalics@gmx.at>
4484
4485 * calendar/calendar.el (calendar-exit): Don't try to delete or
4486 iconify last frame. See:
4487 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4488
8c4f2952
JD
44892012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
4490
4491 * server.el (server-process-filter): Remember dir in the
4492 process's `server-client-directory' properties.
4493
772b2e2c
CY
44942012-06-24 Chong Yidong <cyd@gnu.org>
4495
4496 * xml.el (xml-parse-tag): Correctly handle comment embedded in
4497 non-tag text.
4498
711b11e1
JB
44992012-06-23 Juanma Barranquero <lekktu@gmail.com>
4500
4501 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4502
dc5d230c
SM
45032012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4504
4505 * help-fns.el (describe-variable): Don't croak when doc is not found.
4506 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4507 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4508 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4509 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4510 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4511 ((lambda ..) ..).
4512 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4513
136e1c1d
CY
45142012-06-23 Chong Yidong <cyd@gnu.org>
4515
e8c1cabf
CY
4516 * info.el (Info-mouse-follow-link): Accept symbol values of
4517 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
4518 (Info-fontify-node): Use Info-link-keymap for all navigation
4519 buttons, with link-args property to perform the desired action.
4520 (Info-link-keymap): Doc fix.
4521 (Info-next-link-keymap, Info-prev-link-keymap)
4522 (Info-up-link-keymap): Delete now-unused keymaps.
4523
0e9e6c6a
CY
45242012-06-23 Chong Yidong <cyd@gnu.org>
4525
05e89fea
CY
4526 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4527
0e9e6c6a
CY
4528 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4529 system abbrevs.
4530
4531 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4532
e33c6771
SM
45332012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4534
b68581e2
SM
4535 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4536 (bug#11719).
4537
e33c6771
SM
4538 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4539 the requote function doesn't work properly (bug#11714).
4540
7117e105
GM
45412012-06-23 Glenn Morris <rgm@gnu.org>
4542
4543 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4544
36cec983
SM
45452012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4546
4547 Further GV/CL cleanups.
4548 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4549 gv-expander.
4550 (gv--defun-declaration): New function.
4551 (defun-declarations-alist): Use it.
4552 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4553 (gv-place): Autoload.
4554 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4555 original definition of dotimes and dolist.
4556 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4557 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4558 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4559 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4560 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4561 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4562 to the function's definition.
4563 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4564 * window.el:
4565 * files.el:
4566 * faces.el:
4567 * env.el: Don't use CL.
4568
d35af63c
PE
45692012-06-22 Paul Eggert <eggert@cs.ucla.edu>
4570
4571 Support higher-resolution time stamps (Bug#9000).
4572
4573 * calendar/time-date.el (with-decoded-time-value): New arg
4574 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
4575 (encode-time-value): New optional arg PICO. New type 3.
4576 (time-to-seconds) [!float-time]: Support the new picoseconds
4577 component if it's used.
4578 (seconds-to-time, time-subtract, time-add):
4579 Support ps-resolution time stamps as well.
4580
4581 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
4582 (timerp): Timer vectors now have length 9, not 8.
4583 (timer--time): Support new-style (4-part) time stamps.
4584 (timer-next-integral-multiple-of-time): Time stamps now have
4585 picosecond resolution, so take a bit more care about rounding.
4586 (timer-relative-time, timer-inc-time): New optional arg psecs.
4587 (timer-set-time-with-usecs): Set psecs to 0.
4588 (timer--activate): Check psecs component, too.
4589
4590 * proced.el (proced-time-lessp): Support ps-resolution stamps.
4591
ac77b21a
SM
45922012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4593
f143bfe3
SM
4594 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4595 Move the non-essential binding to the post/pre-command-hook where it is
4596 more obviously correct.
4597
ac77b21a
SM
4598 * subr.el (read-passwd): Don't use a history at all.
4599 * savehist.el (savehist-save): Remove password saved accidentally
4600 because of the above bug.
4601
76386c5a
BG
46022012-06-22 Bastien Guerry <bzg@gnu.org>
4603
4604 * files.el (toggle-read-only): Display a message telling whether
4605 the buffer is read-only or not (bug#11726).
4606
2ee3d7f0
SM
46072012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4608
4609 * emacs-lisp/gv.el: New file.
4610 * subr.el (push, pop): Extend to generalized variables.
4611 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4612 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4613 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
4614 gv-define-simple-setter, and gv-define-expander.
4615 Remove setf-methods defined in gv. Rename cl-setf -> setf.
4616 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4617 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4618 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
4619 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
4620 gv-letplace.
4621 (cl-defstruct): Don't define setf-method any more.
4622 * emacs-lisp/cl.el (flet): Don't autoload.
4623 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4624 (define-setf-expander, defsetf, define-modify-macro)
4625 (cl-struct-setf-expander): Move from cl-lib.el.
4626 * emacs-lisp/syntax.el:
4627 * emacs-lisp/ewoc.el:
4628 * emacs-lisp/smie.el:
4629 * emacs-lisp/cconv.el:
4630 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
4631 (timer--time): Use gv-define-simple-setter.
4632 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
4633 to avoid coding-system problems in subr.el. Adjust all users.
4634 (macroexp--maxsize, macroexp-small-p): New functions.
4635 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
4636 * scroll-bar.el (scroll-bar-mode):
4637 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4638 (normal-erase-is-backspace-mode): Don't use the `eq' place.
4639 * winner.el (winner-configuration, winner-make-point-alist)
4640 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
4641 * files.el (locate-file-completion-table): Avoid list*.
4642
c5695d1d
CY
46432012-06-22 Chong Yidong <cyd@gnu.org>
4644
4645 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
4646 (dired-create-files): Doc fix (Bug#11329).
4647 (dired-do-copy): Doc fix (Bug#11334).
4648 (dired-mark-read-string): Doc fix (Bug#11553).
4649
2ee3d7f0
SM
4650 * dired.el (dired-recursive-copies, dired-recursive-deletes):
4651 Doc fix (Bug#11326).
c5695d1d
CY
4652 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
4653 (dired-dwim-target): Doc fix.
4654
4655 * wdired.el (wdired-mode): Doc fix.
4656
89b5595a
GM
46572012-06-22 Glenn Morris <rgm@gnu.org>
4658
575db3f1
GM
4659 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
4660 (pcmpl-rpm-cache-stamp-file): New constant.
4661 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
4662 (pcmpl-rpm-packages): Optionally cache list of packages.
4663
a4c8dd51
GM
4664 * pcmpl-rpm.el (pcmpl-rpm): New group.
4665 (pcmpl-rpm-query-options): New option.
4666 (pcmpl-rpm-packages): No need to inline it.
4667 Use pcmpl-rpm-query-options.
4668
89b5595a
GM
4669 * calendar/calendar.el (calendar-in-read-only-buffer):
4670 Avoid some needless mode changes.
4671
e76f0800
CY
46722012-06-21 Chong Yidong <cyd@gnu.org>
4673
4674 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
4675 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 4676 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 4677
297a8f1d
CY
46782012-06-20 Chong Yidong <cyd@gnu.org>
4679
4680 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
4681
d34c18b1
DR
46822012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
4683
4684 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
4685 (bug#11201).
4686
32f7f28e
CY
46872012-06-20 Chong Yidong <cyd@gnu.org>
4688
4689 * term.el (term-window-width): Handle the case of a missing right
4690 fringe (Bug#8837).
4691 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
4692 (term-mode): Use define-derived-mode. Minor cleanups.
4693 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
4694 (term-move-columns, term-insert-char, term-emulate-terminal)
4695 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 4696
493c6688
MA
46972012-06-20 Michael Albinus <michael.albinus@gmx.de>
4698
d34c18b1
DR
4699 * net/ange-ftp.el (ange-ftp-get-passwd):
4700 Bind `enable-recursive-minibuffers'.
493c6688
MA
4701 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
4702
3f06ecf4
DR
47032012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
4704
4705 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
4706
68f12411
GM
47072012-06-19 Glenn Morris <rgm@gnu.org>
4708
4709 * progmodes/python.el (python-mode): Derive from prog-mode.
4710
b3820318
KG
47112012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
4712
4713 * emulation/edt.el (edt-default-menu-bar-update-buffers)
4714 (edt-user-menu-bar-update-buffers): New functions.
4715 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
4716
c6bf3022
CY
47172012-06-19 Chong Yidong <cyd@gnu.org>
4718
4719 * subr.el (with-selected-window): Preserve the selected window's
4720 terminal's top-frame (Bug#4702).
4721
4722 * window.el (save-selected-window): Likewise.
4723
25f09295
SM
47242012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4725
4726 * progmodes/python.el (python-rx-constituents): Move backquote.
4727 (python-skeleton-define, python-define-auxiliary-skeleton):
4728 Use `declare'.
4729
6b11952a
MA
47302012-06-18 Michael Albinus <michael.albinus@gmx.de>
4731
4732 * minibuffer.el (read-file-name-default): Revert the patch from
4733 2012-06-17.
4734
ee4b1330
SM
47352012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4736
4737 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
4738 (pcase--u1, pcase--q1): Don't use apply-partially.
4739
35647f79
GM
47402012-06-18 Glenn Morris <rgm@gnu.org>
4741
4742 * progmodes/python.el (python-proc, python-buffer)
4743 (python-send-receive, python-send-string): Fix obsolete versions.
4744
24b0cff0
MR
47452012-06-18 Martin Rudalics <rudalics@gmx.at>
4746
4747 * window.el (special-display-p): Completely remove stringp
4748 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
4749
29855149
MA
47502012-06-17 Michael Albinus <michael.albinus@gmx.de>
4751
4752 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
4753
4754 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
4755
4756 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
4757 * net/tramp-sh.el (tramp-maybe-open-connection):
4758 Throw if `non-essential' is non-nil.
4759
07463363
MR
47602012-06-17 Martin Rudalics <rudalics@gmx.at>
4761
4762 * window.el (special-display-p): Signal an error if BUFFER-NAME
4763 is not a string (Bug#11713).
4764
48d1354e
PE
47652012-06-17 Paul Eggert <eggert@cs.ucla.edu>
4766
4767 * progmodes/python.el (python-info-beginning-of-backslash):
4768 Rename from python-info-beginning-of-backlash, as a spelling fix.
4769
eb4a8a9a
CY
47702012-06-17 Chong Yidong <cyd@gnu.org>
4771
4772 * term.el (term-emulate-terminal): If term-check-size is called,
4773 move point to the process mark without resetting point (Bug#4635).
4774
ddfbf826 47752012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
4776
4777 * international/mule-cmds.el (mule-menu-keymap)
4778 (set-language-environment, set-locale-environment): Doc tweaks.
4779
9b0e3eba
AA
47802012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
4781
4782 * cus-face.el (custom-face-attributes): Add wave-style underline
4783 attribute.
4784 * faces.el (set-face-attribute): Update docstring to describe
4785 wave-style underline attribute.
4786
771e3eae
CY
47872012-06-16 Chong Yidong <cyd@gnu.org>
4788
4789 * term/xterm.el (terminal-init-xterm): Discard input before
4790 querying background mode (Bug#10959).
4791
7ae2ea10
SM
47922012-06-16 Stefan Merten <smerten@oekonux.de>
4793
4794 * textmodes/rst.el: Added and corrected some comments.
4795 (rst-re-alist-def): Improve symbol syntax.
4796 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
4797 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4798 (rst-official-version, rst-official-cvs-rev): Update version
4799 information.
7ae2ea10 4800
b6974efa
JB
48012012-06-15 Juanma Barranquero <lekktu@gmail.com>
4802
4803 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
4804 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
4805
8826d473
GM
48062012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
4807
4808 * progmodes/python.el: New python.el merge.
4809 (python-guess-indent): Obsolete var.
4810 (python-indent-guess-indent-offset): New defcustom.
4811 (python-indent): Obsolete var.
4812 (python-indent-offset): New defcustom.
4813 (python-python-command, python-jython-command): Delete var.
4814 (python-shell-interpreter): New defcustom.
4815 (python-pdbtrack-do-tracking-p): Delete var.
4816 (python-pdbtrack-activate): New defcustom.
4817 (python-use-skeletons): Obsolete var.
4818 (python-skeleton-autoinsert): New defcustom.
4819 (inferior-python-filter-regexp, python-continuation-offset)
4820 (python-honour-comment-indentation, python-indent-string-contents)
4821 (python-jython-packages, python-mode-hook)
4822 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
4823 (python-shell-prompt-alist)
4824 (python-source-modes): Delete defcustoms.
4825 (python-check-buffer-name, python-eldoc-setup-code)
4826 (python-eldoc-string-code, python-ffap-setup-code)
4827 (python-ffap-string-code, python-fill-comment-function)
4828 (python-fill-decorator-function, python-fill-paren-function)
4829 (python-fill-string-function, python-imenu-include-defun-type)
4830 (python-imenu-make-tree, python-imenu-subtree-root-label)
4831 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
4832 (python-shell-compilation-regexp-alist)
4833 (python-shell-completion-module-string-code)
4834 (python-shell-completion-pdb-string-code)
4835 (python-shell-completion-setup-code)
4836 (python-shell-completion-string-code)
4837 (python-shell-enable-font-lock, python-shell-exec-path)
4838 (python-shell-extra-pythonpaths)
4839 (python-shell-internal-buffer-name, python-shell-interpreter-args)
4840 (python-shell-process-environment)
4841 (python-shell-prompt-block-regexp)
4842 (python-shell-prompt-output-regexp)
4843 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
4844 (python-shell-send-setup-max-wait, python-shell-setup-codes)
4845 (python-shell-virtualenv-path): New defcustoms.
4846 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
4847 (inferior-python-mode-syntax-table, python--prompt-regexp)
4848 (python-buffer, python-command python-python-command)
4849 (python-default-template, python-imports, python-indent-index)
4850 (python-indent-list, python-indent-list-length)
4851 (python-mode-running, python-pdbtrack-is-tracking-p)
4852 (python-preoutput-continuation, python-preoutput-leftover)
4853 (python-preoutput-result, python-preoutput-skip-next-prompt)
4854 (python-prev-dir/file, python-recursing)
4855 (python-saved-check-command, python-version-checked)
4856 (python-which-func-length-limit)
4857 (view-return-to-alist): Delete vars.
4858 (python-check-custom-command, python-dotty-syntax-table)
4859 (python-imenu-index-alist, python-indent-current-level)
4860 (python-indent-dedenters, python-indent-levels)
4861 (python-nav-beginning-of-defun-regexp)
4862 (python-nav-list-defun-positions-cache)
4863 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
4864 (python-shell-internal-buffer)
4865 (python-skeleton-available): New vars.
4866 (def-python-skeleton): Delete macro.
4867 (python-skeleton-define): New macro.
4868 (python-define-auxiliary-skeleton, python-rx): New macros.
4869 (python-insert-class): Delete command.
4870 (python-skeleton-class): New command.
4871 (python-insert-def): Delete command.
4872 (python-skeleton-def): New command.
4873 (python-insert-for): Delete command.
4874 (python-skeleton-for): New command.
4875 (python-insert-if): Delete command.
4876 (python-skeleton-if): New command.
4877 (python-insert-try/except, python-insert-try/finally): Delete commands.
4878 (python-skeleton-try): New command.
4879 (python-insert-while): Delete command.
4880 (python-skeleton-while): New command.
4881 (python-backspace): Delete command.
4882 (python-indent-dedent-line-backspace): New command.
4883 (python-electric-colon): Delete command.
4884 (python-indent-electric-colon): New command.
4885 (python-guess-indent): Delete command.
4886 (python-indent-guess-indent-offset): New command.
4887 (python-shift-left): Delete command.
4888 (python-indent-shift-left): New command.
4889 (python-shift-right): Delete command.
4890 (python-indent-shift-right): New command.
4891 (python-find-function): Delete command.
4892 (python-nav-jump-to-defun): New command.
4893 (python-next-statement): Delete command.
4894 (python-nav-forward-sentence): New command.
4895 (python-previous-statement): Delete command.
4896 (python-nav-backward-sentence): New command.
4897 (python-fill-paragraph): Delete command.
4898 (python-fill-paragraph-function): New command.
4899 (python-send-buffer): Delete command.
4900 (python-shell-send-buffer): New command.
4901 (python-send-defun): Delete command.
4902 (python-shell-send-defun): New command.
4903 (python-send-region, python-send-region-and-go): Delete commands.
4904 (python-shell-send-region)
4905 (python-shell-switch-to-shell): New commands.
4906 (python-send-string): Delete command.
4907 (python-shell-send-string): New command.
4908 (python-switch-to-python): Delete command.
4909 (python-shell-switch-to-shell): New command.
4910 (python-describe-symbol): Delete command.
4911 (python-eldoc-at-point): New command.
4912 (python--set-prompt-regexp, python-args-to-list)
4913 (python-after-info-look, python-check-version)
4914 (python-check-comint-prompt, python-find-imports)
4915 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
4916 (python-unload-function, python-expand-template)
4917 (python-maybe-jython, python-preoutput-filter)
4918 (python-pdbtrack-get-source-buffer)
4919 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
4920 (python-pdbtrack-toggle-stack-tracking)
4921 (python-pdbtrack-track-stack-file, python-initial-text)
4922 (python-first-word, python-comment-line-p, python-send-command)
4923 (python-setup-brm, python-sentinel, python-set-proc)
4924 (python-skip-out, python-input-filter, python-outdent-p)
4925 (python-outline-level, python-backslash-continuation-line-p)
4926 (python-end-of-block, python-end-of-statement, python-mark-block)
4927 (python-beginning-of-block, python-beginning-of-statement)
4928 (python-blank-line-p, python-beginning-of-string)
4929 (python-open-block-statement-p): Delete functions.
4930 (python-indent-line, python-indent-line-1): Delete functions.
4931 (python-indent-line): New function.
4932 (python-indentation-levels): Delete function.
4933 (python-indent-calculate-levels): New function.
4934 (python-proc): Delete function.
4935 (python-shell-get-process): New function.
4936 (python-send-receive): Delete function.
4937 (python-shell-send-string-no-output): New function.
4938 (python-module-path): Delete function.
4939 (python-ffap-module-path): New function.
4940 (python-completion-at-point)
4941 (python-symbol-completions): Delete functions.
4942 (python-completion-complete-at-point): New function.
4943 (python-load-file): Delete function.
4944 (python-shell-send-file): New function.
4945 (python-calculate-indentation): Delete function.
4946 (python-indent-calculate-indentation): New function.
4947 (python-skip-comments/blanks): Delete function.
4948 (python-util-forward-comment): New function.
4949 (python-continuation-line-p): Delete function.
4950 (python-info-continuation-line-p): New function.
4951 (python-which-func, python-current-defun): Delete function.
4952 (python-info-current-defun): New function.
4953 (python-beginning-of-defun): Delete function.
4954 (python-nav-beginning-of-defun): New function.
4955 (python-close-block-statement-p)
4956 (python-block-end-p): Delete function.
4957 (python-info-closing-block): New function.
4958 (python-comint-output-filter-function)
4959 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
4960 (python-fill-comment, python-fill-decorator, python-fill-paren)
4961 (python-fill-string, python-imenu-make-element-tree)
4962 (python-imenu-make-tree, python-imenu-tree-assoc)
4963 (python-indent-context, python-indent-dedent-line)
4964 (python-indent-line-function)
4965 (python-indent-post-self-insert-function)
4966 (python-indent-toggle-levels)
4967 (python-info-assignment-continuation-line-p)
4968 (python-info-beginning-of-backlash)
4969 (python-info-block-continuation-line-p)
4970 (python-info-closing-block-message)
4971 (python-info-line-ends-backslash-p)
4972 (python-info-looking-at-beginning-of-defun)
4973 (python-info-ppss-context, python-info-ppss-context-type)
4974 (python-nav-list-defun-positions, python-nav-read-defun)
4975 (python-nav-sentence-end, python-nav-sentence-start)
4976 (python-pdbtrack-comint-output-filter-function)
4977 (python-pdbtrack-set-tracked-buffer)
4978 (python-shell-calculate-exec-path)
4979 (python-shell-calculate-process-environment)
4980 (python-shell-completion--do-completion-at-point)
4981 (python-shell-completion--get-completions)
4982 (python-shell-completion-complete-at-point)
4983 (python-shell-completion-complete-or-indent)
4984 (python-shell-get-or-create-process)
4985 (python-shell-get-process-name)
4986 (python-shell-internal-get-or-create-process)
4987 (python-shell-internal-get-process-name)
4988 (python-shell-internal-send-string, python-shell-make-comint)
4989 (python-shell-parse-command, python-shell-send-setup-code)
4990 (python-skeleton-add-menu-items)
4991 (python-util-clone-local-variables, python-util-position)
4992 (run-python-internal, python-indentation-levels)
4993 (python-nav-beginning-of-defun)
4994 (python-completion-complete-at-point): New functions.
4995 (run-python): Change arguments. New API requirements.
4996
4302f5ba
SM
49972012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4998
f38ea36d
SM
4999 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5000 (bug#11649).
5001
5002 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5003 (macroexp--expand-all): Use it.
5004
4302f5ba
SM
5005 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5006 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5007 Use `cl-function' instead.
5008
33377562
JB
50092012-06-14 Juanma Barranquero <lekktu@gmail.com>
5010
5011 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5012 Suggested by Stefan Monnier while discussing bug#11657.
5013
54c5ba1a
SS
50142012-06-14 Sam Steingold <sds@gnu.org>
5015
5016 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5017
f9f1b1fe
AS
50182012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5019
5020 * play/doctor.el (doctor-doc): Remove parameter and use
5021 doctor-sent instead of sent.
5022 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5023
a81068ba
SM
50242012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5025
5a315f9c
SM
5026 * files.el: Require cl-lib.
5027 (file-name-non-special): Replace case -> cl-case.
5028
5029 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5030
a81068ba
SM
5031 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5032 mapping from #' to function*.
5033
8cca9703
CY
50342012-06-13 Chong Yidong <cyd@gnu.org>
5035
5036 * mouse.el (mouse-drag-track): Do not set the mark if the user
5037 releases the mouse without selecting anything (Bug#11588).
5038
a12ac9d7
SM
50392012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5040
ccf1dc18
SM
5041 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5042 as well (bug#11646).
5043
ef62b23d
SM
5044 * loadup.el: Count byte-code functions as well.
5045
c4c8444a
SM
5046 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5047 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5048
a12ac9d7
SM
5049 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5050 (bug#11649). Add cl-defun and cl-defmacro.
5051
87e6e64f
DA
50522012-06-13 Drew Adams <drew.adams@oracle.com>
5053
5054 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5055 Fix last change.
5056
682cefaf
MA
50572012-06-13 Michael Albinus <michael.albinus@gmx.de>
5058
5059 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5060 Otherwise, it blocks in batch mode.
5061
773e1f08
JB
50622012-06-13 Juanma Barranquero <lekktu@gmail.com>
5063
5064 * help-mode.el (bookmark-make-record-default): Declare.
5065
60057926
CY
50662012-06-13 Chong Yidong <cyd@gnu.org>
5067
5068 * emacs-lisp/package.el (list-packages): Compute a list of
5069 packages that are newly-available since the last list-packages
5070 invocation.
5071 (package-menu--new-package-list): New var.
5072 (package-menu--generate, package-menu--print-info)
5073 (package-menu--status-predicate, package-menu-mark-install):
5074 Handle new status label "new".
5075
ad4d226c
SM
50762012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5077
5078 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5079 conversion to backquotes.
5080
f1a4e679
CY
50812012-06-12 Chong Yidong <cyd@gnu.org>
5082
5083 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5084 Rename from gud-inhibit-global-bindings.
5085
5086 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5087
5088 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5089 hook from nxml-glyph-set-hook.
5090
5091 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5092 declaration.
5093
5094 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5095
5096 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5097 Convert to defcustom.
5098
0c9e42b5
DA
50992012-06-12 Drew Adams <drew.adams@oracle.com>
5100
5101 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5102 New functions.
5103 (help-mode): Use them.
5104
09e06855
GM
51052012-06-11 Glenn Morris <rgm@gnu.org>
5106
5107 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5108 Use preprocessor face for directives.
5109 (fortran-directive-re): Doc fix.
5110
71adb94b
SM
51112012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5112
2eb87922
SM
5113 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5114 conversion to backquotes (bug#11652).
5115
71adb94b
SM
5116 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5117 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5118 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5119 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5120 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5121 (cl-ninth, cl-tenth): Mark them as inlinable.
5122 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5123 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5124 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5125 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5126 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5127 (cl-list*, cl-adjoin): Don't put an autoload manually.
5128 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5129 (cl--compiler-macro-list*): Add autoload cookie.
5130 (cl--compiler-macro-cXXr): New function.
2eb87922 5131
71adb94b
SM
5132 * help-fns.el (help-fns--compiler-macro): New function extracted from
5133 describe-function-1; follow aliases and use `compiler-macro' property.
5134 (describe-function-1): Use it.
5135
a6674402
CY
51362012-06-11 Chong Yidong <cyd@gnu.org>
5137
5138 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5139 is uninstalled, if imagemagick is installed.
5140
bb3faf5b
SM
51412012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5142
5143 * emacs-lisp/cl-lib.el: Use lexical-binding.
5144 (cl-map-extents, cl-maclisp-member): Remove.
5145 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5146 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5147 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5148 * emacs-lisp/cl-extra.el: Use lexical-binding.
5149 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5150 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5151 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5152 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5153 * emacs-lisp/cl-seq.el: Use lexical-binding.
5154 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5155 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5156 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5157 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5158 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5159 CL's internals.
5160
2fe4b125
MA
51612012-06-11 Michael Albinus <michael.albinus@gmx.de>
5162
5163 Sync with Tramp 2.2.6-pre.
5164
5165 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5166 `print-length' and `print-level' to nil, in order to avoid
5167 truncation. Reported by Christopher Schmidt
5168 <christopher@ristopher.com>.
5169
5170 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5171
5172 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5173 New defmacro.
5174 (tramp-compat-copy-directory): Add optional argument
5175 COPY-CONTENTS. It is not handled yet.
5176
5177 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5178 (tramp-ftp-file-name-p): Simplify.
5179
5180 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5181 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5182 connection vector.
5183
5184 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5185 (tramp-methods): Do not use `tramp-password-end-of-line'.
5186 (tramp-completion-function-alist-putty): Handle UNIX case.
5187 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5188 (tramp-do-file-attributes-with-stat)
5189 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5190 gid as real numbers. They could run out of integer range on cygwin.
5191 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5192 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
5193 (tramp-open-connection-setup-interactive-shell):
5194 Use `tramp-cleanup'. Move check for busyboxes ...
5195 (tramp-find-shell): ... here. Simplify implementation.
5196 Set "remote-shell" property also for alternative shells.
5197 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5198 If failing, a regular file would be written otherwise.
5199 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
5200 (tramp-find-inline-encoding): Cache the coding commands in the
5201 process cache. Apply test command on the remote side, if defined.
5202 (tramp-find-inline-compress): Cache the compress commands in the
5203 process cache.
5204 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5205 when requested. Handle hops.
5206 (tramp-current-connection): New defvar.
87e6e64f
DA
5207 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5208 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 5209 Handle user interrupt. (Bug#10187)
87e6e64f
DA
5210 (tramp-get-inline-compress, tramp-get-inline-coding):
5211 Read connection properties from the process cache.
2fe4b125
MA
5212
5213 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
5214 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5215 New defconsts.
2fe4b125
MA
5216 (tramp-smb-prompt): Extend for powershell prompt.
5217 (tramp-smb-file-name-handler-alist): Add handlers for
5218 `process-file', `shell-command' and `start-file-process'.
5219 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5220 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5221 (tramp-smb-file-name-p): Simplify.
5222 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5223 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5224 (tramp-smb-shell-quote-argument): New defuns.
5225 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5226 Implement using "tar". By this, time-stamps are preserved.
5227 (tramp-smb-handle-copy-file): Handle also the case of directories.
5228 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
5229 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5230 Use `tramp-get-connection-buffer').
2fe4b125
MA
5231 (tramp-smb-handle-rename-file): Use "rename", when source and
5232 target are on the same share.
87e6e64f
DA
5233 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5234 Use `tramp-smb-server-version'.
2fe4b125
MA
5235 (tramp-smb-wait-for-output): Remove prompt.
5236
5237 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
5238 (tramp-methods, tramp-rsh-end-of-line):
5239 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
5240 (tramp-save-ad-hoc-proxies): New defcustom.
5241 (tramp-completion-function-alist): Adapt docstring.
5242 (tramp-default-password-end-of-line): Remove defcustom.
5243 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5244 (tramp-user-regexp, tramp-file-name-regexp-unified)
5245 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5246 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5247 (tramp-remote-file-name-spec-regexp): New defconst.
5248 (tramp-file-name-structure): Extend structure for hops.
5249 (tramp-get-method-parameter): Move up.
5250 (tramp-file-name-p, tramp-dissect-file-name)
5251 (with-parsed-tramp-file-name): Handle hops.
5252 (tramp-file-name-hop): New defun.
5253 (tramp-make-tramp-file-name): New optional arg HOP.
5254 (tramp-message-show-progress-reporter-message): New defvar.
5255 (tramp-with-progress-reporter): Use it. We cannot use
5256 `tramp-message-show-message' here, because this suppresses also
5257 error buffers.
5258 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
5259 `tramp-message-show-message' is nil.
5260 Use `tramp-get-connection-buffer'.
2fe4b125
MA
5261 (tramp-cleanup): New defun.
5262 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5263 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5264 an error unchanged.
5265 (tramp-completion-handle-file-name-all-completions): Handle hops.
5266 Fix an error when called from ido.
5267 (tramp-completion-dissect-file-name): Use better local variable
5268 name. Add hop to the vector.
5269 (tramp-handle-insert-file-contents): Use progress-reporter for the
5270 whole scenario.
5271 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5272 to `t'.
5273 (tramp-check-for-regexp): Simplify search.
5274 (tramp-enter-password): Remove it. Move implementation ...
5275 (tramp-action-password): ... here.
5276 (tramp-mode-string-to-int, tramp-local-host-p)
5277 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
5278 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5279 Set tramp-autoload cookie.
2fe4b125
MA
5280
5281 * net/trampver.el: Update release number.
5282
52832012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5284 Michael Albinus <michael.albinus@gmx.de>
5285
5286 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5287 (tramp-parse-group, tramp-parse-file)
5288 (tramp-parse-shostkeys-sknownhosts): New defuns.
5289 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5290 (tramp-parse-shosts-group, tramp-parse-sconfig)
5291 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5292 (tramp-parse-sknownhosts, tramp-parse-hosts)
5293 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5294 Use them.
5295 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5296 (tramp-parse-putty-group): Don't narrow.
5297 (tramp-parse-putty): Make a loop.
5298 (tramp-file-name-handler): Catch the `suppress' signal.
5299
72834e10
CY
53002012-06-11 Chong Yidong <cyd@gnu.org>
5301
5302 * image.el (imagemagick-register-types): Put the ImageMagick entry
5303 at the end of image-type-file-name-regexps.
5304
a4712e11
JB
53052012-06-11 Johan Bockgård <bojohan@gnu.org>
5306
5307 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5308 (pcase, pcase-let*, pcase-dolist): Use them.
5309
82ad98e3
SM
53102012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5311
5312 * emacs-lisp/pcase.el (pcase--let*): New function.
5313 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5314 (pcase--expand): Use macroexp-let².
5315
f80efb86
SM
53162012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5317
5318 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5319 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5320 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5321 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5322 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5323 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5324
31ca4639 53252012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 5326
31ca4639
CY
5327 * mail/rmail.el (rmail-yank-current-message): Leave point at
5328 correct position. (Bug#11660)
94f0aa34 5329
31ca4639 53302012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 5331
31ca4639 5332 * allout-widgets.el: Fix code header.
9e1b8ec4 5333
31ca4639 53342012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 5335
f80efb86
SM
5336 * cus-edit.el (customize-changed-options-previous-release):
5337 Bump to 24.1.
31ca4639 5338
642b6d30
AS
53392012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5340
5341 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5342
4f5d2ba1
CY
53432012-06-09 Chong Yidong <cyd@gnu.org>
5344
5345 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5346
e75852fd
MR
53472012-06-09 Martin Rudalics <rudalics@gmx.at>
5348
5349 * window.el (special-display-popup-frame): Don't use
5350 window--display-buffer (Bug#11651).
5351
1e48e282
EZ
53522012-06-09 Eli Zaretskii <eliz@gnu.org>
5353
8a26b487
EZ
5354 Fix parallel builds: make sure loaddefs.el is not being written
5355 while Lisp files are compiled.
5356 (compile): Don't depend on 'mh-autoloads'.
5357 (compile-CMD, compile-SH): Depend on 'autoloads'.
5358 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5359
1e48e282
EZ
5360 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5361
6175e34b
CY
53622012-06-09 Chong Yidong <cyd@gnu.org>
5363
5364 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5365 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5366 Doc fixes (Bug#11225).
5367
d9857e53
SM
53682012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5369
5370 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5371 a function if there's a clear indication that it has a compiler-macro.
5372 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5373 (macro-declarations-alist): Add arglist to declaration functions.
5374 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5375 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5376 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5377 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5378 Also add autoload to find the compiler macro.
5379 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5380 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5381 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5382 (cl--compiler-macro-get): New functions, replacing calls to
5383 cl-define-compiler-macro.
5384 (cl-typep) [compiler-macro]: Use macroexp-let².
5385
f81298f8 53862012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
5387
5388 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5389 string properly, fixes Bug#11473.
5390
4b56d0fe
CY
53912012-06-08 Chong Yidong <cyd@gnu.org>
5392
5393 * faces.el (set-face-attribute): Doc fix.
5394 (modify-face): Don't use :bold and :italic.
5395 (error, warning, success): Tweak definitions.
5396
5397 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5398 (custom-modified, custom-set, custom-changed, custom-themed)
5399 (custom-saved, custom-button, custom-button-mouse)
5400 (custom-button-pressed, custom-state, custom-comment-tag)
5401 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5402 (custom-group-subtitle): Use new-style face specs.
5403 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5404 (custom-set-face, custom-changed-face, custom-saved-face)
5405 (custom-button-face, custom-button-pressed-face)
5406 (custom-documentation-face, custom-state-face)
5407 (custom-comment-face, custom-comment-tag-face)
5408 (custom-variable-tag-face, custom-variable-button-face)
5409 (custom-face-tag-face, custom-group-tag-face-1)
5410 (custom-group-tag-face): Remove obsolete face alias.
5411
5412 * epa.el (epa-validity-high, epa-validity-medium)
5413 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5414 (epa-field-name, epa-field-body):
5415 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5416 (font-lock-keyword-face, font-lock-builtin-face)
5417 (font-lock-function-name-face, font-lock-variable-name-face)
5418 (font-lock-type-face, font-lock-constant-face):
5419 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5420 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5421 * speedbar.el (speedbar-button-face, speedbar-file-face)
5422 (speedbar-directory-face, speedbar-tag-face)
5423 (speedbar-selected-face, speedbar-highlight-face)
5424 (speedbar-separator-face):
5425 * whitespace.el (whitespace-newline, whitespace-space)
5426 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5427 (whitespace-line, whitespace-space-before-tab)
5428 (whitespace-space-after-tab, whitespace-indentation)
5429 (whitespace-empty):
5430 * emulation/cua-base.el (cua-global-mark):
5431 * eshell/em-prompt.el (eshell-prompt):
5432 * net/newst-plainview.el (newsticker-new-item-face)
5433 (newsticker-old-item-face, newsticker-immortal-item-face)
5434 (newsticker-obsolete-item-face, newsticker-date-face)
5435 (newsticker-statistics-face, newsticker-default-face):
5436 * net/newst-reader.el (newsticker-feed-face)
5437 (newsticker-extra-face, newsticker-enclosure-face):
5438 * net/newst-treeview.el (newsticker-treeview-face)
5439 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5440 (newsticker-treeview-immortal-face)
5441 (newsticker-treeview-obsolete-face)
5442 (newsticker-treeview-selection-face):
5443 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5444 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5445 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5446 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5447 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5448 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5449 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5450 (mpuz-text):
5451 * progmodes/vera-mode.el (vera-font-lock-number)
5452 (vera-font-lock-function, vera-font-lock-interface):
5453 * textmodes/table.el (table-cell): Use new-style face specs, and
5454 don't use the old :bold and :italic attributes.
5455
5456 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5457 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5458 (ebrowse-member-class, ebrowse-progress): Likewise.
5459 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5460 (ebrowse-file-name-face, ebrowse-default-face)
5461 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5462 (ebrowse-progress-face): Remove obsolete faces.
5463
5464 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5465 Inherit from error and warning faces respectively.
5466
5467 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5468 Likewise.
f80efb86
SM
5469 (flyspell-incorrect-face, flyspell-duplicate-face):
5470 Remove obsolete aliases.
4b56d0fe 5471
03310646
MA
54722012-06-08 Michael Albinus <michael.albinus@gmx.de>
5473
5474 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5475 Avoid infloop.
5476
513749ee
SM
54772012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5478
5479 * startup.el (argv, argi): Make lexically scoped.
5480 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5481 * emacs-lisp/cl-macs.el: Use lexical-binding.
5482 Rename cl-bind-* to cl--bind-*.
5483 * files.el: Don't require `cl' since it doesn't use it.
5484 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5485
595ef4ad
JB
54862012-06-08 Juanma Barranquero <lekktu@gmail.com>
5487
5488 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5489 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5490 instead of calling external sort utility.
5491 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5492
e9f66fcb
EZ
54932012-06-08 Eli Zaretskii <eliz@gnu.org>
5494
5495 * descr-text.el (describe-char): Mention how to insert the
5496 character, if the current input method doesn't support it.
5497 See the discussion in this thread for the details:
5498 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5499
3d10db47
SS
55002012-06-08 Sam Steingold <sds@gnu.org>
5501
5502 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5503 XF86Back to previous-buffer.
5504 (minibuffer-local-map): Bind them to next-history-element and
5505 previous-history-element respectively.
5506 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5507 help-go-back respectively.
5508 * info.el (Info-mode-map): Bind them to Info-history-forward and
5509 Info-history-back respectively.
5510 These are the keys next to Up on the ThinkPad keyboard.
5511
de7e2b36
SM
55122012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5513
5514 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5515 * emacs-lisp/cl-macs.el: Provide itself.
5516 (cl--labels-convert-cache): New var.
5517 (cl--labels-convert): New function.
5518 (cl-flet, cl-labels): New implementation with new semantics, relying on
5519 lexical-binding.
5520 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5521 (cl-closure-vars, cl--function-convert-cache)
5522 (cl--function-convert): Move from cl-macs.el.
5523 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5524 rename by removing the "cl-" prefix.
5525 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5526
6fa6c4ae
SM
55272012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5528
5529 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5530 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5531 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5532 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5533 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5534 (cl-hash-table-count): Add old compatibility aliases.
5535
5536 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5537 Use macroexpand-all-environment instead.
5538 (cl--old-macroexpand): New var.
5539 (cl--sm-macroexpand): New function.
5540 (cl-symbol-macrolet): Use it during macro expansion.
5541 (cl--function-convert-cache): New var.
5542 (cl--function-convert): New function, extracted from
5543 cl-macroexpand-all.
5544 (cl-lexical-let): Use it.
5545
5546 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5547 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5548 (cl-member): Remove old alias.
5549
5550 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5551 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5552 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5553 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5554 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5555 (cl-macroexpand-cmacs): Remove var.
5556 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5557 Use macroexpand-all instead.
5558
4dd1c416
SM
55592012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5560
5561 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5562 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5563 (macroexp-copyable-p): New functions and macros.
5564 * emacs-lisp/edebug.el (edebug-unwrap):
5565 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5566 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5567 (pcase--let*): Remove.
5568 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5569 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
5570 macroexp-const-p instead.
5571 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5572
5573 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5574 instead of "cl-" for internal definitions. Use macroexp-const-p.
5575 (cl-old-bc-file-form): Remove var.
5576 (cl-const-exprs-p): Remove fun.
5577 (cl-labels, cl-macrolet): Use backquote.
5578 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
5579 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5580 (cl-define-setf-expander): Rename from cl-define-setf-method.
5581 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5582
5583 * international/mule-cmds.el: Don't require CL.
5584 (view-hello-file): Don't use `letf'.
5585
ed8bd4d7
SM
55862012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5587
7287f2f3
SM
5588 * tmm.el (tmm-prompt): Use string-prefix-p.
5589 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5590 (tmm-add-prompt): Use minibuffer-completion-help.
5591 (tmm-delete-map): Remove.
5592
ed8bd4d7
SM
5593 * subr.el (kbd): Make it its own function.
5594
7b4cdbf4
SM
55952012-06-07 Stefan Merten <smerten@oekonux.de>
5596
5597 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5598 Silence compiler warnings. Fix versions.
ed8bd4d7 5599 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 5600 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 5601 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
5602 (rst-package-emacs-version-alist): Correct Emacs version to
5603 represent major merge with upstream.
ed8bd4d7 5604 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 5605
2b48d721
GM
56062012-06-06 Glenn Morris <rgm@gnu.org>
5607
5608 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5609 Only print environment variables if set.
5610
fa779ab0
SM
56112012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5612
5613 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5614 (macroexp--cons): Rename from maybe-cons.
5615 (macroexp--accumulate): Rename from macroexp-accumulate.
5616 (macroexp--all-forms): Rename from macroexpand-all-forms.
5617 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5618 (macroexp--expand-all): Rename from macroexpand-all-1.
5619
628299e0
SS
56202012-06-06 Sam Steingold <sds@gnu.org>
5621
5622 * calendar/calendar.el (calendar-in-read-only-buffer):
5623 Call `special-mode' to enable the standard read-only keybindings.
5624
b7bb5838
SM
56252012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5626
5627 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
5628 with "loading" messages (bug#11635).
5629
dfb308ba
MA
56302012-06-06 Michael Albinus <michael.albinus@gmx.de>
5631
5632 * files.el (enable-remote-dir-locals): New option.
5633 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
5634
0372ee92
MA
5635 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5636 Ensure, that the temp directory is local.
5637
5638 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
5639 `temporary-file-directory'.
5640
eed0bb91
MA
5641 * progmodes/python.el (python-send-region): Ensure, that the
5642 temporary file is created also in the remote case.
5643
7a58f64d
GM
56442012-06-06 Glenn Morris <rgm@gnu.org>
5645
f7dd4e98
GM
5646 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
5647 (vc-rcs-update-changelog): Use it.
5648
090bd7cb 5649 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 5650
7a58f64d
GM
5651 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
5652 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
5653 (vc-sccs-diff): Replace use of the external vcdiff script.
5654
daed4003
GM
56552012-06-05 Glenn Morris <rgm@gnu.org>
5656
5657 * ledit.el: Move to obsolete/.
5658
48c455c7
SS
56592012-06-05 Sam Steingold <sds@gnu.org>
5660
ed9265fc 5661 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
5662 patch (Bug#11140).
5663
57a7d507
SM
56642012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5665
090bd7cb 5666 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 5667
53aacf21
SM
5668 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
5669 compiler-macro expansion.
5670
57a7d507
SM
5671 Add native compiler-macro support.
5672 * emacs-lisp/macroexp.el (macroexpand-all-1):
5673 Support compiler-macros directly. Properly follow aliases and apply
5674 the compiler macros more thoroughly.
5675 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
5676 macroexpand now properly follows aliases.
5677 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
5678 (cl-compiler-macroexpand): Use new prop.
5679 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
5680
5681 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
5682
51a5f9d8
MR
56832012-06-05 Martin Rudalics <rudalics@gmx.at>
5684
5685 * window.el (get-lru-window, get-mru-window, get-largest-window):
5686 New argument NOT-SELECTED to avoid picking the selected window.
5687 (window--display-buffer-1, window--display-buffer-2): Replace by
5688 new function window--display-buffer
5689 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
5690 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5691 Use window--display-buffer.
51a5f9d8
MR
5692 (display-buffer-use-some-window): Remove temporary dedication
5693 hack by calling get-lru-window and get-largest-window with
5694 NOT-SELECTED argument non-nil. Call window--display-buffer.
5695
08f9f738
GM
56962012-06-05 Glenn Morris <rgm@gnu.org>
5697
5698 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
5699 Replace external vcdiff script.
5700
e364a2b7
SM
57012012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5702
5703 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
5704
041df390
CY
57052012-06-04 Chong Yidong <cyd@gnu.org>
5706
e364a2b7
SM
5707 * image.el (imagemagick-types-inhibit): Revert last change.
5708 Add INFO and M.
47b36b94 5709 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 5710
7c1898a7
SM
57112012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5712
5713 * emacs-lisp/cl-lib.el: Rename from cl.el.
5714 * emacs-lisp/cl.el: New compatibility file.
5715 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
5716 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
5717 to obey the "cl-" prefix.
5718 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
5719
0c3461de
GM
57202012-06-03 Glenn Morris <rgm@gnu.org>
5721
1e266c88
GM
5722 * emacs-lisp/authors.el (authors-aliases): Addition.
5723
0c3461de
GM
5724 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
5725 Fix :version.
5726
d8a52e15
SM
57272012-06-03 Stefan Merten <smerten@oekonux.de>
5728
5729 * textmodes/rst.el: Add comments.
5730 (rst-transition, rst-adornment): New faces.
5731 (rst-adornment-faces-alist): Make default safe to reevaluate.
5732 Fixes
5733 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
5734 Improve customization tags.
5735 (rst-define-level-faces): Clarify meaning.
5736
5205d6f6
CY
57372012-06-03 Chong Yidong <cyd@gnu.org>
5738
5739 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
5740 (compilation-mode-line-run, compilation-mode-line-exit):
5741 New faces.
5205d6f6
CY
5742 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
5743
757ee657
JD
57442012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
5745
7c1898a7
SM
5746 * progmodes/which-func.el (which-func-update-ediff-windows):
5747 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 5748
5f2c76c6
CY
57492012-06-03 Chong Yidong <cyd@gnu.org>
5750
5751 * bindings.el: Remove explicit help text from format-mode-line.
5752 It is now supplied by mode-line-default-help-echo.
5753 (mode-line-front-space, mode-line-end-spaces)
5754 (mode-line-misc-info): New variables.
5755 (mode-line-modes, mode-line-position): Move the default value to
5756 the variable definition.
5757 (mode-line-default-help-echo): New defcustom.
383f7350
CY
5758 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
5759 (mode-line-modified-help-echo): New functions.
5760 (mode-line-mule-info, mode-line-modified): Use them.
5761 (mode-line-eol-desc, propertized-buffer-identification):
5762 Consistency fixes for help text.
cbe46e5f
CY
5763 (mode-line-coding-system-map): Allow using mouse-3 to invoke
5764 set-buffer-file-coding-system (Bug#289).
5765 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 5766
f2d6a3df
SM
57672012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5768
5769 * simple.el (execute-extended-command): Set real-this-command
5770 (bug#11506).
5771
37269466
CY
57722012-06-02 Chong Yidong <cyd@gnu.org>
5773
5774 Remove incorrect uses of "modeline" in comments, docstrings, and
5775 function/variable names (Bug#10329).
5776
5777 * cus-edit.el (mode-line):
5778 * dframe.el (dframe-mouse-hscroll):
5779 * emacs-lisp/re-builder.el:
5780 * emacs-lisp/easy-mmode.el (define-minor-mode):
5781 * frame.el (set-frame-name):
5782 * help.el (lookup-minor-mode-from-indicator):
5783 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
5784 * progmodes/cc-cmds.el (c-toggle-auto-newline)
5785 (c-toggle-hungry-state):
5786 * progmodes/antlr-mode.el (antlr-language-alist):
5787 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
5788 * progmodes/vhdl-mode.el (vhdl-mode):
5789 * progmodes/which-func.el (which-func, which-func-cleanup-function):
5790 * term/ns-win.el (ns-face-at-pos):
5791 * term/sup-mouse.el (sup-mouse-report):
5792 * textmodes/flyspell.el (flyspell-mode-line-string):
5793 * textmodes/ispell.el (ispell-highlight-face):
5794 * textmodes/reftex-global.el:
5795 * vc/vc-arch.el (vc-arch-mode-line-string):
5796 * vc/vc-cvs.el (vc-cvs-mode-line-string):
5797 * vc/vc-git.el (vc-git-mode-line-string):
5798 * vc/vc-hooks.el (vc-display-status)
5799 (vc-default-mode-line-string):
5800 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
5801
5802 * ansi-color.el (ansi-color-faces-vector): Change default faces.
5803
5804 * dired.el (dired-sort-set-mode-line): Rename from
5805 dired-sort-set-modeline. All callers changed.
5806
5807 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
5808 eshell-status-in-modeline.
5809
5810 * foldout.el (foldout-mode-line-string): Rename from
5811 foldout-modeline-string. All callers changed.
5812 (foldout-update-mode-line): Rename from foldout-update-modeline.
5813
5814 * subr.el (redraw-modeline): Make into obsolete alias.
5815
5816 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
5817 timeclock-modeline-display. Make old name an alias.
5818 (timeclock-update-mode-line): Likewise. All callers changed.
5819 (timeclock-mode-line-display): No need to check before using
5820 add-hook.
5821 (timeclock-relative, timeclock-day-over-hook)
5822 (timeclock-use-elapsed, timeclock-mode-string)
5823 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
5824
5825 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
5826 crisp-mode-modeline-string.
5827
5828 * play/solitaire.el (solitaire-build-mode-line): Rename from
5829 solitaire-build-modeline. All callers changed.
5830
5831 * play/zone.el (zone-hiding-mode-line): Rename from
5832 zone-hiding-modeline. All callers changed.
5833 (zone): Remove unusued `modeline-hidden-level' property.
5834
5835 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
5836 xscheme-modeline-initialize. All callers changed.
5837
5838 * strokes.el (strokes-lighter): Rename from
5839 strokes-modeline-string.
5840
5841 * textmodes/sgml-mode.el (html-face-tag-alist)
5842 (html-tag-face-alist): Use mode-line face instead of obsolete
5843 alias modeline.
5844
42152ee4
SM
58452012-06-02 Stefan Merten <smerten@oekonux.de>
5846
5847 * textmodes/rst.el: Always require `cl'.
4cf9b38d 5848 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 5849
95f520b5
CY
58502012-06-02 Chong Yidong <cyd@gnu.org>
5851
5852 * image.el (imagemagick-enabled-types): Rename from
5853 imagemagick-types-enable. Add many more types.
5854 (imagemagick-types-inhibit): Change default to nil.
5855 (imagemagick-filter-types): Caller changed.
5856
4a5f187a
SM
58572012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5858
03fef3e6
SM
5859 * emacs-lisp/cl-macs.el: Use backquotes.
5860 (cl-transform-function-property): Use eval-and-compile rather than
5861 abusing `require'.
5862 (defstruct): Use declare-function instead of with-no-warnings.
5863
4a5f187a
SM
5864 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
5865 (byte-compile-output-docform): Re-add the print-circle bindings.
5866 (byte-compile-fix-header): Use #$ just because it's shorter.
5867 (byte-compile-output-file-form): Remove defun/defmacro.
5868
bd56924f
MR
58692012-06-01 Martin Rudalics <rudalics@gmx.at>
5870
5871 * simple.el (choose-completion): Remove now obsolete binding for
5872 owindow.
5873
046e38ce
MA
58742012-06-01 Michael Albinus <michael.albinus@gmx.de>
5875
5876 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
5877 in order to avoid "Stack overflow in regexp matcher".
5878
32d72c2f
GM
58792012-05-31 Glenn Morris <rgm@gnu.org>
5880
5881 * image.el: For clarity, call imagemagick-register-types at
5882 top-level, rather than relying on a custom :initialize.
5883 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
5884 (imagemagick-filter-types): New function. (Bug#7406)
5885 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
5886 If disabling support, remove elements altogether rather
5887 than using an impossible regexp.
5888 (imagemagick-types-inhibit): Give it the default init function.
5889
dd41169b
SM
58902012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5891
4a5f187a
SM
5892 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
5893 Handle arbitrary file name lengths (Bug#11585).
dd41169b 5894
efc00ab1 58952012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
5896
5897 * desktop.el (desktop-read): Clear previous and next buffers for
5898 all windows and bury *Messages* buffer (bug#11556).
5899
500fcedc
SM
59002012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5901
5902 Add `declare' for `defun'. Align `defmacro's with it.
5903 * emacs-lisp/easy-mmode.el (define-minor-mode)
5904 (define-globalized-minor-mode): Don't autoload the var definitions.
5905 * emacs-lisp/byte-run.el: Use lexical-binding.
5906 (defun-declarations-alist, macro-declarations-alist): New vars.
5907 (defmacro, defun): Use them.
5908 (make-obsolete, define-obsolete-function-alias)
5909 (make-obsolete-variable, define-obsolete-variable-alias):
5910 Use `declare'.
5911 (macro-declaration-function): Mark obsolete.
5912 * emacs-lisp/autoload.el: Use lexical-binding.
5913 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
5914
6e8a1786
AM
59152012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5916
5917 * textmodes/ispell.el (ispell-with-no-warnings):
5918 Define as a macro.
500fcedc
SM
5919 (ispell-kill-ispell, ispell-change-dictionary):
5920 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
5921 `interactive-p'.
5922
61b108cc
SM
59232012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5924
5925 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
5926 (macro-declaration-function): Move var from C code.
5927 (macro-declaration-function): Define function with defalias.
5928 * emacs-lisp/macroexp.el (macroexpand-all-1):
5929 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
5930 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
5931 defun/defmacro any more.
5932 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
5933 Provide fallback for unknown arglist.
5934 (byte-compile-arglist-warn): Change calling convention.
5935 (byte-compile-output-file-form): Move print-vars binding.
5936 (byte-compile-output-docform): Simplify accordingly.
5937 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
5938 (byte-compile-defmacro-declaration): Remove.
5939 (byte-compile-file-form-defmumble): Generalize to defalias.
5940 (byte-compile-output-as-comment): Return byte-positions.
5941 Simplify callers accordingly.
5942 (byte-compile-lambda): Use `assert'.
5943 (byte-compile-defun, byte-compile-defmacro): Remove.
5944 (byte-compile-file-form-defalias):
5945 Use byte-compile-file-form-defmumble.
5946 (byte-compile-defalias-warn): Remove.
5947
6d3f7c2f
SM
59482012-05-29 Stefan Merten <smerten@oekonux.de>
5949
5950 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 5951 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
5952
5953 (rst-mode-abbrev-table): Merge definition.
5954 (rst-mode): Make sure `font-lock-defaults' is buffer local.
5955 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
5956
6dbaa1c7
UJ
59572012-05-29 Ulf Jasper <ulf.jasper@web.de>
5958
5959 * calendar/icalendar.el
5960 (icalendar-export-region): Export UID properly.
5961
d209e2fb 59622012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
5963 * calendar/icalendar.el (icalendar-import-format):
5964 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
5965 (icalendar-import-format-uid): New.
5966 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
5967 Export UID.
5968
6876a58d
SM
59692012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5970
5971 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
5972 different alternative patterns.
5973 (pcase-codegen): Be more careful to preserve identity.
5974 (pcase--u1): Don't forget to mark vars as used.
5975
5976 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
5977 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
5978 (byte-compile-from-buffer): ...rather than here.
5979
5980 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
5981 functions from byte-compile-function-environment.
5982
46b7967e
TN
59832012-05-29 Troels Nielsen <bn.troels@gmail.com>
5984
5985 * window.el (window-deletable-p): Avoid deleting the root window
5986 of a frame with an active minibuffer.
5987
69d565e2
MR
59882012-05-29 Martin Rudalics <rudalics@gmx.at>
5989
5990 * simple.el (choose-completion): Use quit-window (Bug#11567).
5991
a149fa51
CY
59922012-05-29 Chong Yidong <cyd@gnu.org>
5993
5994 * whitespace.el (whitespace-cleanup): Fix usage of
5995 whitespace-empty-at-bob-regexp (Bug#11492).
5996
2b311310
AH
59972012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5998
5999 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6000 revert (Bug#11488).
6001
b9cb2387
JL
60022012-05-29 Juri Linkov <juri@jurta.org>
6003
6004 * isearch.el (isearch-mode-map): Bind `M-s _' to
6005 `isearch-toggle-symbol'. Bind `M-s c' to
6006 `isearch-toggle-case-fold'.
6007 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6008 (isearch-forward): Add `M-s _' to the docstring.
6009 (isearch-forward-symbol, isearch-toggle-case-fold)
6010 (isearch-symbol-regexp): New functions. (Bug#11381)
6011
d5e61c1c
JL
60122012-05-29 Juri Linkov <juri@jurta.org>
6013
6014 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6015 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6016 a function, call it to get the regexp.
6017 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6018 property `isearch-message-prefix' instead of the string "word ".
6019 (isearch-search-fun-default): For the case of `isearch-word',
6020 return a lambda that calls re-search-forward/re-search-backward
6021 with a regexp returned by `word-search-regexp' or by the function
6022 in `isearch-word'.
6023
8cbd80f7
JL
60242012-05-29 Juri Linkov <juri@jurta.org>
6025
6026 * isearch.el (isearch-search-fun-default): New function.
6027 (isearch-search-fun): Move default part to the new function
6028 `isearch-search-fun-default'.
6029 (isearch-search-fun-function): Set the default value to
6030 `isearch-search-fun-default'. (Bug#11381)
6031
6032 * comint.el (comint-history-isearch-end):
6033 Use `isearch-search-fun-default'.
6034 (comint-history-isearch-search): Use `isearch-search-fun-default'
6035 and remove spacial case for `isearch-word'.
6036 (comint-history-isearch-wrap): Remove spacial case for
6037 `isearch-word'.
6038
6039 * hexl.el (hexl-isearch-search-function):
6040 Use `isearch-search-fun-default'.
6041
6042 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6043 Use `word-search-regexp' for `isearch-word'.
6044
6045 * misearch.el (multi-isearch-search-fun):
6046 Use `isearch-search-fun-default'.
6047
6048 * simple.el (minibuffer-history-isearch-search):
6049 Use `isearch-search-fun-default' and remove spacial case for
6050 `isearch-word'.
6051 (minibuffer-history-isearch-wrap): Remove spacial case for
6052 `isearch-word'.
6053
6054 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6055 Remove spacial case for `isearch-word'.
6056 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6057
85c8c5b6
AM
60582012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6059
6060 Decrease XEmacs incompatibilities.
6061 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6062 Use `string-match'.
6063 (flyspell-delete-region-overlays): Use alternative definition for
6064 XEmacs.
6065 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6066 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6067 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6068 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6069 `define-obsolete-face-alias' under XEmacs, but old method.
6070
6071 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6072 `with-no-warnings' definition or Emacs alias.
6073 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6074 (ispell-word): Do not use `region-p' if XEmacs.
6075
8cab9efc
AM
60762012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6077
6078 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6079 Check for `ispell-dictionary-base-alist' instead of full
6080 `ispell-dictionary-alist'.
6081 (ispell-init-process): Show spellchecker when starting new Ispell
6082 process.
6083
fda91268
RZ
60842012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6085
6086 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6087 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6088
694ea8e3
JB
60892012-05-27 Juanma Barranquero <lekktu@gmail.com>
6090
6091 * version.el (motif-version-string, gtk-version-string)
6092 (ns-version-string): Declare.
6093
e4d4f539
JL
60942012-05-27 Juri Linkov <juri@jurta.org>
6095
6096 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6097 after the `eval-defun-1' specialcaseing
6098 like in `edebug-eval-defun' (bug#10181).
6099
6100 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6101 like in `eval-defun-1'.
6102
33017faf 61032012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 6104
fda91268
RZ
6105 * mail/sendmail.el (mail-yank-region):
6106 Recognize rmail-yank-current-message in addition to insert-buffer.
6107 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
6108 a *mail* buffer created through rmail-start-mail with sendmail as
6109 mail-user-agent.
6110
33017faf
GM
61112012-05-27 Chong Yidong <cyd@gnu.org>
6112
6113 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6114 Default to 256 (Bug#11267).
6115
6116 * help.el (describe-mode): Doc fix.
6117
04188bb9
GM
61182012-05-26 Glenn Morris <rgm@gnu.org>
6119
38264cc9
GM
6120 * w32-fns.el (w32-init-info): Remove.
6121 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6122
eb7afdad
GM
6123 * info.el (info-initialize): For self-contained NS builds, put the
6124 included info/ directory at the front. (Bug#2791)
6125
04188bb9
GM
6126 * paths.el (Info-default-directory-list): Make it a defcustom,
6127 mainly so that we can use custom-initialize-delay.
6128
a179e3f7
SM
61292012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6130
43416392
SM
6131 * subr.el (buffer-has-markers-at): Mark obsolete.
6132
a179e3f7 6133 * subr.el (lambda): Use declare.
43416392 6134
a179e3f7
SM
6135 * emacs-lisp/lisp-mode.el (lambda):
6136 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6137
34a008d9
AH
61382012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6139
6140 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6141
0a3b289f
GM
61422012-05-26 Glenn Morris <rgm@gnu.org>
6143
6144 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6145
758c81e8
GM
61462012-05-25 Glenn Morris <rgm@gnu.org>
6147
f9f334f0
GM
6148 * paths.el: Remove no-byte-compile.
6149 * loadup.el: No need to load paths.el uncompiled.
6150
87eb79c2
GM
6151 * image.el (imagemagick-types-inhibit): Doc fix.
6152
758c81e8
GM
6153 * version.el: Remove no-byte-compile and associated formatting.
6154 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6155 is ancient code from when there was an "inc-vers.el".
6156
e7e85dc0
SM
61572012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6158
6159 * progmodes/gdb-mi.el: Minor style changes.
6160 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6161 Turn into minor modes.
6162 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6163 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6164 (gdb-shell): Remove unneeded let-binding.
6165 (gdb-get-many-fields): Eliminate O(n²) behavior.
6166
f31237a4
EZ
61672012-05-25 Eli Zaretskii <eliz@gnu.org>
6168
6169 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6170 platforms that don't link in fontset.c.
6171
bc1b21bb
JL
61722012-05-25 Juri Linkov <juri@jurta.org>
6173
6174 Use the same diff color scheme as in modern VCSes (bug#10181).
6175
6176 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6177 to avoid confusion with `diff-added' that now uses green colors.
6178 (diff-removed): Use shades of red.
6179 (diff-added): Use shades of green.
6180 (diff-changed): Leave just the yellow color.
6181 (diff-use-changed-face): New variable.
6182 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6183 how to highlight context diff changes.
6184 (diff-refine-change): Use shades of yellow.
6185 (diff-refine-removed): New face that uses shades of red.
6186 (diff-refine-added): New face that uses shades of green.
6187 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6188 `diff-refine-removed' in the call to `smerge-refine-subst'
6189 depending on the value of `diff-use-changed-face'.
6190
6191 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6192 (smerge-other): Use shades of green.
6193 (smerge-base): Use shades of yellow.
6194 (smerge-refined-change): Empty face.
6195 (smerge-refined-removed): New face that uses shades of red.
6196 (smerge-refined-added): New face that uses shades of green.
6197 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6198 args `props-r' and `props-a', and use them. Doc fix.
6199 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6200 on its value use different faces `smerge-refined-change',
6201 `smerge-refined-removed', `smerge-refined-added' in the call to
6202 `smerge-refine-subst'.
6203
6204 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6205 Add face condition `min-colors 88' with shades of red.
6206 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6207 `min-colors 88' with shades of green.
6208 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6209 `min-colors 88' with shades of yellow.
6210
6df9112c
GM
62112012-05-24 Glenn Morris <rgm@gnu.org>
6212
ead5edc0
GM
6213 * paths.el (prune-directory-list, remote-shell-program): Move to...
6214 * files.el (prune-directory-list, remote-shell-program): ...here.
6215 For the latter, delay initialization, prefer ssh, just search PATH.
6216
f18b81e6
GM
6217 * paths.el (term-file-prefix): Move to faces.el (the only user).
6218 * faces.el (term-file-prefix): Move here, make it a defcustom.
6219
ee2f89a6
GM
6220 * paths.el (news-directory, news-path, news-inews-program):
6221 Move to gnus/nnspool.el.
61a583ca 6222
f8815e4c
GM
6223 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6224
c8f3b42c
GM
6225 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6226 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6227 Make the latter a defcustom, with a delayed initialization.
6228
6df9112c
GM
6229 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6230 These were deleted from Gnus itself late 2010.
6231
5dadff36
JB
62322012-05-22 Juanma Barranquero <lekktu@gmail.com>
6233
9e1701c6
JB
6234 * progmodes/which-func.el (which-func-ff-hook):
6235 Check against user-error, not error.
6236
bd7239f5 6237 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
6238 cl-specs.el, which no longer exists.
6239
3290526d
GM
62402012-05-22 Glenn Morris <rgm@gnu.org>
6241
6242 * info.el (info-emacs-bug): New command.
6243 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6244 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6245
ff0c3cfb
GM
62462012-05-21 Glenn Morris <rgm@gnu.org>
6247
6248 * makefile.w32-in (update-subdirs-SH):
6249 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6250
5814f126
SM
62512012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6252
a52c0aa0
SM
6253 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6254
5814f126
SM
6255 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6256 Simplify Maven regexp, and make sure the file can't start with a space
6257 (bug#11517).
6258
b847032c
GM
62592012-05-21 Glenn Morris <rgm@gnu.org>
6260
6261 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6262 Scrap superfluous subshells.
6263
3858bfe7
SM
62642012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6265
6266 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6267 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6268
d14b0029
JB
62692012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6270
6271 * calc/calc.el (calc-ensure-consistent-units): New variable.
6272
a52c0aa0
SM
6273 * calc/calc-units.el (math-consistent-units-p)
6274 (math-check-unit-consistency): New functions.
6275 (calc-quick-units, calc-convert-units):
6276 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6277 is non-nil.
d14b0029
JB
6278 (calc-extract-units): Fix typo.
6279
60c4db3a
SM
62802012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6281
77f3b62e
SM
6282 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6283
60c4db3a
SM
6284 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6285 (flyspell-default-deplacement-commands): Don't spell check after
6286 repeated window/frame switches (e.g. triggered by mouse-movement).
6287 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6288 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6289 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6290 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6291 Remove unused vars.
6292 (flyspell-get-casechars, flyspell-get-not-casechars):
6293 Simplify; Don't bother removing a ] just to add it back.
6294 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6295
d209e2fb 62962012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
6297
6298 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6299 New functions.
bd7239f5 6300 (math-function-table): Add support for more C functions.
b1a10716 6301
3f1b25b5
AM
63022012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6303
090bd7cb
JB
6304 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6305 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6306 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 6307
b581bb5c
SM
63082012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6309
6310 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6311 their respective macro declarations.
6312 * skeleton.el (define-skeleton):
6313 * progmodes/compile.el (define-compilation-mode):
6314 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6315 (define-ibuffer-filter):
6316 * emacs-lisp/generic.el (define-generic-mode):
6317 * emacs-lisp/easy-mmode.el (define-minor-mode)
6318 (define-globalized-minor-mode):
6319 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6320 * emacs-lisp/byte-run.el (defsubst):
6321 * custom.el (deftheme): Add doc-string metadata.
6322
70b8ef8f
SM
63232012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6324
6325 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6326
b1198e17
SM
63272012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6328
9abdc45d
SM
6329 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6330
b1198e17
SM
6331 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6332 * emacs-lisp/cl-macs.el: Idem.
6333 * emacs-lisp/cl-specs.el: Remove.
6334
4735906a
SM
63352012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6336
6337 Minor renaming of internal CL functions and variables.
6338 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6339 (cl--position): Rename from cl-position.
6340 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6341 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6342 (cl--random-state): Rename from *random-state*.
6343
ac348012
SM
63442012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6345
6346 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6347 parens around the arg list (bug#11499).
6348
a0a79cde
JL
63492012-05-17 Juri Linkov <juri@jurta.org>
6350
6351 * isearch.el (word-search-regexp, word-search-backward)
6352 (word-search-forward, word-search-backward-lax)
6353 (word-search-forward-lax): Move functions from search.c
6354 (bug#10145, bug#11381).
6355
65034a51
AM
63562012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6357
090bd7cb
JB
6358 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6359 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6360 Delay for otherchars as for normal word components.
65034a51 6361
1a72a195
SM
63622012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6363
6364 * minibuffer.el (completion--sifn-requote): Fix last change.
6365 (minibuffer-local-must-match-filename-map):
6366 Move define-obsolete-variable-alias before its var.
6367
fdb058c2
SM
63682012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6369
c41045e6
SM
6370 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6371
036dfb8b
SM
6372 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6373 behavior.
6374 (completion--string-equal-p): New function.
6375 (completion--twq-all): Use it to get better assertion failure data.
6376
2473256d
SM
6377 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6378 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6379 (shell--requote-argument): New functions.
6380 (shell-completion-vars): Use them.
6381 (shell--parse-pcomplete-arguments): Rename from
6382 shell-parse-pcomplete-arguments.
6383 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6384 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6385 Obey comint-file-name-quote-list.
6386
fdb058c2
SM
6387 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6388 (smie-indent-keyword): Use it.
6389
51fa99f1
SM
63902012-05-14 Stefan Merten <smerten@oekonux.de>
6391
6392 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6393
e18afed7 63942012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
6395
6396 * net/rlogin.el (rlogin-mode-map): Fix last change.
6397
e18afed7 63982012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
6399
6400 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6401 the following \r\n using a single `process-send-string', since the
6402 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 6403 with two `process-send-string's (Bug#11444).
8633b1f4 6404
e18afed7 64052012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 6406
fdb058c2
SM
6407 * shell.el (shell-parse-pcomplete-arguments):
6408 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 6409
2d21d7f6
WJ
64102012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6411
e18afed7 6412 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
6413 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6414 (image-transform-width, image-transform-fit-width): New functions.
6415 (image-transform-properties): Use them.
6416 (image-transform-check-size): New function.
6417 (image-toggle-display-image): Use it (for testing).
6418 (image-transform-set-rotation): Reduce angle mod 360.
6419 Delete obsolete comment.
6420
7102e6d0
WJ
64212012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6422
6423 * image-mode.el: Fix scaling (bug#11399).
6424 (image-transform-resize): Doc fix.
6425 (image-transform-properties): Default scale is 1 and height should
6426 be an integer.
6427
06bc5e6e
SM
64282012-05-13 Johan Bockgård <bojohan@gnu.org>
6429
6430 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6431 than hard-coding `car', to fix misbehavior when moving forward.
6432
0ae03b6a
CY
64332012-05-13 Chong Yidong <cyd@gnu.org>
6434
6435 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6436 (tabulated-list-entries, tabulated-list-padding)
6437 (tabulated-list-sort-key): Make permanent-local.
6438
6439 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6440 (electric-buffer-list): Put electric buffer menu
6441 command descriptions in this docstring, instead of the docstring
6442 of electric-buffer-menu-mode. Code cleanups.
6443 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6444 Electric-buffer-menu-mode.
6445 (electric-buffer-update-highlight): Minor code cleanup.
6446
205a7391
MA
64472012-05-13 Michael Albinus <michael.albinus@gmx.de>
6448
6449 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6450 (Bug#11447)
6451
e5bd0a28
SM
64522012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6453
6454 Move define-obsolete-variable-alias before the var's definition.
6455 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6456 * tooltip.el (tooltip-hook):
6457 * textmodes/reftex-toc.el (reftex-toc-map):
6458 * textmodes/reftex-sel.el (reftex-select-label-map)
6459 (reftex-select-bib-map):
6460 * textmodes/reftex-index.el (reftex-index-map)
6461 (reftex-index-phrases-map):
6462 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6463 * progmodes/meta-mode.el (meta-mode-map):
6464 * novice.el (disabled-command-hook):
6465 * loadhist.el (unload-hook-features-list):
6466 * frame.el (blink-cursor):
6467 * files.el (find-file-not-found-hooks, write-file-hooks)
6468 (write-contents-hooks):
6469 * emulation/tpu-edt.el (GOLD-map):
6470 * emacs-lock.el (emacs-lock-from-exiting):
6471 * emacs-lisp/generic.el (generic-font-lock-defaults):
6472 * emacs-lisp/chart.el (chart-map):
6473 * dos-fns.el (register-name-alist):
6474 * dired-x.el (dired-omit-files-p):
6475 * desktop.el (desktop-enable):
6476 * cus-edit.el (custom-mode-hook):
6477 * buff-menu.el (buffer-menu-mode-hook):
6478 * bookmark.el (bookmark-read-annotation-text-func)
6479 (bookmark-exit-hooks):
6480 * allout.el (allout-mode-deactivate-hook)
6481 (allout-exposure-change-hook, allout-structure-added-hook)
6482 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6483 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6484 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6485 comes before the corresponding variable's definition.
6486
ac59c2f6
CY
64872012-05-12 Chong Yidong <cyd@gnu.org>
6488
6489 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
6490 (Buffer-menu-mouse-select): Restore function (Bug#11459).
6491 (Buffer-menu-mode-map): Bind it.
6492 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 6493
dee6c9a3
SM
64942012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6495
2171cea5
SM
6496 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
6497 (prolog-upper-case-string, prolog-lower-case-string)
6498 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6499 (prolog-use-smie, prolog-smie-grammar): New vars.
6500 (prolog-smie-forward-token, prolog-smie-backward-token)
6501 (prolog-smie-rules): New funs.
6502 (prolog-comment-indent): Remove.
6503 (prolog-mode-variables): Use default comment indentation instead.
6504 Setup SMIE.
6505 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6506 (prolog-mode): Don't call them any more.
6507 (prolog-electric-colon, prolog-electric-dash)
6508 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6509
aa0382bd
SM
6510 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6511
dbacb4bd
SM
6512 * minibuffer.el (completion--twq-all): Again, allow case differences.
6513
13bdd94c
SM
6514 * term.el: Move keymap initialization code to be more idiomatic.
6515 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6516 (term-terminal-menu): Move initialization into declaration.
6517 (term-escape-char): Let the user set it in her .emacs.
6518
ff46c759
SM
6519 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6520 Provide SMIE-based indentation (not enabled by default yet).
6521 (sh-mode-map): Don't bind electric keys.
6522 Use electric-pair-mode instead of skeleton-pair.
6523 (sh-assignment-regexp): Fit within 80 columns.
6524 (sh-indent-supported): Specify actual shell name instead of boolean.
6525 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6526 (sh-maybe-here-document): Use it. Make obsolete.
6527 (sh-electric-here-document-mode) New minor mode.
6528 (sh-mode): Use it. Don't set sh-indent-supported-here here.
6529 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6530 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6531 (sh-smie-rc-grammar, sh-use-smie): New vars.
6532 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6533 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6534 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6535 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6536 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6537 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6538 (sh-set-shell): Use smie-setup if requested.
6539
dee6c9a3
SM
6540 * term.el (term-set-escape-char): Properly set term-escape-char.
6541 See http://stackoverflow.com/questions/10524656.
6542
9f9aa044
CY
65432012-05-10 Chong Yidong <cyd@gnu.org>
6544
6545 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6546 Use url-generic-parse-url, and handle host names and Windows
6547 filenames properly.
6548 (ffap-url-unwrap-remote): Use url-generic-parse-url.
6549 (ffap-url-unwrap-remote): Accept list values, specifying a list of
6550 URL schemes to work on.
6551 (ffap--toggle-read-only): New function.
6552 (ffap-read-only, ffap-read-only-other-window)
6553 (ffap-read-only-other-frame): Use it.
6554 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6555 necessary for ffap-url-unwrap-remote.
6556
836d29b3
DA
65572012-05-10 Dave Abrahams <dave@boostpro.com>
6558
6559 * cus-start.el (create-lockfiles): Add it.
6560
00fd78ed
CY
65612012-05-09 Chong Yidong <cyd@gnu.org>
6562
6563 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6564 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6565
666b903b 65662012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
6567
6568 * shell.el (shell-completion-vars): Fix last change (bug#11348).
6569
666b903b 65702012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
6571
6572 * ansi-color.el (ansi-color-process-output): Check for validity of
6573 comint-last-output-start before using it. This avoids a bad
6574 interaction with gdb-mi's input/output buffer.
6575
666b903b 65762012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
6577
6578 * files.el (dir-locals-read-from-file):
6579 Mention dir-locals in any error message.
6580
666b903b 65812012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
6582
6583 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6584 package (Bug#11410).
6585
f677562b
CY
6586 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6587 variables into description.
6588
666b903b 65892012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
6590
6591 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6592 shell-delimiter-argument-list (bug#11348).
6593 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6594
b499d8d0
JB
65952012-05-09 Juanma Barranquero <lekktu@gmail.com>
6596
8f6b6da8
JB
6597 * textmodes/rst.el: Silence byte-compiler warnings.
6598 (rst-re-alist, rst-reset-section-caches): Move around.
6599 (rst-re): Use `characterp', not `char-valid-p'.
6600 (font-lock-beg, font-lock-end): Declare.
6601
4824146a
JB
6602 * progmodes/idlw-shell.el (specs): Remove reference to deleted
6603 variable `idlwave-shell-activate-alt-keybindings' and simplify.
6604
b499d8d0
JB
6605 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6606
ad89bb83
GM
66072012-05-08 Glenn Morris <rgm@gnu.org>
6608
6609 * files.el (auto-mode-alist): Treat ".make" like ".mk".
6610
8bba5a75
SM
66112012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6612
49ed9c8e
SM
6613 * vc/log-edit.el: Add GNU coding standards highlighting.
6614 (log-edit-font-lock-gnu-style)
6615 (log-edit-font-lock-gnu-keywords): New vars.
6616 (log-edit-font-lock-keywords): New fun.
6617 (log-edit-mode): Don't fold case in font-lock.
6618 (log-edit-font-lock-keywords): Do not assume case-folding.
6619
07d00b56
SM
6620 * imenu.el: Misc cleanup. Make docstrings out of comments.
6621 Use lexical-binding.
6622 (imenu--index-alist, imenu--last-menubar-index-alist)
6623 (imenu-menubar-modified-tick): Use defvar-local.
6624 (imenu--split-menu): Remove unused var.
6625 (imenu--cleanup-seen): Declare as global.
6626 (imenu--cleanup): Use dolist.
6627
8bba5a75
SM
6628 * subr.el (defvar-local): Add debug spec and doc-string position.
6629
5075bdb5
GM
66302012-05-08 Glenn Morris <rgm@gnu.org>
6631
090bd7cb 6632 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
6633 * language/english.el, language/georgian.el, language/greek.el:
6634 * language/japanese.el, language/khmer.el, language/korean.el:
6635 * language/lao.el, language/misc-lang.el, language/romanian.el:
6636 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
6637 * language/thai.el, language/utf-8-lang.el:
6638 Remove no-byte-compile setting.
6639
5075bdb5
GM
6640 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
6641
06f679a7
AH
66422012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6643
6644 * progmodes/make-mode.el (makefile-browse):
6645 Remove unnecessary interactive. (Bug#11324)
6646
03794570
GM
66472012-05-07 Glenn Morris <rgm@gnu.org>
6648
af8630f4
GM
6649 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
6650
03794570
GM
6651 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
6652
f0809a9d
SM
66532012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6654
28be5ce7
SM
6655 * loadup.el: Preload newcomment.el.
6656 * newcomment.el: Move autoload-only code to toplevel.
6657
f0809a9d
SM
6658 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
6659 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6660 Handle new :right-align column property.
6661 (tabulated-list-print-col): Idem, plus use `display' text-property to
6662 try and preserve alignment for variable pitch fonts.
6663
1241b724
CY
66642012-05-07 Chong Yidong <cyd@gnu.org>
6665
6666 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
6667 (tabulated-list-use-header-line): New var.
6668 (tabulated-list-init-header): Use it.
6669 (tabulated-list-print-fake-header): New function.
6670 (tabulated-list-print): Use it.
6671 (tabulated-list-sort-button-map): Add non-header-line commands.
6672 (tabulated-list-init-header): Add column name property to basic
6673 labels as well.
6674 (tabulated-list-col-sort): Handle non-header-line button case.
6675 (tabulated-list--sort-by-column-name): Fix a corner case.
6676
f0809a9d
SM
6677 * buff-menu.el (list-buffers--refresh):
6678 Handle Buffer-menu-use-header-line.
1241b724 6679
e5f9458f
CY
66802012-05-06 Chong Yidong <cyd@gnu.org>
6681
6682 * buff-menu.el: Convert to Tabulated List mode.
6683 (Buffer-menu-buffer+size-width): Make obsolete.
6684 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
6685 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
6686 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
6687 documentation into docstring of buffer-menu.
6688 (Buffer-menu-toggle-files-only): Add an informative message.
6689 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
6690 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
6691 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
6692 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
6693 (Buffer-menu-execute, Buffer-menu-select)
6694 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
6695 (Buffer-menu-bury): Use Tabulated List machinery.
6696 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
6697 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 6698 Delete.
e5f9458f
CY
6699 (list-buffers--refresh): New function.
6700 (list-buffers-noselect): Use it.
6701 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
6702 (Buffer-menu--pretty-file-name): New helper functions.
6703
6704 * loadup.el: Preload tabulated-list.
6705
6706 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
6707 tabulated-list-sort-column.
6708 (tabulated-list-init-header): Add the initial aligning space even
6709 if tabulated-list-padding is zero.
6710
e129292c
CS
67112012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
6712
6713 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
6714 whose cdr is not a cons cell correctly (bug#11038).
6715
6632d361
CY
67162012-05-06 Chong Yidong <cyd@gnu.org>
6717
e129292c
CS
6718 * emacs-lisp/tabulated-list.el (tabulated-list-format):
6719 Accept additional plist in column descriptors.
6632d361
CY
6720 (tabulated-list-init-header): Obey it.
6721 (tabulated-list-get-entry): New function.
6722 (tabulated-list-put-tag): Use it. Use string-width instead of
6723 length.
6724 (tabulated-list--column-number): New function.
6725 (tabulated-list-print): Use it.
e129292c
CS
6726 (tabulated-list-print-col): New function.
6727 Set `tabulated-list-column-name' property on each column's text.
6632d361 6728 (tabulated-list-print-entry): Use it.
e129292c
CS
6729 (tabulated-list-delete-entry, tabulated-list-set-col):
6730 New functions.
6632d361
CY
6731 (tabulated-list-sort-column): New command (Bug#11337).
6732
3cc99f68
CY
6733 * buff-menu.el (list-buffers): Move C-x C-b binding from
6734 buff-menu.el to bindings.el.
6735
6736 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
6737 :advertised-binding feature.
6738
52b61776
TN
67392012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
6740
6741 * progmodes/compile.el (compilation-internal-error-properties):
6742 Calculate start position correctly when end-col is set but
6743 end-line is not (Bug#11382).
6744
ebfe2597
WJ
67452012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
6746
6747 * man.el (Man-unindent): Use text-property-default-nonsticky to
6748 prevent untabify from inheriting face properties (Bug#11408).
6749
6d3f7c2f
SM
67502012-05-05 Stefan Merten <smerten@oekonux.de>
6751
6752 * textmodes/rst.el: Major merge with upstream development up to
6753 Docutils SVN r7399 / rst.el V1.2.1.
6754
6755 Clarify maintainership and authors.
6756
6757 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
6758 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
6759 (rst-official-version, rst-official-cvs-rev, rst-version)
6760 (rst-package-emacs-version-alist): New functions and variables
6761 for version information.
6762
6763 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
6764 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
6765 (rst-mode-syntax-table, rst-mode): New and corrected functions
6766 and variables representing reStructuredText features.
6767
6768 (rst-re): New function for reStructuredText regexes. Use in
6769 many places.
6770
6771 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
6772 (rst-mode-map): Rebind keys.
6773
6774 (rst-mode-lazy, rst-font-lock-keywords)
6775 (rst-font-lock-extend-region)
6776 (rst-font-lock-extend-region-internal)
6777 (rst-font-lock-extend-region-extend)
6778 (rst-font-lock-find-unindented-line-limit)
6779 (rst-font-lock-find-unindented-line-match)
6780 (rst-adornment-level, rst-font-lock-adornment-level)
6781 (rst-font-lock-adornment-match)
6782 (rst-font-lock-handle-adornment-pre-match-form)
6783 (rst-font-lock-handle-adornment-matcher): Major revision of
6784 font-locking. Integrate with other code. Use `jit-lock-mode'.
6785
6786 (rst-preferred-adornments, rst-adjust-hook)
6787 (rst-new-adornment-down, rst-preferred-bullets)
6788 (rst-preferred-bullets, rst-indent, rst-indent-width)
6789 (rst-indent-field, rst-indent-literal-normal)
6790 (rst-indent-literal-minimized, rst-indent-comment): Change,
6791 extend and improve customization.
6792
6793 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
6794 (rst-normalize-cursor-position, rst-get-decoration)
6795 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
6796 (rst-rstrip, rst-toc-insert-find-delete-contents)
6797 (rst-shift-fill-region, rst-compute-bullet-tabs)
6798 (rst-debug-print-tabs, rst-debug-mark-found)
6799 (rst-shift-region-guts, rst-shift-region-right)
6800 (rst-shift-region-left, rst-use-char-classes)
6801 (rst-font-lock-keywords-function)
6802 (rst-font-lock-indentation-point)
6803 (rst-font-lock-find-unindented-line-begin)
6804 (rst-font-lock-find-unindented-line-end)
6805 (rst-font-lock-find-unindented-line)
6806 (rst-font-lock-adornment-point, rst-font-lock-level)
6807 (rst-adornment-level-alist): Remove functions and variables.
6808
6809 (rst-compare-adornments, rst-get-adornment-match)
6810 (rst-suggest-new-adornment, rst-get-adornments-around)
6811 (rst-adornment-complete-p, rst-get-next-adornment)
6812 (rst-adjust-adornment, rst-display-adornments-hierarchy)
6813 (rst-straighten-adornments): Standardize function names to
6814 use "adornment" instead of "decoration". Correct callers.
6815 Similar standardizing in many places.
6816
6817 (rst-update-section, rst-adjust, rst-promote-region)
6818 (rst-enumerate-region, rst-bullet-list-region)
6819 (rst-repeat-last-character): Correct use of `interactive'.
6820
6821 (rst-classify-adornment, rst-find-all-adornments)
6822 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
6823 (rst-find-leftmost-column, rst-repeat-last-character):
6824 Refactor functions.
6825
6826 (rst-find-title-line, rst-reset-section-caches)
6827 (rst-get-adornments-around, rst-adjust-adornment-work)
6828 (rst-arabic-to-roman, rst-roman-to-arabic)
6829 (rst-insert-list-pos, rst-insert-list-new-item)
6830 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
6831 New functions.
6832
6833 (rst-all-sections, rst-section-hierarchy)
6834 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
6835 New variables.
6836
6837 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
6838 configuration instead of only buffer. Change where necessary.
6839
6840 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
6841 (rst-shift-region, rst-adaptive-fill): New functions for
6842 indentation and filling.
6843
6844 (rst-comment-line-break, rst-comment-indent)
6845 (rst-comment-insert-comment, rst-comment-region)
6846 (rst-uncomment-region): New functions for handling comments.
6847
6848 (rst-compile): Quote shell arguments.
6849
6850 (rst-compile-pdf-preview, rst-compile-slides-preview):
6851 Delete temporary files after use.
6852
a43f98b3
GM
68532012-05-05 Glenn Morris <rgm@gnu.org>
6854
48176e8b
GM
6855 * calendar/cal-html.el: Optionally include holidays in the output.
6856 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
6857 (cal-html-holidays): New option.
6858 (cal-html-css-default): Add holiday entry.
6859 (holiday-in-range): Autoload it.
6860 (cal-html-htmlify-entry): Add optional class argument.
6861 (cal-html-htmlify-list): Add optional holidays argument.
6862 (cal-html-insert-agenda-days): Include holidays in the output.
6863 (cal-html-one-month): Maybe include holidays.
6864
a43f98b3
GM
6865 * calendar/holidays.el (holiday-in-range):
6866 Move here from cal-tex-list-holidays.
6867 * calendar/cal-tex.el (cal-tex-list-holidays):
6868 Make it an obsolete alias for holiday-in-range. Update all callers.
6869
fef9d149 68702012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
6871
6872 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
6873 Nextstep.
6874
248da2f4
RW
68752012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
6876
6877 * files.el (file-auto-mode-skip): New var.
6878 (set-auto-mode-1): Use it.
6879
f95e9344
SM
68802012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6881
df96ab1e
SM
6882 * repeat.el: Use lexical-binding.
6883 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
6884 (repeat-undo-count): Remove.
6885 (repeat):
6886 * progmodes/octave-mod.el (octave-abbrev-start):
6887 * progmodes/f90.el (f90-abbrev-start):
6888 * face-remap.el (text-scale-adjust):
6889 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
6890
5342bb06
SM
6891 * emacs-lisp/pcase.el (pcase--let*): New function.
6892 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
6893 a bit more.
6894 (pcase--split-pred): Be more clever about ruling out overlap between
6895 a predicate and some constant pattern.
6896 (pcase--q1): Use `null' instead of (eq foo nil).
6897
f95e9344
SM
6898 * subr.el (setq-local, defvar-local): New macros.
6899 (kbd): Redefine as an alias.
6900 (with-selected-window): Leave unrelated frames alone.
6901 (set-temporary-overlay-map): New function.
6902
71873e2b
SM
69032012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6904
6905 * subr.el (user-error): New function.
6906 * window.el (switch-to-buffer):
6907 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
6908 (smerge-match-conflict):
6909 * simple.el (previous-matching-history-element)
6910 (next-matching-history-element, goto-history-element, undo-more)
6911 (undo-start):
6912 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
6913 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
6914 (next-file, tags-loop-scan, list-tags, complete-tag):
6915 * progmodes/compile.el (compilation-loop):
6916 * mouse.el (mouse-minibuffer-check):
6917 * man.el (Man-bgproc-sentinel, Man-goto-page):
6918 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
6919 (Info-history-forward, Info-follow-reference, Info-menu)
6920 (Info-extract-menu-item, Info-extract-menu-counting)
6921 (Info-forward-node, Info-backward-node, Info-next-menu-item)
6922 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
6923 (Info-next-reference, Info-prev-reference, Info-index)
6924 (Info-index-next, Info-follow-nearest-node)
6925 (Info-copy-current-node-name):
6926 * imenu.el (imenu--make-index-alist)
6927 (imenu-default-create-index-function, imenu-add-to-menubar):
6928 * files.el (basic-save-buffer, recover-file):
6929 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6930 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
6931 (checkdoc-message-text, checkdoc-defun):
6932 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
6933 * cus-edit.el (customize-changed-options, customize-rogue)
6934 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
6935 (custom-variable-mark-to-reset-standard)
6936 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
6937 (custom-file):
6938 * completion.el (check-completion-length):
6939 * comint.el (comint-search-arg)
6940 (comint-previous-matching-input-string-position)
6941 (comint-previous-matching-input)
6942 (comint-replace-by-expanded-history-before-point, comint-send-input)
6943 (comint-copy-old-input, comint-backward-matching-input)
6944 (comint-goto-process-mark, comint-set-process-mark):
6945 * calendar/calendar.el (calendar-cursor-to-date): Use it.
6946 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
6947
8a61ee22
SM
69482012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6949
66408d1e
SM
6950 * dabbrev.el (dabbrev--ignore-case-p): New function.
6951 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
6952 Use it.
6953
8a61ee22
SM
6954 * files.el (automount-dir-prefix): Mark as obsolete.
6955
3c74813a
GM
69562012-05-04 Glenn Morris <rgm@gnu.org>
6957
6958 * patcomp.el, play/bruce.el: Move to obsolete/.
6959
0bfcf5c5
PE
69602012-05-04 Paul Eggert <eggert@cs.ucla.edu>
6961
6962 Fix minor Y10k bugs.
6963 * arc-mode.el (archive-unixdate):
6964 * autoinsert.el (auto-insert-alist):
6965 * calc/calc-forms.el (math-this-year):
6966 * emacs-lisp/copyright.el (copyright-current-year)
6967 (copyright-update-year, copyright):
6968 * tar-mode.el (tar-clip-time-string):
6969 * time.el (display-time-update):
6970 Don't assume years have 4 digits.
6971
78f3273a
CY
69722012-05-04 Chong Yidong <cyd@gnu.org>
6973
6974 * dos-w32.el (file-name-buffer-file-type-alist)
6975 (direct-print-region-use-command-dot-com):
6976 * ffap.el (ffap-menu-regexp):
6977 * find-file.el (ff-special-constructs):
6978 * follow.el (follow-debug):
6979 * forms.el (forms--debug):
6980 * iswitchb.el (iswitchb-all-frames):
6981 * ido.el (ido-all-frames):
6982 * emacs-lisp/timer.el (timer-max-repeats):
6983 * mail/feedmail.el (feedmail-mail-send-hook)
6984 (feedmail-mail-send-hook-queued):
6985 * mail/footnote.el (footnote-signature-separator):
6986 * mail/mailabbrev.el (mail-alias-separator-string)
6987 (mail-abbrev-mode-regexp):
6988 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
6989 * progmodes/idlwave.el (idlwave-libinfo-file)
6990 (idlwave-default-completion-case-is-down)
6991 (idlwave-library-routines): Convert defvars to defcustoms.
6992
6993 * mail/rmail.el (rmail-decode-mime-charset):
6994 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
6995 (idlwave-shell-fix-inserted-breaks)
6996 (idlwave-shell-activate-alt-keybindings)
6997 (idlwave-shell-use-breakpoint-glyph):
6998 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
6999
f7ae6719
SM
70002012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7001
7002 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7003
47086495
WS
70042012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7005
7006 * progmodes/verilog-mode.el (font-lock-keywords):
7007 Fix mis-highligting auto. Reported by Craig Barner.
7008 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 7009 defines from global name space. Reported by Dan Dever.
47086495
WS
7010 (verilog-auto-reset, verilog-auto-reset-widths)
7011 (verilog-auto-tieoff): Support using unbased numbers for
7012 AUTORESET and AUTOTIEOFF.
7013 (verilog-submit-bug-report): Update variable list.
7014 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 7015 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
7016 (verilog-auto-template-lint): Fix hash error when linting modules
7017 with no used templates.
7018 (verilog-warn, verilog-warn-error)
7019 (verilog-warn-fatal): When non-interactive report multiple
7020 warnings before exiting. Suggested by Brad Dobbie.
7021 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7022 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7023 to report unused template errors. Reported by Brad Dobbie.
7024 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 7025 nets, bug438. Reported by Vns Blore.
47086495
WS
7026 (verilog-auto-inout-module, verilog-auto-reg)
7027 (verilog-read-decls, verilog-read-sub-decls-sig)
7028 (verilog-signals-edit-wire-reg, verilog-signals-with):
7029 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 7030 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
7031 "reg" for backwards compatibility presuming Verilog 2001.
7032 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7033 (verilog-preprocess): Fix replication of preprocess output.
7034 Reported by Brad Dobbie.
7035 (verilog-auto-inst-interfaced-ports):
7036 Create verilog-auto-inst-interfaced-ports, bug429.
7037 Reported by Julian Gorfajn.
7038 (verilog-after-save-font-hook)
7039 (verilog-before-save-font-hook): New variable.
7040 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7041 (verilog-save-font-mods): Wrap disabling fontification, reported
7042 by David Rogoff.
7043 (verilog-do-indent, verilog-pretty-declarations-auto)
7044 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7045 Reported by Pierre-David Pfister.
7046 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7047 of class declarations, bug292. Reported by Kevin Heilman.
7048 (verilog-read-decls): Fix 'parameter type' not appearing in
7049 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7050 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 7051 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
7052 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7053 Reported by David Kravitz.
7054
70552012-05-03 Michael McNamara <mac@mail.brushroad.com>
7056
7057 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7058 assignment with tests in ifs and for loops.
7059 (verilog-extended-complete-re, verilog-complete-reg): Change so
7060 that DPI inport functions don't look like fuction declarations.
7061 (verilog-pretty-expr): Don't line up assignment
7062 operations to the test and increment in if and for loops
7063 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 7064 that DPI inport functions don't look like fuction declarations.
47086495 7065
2e51d4b5
KH
70662012-05-03 Kenichi Handa <handa@m17n.org>
7067
7068 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 7069 decoding, and show a warning message without signaling an error
2e51d4b5
KH
7070 (Bug#11282).
7071
2bd785a2
SM
70722012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7073
7074 * emacs-lisp/bytecomp.el
7075 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7076 since cconv.el might have introduced :fun-body, internal-make-closure,
7077 and friends for bytecomp to handle (bug#11391).
7078 * custom.el (defcustom): Avoid ((λ ..) ..).
7079
99d27583
SM
70802012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7081
7082 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7083
55a71479
JB
70842012-05-02 Juanma Barranquero <lekktu@gmail.com>
7085
7086 * notifications.el (dbus-debug):
7087 * term/linux.el (gpm-mouse-enable):
7088 * term/screen.el (xterm-register-default-colors): Declare.
7089
7b97c764
CY
70902012-05-02 Chong Yidong <cyd@gnu.org>
7091
2bc356d7
CY
7092 * cus-start.el (gc-cons-percentage, exec-suffixes)
7093 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7094 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7095 (make-cursor-line-fully-visible, void-text-area-pointer)
7096 (font-list-limit): Add customization data.
7097
7b97c764
CY
7098 * allout.el (allout-exposure-change-functions)
7099 (allout-structure-added-functions)
7100 (allout-structure-deleted-functions)
7101 (allout-structure-shifted-functions): Rename abnormal hooks from
7102 *-hook, and convert to defcustoms.
5d3385a0
JB
7103 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7104 Convert to defcustoms.
7b97c764
CY
7105 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7106
7107 * allout-widgets.el: Hook callers changed.
7108
90207a15 71092012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
7110
7111 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7112 the yanked message in preference to the default value of
7113 buffer-file-coding-system.
7114
90207a15 71152012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 7116
5d3385a0
JB
7117 * window.el (display-buffer--action-function-custom-type):
7118 Fix entry.
d9558cad 7119
90207a15 71202012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
7121
7122 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7123
d80ac57b
GM
71242012-05-01 Glenn Morris <rgm@gnu.org>
7125
976f7668
GM
7126 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7127
beb83b5a
GM
7128 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7129
d80ac57b
GM
7130 * cus-edit.el (custom-variable-documentation): Simplify with format.
7131
b593d6a9 71322012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 7133 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
7134
7135 * simple.el (suggest-key-bindings, execute-extended-command):
7136 Move from keyboard.c.
7137
782fbf2a
CY
71382012-05-01 Chong Yidong <cyd@gnu.org>
7139
7140 * follow.el: Eliminate advice.
7141 (set-process-filter, process-filter, sit-for): Advice deleted.
7142 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
7143 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7144 Vars deleted.
782fbf2a
CY
7145 (follow-auto): Use a :set function.
7146 (follow-mode): Rewritten. Don't advise process filters.
7147 (follow-switch-to-current-buffer-all, follow-scroll-up)
7148 (follow-scroll-down): Assume follow-mode is bound.
7149 (follow-comint-scroll-to-bottom)
7150 (follow-align-compilation-windows): New functions.
7151 (follow--window-sorter): New function.
7152 (follow-all-followers): Use it to explicitly sort windows by their
7153 positions; don't make assumptions about next-window order.
7154 (follow-windows-start-end, follow-delete-other-windows-and-split)
7155 (follow-calc-win-start): Doc fix.
7156 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7157 vertical-motion unnecessarily.
7158 (follow-adjust-window): New function.
7159 (follow-post-command-hook): Use it.
7160 (follow-call-set-process-filter, follow-call-process-filter)
7161 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7162 (follow-stop-intercept-process-output, follow-generic-filter):
7163 Functions deleted.
7164 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
7165 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7166 New functions, replacing advice on scroll-bar-* commands.
87233a14 7167 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
7168
7169 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
7170 (comint-postoutput-scroll-to-bottom): Use it.
7171 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 7172
290af740
GM
71732012-05-01 Glenn Morris <rgm@gnu.org>
7174
7175 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7176 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7177 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7178 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7179 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7180 Remove no-byte-compile setting.
7181
6eac8dc9
SM
71822012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7183
7184 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7185 all-completions code to not return a number in the last cdr.
7186
9cc7819c
LL
71872012-04-30 Leo Liu <sdl.web@gmail.com>
7188
7189 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7190 read-only error.
7191
c93b886f
CY
71922012-04-29 Chong Yidong <cyd@gnu.org>
7193
7194 * follow.el (follow-calc-win-end): Rewrite to handle partial
7195 screen lines correctly (Bug#8390).
7196 (follow-avoid-tail-recenter): Minor cleanup.
7197
8b6c19f4
SM
71982012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7199
7200 Avoid the obsolete `assoc' package.
7201 * speedbar.el (speedbar-refresh): Avoid adelete.
7202 (speedbar-file-lists): Simplify and avoid aput.
7203 * man.el (Man--sections, Man--refpages): New vars, replacing
7204 Man-sections-alist and Man-refpages-alist.
7205 (Man-build-section-alist, Man-build-references-alist):
7206 Use them; avoid aput.
7207 (Man--last-section, Man--last-refpage): New vars.
7208 (Man-follow-manual-reference): Use them.
7209 Use the `default' arg of completing-read.
7210 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7211
c5bb7569
CY
72122012-04-27 Chong Yidong <cyd@gnu.org>
7213
d1d2e2e8
CY
7214 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7215
15cd8efd
CY
7216 * startup.el (x-apply-session-resources): New function.
7217
7218 * term/ns-win.el (ns-initialize-window-system):
7219 * term/w32-win.el (w32-initialize-window-system):
7220 * term/x-win.el (x-initialize-window-system): Use it to properly
7221 set menu-bar-mode and other vars from X resources, even if the
7222 initial frame is not a window-system frame (Bug#2299).
7223
c5bb7569
CY
7224 * subr.el (read-key): Avoid running filter function when setting
7225 up temporary tool bar entries (Bug#9922).
7226
a8e7d6d7 72272012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
7228
7229 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7230 (Bug#11344)
7231
a8e7d6d7 72322012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
7233
7234 * select.el (xselect--encode-string): New function, split from
7235 xselect-convert-to-string.
7236 (xselect-convert-to-string): Use it.
7237 (xselect-convert-to-filename, xselect-convert-to-os)
7238 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7239 returned strings are properly encoded (Bug#11315).
7240
a8e7d6d7 72412012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
7242
7243 * simple.el (delete-active-region): Move to killing custom group.
7244
a8e7d6d7 72452012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
7246
7247 * progmodes/which-func.el (which-func-current): Quote %
7248 characters for mode-line processing.
7249
578c1d4b 72502012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
7251
7252 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7253 reaching eob (Bug#11286).
7254
a8e7d6d7 72552012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
7256
7257 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7258 (gdb): Make it buffer-local and init to zero.
7259 (gdb-control-commands-regexp): New variable.
7260 (gdb-send): Don't wrap in "-interpreter-exec console" if
7261 gdb-control-level is positive. Increment gdb-control-level
7262 whenever the command matches gdb-control-commands-regexp, and
7263 decrement it each time the command is "end". (Bug#11279)
7264
a8e7d6d7 72652012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
7266
7267 * window.el (adjust-window-trailing-edge, enlarge-window)
7268 (shrink-window, window-resize):
7269 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7270 windows (Bug#11276).
7271
b3608390
CY
72722012-04-27 Chong Yidong <cyd@gnu.org>
7273
7274 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 7275 fix "missing prefix" warning. All callers changed.
b3608390 7276
797e6e88
SM
72772012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7278
7279 * emacs-lisp/assoc.el: Move to obsolete/.
7280
e95a67dc
SM
72812012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7282
657c21e4 7283 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
7284
7285 * term/ns-win.el (ns-define-service):
7286 * progmodes/pascal.el (pascal-goto-defun):
7287 * progmodes/js.el (js--read-tab):
7288 * progmodes/etags.el (tags-lazy-completion-table):
7289 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7290 * emacs-lisp/ewoc.el (ewoc--wrap):
7291 * emacs-lisp/assoc.el (aput, adelete, amake):
7292 * doc-view.el (doc-view-convert-current-doc):
7293 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7294
cb3e7ae0
CY
72952012-04-26 Chong Yidong <cyd@gnu.org>
7296
dce04f7f
CY
7297 * image.el (image-type-from-buffer): Only return supported image
7298 type (Bug#9045).
7299
cb3e7ae0
CY
7300 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7301 value, for symmetry with diff-end-of-hunk.
7302 (diff-split-hunk, diff-find-source-location)
7303 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7304 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7305 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7306 compute the relevant hunk or file properly (Bug#6005).
7307 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7308
0d42eb3e
SM
73092012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7310
7311 * vc/vc-mtn.el:
7312 * vc/vc-hg.el:
7313 * vc/vc-git.el:
7314 * vc/vc-dir.el:
7315 * vc/vc-cvs.el:
7316 * vc/vc-bzr.el:
7317 * vc/vc-arch.el:
7318 * vc/vc.el: Replace lexical-let by lexical-binding.
7319 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7320 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7321 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7322
f08ae1c9
CY
73232012-04-26 Chong Yidong <cyd@gnu.org>
7324
8b71081d
CY
7325 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7326 (diff-mode-shared-map): Bind it to / and [remap undo].
7327
f08ae1c9
CY
7328 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7329 (ediff-window-setup-function): Use it as the default, to set up
7330 windows based on whether the current frame is graphical (Bug#2138).
7331 (ediff-choose-window-setup-function-automatically): Make obsolete.
7332
7333 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7334
ef24141c
SM
73352012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7336
cc356a5d
SM
7337 * ffap.el: Remove old code for obsolete package.
7338 (ffap-complete-as-file-p): Remove.
7339
b4ff4f1f
SM
7340 Use completion-table-with-quoting for comint and pcomplete.
7341 * comint.el (comint--unquote&requote-argument)
7342 (comint--unquote-argument, comint--requote-argument): New functions.
7343 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7344 (comint-quote-filename): Use regexp-opt-charset.
7345 (comint--common-suffix, comint--common-quoted-suffix)
7346 (comint--table-subvert): Remove.
7347 (comint-unquote-function, comint-requote-function): New vars.
7348 (comint--complete-file-name-data): Use them with
7349 completion-table-with-quoting.
7350 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7351 * pcomplete.el (pcomplete-arg-quote-list)
7352 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7353 (pcomplete-unquote-argument-function): Default to non-nil.
7354 (pcomplete-unquote-argument): Simplify.
7355 (pcomplete--common-quoted-suffix): Remove.
7356 (pcomplete-requote-argument-function): New var.
7357 (pcomplete--common-suffix): New function.
7358 (pcomplete-completions-at-point): Use completion-table-with-quoting
7359 and completion-table-subvert.
7360
79c4eeb4
SM
7361 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7362 (minibuffer--double-dollars): Preserve properties.
7363 (completion--sifn-requote): New function.
7364 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7365
ef24141c
SM
7366 * minibuffer.el: Add support for completion of quoted/escaped data.
7367 (completion-table-with-quoting, completion-table-subvert): New funs.
7368 (completion--twq-try, completion--twq-all): New functions.
7369 (completion--nth-completion): New function.
7370 (completion-try-completion, completion-all-completions): Use it.
7371
784e7d6e
LL
73722012-04-25 Leo Liu <sdl.web@gmail.com>
7373
dd2ac746
SM
7374 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7375 Use compilation-message if available to find real filename.
784e7d6e 7376
07875ee7
CY
73772012-04-25 Chong Yidong <cyd@gnu.org>
7378
7379 * vc/diff-mode.el (diff-setup-whitespace): New function.
7380 (diff-mode): Use it.
7381
7382 * vc/diff.el (diff-sentinel):
7383 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7384 Whitespace mode variables based on diff style (Bug#8612).
7385
5055880d
LL
73862012-04-25 Leo Liu <sdl.web@gmail.com>
7387
daf75653
LL
7388 * progmodes/python.el (python-send-region): Add suffix .py to the
7389 temp file.
7390
5055880d
LL
7391 * files.el (auto-mode-alist): Use javascript-mode instead.
7392
db9b177b
AH
73932012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7394
ef24141c 7395 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 7396
090bd7cb 7397 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 7398 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 7399 references, see Bug#9.
ef24141c 7400 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 7401 when receiving a fault reply.
ef24141c 7402 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 7403
090bd7cb 7404 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 7405 (soap-inspect-simple-type): New function.
db9b177b 7406
090bd7cb 7407 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 7408 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
7409 (soap-decode-basic-type, soap-encode-basic-type):
7410 support unsignedInt and double basic types.
db9b177b 7411 (soap-resolve-references-for-simple-type)
ef24141c
SM
7412 (soap-parse-simple-type, soap-encode-simple-type): New function.
7413 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 7414
090bd7cb 7415 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
7416 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7417 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7418 the local name of "soapenc:Array".
7419 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
7420 decoding integer, byte and anyURI xsd types.
7421
1fc6097b
CY
74222012-04-25 Chong Yidong <cyd@gnu.org>
7423
7424 * cus-edit.el (custom-buffer-create-internal): Update header text.
7425
afc6df87
EZ
74262012-04-25 Eli Zaretskii <eliz@gnu.org>
7427
7428 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7429 settings on 'system-type', not on 'window-system'. On MS-Windows,
7430 set interactive-mode on in GDB.
7431
dfbd787f
SM
74322012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7433
7434 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7435 (ruby-syntax-propertize-regexp): Remove.
7436 (ruby-syntax-propertize-function): Split regexp into chunks.
7437 Match following code directly.
7438
85222d44
DG
74392012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7440
51a8ea2a
DG
7441 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7442 (ruby-syntax-propertize-regexp): New function.
7443 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7444 by a special keyword.
7445
85222d44
DG
7446 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7447 (ruby-syntax-general-delimiters-goto-beg)
7448 (ruby-syntax-propertize-general-delimiters): New functions.
7449 (ruby-syntax-propertize-function): Use them to handle GDL.
7450 (ruby-font-lock-keywords): Move old handling of GDL...
7451 (ruby-font-lock-syntactic-keywords): .. to here.
7452 (ruby-calculate-indent): Adjust indentation for GDL.
7453
b613912b
MA
74542012-04-24 Michael Albinus <michael.albinus@gmx.de>
7455
b5380639
MA
7456 * notifications.el (top): Remove unneeded declarations.
7457 (notifications-specification-version): Change to "1.2".
e43042fe 7458 (notifications-interface, notifications-notify-method)
b613912b
MA
7459 (notifications-close-notification-method): Fix docstring.
7460 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
7461 (notifications-notify): Add :action-items, :resident and
7462 :transient hints. Change "image_data" to "image-data" and
7463 "image_path" to "image-path".
b613912b
MA
7464 (notifications-get-capabilities): New defun.
7465
257440aa
LL
74662012-04-24 Leo Liu <sdl.web@gmail.com>
7467
7468 * progmodes/python.el: Move hideshow setup to the end.
7469
b1bac16e
MR
74702012-04-24 Martin Rudalics <rudalics@gmx.at>
7471
7472 * window.el (handle-select-window): Clear echo area since this is
7473 no more done by read_char (Bug#11304).
7474
d81bd059
SM
74752012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7476
7477 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7478 and `/ M' to filter-derived-mode.
7479 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7480 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7481 (ibuffer-mark-by-mode): Use default rather than initial-input.
7482 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7483
c4cf6d91
IA
74842012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7485
7486 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7487 (ibuffer-filter-by-derived-mode): New filter.
7488 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7489
7511ded8
CY
74902012-04-23 Andreas Politz <politza@fh-trier.de>
7491
7492 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7493
775c916b
CY
74942012-04-23 Chong Yidong <cyd@gnu.org>
7495
7496 * cus-edit.el (customize-apropos, customize-apropos-options):
7497 Disable matching of non-option variables (Bug#11176).
7498 (customize-option, customize-option-other-window)
7499 (customize-changed-options): Doc fix.
7500 (customize-apropos-options, customize-apropos-faces)
7501 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7502
7503 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 7504 Fix word list splitting (Bug#11132).
46c71e23
CY
7505 (apropos-symbol, apropos-keybinding, apropos-label)
7506 (apropos-property, apropos-function-button)
7507 (apropos-variable-button, apropos-misc-button): New faces.
7508 (apropos-symbol-face, apropos-keybinding-face)
7509 (apropos-label-face, apropos-property-face, apropos-match-face):
7510 Variables removed (Bug#8396).
7511 (apropos-library-button, apropos-format-plist, apropos-print)
7512 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 7513
2df41f9c
MA
75142012-04-23 Michael Albinus <michael.albinus@gmx.de>
7515
7516 * net/xesam.el (xesam-mode-map): Use let-bound map in
7517 initialization. (Bug#11292)
7518
da00640a
AM
75192012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7520
7521 Preserve ispell session localwords when switching back to
7522 original buffer.
7523
090bd7cb
JB
7524 * textmodes/ispell.el (ispell-buffer-session-localwords):
7525 New buffer-local variable to hold buffer session localwords.
ed9265fc 7526 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
7527 localwords.
7528 (ispell-command-loop, ispell-change-dictionary)
7529 (ispell-buffer-local-words): Preserve session localwords when
7530 needed.
7531
090bd7cb
JB
7532 * textmodes/flyspell.el (flyspell-process-localwords)
7533 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 7534
f621ccf5
AM
75352012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7536
090bd7cb
JB
7537 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7538 using obsolete `translation-table-for-input'.
ef24141c
SM
7539 (ispell-word, ispell-process-line, ispell-complete-word):
7540 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 7541
c2d1019e
CY
75422012-04-22 Chong Yidong <cyd@gnu.org>
7543
7544 * cus-edit.el (custom-variable-menu)
7545 (custom-variable-reset-saved, custom-face-menu)
7546 (custom-face-reset-saved): If there is no saved value, make the
7547 "reset-saved" operation bring back the default (Bug#9509).
7548 (custom-face-state): Properly detect themed faces.
7549
eeddc531
CY
7550 * faces.el (face-spec-set): Stop supporting deprecated form of
7551 third arg.
7552
dcbf5805
MA
75532012-04-22 Michael Albinus <michael.albinus@gmx.de>
7554
7555 Move functions from C to Lisp. Make non-blocking method calls
7556 the default. Implement further D-Bus standard interfaces.
7557
ef24141c
SM
7558 * net/dbus.el (dbus-message-internal): Declare function.
7559 Remove unneeded function declarations.
dcbf5805
MA
7560 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7561 (dbus-message-type-method-return, dbus-message-type-error)
7562 (dbus-message-type-signal): Declare variables. Remove local
7563 definitions.
7564 (dbus-interface-dbus, dbus-interface-peer)
7565 (dbus-interface-introspectable, dbus-interface-properties)
7566 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7567 Adapt docstring.
7568 (dbus-interface-objectmanager): New defconst.
7569 (dbus-call-method, dbus-call-method-asynchronously)
7570 (dbus-send-signal, dbus-method-return-internal)
7571 (dbus-method-error-internal, dbus-register-service)
7572 (dbus-register-signal, dbus-register-method): New defuns, moved
7573 from dbusbind.c
7574 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
7575 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7576 New defuns.
dcbf5805
MA
7577 (dbus-call-method-non-blocking): Make it an obsolete function.
7578 (dbus-unregister-object, dbus-unregister-service)
7579 (dbus-handle-event, dbus-register-property)
7580 (dbus-property-handler): Obey the new structure of
7581 `bus-registered-objects'.
7582 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
7583 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7584 Use `dbus-call-method'.
7585
cf20dee0
CY
75862012-04-22 Chong Yidong <cyd@gnu.org>
7587
7588 * cus-edit.el (custom-commands, custom-reset-menu)
7589 (Custom-reset-standard): Tweak labels.
7590 (custom-reset-button-menu): Change default to t.
7591 (custom-buffer-create-internal): For the custom-reset-button-menu
7592 case, put the revert button first.
7593 (custom-group-subtitle): New face.
7594 (custom-group-value-create): Align docstring to a specific column.
7595
7596 * wid-edit.el (widget-documentation-link-add): Don't handle
7597 indentation in this function.
7598 (widget-documentation-string-indent-to): New function.
7599 (widget-documentation-string-value-create): Use it.
7600
7601 * autorevert.el (auto-revert):
7602 * epg-config.el (epg):
7603 * ibuffer.el (ibuffer):
7604 * mpc.el (mpc):
7605 * ses.el (ses):
7606 * eshell/eshell.el (eshell):
7607 * net/ange-ftp.el (ange-ftp):
7608 * progmodes/ebnf2ps.el (postscript):
7609 * progmodes/flymake.el (flymake):
7610 * progmodes/prolog.el (prolog):
7611 * progmodes/verilog-mode.el (verilog-mode):
7612 * progmodes/which-func.el (which-func):
7613 * term/xterm.el (xterm):
7614 * textmodes/picture.el (picture):
7615 * textmodes/tildify.el (tildify):
7616 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7617 customization buffers.
7618
583e23bd
AM
76192012-04-22 Alan Mackenzie <acm@muc.de>
7620
7621 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7622 Adding a ) can hide the resulting (..) from searches. Fix it.
7623 Bound the backward search to the position of the existing (.
7624
7dd51bf1
JB
76252012-04-21 Juanma Barranquero <lekktu@gmail.com>
7626
7627 * progmodes/verilog-mode.el (verilog-mode): Check whether
7628 which-func-modes is t before adding verilog-mode.
7629 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7630
d64a438f
LL
76312012-04-21 Leo Liu <sdl.web@gmail.com>
7632
7dd51bf1 7633 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 7634
081e8d65
MV
76352012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
7636
7637 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
7638 filling of the last column of a table (Bug#5635).
7639 (woman-find-next-control-line): New arg, specifying an additional
7640 regexp component for the control line.
7641 (woman2-roff-buffer): Use it.
7642 (woman-break-table): New function.
7643 (woman2-TS): Use it.
7644
76452012-04-21 Chong Yidong <cyd@gnu.org>
7646
7647 * woman.el (woman-set-buffer-display-table, woman-decode-region)
7648 (woman-horizontal-escapes, woman-negative-vertical-space)
7649 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
7650 (WoMan-warn-ignored): Use ?\s instead of ?\ .
7651
ed571ccb
SM
76522012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7653
7654 * minibuffer.el (completion-file-name-table): Complete user names.
7655
39773899
LL
76562012-04-20 Leo Liu <sdl.web@gmail.com>
7657
7658 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
7659 and pcase-let*.
7660
de6ff46d
CY
76612012-04-20 Chong Yidong <cyd@gnu.org>
7662
7663 * server.el (server-execute): Respect initial-buffer-choice if it
7664 is a string and there are no files to open (Bug#2825).
7665 (server-create-window-system-frame, server-create-tty-frame):
7666 Don't switch buffers here.
2d0e8e61
CY
7667 (server-process-filter): Only try to open a window system frame if
7668 compiled with graphical support (Bug#8314).
de6ff46d 7669
54071013
DN
76702012-04-20 Dan Nicolaescu <dann@gnu.org>
7671
7672 * battery.el (battery-echo-area-format): Display remaining time
7673 for sysfs backend too (Bug#11269).
7674 (battery-linux-sysfs): Fix conditional for the charge.
7675
f30d612a
CY
76762012-04-20 Chong Yidong <cyd@gnu.org>
7677
c07a4c0b 7678 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
7679 (gdb-inferior-io--init-proc): New function.
7680 (gdb-init-1): Use it.
7681 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
7682 responsible for allocating a new pty and hooking it to gdb when
7683 the old pty gets an EIO due to process exit.
7684 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
7685 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
7686 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
7687
2116e93c
EZ
76882012-04-20 Eli Zaretskii <eliz@gnu.org>
7689
7690 * window.el (window-min-size, window-sizable, window-min-delta)
7691 (window-max-delta, window--resizable, window-resizable)
7692 (window-total-size, window-full-height-p, window-full-width-p)
7693 (window-in-direction, window--resize-mini-window, window-resize)
7694 (window--resize-child-windows-normal)
7695 (window--resize-child-windows, window--resize-siblings)
7696 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 7697 (enlarge-window, shrink-window): Doc fixes.
2116e93c 7698
c07a4c0b 76992012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 7700
ef24141c
SM
7701 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
7702 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
7703 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
7704 pty process (Bug#11273).
7705 (gdb-update): New arg to suppress talking to the gdb process.
7706 (gdb-done-or-error): Use it.
7707 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
7708 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
7709 sentinel not being called.
7710
7711 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
7712
d02766ab
CY
7713 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
7714
c07a4c0b 77152012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
7716
7717 * net/network-stream.el (open-network-stream): Doc fix.
7718
c07a4c0b 77192012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
7720
7721 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
7722
c07a4c0b 77232012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
7724
7725 Ensure searching for keywords is case sensitive.
7726
7727 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
7728 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
7729 (c-defun-name, c-mark-function, c-cpp-define-name)
7730 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 7731 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 7732
ef24141c
SM
7733 * progmodes/cc-mode.el (c-font-lock-fontify-region):
7734 Bind case-fold-search to nil.
f0f6bc35 7735
c07a4c0b 77362012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
7737
7738 * mail/sendmail.el (mail-bury): Call return action with the right
7739 Rmail buffer (Bug#11242).
7740
9a864fa2
CY
7741 * server.el (server-process-filter): Handle corner case where both
7742 tty and nowait options are present (Bug#11102).
7743
539aa513
EZ
77442012-04-20 Eli Zaretskii <eliz@gnu.org>
7745
7746 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
7747 (top level): Put into the executable the ident-style '$Id:' tag on
7748 windows-nt as well.
539aa513 7749
cfc7d5da
SM
77502012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7751
7752 * electric.el (electric-indent-post-self-insert-function): Check that
7753 electric-indent-mode is enabled in current buffer.
7754
5b01685c
JB
77552012-04-19 Juanma Barranquero <lekktu@gmail.com>
7756
7757 * imenu.el (imenu-progress-message): Restore; it is "used" in
7758 erc/erc-imenu.el and net/snmp-mode.el.
7759
4d6769e1
JB
77602012-04-19 Juanma Barranquero <lekktu@gmail.com>
7761
7762 * avoid.el (mouse-avoidance-mode): Mark unused arg.
7763 (mouse-avoidance-nudge-mouse): Remove unused binding.
7764
7765 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
7766
7767 * descr-text.el (describe-char):
7768 * progmodes/python.el (python-describe-symbol):
7769 Don't call `toggle-read-only', set `buffer-read-only'.
7770
7771 * imenu.el (imenu-default-goto-function): Mark unused args.
7772 (imenu-progress-message): Remove obsolete macro; all callers changed.
7773
7774 * subr.el (keymap-canonicalize): Remove unused binding.
7775 (read-passwd): Mark unused arg.
7776
7777 * tutorial.el (tutorial--display-changes): Remove unused binding.
7778 (tutorial--save-tutorial-to): Remove unused variable.
7779
7780 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
7781 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
7782 (package-generate-autoloads, package-menu--generate)
7783 (package-menu--find-upgrades): Remove unused bindings.
7784
7785 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
7786 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
7787 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
7788 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
7789 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
7790 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
7791 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
7792 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
7793 (cua-delete-char-rectangle): Mark unused args.
7794 (cua-align-rectangle): Remove unused binding.
7795
7796 * mail/rmail.el (compilation--message->loc)
7797 (epa--find-coding-system-for-mime-charset): Declare.
7798
7799 * net/dbus.el (dbus-register-service): Declare.
7800 (dbus-name-owner-changed-handler): Remove unused binding.
7801
7802 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
7803 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
7804 (nxml-scan-backward-within): Mark unused arg.
7805 (nxml-dynamic-markup-word): Remove unused binding.
7806
7807 * mouse.el (mouse-menu-major-mode-map):
7808 * emacs-lisp/authors.el (authors-scan-change-log)
7809 (authors-add-to-author-list):
7810 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
7811 * emacs-lisp/smie.el (smie-auto-fill):
7812 * mail/sendmail.el (mail-bury):
7813 * mail/unrmail.el (unrmail):
7814 * net/tls.el (open-tls-stream):
7815 * textmodes/picture.el (picture-mouse-set-point):
7816 Remove unused bindings.
7817
8c8fc5df
MA
78182012-04-19 Michael Albinus <michael.albinus@gmx.de>
7819
7820 * net/tramp.el (tramp-action-password): Let-bind
7821 `enable-recursive-minibuffers' to t.
7822
a77b0ac9
SS
78232012-04-18 Sam Steingold <sds@gnu.org>
7824
7825 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
7826 instead of 'string to accommodate values like [f11].
7827 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
7828 * progmodes/gdb-mi.el: Likewise.
7829
12a106a9
LL
78302012-04-18 Leo Liu <sdl.web@gmail.com>
7831
7832 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
7833 current buffer.
7834 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
7835 LOCAL is nil.
7836
bc6494ef
CY
78372012-04-18 Chong Yidong <cyd@gnu.org>
7838
7839 * simple.el (line-move): Use forward-line if in batch mode
7840 (Bug#11053).
7841
c09c46b2
CS
78422012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
7843
7844 * files.el (after-find-file): Do not try to add a final newline if
7845 the buffer is read-only (Bug#11156).
7846
5f6530ea
RS
78472012-04-17 Richard Stallman <rms@gnu.org>
7848
7849 * mail/rmail.el (rmail-start-mail):
7850 Pass (rmail-mail-return...) for the return-action.
7851 Pass (rmail-yank-current-message...) for the yank-action.
7852 (rmail-yank-current-message): New function.
7853 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
7854 (rmail-reply): Likewise.
7855 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
7856
7857 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 7858 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
7859 buffer, not newbuf.
7860
197b6f3c
JB
78612012-04-17 Juanma Barranquero <lekktu@gmail.com>
7862
7863 * server.el (server-ensure-safe-dir): Simplify.
7864
2311d8e5 78652012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 7866
2311d8e5
GM
7867 * emacs-lisp/smie.el: Provide smarter auto-filling.
7868 (smie-auto-fill): New function.
7869 (smie-setup): Use it.
98fb480e 7870
2311d8e5
GM
7871 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
7872
78732012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
7874
7875 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
7876 (comment-indent): Use it.
7877
2311d8e5 78782012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
7879
7880 * ses.el: The overall change is to add cell renaming, that is
7881 setting fancy names for cell symbols other than name matching
7882 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 7883 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 7884 (ses-create-cell-variable): New defun.
2311d8e5 7885 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
7886 (ses-relocate-formula): Relocate formulas only for cells the
7887 symbols of which are not renamed, i.e. symbols whose names do not
7888 match regexp "\\`[A-Z]+[0-9]+\\'".
7889 (ses-relocate-all): Relocate values only for cells the symbols of
7890 which are not renamed.
7891 (ses-load): Create cells variables as the (ses-cell ...) are read,
7892 in order to check row col consistency with cell symbol name only
7893 for cells that are not renamed.
7894 (ses-replace-name-in-formula): New defun.
7895 (ses-rename-cell): New defun.
4bdf2ad2 7896
fc72b15c
PO
78972012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
7898
7899 * progmodes/perl-mode.el (perl-indent-parens-as-block):
7900 New option (bug#11118).
7901 (perl-calculate-indent): Respect it.
7902
12e10e61
GM
79032012-04-17 Glenn Morris <rgm@gnu.org>
7904
7905 * dired-aux.el (dired-mark-read-string): Doc fix.
7906
30009afd
DA
79072012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
7908
7909 * dired-aux.el (dired-mark-read-string): Offer optional completion.
7910 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
7911
41f03f4d
GM
79122012-04-17 Glenn Morris <rgm@gnu.org>
7913
7914 * mouse.el (mouse-drag-track):
7915 * speedbar.el (speedbar-frame-mode):
7916 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
7917
f45f90f3
LL
79182012-04-16 Leo Liu <sdl.web@gmail.com>
7919
7920 * progmodes/python.el: Trivial cleanup.
7921
94ee8db5
GM
79222012-04-16 Glenn Morris <rgm@gnu.org>
7923
121b8917
GM
7924 * vc/vc.el (vc-string-prefix-p):
7925 * vc/pcvs-util.el (cvs-string-prefix-p):
7926 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
7927 * mpc.el (mpc-string-prefix-p):
7928 Make all of these into obsolete aliases for string-prefix-p.
7929 Update callers.
7930 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
7931
1197ecfa
GM
7932 * textmodes/two-column.el: Move custom options to the start.
7933 (frame-width): Remove compat definition.
7934 (2C-associate-buffer, 2C-dissociate):
7935 Use with-current-buffer rather than save-excursion.
7936 (2C-dissociate): Force a mode-line update.
7937 (2C-autoscroll): Use ignore-errors.
7938
099e7202
GM
7939 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
7940 Autoload trivia.
7941
bf350d6a
GM
7942 * emacs-lisp/cl-extra.el (*random-state*):
7943 Remove unnecessary declaration.
7944
0e829eab
GM
7945 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
7946
e3ad7552
GM
7947 * play/cookie1.el (cookie-snarf):
7948 Give an explicit error if input file cannot be read.
7949
68892d27
GM
7950 * play/yow.el (yow-file): Use expand-file-name rather than concat.
7951
20f0c46d
GM
7952 * progmodes/perl-mode.el (c-macro-expand):
7953 Remove unnecessary autoload (it is in loaddefs.el).
7954
5a0978ce
GM
7955 * textmodes/picture.el (picture-desired-column)
7956 (picture-update-desired-column): Convert comments to doc-strings.
7957 (picture-substitute): Remove function.
7958 (picture-mode-map): Initialize in the defvar.
7959
6b955486
GM
7960 * woman.el: Remove eval-after-load for tar-mode.
7961 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
7962 (woman-tar-extract-file): Autoload it.
7963
94ee8db5
GM
7964 * frame.el (automatic-hscrolling): Make this alias obsolete.
7965
177eca34
AM
79662012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7967
090bd7cb 7968 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 7969 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
7970 (ispell-dictionary-base-alist): Revert to original XEmacs
7971 friendly version for default. [:alpha:] will be added in
090bd7cb 7972 `ispell-set-spellchecker-params' if needed.
177eca34 7973
c505aaeb
CY
79742012-04-16 Chong Yidong <cyd@gnu.org>
7975
b19dd9d1 7976 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
7977 (imagemagick-register-types): Use it.
7978 (imagemagick-types-inhibit): Add :set function. Allow new value
7979 of t to inhibit all types.
7980
7981 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
7982 so we can preload it.
7983
7984 * loadup.el (fboundp): Preload regexp-opt, needed by
7985 imagemagick-register-types.
7986
60efac0f
CY
79872012-04-15 Chong Yidong <cyd@gnu.org>
7988
7989 * frame.el (scrolling): Remove nearly unused customization group.
7990
7991 * scroll-all.el (scroll-all-mode): Move to windows group.
7992
5dd1713e
CY
79932012-04-15 Chong Yidong <cyd@gnu.org>
7994
7995 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
7996
e6fd457e
CY
79972012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7998
7999 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 8000 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 8001
e153c136
GM
80022012-04-15 Glenn Morris <rgm@gnu.org>
8003
8004 * simple.el (process-file-side-effects): Doc fix.
8005
e6fd457e 80062012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
8007
8008 * international/mule-cmds.el (set-language-environment): Doc fix.
8009
3603c3b1
JB
80102012-04-14 Juanma Barranquero <lekktu@gmail.com>
8011
8012 * server.el (server-auth-key, server-generate-key): Doc fixes.
8013 (server-get-auth-key): Doc fix. Use `string-match-p'.
8014 (server-start): Reflow docstring.
8015
e6de100c
LI
80162012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8017
8018 * server.el (server-generate-key): `called-interactively-p'
8019 requires a parameter.
8020
29734c21
MN
80212012-04-14 Michal Nazarewicz <mina86@mina86.com>
8022
8023 * server.el (server-auth-key): New variable.
75f1671a 8024 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
8025 (server-start): Use the new variable and functions to allow
8026 setting a permanent server key (bug#9423).
8027
d65c9521
LL
80282012-04-14 Leo Liu <sdl.web@gmail.com>
8029
8030 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8031
5ae255c7
PE
80322012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8033
8034 Spelling fixes.
8035 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8036 Emacs uses American spelling.
8037
d5e6342e
JB
80382012-04-14 Juanma Barranquero <lekktu@gmail.com>
8039
8040 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8041 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8042 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8043 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8044
ab036cd7
SM
80452012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8046
8047 * progmodes/which-func.el (which-func-modes): Change default.
8048
35dc09a1 80492012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
8050
8051 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8052 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8053
35dc09a1 80542012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
8055
8056 * custom.el (custom-theme-set-variables): Doc fix.
8057
35dc09a1 80582012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
8059
8060 * international/mule.el (set-auto-coding-for-load): Doc fix.
8061
35dc09a1 80622012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 8063
35dc09a1
GM
8064 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8065 imenu work again for Objective C Mode. Correct the *-index values,
8066 these having been disturbed by a previous change in 2011-08.
57f845ee 8067
0de3da9f
AM
8068 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8069 Correct two search limits.
8070
35dc09a1 80712012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
8072
8073 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8074
35dc09a1 80752012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
8076
8077 * international/characters.el: Fix sorting.
8078
35dc09a1 80792012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
8080
8081 * international/characters.el: Add more missing Latin case pairs.
8082
35dc09a1 80832012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
8084
8085 * files.el (dir-locals-set-class-variables): Doc fix.
8086
35dc09a1 80872012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 8088
3f1b5bf8
EZ
8089 * international/characters.el: Add set-case-syntax-pair call for
8090 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8091 counterpart. (Bug#11209)
8092
9f847f41
EZ
8093 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8094
35dc09a1 80952012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
8096
8097 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8098
35dc09a1 80992012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 8100
35dc09a1
GM
8101 * textmodes/ispell.el (ispell-dictionary-base-alist):
8102 Add data for Hebrew.
e2627d21 8103
35dc09a1 81042012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 8105
35dc09a1
GM
8106 * net/rcirc.el (rcirc-cmd-quit):
8107 Revert 2012-03-18 change (Bug#11192).
5c14e333 8108
35dc09a1 81092012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
8110
8111 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8112
35dc09a1 81132012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 8114
4517fe3a
SM
8115 * minibuffer.el (completion-in-region-mode-map):
8116 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 8117
b472a594
VD
81182012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8119
8120 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8121
09b95ce3
MY
81222012-04-13 Masatake YAMATO <yamato@redhat.com>
8123
8124 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8125 to allow `C-M-f' and `C-M-b' to move to the nearest path
8126 separator (bug#9511).
8127
4b63a9ca
LI
81282012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8129
8130 * avoid.el: Require cl when compiling. And also move the
8131 `provide' to the end.
8132
7b55b8bf
TV
81332012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8134
8135 * avoid.el (mouse-avoidance-banish-position): New variable.
8136 (mouse-avoidance-banish-destination): Use it (bug#10165).
8137
adedaa1f
LL
81382012-04-13 Leo Liu <sdl.web@gmail.com>
8139
8140 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8141
70e74021
KB
81422012-04-13 Ken Brown <kbrown@cornell.edu>
8143
8144 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 8145 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
8146 (browse-url-filename-alist): For the same reason, don't modify
8147 file:// URLs on Cygwin.
8148
e75e89ba
SM
81492012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8150
8151 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8152 the region on shift if the binding is already shifted (bug#11221).
8153
82f289a4
GM
81542012-04-12 Glenn Morris <rgm@gnu.org>
8155
8156 * mail/mailpost.el: Move to obsolete/.
8157
d333dc4c
DA
81582012-04-12 Drew Adams <drew.adams@oracle.com>
8159
8160 * imenu.el (imenu--generic-function): Ignore invisible definitions
8161 (bug#10123).
8162
0d15b5ba
VD
81632012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8164
8165 * hexl.el (hexl-bits): New variable.
8166 (hexl-options): Mention the variable in the doc string.
75f1671a 8167 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 8168 (hexl-mode): Mention the new variable.
75f1671a
JB
8169 (hexl-mode, hexl-current-address, hexl-current-address):
8170 Use the displen.
0d15b5ba
VD
8171 (hexl-ascii-start-column): New function.
8172 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8173 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8174
64a440db
AM
81752012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8176
8177 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8178 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8179 the encoding, as expected by hunspell.
8180
6decb6c2
SM
81812012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8182
8183 * battery.el (battery--linux-sysfs-regexp): New const.
8184 (battery-status-function): Use it. Remove yeeloong special case.
8185 (battery-yeeloong-sysfs): Remove.
8186 (battery-echo-area-format): Remove yeeloong special case.
8187
088be6fb
SM
81882012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8189
6622e416
SM
8190 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8191 Reported by Noah Friedman.
8192
088be6fb
SM
8193 * subr.el (read-passwd): Use read-string.
8194
b49f886e
LMI
81952012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8196
8197 * vcursor.el (vcursor-move): Increase the priority of the overlay
8198 (bug#9663).
8199
a63067fc
DD
82002012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8201
8202 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8203 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8204
ac3cf14a
WS
82052012-04-11 William Stevenson <yhvh2000@gmail.com>
8206
8207 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8208 define-minor-mode (bug#10760).
8209
c4fc691b 82102012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 8211
4d6769e1 8212 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
8213 that directories matching `grep-find-ignored-files' won't be
8214 pruned (bug#10351).
8215
af23e2e5
CY
82162012-04-11 Chong Yidong <cyd@gnu.org>
8217
8218 * startup.el (command-line): Remove support for long-obsolete
8219 variable font-lock-face-attributes.
8220
ab7ce8c1
GM
82212012-04-11 Glenn Morris <rgm@gnu.org>
8222
8223 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8224
de8c03dc
SM
82252012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8226
8227 * window.el (window--state-get-1): Obey window-point-insertion-type.
8228
050cc68b
LB
82292012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8230
8231 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8232 to previous function when point is on the first character of a
75f1671a 8233 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 8234
a38c310c
GM
82352012-04-11 Glenn Morris <rgm@gnu.org>
8236
effed0c2
GM
8237 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8238 not just file-errors.
8239
a38c310c
GM
8240 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8241 (vc-bzr-sha1): Use internal sha1.
8242
0221e323
SM
82432012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8244
8245 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8246
43956923
SG
82472012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8248
8249 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8250 that start in the middle of the line (bug#10496).
8251
6a8c9eaf
DN
82522012-04-10 Dan Nicolaescu <dann@gnu.org>
8253
8254 * battery.el (battery-linux-proc-acpi): Only one battery is
8255 discharged at a time, but that seems to confuse battery.el when
8256 computing `rate-type' for the battery not being discharged
8257 (bug#10332).
8258
1930bf5d
SM
82592012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8260
2a718f6f
SM
8261 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8262
599430d0
SM
8263 * international/quail.el: Use dolist and simplify.
8264 (quail-define-package, quail-update-keyboard-layout)
8265 (quail-define-rules): Use dolist.
8266 (quail-insert-kbd-layout, quail-get-translation): CSE.
8267
a2754b6c
SM
8268 * tmm.el: Use dolist, remove left over hook.
8269 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8270 Use dolist.
8271 (calendar-load-hook): Don't mess with it.
8272
1930bf5d
SM
8273 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8274 Use derived-mode-p. Run the diff asynchronously.
8275
9f67961c
LMI
82762012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8277
8278 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8279
2a8ce227
JB
82802012-04-10 Juanma Barranquero <lekktu@gmail.com>
8281
8282 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8283 (list-dynamic-libraries--loaded): New function.
8284 (list-dynamic-libraries--refresh): Use it.
8285
8f33b5f8
NW
82862012-04-10 Nathan Weizenbaum <nweiz@google.com>
8287
1930bf5d
SM
8288 * progmodes/python.el (python-fill-paragraph):
8289 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
8290 disabled (bug#7018).
8291
b12f0439
L
82922012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
8293
1930bf5d 8294 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
8295 DOS/MS Windows for the Baltic languages. There are still plenty
8296 of texts written in this encoding/codepage (bug#6519).
b12f0439 8297
57c3bd01
GM
82982012-04-10 Glenn Morris <rgm@gnu.org>
8299
8300 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8301 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8302
6c3eab30
FA
83032012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8304
1930bf5d 8305 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
8306 next-line "n" and previous-line "p" in order to make recentf more
8307 consistent with ibuffer, dired or org-mode (bug#9387).
8308
24d78a88
LMI
83092012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8310
bc72b5d9
LMI
8311 * image.el (put-image): Return the overlay created instead of the
8312 optional input string (bug#7834). Note that this may break code
8313 that is (for some reason or other) depending on `put-image'
8314 returning the string.
8315
bd2dba5a
LMI
8316 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8317
74beb59f
LMI
8318 * simple.el (zap-to-char): Allow zapping using input methods
8319 (bug#1580).
8320
24d78a88
LMI
8321 * textmodes/fill.el (fill-region): Leave point and mark where they
8322 were before filling (bug#5399).
8323
263f20cd
GM
83242012-04-09 Glenn Morris <rgm@gnu.org>
8325
8326 * version.el (emacs-bzr-get-version):
8327 Handle lightweight checkouts of local branches.
8328
58d1f797
AS
83292012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8330
263f20cd 8331 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 8332
b4d3bc10
CY
83332012-04-09 Chong Yidong <cyd@gnu.org>
8334
8335 * custom.el (custom-variable-p): Return nil for non-symbol
8336 arguments instead of signaling an error.
8337 (user-variable-p): Obsolete alias for custom-variable-p.
8338
8339 * apropos.el (apropos-variable):
8340 * files-x.el (read-file-local-variable):
8341 * simple.el (set-variable):
8342 * woman.el (woman-mini-help):
8343 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8344
fd06db5d
GM
83452012-04-09 Glenn Morris <rgm@gnu.org>
8346
e5fcdb5e
GM
8347 * startup.el (normal-top-level): Don't look for leim-list.el
8348 in places where it will not be found. (Bug#910)
8349
fd06db5d
GM
8350 * international/mule-cmds.el (set-default-coding-systems):
8351 * files.el (normal-mode):
8352 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8353 This function was removed with ucs-tables.el in 2008.
8354
b39bb7e1
EZ
83552012-04-08 Eli Zaretskii <eliz@gnu.org>
8356
8357 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8358 ispell-encoding8-command to "-i", without a trailing space.
8359 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8360 separate command-line arguments, to specify the encoding, since
8361 that's how hunspell expects it.
8362
5c5b8e23
GM
83632012-04-08 Glenn Morris <rgm@gnu.org>
8364
8365 * loadup.el: Load bindings before cus-start.
8366 This reduces somewhat the number of "rogue" settings in emacs -Q.
8367
a1ed8b05
GM
83682012-04-07 Glenn Morris <rgm@gnu.org>
8369
8370 * version.el (emacs-bzr-get-version): New function.
dfae128a 8371 (emacs-bzr-version): New variable.
a1ed8b05
GM
8372 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8373 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8374
b142f158
EZ
83752012-04-07 Eli Zaretskii <eliz@gnu.org>
8376
dfae128a
GM
8377 * international/uni-bidi.el, international/uni-category.el:
8378 * international/uni-combining.el, international/uni-decimal.el:
8379 * international/uni-decomposition.el, international/uni-digit.el:
8380 * international/uni-lowercase.el, international/uni-mirrored.el:
8381 * international/uni-name.el, international/uni-numeric.el:
8382 * international/uni-titlecase.el, international/uni-uppercase.el:
8383 Update for Unicode 6.1.
b142f158 8384
9078ead6
EZ
83852012-04-07 Eli Zaretskii <eliz@gnu.org>
8386
8387 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8388
f23d2c7d
LMI
83892012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8390
8391 * window.el (shrink-window): Mention the `window-min-height'
8392 variable in the doc string.
8393
0a0a3573
BG
83942012-04-05 Bastien Guerry <bzg@altern.org>
8395
8396 * color.el (color-lighten-name): Fix typo.
8397
e5248ac9
SM
83982012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8399
8400 * server.el (server--on-display-p): New function.
8401 (server--on-display-p): Use it.
8402
b4243e22
GV
84032012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8404
8405 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8406 (bug#11145).
8407
305d9f44
SM
84082012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8409
8410 * comint.el (comint--common-quoted-suffix): Check string boundary
8411 before comparing (bug#11158).
8412 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8413
3d439cd1
CY
84142012-04-04 Chong Yidong <cyd@gnu.org>
8415
321cc491
CY
8416 * minibuffer.el (completion-extra-properties): Doc fix.
8417
3d439cd1
CY
8418 * subr.el (delayed-warnings-hook): Doc fix.
8419
2d562c0f
DU
84202012-04-04 Daiki Ueno <ueno@unixuser.org>
8421
8422 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8423 selection (Bug#11159).
8424 (epa-insert-keys): Inform that the default public key will be
8425 exported if no key is selected.
8426
4443f204
RS
84272012-04-04 Richard Stallman <rms@gnu.org>
8428
8429 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8430
529c06b6
CY
84312012-04-03 Chong Yidong <cyd@gnu.org>
8432
8433 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8434 mail-insert-file, not its obsolete alias mail-attach-file.
8435
66b907dc
MA
84362012-04-03 Michael Albinus <michael.albinus@gmx.de>
8437
8438 * notifications.el (notifications-notify): Fix docstring.
8439
c0ea195d
GM
84402012-04-02 Glenn Morris <rgm@gnu.org>
8441
8442 * emacs-lisp/authors.el (authors-aliases): Another addition.
8443
5ca64e00
MA
84442012-04-02 Michael Albinus <michael.albinus@gmx.de>
8445
8446 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8447 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8448 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8449
42ee526b
CY
84502012-04-01 Chong Yidong <cyd@gnu.org>
8451
8452 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8453 Handle root directory properly.
8454 (copy-directory): Caller changed.
8455
8456 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8457 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8458
0b021094
GM
84592012-03-31 Glenn Morris <rgm@gnu.org>
8460
40f86458
GM
8461 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8462
7019c177
GM
8463 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8464
a1daddd6
GM
8465 * calendar/calendar.el (calendar-window-list)
8466 (calendar-hide-window): Restore. (Bug#11140)
8467 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8468
0b021094
GM
8469 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8470
40311efc
TV
84712012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8472
8473 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8474 Check if file is a symlink (Bug#10489).
8475
8476 * files.el (copy-directory): Likewise.
8477
5319014e
CY
84782012-03-30 Chong Yidong <cyd@gnu.org>
8479
8480 * image.el (imagemagick-types-inhibit)
8481 (imagemagick-register-types): Doc fix.
8482
935d1290
AM
84832012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8484
090bd7cb 8485 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 8486 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 8487 and treats ~word as ordinary words in pipe mode.
935d1290 8488
61c6e8fd
GM
84892012-03-30 Glenn Morris <rgm@gnu.org>
8490
8491 * tutorial.el (help-with-tutorial): Ensure local variables don't
8492 happen to make the buffer read-only. (Bug#11127)
8493
81fdff00
SM
84942012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8495
8496 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8497 (perl-calculate-indent): Return `noindent' in strings.
8498
6e7a6ec0
SS
84992012-03-28 Sam Steingold <sds@gnu.org>
8500
8501 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8502 instead of the broken adhockery which does not prevent calendar
8503 buffers from being displayed at random after exit.
8504 (calendar-window-list, calendar-hide-window): Remove the broken
8505 adhockery.
8506
fee88ca0
GM
85072012-03-28 Glenn Morris <rgm@gnu.org>
8508
8509 * replace.el (query-replace-map): Doc fix.
8510
38de3354
AS
85112012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8512
8513 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8514 contents. (Bug#11109)
8515
b973155e
SM
85162012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8517
8518 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8519 (bug#11077).
8520 (avl-tree--check, avl-tree--check-node): New funs.
8521
dcb6e7b3
MR
85222012-03-27 Martin Rudalics <rudalics@gmx.at>
8523
8524 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
8525 (switch-to-prev-buffer, switch-to-next-buffer):
8526 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
8527 showing a buffer already is done on the same frame.
8528
b4fa35fa
GM
85292012-03-27 Glenn Morris <rgm@gnu.org>
8530
8531 * startup.el (mail-host-address): Doc fix.
8532
f9210e18
SM
85332012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8534
8535 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8536 than 197 variables.
8537
c0bf7753
AF
85382012-03-26 Ami Fischman <ami@fischman.org>
8539
8540 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8541
33da7b16
GM
85422012-03-26 Glenn Morris <rgm@gnu.org>
8543
02243d9d
GM
8544 * files.el (save-buffers-kill-emacs): Doc fix.
8545
33da7b16
GM
8546 * startup.el (normal-top-level, command-line, command-line-1):
8547 Give them doc strings.
8548
e5a69fd0
EZ
85492012-03-25 Eli Zaretskii <eliz@gnu.org>
8550
8551 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 8552 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 8553
9a69676a
CY
85542012-03-25 Chong Yidong <cyd@gnu.org>
8555
4125cb8b
CY
8556 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8557 theme if it was previously enabled before (Bug#11031).
8558
dd470960
CY
8559 * cus-theme.el (custom-theme-write-faces): Retrieve current face
8560 spec with custom-face-get-current-spec if its :shown-value is not
8561 determined yet (Bug#9337).
4125cb8b 8562 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 8563
9a69676a
CY
8564 * button.el (button-at): Minor addition to docstring.
8565
6e7e90fa
SL
85662012-03-24 Simon Leinen <simon.leinen@gmail.com>
8567
8568 * vc/vc.el (vc-merge): Fix a prompt.
8569
f06e2758
CY
85702012-03-24 Chong Yidong <cyd@gnu.org>
8571
8572 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8573 point (Bug#9623).
8574
6e7e90fa
SL
8575 * button.el (button-at): Minor addition to docstring.
8576
b9d0879b
SM
85772012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8578
8579 * newcomment.el (comment-choose-indent): No space after BOL.
8580
e71cebb3
SS
85812012-03-22 Sam Steingold <sds@gnu.org>
8582
8583 * window.el (switch-to-prev-buffer): Revert last patch because the
8584 bug turned out to be an advertised feature (Elisp manual 28.14).
8585
335aff35
GM
85862012-03-22 Glenn Morris <rgm@gnu.org>
8587
8588 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
8589 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8590
c676576a
LMI
85912012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8592
8593 * net/network-stream.el (network-stream-open-starttls): Make error
8594 message under Windows be less misleading.
8595
126f3d39
LW
85962012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
8597
8598 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8599 understands (bug#9942).
8600
64fee311
CY
86012012-03-22 Chong Yidong <cyd@gnu.org>
8602
8603 * simple.el (end-of-visible-line): Handle return value of
8604 next-single-property-change properly (Bug#9371).
8605
a640d29a
KH
86062012-03-22 Kenichi Handa <handa@m17n.org>
8607
8608 * international/quail.el (quail-insert-kbd-layout): Fix previous
8609 change. To avoid unwanted bidi reordering, use
8610 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8611
39675016
DG
86122012-03-21 Dmitry Gutov <dgutov@yandex.ru>
8613
8614 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8615 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8616 (ruby-beginning-of-indent): Be more careful with the difference
8617 between word-boundary and symbol boundary.
8618 (ruby-mode-syntax-table): Make : a symbol constituent.
8619
0a6934fc 86202012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 8621
3d008e4f
SM
8622 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8623
0a6934fc
SM
86242012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8625
af67c9d7
SM
8626 * progmodes/etags.el (tags-completion-at-point-function):
8627 Improve last fix.
8628
1acad97c
SM
8629 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
8630
e298b5da
SS
86312012-03-21 Sam Steingold <sds@gnu.org>
8632
8633 * progmodes/etags.el (tags-completion-at-point-function):
8634 Avoid the error when point is inside the pattern.
8635
91d82a70
JY
86362012-03-21 John Yates <john@yates-sheets.org> (tiny change)
8637
8638 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
8639 line (Bug#10855).
8640
69188b79
CY
86412012-03-21 Drew Adams <drew.adams@oracle.com>
8642
8643 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
8644
99fc91fe
AK
86452012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
8646
8647 * ido.el (ido-set-current-directory, ido-read-internal)
8648 (ido-choose-completion-string, ido-completion-help): Handle nil
8649 value of ido-completion-buffer (Bug#11008).
8650
087bbb4c
SS
86512012-03-21 Sam Steingold <sds@gnu.org>
8652
8653 * window.el (switch-to-prev-buffer): Do not switch to a visible
8654 window previous buffer, just like with the frame previous buffers.
8655
fb5b8aca
CY
86562012-03-21 Chong Yidong <cyd@gnu.org>
8657
8658 * faces.el (make-face, make-empty-face, copy-face):
8659 * face-remap.el (face-remap-add-relative, face-remap-set-base):
8660 Doc fixes.
8661
dc9924b8
SM
86622012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8663
8664 * wid-edit.el (widget-complete-field): Remove (bug#11051).
8665 (widget-complete): Remove broken use of it.
8666
f0bcceb9
CY
86672012-03-20 Chong Yidong <cyd@gnu.org>
8668
dc9924b8
SM
8669 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8670 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
8671 characters.
8672
ee52ebf3
TH
86732012-03-20 Tassilo Horn <tassilo@member.fsf.org>
8674
8675 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
8676 to draw rectangles, not squares. (Regression introduced by revno
8677 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
8678
4c5779ab
CY
86792012-03-18 Chong Yidong <cyd@gnu.org>
8680
8681 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
8682 it is not yet defined (for temacs).
8683
15360934
LL
86842012-03-18 Leo Liu <sdl.web@gmail.com>
8685
735135f9
PE
8686 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
8687 prefix.
15360934 8688
d9a8eb66
EZ
86892012-03-17 Eli Zaretskii <eliz@gnu.org>
8690
8691 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
8692 (ispell-choices-win-default-height, ispell-silently-savep)
8693 (ispell-dictionary-alist, ispell-encoding8-command)
8694 (ispell-check-version, ispell-aspell-find-dictionary)
8695 (ispell-valid-dictionary-list, ispell-words-keyword)
8696 (ispell-get-word, ispell-internal-change-dictionary)
8697 (ispell-region, ispell-skip-region-list)
8698 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
8699 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
8700 (ispell-message-text-end, ispell-message)
8701 (ispell-buffer-local-parsing): Doc fix.
8702
f02ff80d
J
87032012-03-13 Jambunathan K <kjambunathan@gmail.com>
8704
8705 * htmlfontify.el: Add support for code block fontification for ODT
8706 export (Bug #9914).
8707 (hfy-optimisations): Define new option
8708 `body-text-only'
8709 (hfy-fontify-buffer): Honor above setting.
8710 (hfy-begin-span, hfy-end-span): New routines factored out form
8711 `hfy-fontify-buffer'.
8712 (hfy-begin-span-handler, hfy-end-span-handler): New variables
8713 that permit insertion of custom tags.
8714 (hfy-fontify-buffer): Use above handlers.
8715 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
8716 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 8717 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 8718 over multiple runs. This is made possible by having the caller let
f02ff80d
J
8719 bind a special variable `hfy-user-sheet-assoc'.
8720 (htmlfontify-string): New defun.
8721 (hfy-compile-face-map): Make sure that the last char in the
8722 buffer is correctly fontified.
8723 (hfy-face-resolve-face): Whitespace only change.
8724
9ac7a13f
EZ
87252012-03-17 Eli Zaretskii <eliz@gnu.org>
8726
8727 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
8728 message more clear.
8729
e2b5bdd7
LL
87302012-03-16 Leo Liu <sdl.web@gmail.com>
8731
8732 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
8733
2e492df3
AM
87342012-03-16 Alan Mackenzie <acm@muc.de>
8735
8736 Further optimise the handling of large macros.
8737
8738 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
8739 limit to a call of `c-literal-limits'.
8740 (c-determine-+ve-limit): New function.
dc9924b8
SM
8741 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
8742 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
8743 In CASE 5B, restrict a search limit to 500.
8744 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
8745
8746 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
8747 Restrict macro bounds to +-500 from after-change's BEG END.
8748
50e94f0c
LL
87492012-03-16 Leo Liu <sdl.web@gmail.com>
8750
8751 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
8752
6f09f6ed
AH
87532012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
8754
8755 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 8756 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 8757
c7e73d51
GM
87582012-03-16 Glenn Morris <rgm@gnu.org>
8759
da986230
GM
8760 * view.el (view-buffer, view-buffer-other-window)
8761 (view-buffer-other-frame): Doc fixes re special mode-class.
8762
0835f01e
GM
8763 * subr.el (eval-after-load): If named feature is provided not from
8764 a file, run after-load forms. (Bug#10946)
8765
c7e73d51
GM
8766 * calendar/calendar.el (calendar-insert-at-column):
8767 Handle non-unit-width characters a bit better. (Bug#10978)
8768
3f2eafd1
CY
87692012-03-15 Chong Yidong <cyd@gnu.org>
8770
8771 * emacs-lisp/ring.el (ring-extend): New function.
8772 (ring-insert+extend): Extend the ring correctly (Bug#11019).
8773
8774 * comint.el (comint-read-input-ring)
8775 (comint-add-to-input-history): Grow comint-input-ring lazily.
8776
103af3fe
SM
87772012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8778
663b1677
SM
8779 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
8780 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
8781
103af3fe
SM
8782 * imenu.el: Fix multiple inheritance breakage (bug#9199).
8783 (imenu-add-to-menubar): Don't add a redundant index.
8784 (imenu-update-menubar): Handle a dynamically composed keymap.
8785
899cb7cb
KY
87862012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
8787
8788 * mail/sendmail.el (mail-encode-header):
8789 Bind rfc2047-encode-encoded-words to nil.
8790
3809f91d
GM
87912012-03-13 Glenn Morris <rgm@gnu.org>
8792
8793 * calendar/calendar.el (calendar-string-spread):
8794 Handle non-unit-width characters a bit better. (Bug#10978)
8795
9e345a01
LL
87962012-03-13 Leo Liu <sdl.web@gmail.com>
8797
8798 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
8799 directory and file as argument (Bug#10822).
8800
4a07df36
KS
88012012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8802
8803 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
8804 For dynamically generated code, follow $PC.
8805 (gdb-disassembly-handler-custom): Handle no function name case.
8806
4aaa9356
TL
88072012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
8808
8809 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
8810 * emulation/ws-mode.el (ws-query-replace):
8811 * sort.el (sort-regexp-fields):
8812 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
8813
225979da
SM
88142012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8815
8816 * dabbrev.el: Fix cycle completion order (bug#10963).
8817 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
8818 (dabbrev-completion): Don't use an obarray; provide
8819 a cycle-sort-function.
8820
e2f1fdab
LL
88212012-03-12 Leo Liu <sdl.web@gmail.com>
8822
dc9924b8 8823 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
8824 (kill-do-not-save-duplicates): Doc fix.
8825
b19490ed
SM
88262012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8827
8828 * dabbrev.el: Fix cycle completion (bug#10963).
8829 Use lexical binding and wrap to 80 columns.
8830 (dabbrev-completion): Delay computing the list of completions.
8831
4b05d722
KH
88322012-03-12 Kenichi Handa <handa@m17n.org>
8833
8834 * international/quail.el (quail-insert-kbd-layout): Surround each
8835 row by LRO and PDF instead of inserting many LRMs. Pad the left
8836 and right of each non-spacing marks. Insert invisible space
8837 between lower and upper characters to prevent composition.
8838
dbbc2e69
SM
88392012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8840
8841 * minibuffer.el (minibuffer-complete): Don't get confused when the
8842 function is run twice via different commands (bug#10958).
8843 (complete-with-action): Fix docstring.
8844
292112ed
CY
88452012-03-12 Chong Yidong <cyd@gnu.org>
8846
5d1ac394
CY
8847 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
8848 (nxml-completion-at-point-function): New function.
8849 (nxml-mode): Use it.
8850 (nxml-bind-meta-tab-to-complete-flag): Default to t.
8851
292112ed
CY
8852 * emacs-lisp/package.el (package-unpack, package-unpack-single):
8853 Load generated autoloads file before byte compiling (Bug#10970).
8854 (package--make-autoloads-and-compile): New helper fun.
8855
4098f8f7
CS
88562012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
8857
8858 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
8859
8f754691
MA
88602012-03-11 Michael Albinus <michael.albinus@gmx.de>
8861
8862 * autorevert.el (auto-revert-handler): Ensure, that
8863 file-readable-p is applied only for local files or in
8864 auto-revert-tail-mode.
8865
e29ab36b
AS
88662012-03-11 Andreas Schwab <schwab@linux-m68k.org>
8867
dbbc2e69
SM
8868 * server.el (server-eval-at): Handle non-tcp connections.
8869 Decode result string.
ad0bf5b6 8870
e29ab36b
AS
8871 * server.el (server-msg-size): New constant.
8872 (server-reply-print): New function.
8873 (server-eval-and-print): Use it.
8874 (server-eval-at): Use server-quote-arg and server-unquote-arg.
8875 Handle -print-nonl.
8876
de5939ba
CS
88772012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
8878
8879 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
8880 (Bug#10987).
8881
0c93eabf
CY
88822012-03-11 Chong Yidong <cyd@gnu.org>
8883
397a688f
CY
8884 * simple.el (goto-line): Doc fix (Bug#9938).
8885
2cc775f9
CY
8886 * subr.el (save-window-excursion): Doc fix (Bug#9979).
8887
0c93eabf
CY
8888 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
8889 when finished (Bug#10963).
8890
c491fa41
MR
88912012-03-11 Martin Rudalics <rudalics@gmx.at>
8892
8893 * window.el (split-window-below): Fix bug in case where
8894 split-window-keep-point is nil (Bug#10971).
8895
300e8fa5
JL
88962012-03-11 Juri Linkov <juri@jurta.org>
8897
8898 * replace.el (replace-highlight): Set isearch-word to nil
8899 unconditionally. (Bug#10887)
8900
dbf6c5a1
EZ
89012012-03-10 Eli Zaretskii <eliz@gnu.org>
8902
8903 * net/mairix.el (mairix-replace-invalid-chars): Rename from
8904 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 8905 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
8906 (mairix-widget-create-query): Add usage information about mairix
8907 search forms: negating words, searching for substrings, etc.
8908
b9e501de
JP
89092012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
8910
8911 * international/fontset.el (font-encoding-alist): Add an entry for
8912 ksx1001 (Bug#5667).
8913
92795c91
RS
89142012-03-10 Richard Stallman <rms@gnu.org>
8915
1694e6c1
RS
8916 * mail/sendmail.el (mail-encode-header):
8917 Set rfc2047-encode-encoded-words.
8918
607e8555
RS
8919 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
8920
de3bc99a
RS
8921 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
8922 view buffer means not swapped.
8923 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
8924 (rmail-write-region-annotate): Error if real text has disappeared.
8925
92795c91
RS
8926 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
8927
699bd04e
CY
89282012-03-10 Chong Yidong <cyd@gnu.org>
8929
8930 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
8931 * emulation/cua-base.el (cua--init-keymaps):
8932 Add delete-forward-char to remappings (Bug#9666).
699bd04e 8933
570a1714
MR
89342012-03-10 Martin Rudalics <rudalics@gmx.at>
8935
dbbc2e69
SM
8936 * speedbar.el (speedbar-unhighlight-one-tag-line):
8937 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 8938
82dcf4e4
CY
89392012-03-10 Chong Yidong <cyd@gnu.org>
8940
7a2c7ca7
CY
8941 * minibuffer.el (completion-in-region, completion-help-at-point):
8942 Give the completion field overlay a high priority (Bug#6830).
8943
82dcf4e4
CY
8944 * dired.el (dired-goto-file): Recognize absolute file name
8945 listings (Bug#7126).
8946 (dired-goto-file-1): New helper function.
8947 (dired-toggle-read-only): Inhibit warnings.
8948
052e28ac
MA
89492012-03-09 Michael Albinus <michael.albinus@gmx.de>
8950
75f1671a 8951 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
8952 there are no properties.
8953
95d5e396
LL
89542012-03-09 Leo Liu <sdl.web@gmail.com>
8955
8956 * savehist.el (savehist-printable): Stricter check for string
8957 value (Bug#10937).
8958
3f018d6d
EZ
89592012-03-09 Eli Zaretskii <eliz@gnu.org>
8960
dbbc2e69
SM
8961 * mail/smtpmail.el (smtpmail-send-it):
8962 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
8963 valid mbox format.
8964
f7fd3d79
GM
89652012-03-09 Glenn Morris <rgm@gnu.org>
8966
8967 * files.el (dir-locals-find-file):
8968 Don't check result is regular, readable.
8969 (dir-locals-read-from-file): Demote errors.
8970
6ff6e72f
EZ
89712012-03-08 Eli Zaretskii <eliz@gnu.org>
8972
dbbc2e69
SM
8973 * international/quail.el (quail-insert-kbd-layout):
8974 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
8975 layout cell, to prevent their reordering by bidi display engine.
8976 For details, see the discussion in
8977 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
8978
9cec7834
AM
89792012-03-08 Alan Mackenzie <acm@muc.de>
8980
8981 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
8982 the starting position; make it extend the marked region when
8983 invoked repeatedly - all under appropriate circumstances.
8984 Fixes bugs #5525, #10906.
8985
9a40b8d4
GM
89862012-03-08 Glenn Morris <rgm@gnu.org>
8987
8988 * files.el (locate-dominating-file, dir-locals-find-file):
8989 Undo 2012-03-06 change.
8990
7a08ed35
EZ
89912012-03-07 Eli Zaretskii <eliz@gnu.org>
8992
dbbc2e69
SM
8993 * international/quail.el (quail-help):
8994 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
8995 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
8996 for the reason.
8997
5aca4f71 89982012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
8999
9000 Avoid superfluous registering of signals. (Bug#10807)
9001
9002 * notifications.el (notifications-on-action-object)
9003 (notifications-on-close-object): New defvars.
9004 (notifications-on-action-signal, notifications-on-closed-signal):
9005 Unregister the signal if not needed any longer.
9006 (notifications-notify): Register `notifications-action-signal' or
9007 `notifications-closed-signal', if :on-action or :on-close has been
9008 passed as argument.
9009
78e8b10a
CY
90102012-03-07 Chong Yidong <cyd@gnu.org>
9011
9012 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9013 non-X platforms.
9014
69481eb8
GM
90152012-03-06 Glenn Morris <rgm@gnu.org>
9016
9017 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9018 (x-disown-selection-internal, x-get-selection-internal):
9019 Doc fix (add arglist signatures). (Bug#10783)
9020
133b8e11
KS
90212012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9022
9023 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9024 Handle breakpoints with no "type".
9025
99a83064
GM
90262012-03-06 Glenn Morris <rgm@gnu.org>
9027
9028 * files.el (locate-dominating-file): Add optional predicate argument.
9029 (dir-locals-find-file): Make use of above change.
9030
17798e78
TTN
90312012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9032
9033 * info.el (Info-insert-dir): Also try "dir.gz".
9034
eb182446
GM
90352012-03-06 Glenn Morris <rgm@gnu.org>
9036
8f2114ee
GM
9037 * files.el (dir-locals-find-file):
9038 Ignore non-readable or non-regular files. (Bug#10928)
9039
eb182446
GM
9040 * files.el (locate-dominating-file): Doc fix.
9041
24679323
AS
90422012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9043
9044 * calendar/calendar.el (calendar-set-mode-line):
9045 `getenv' returns a string. (Bug#10951)
9046
01d972a9
LL
90472012-03-05 Leo Liu <sdl.web@gmail.com>
9048
109aa8a9
LL
9049 * simple.el (backward-delete-char-untabify): Constrain point to
9050 field (Bug#10939).
9051
01d972a9
LL
9052 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9053
10607bea
CY
90542012-03-05 Chong Yidong <cyd@gnu.org>
9055
9056 * simple.el (count-words): If called from Lisp, return the word
9057 count, for symmetry with `count-lines'. Arglist changed.
9058 (count-words--message): Args changed. Consolidate counting code
9059 from count-words and count-words-region.
9060 (count-words-region): Caller changed.
9061 (count-lines-region): Make it an obsolete alias.
9062
5dd11cfe
TH
90632012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9064
9065 * saveplace.el (save-place-to-alist)
9066 (save-place-ignore-files-regexp): Allow value nil to disable this
9067 feature.
9068
c349f4e6
CY
90692012-03-04 Chong Yidong <cyd@gnu.org>
9070
9071 * faces.el (face-spec-reset-face): For the default face, reset the
9072 attributes to default values (Bug#10748).
9073
e627be4c
LMI
90742012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9075
9076 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9077 previous patch: Check `message-send-mail-function', and not the
9078 default function (bug#10897).
9079
ebeabff4
MA
90802012-03-04 Michael Albinus <michael.albinus@gmx.de>
9081
a41a6cf4
MA
9082 * notifications.el (notifications-on-action-signal)
9083 (notifications-on-closed-signal): Check for unique service name of
9084 incoming event. Fix error in removing entry.
ebeabff4 9085 (top): Register for signals with wildcard service name.
a41a6cf4 9086 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 9087
c1ca42b4
CY
90882012-03-04 Chong Yidong <cyd@gnu.org>
9089
dc9924b8 9090 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 9091
ea16568d
GM
90922012-03-04 Glenn Morris <rgm@gnu.org>
9093
9094 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9095 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9096 (expand-abbrev, define-abbrev-table): Doc fixes.
9097
fbae4637
LMI
90982012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9099
9100 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9101 `message-default-send-mail-function' and not `send-mail-function'
9102 when doing the prompting for `sendmail-query-once' before sending
9103 in Message buffers (bug#10897).
9104
a1e7225c
LMI
9105 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9106 This is inconsistent with all the other stream functions, which leave
9107 the setting up to the higher levels (if so wanted) (bug#10931).
9108
56d093a9
AM
91092012-03-02 Alan Mackenzie <acm@muc.de>
9110
9111 Depessimize the handling of very large macros.
9112
9113 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9114 (c-macro-cache-syntactic): New variables to implement a one
9115 element macro cache.
9116 (c-invalidate-macro-cache): New function.
9117 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9118 Adapt to use the new cache.
9119 (c-state-safe-place): Use better the cache of safe positions.
9120 (c-state-semi-nonlit-pos-cache)
9121 (c-state-semi-nonlit-pos-cache-limit):
9122 New variables for...
9123 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9124 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
9125 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9126 Use c-state-semi-safe-place.
56d093a9 9127
dbbc2e69
SM
9128 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9129 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 9130
817e5c3d
MA
91312012-03-02 Michael Albinus <michael.albinus@gmx.de>
9132
dbbc2e69
SM
9133 * jka-compr.el (jka-compr-call-process):
9134 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
9135 not remote.
9136
a032a702
MA
91372012-03-01 Michael Albinus <michael.albinus@gmx.de>
9138
9139 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9140 access of FILE2, if FILE1 does not exist.
9141
99a54f21
MA
9142 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9143 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9144
9145 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9146 Add "PAGER=" to `process-environment'.
9147
f6561e1f
MM
91482012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9149
9150 * progmodes/sql.el: Bug fix
9151 (sql-get-login-ext): Save login values in globals.
9152 (sql-get-login): Use new version of `sql-get-login-ext'.
9153 (sql-interactive-mode): Set global `sql-connection' to nil.
9154 (sql-connect): Set global values for connection.
9155 (sql-product-interactive): Save global values as buffer local.
9156
2d44d9cc
LL
91572012-02-29 Leo Liu <sdl.web@gmail.com>
9158
9159 * abbrev.el (define-abbrevs): Reset sys to nil.
9160
96b49301 91612012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9162
bf7f9bc5
JB
9163 * files.el (file-equal-p): Rename from `files-equal-p'.
9164 Return nil when one or both files don't exist.
96b49301 9165 (file-subdir-of-p): Now only top directory must exists,
9166 return nil if it doesn't.
bf7f9bc5
JB
9167 (copy-directory): No need to test with `file-subdir-of-p' after
9168 creating dir.
9169 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9170 to `file-equal-p'.
96b49301 9171
44e97401
GM
91722012-02-28 Glenn Morris <rgm@gnu.org>
9173
9174 * shell.el (shell-mode):
9175 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9176 * play/landmark.el (landmark-font-lock-face-O):
9177 * play/handwrite.el (handwrite):
9178 * play/gomoku.el (gomoku-O):
9179 * net/browse-url.el (browse-url-browser-display):
9180 * international/mule.el (define-charset):
9181 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9182 * filesets.el (filesets-find-file-delay):
9183 * eshell/em-xtra.el (eshell-xtra):
9184 * eshell/em-unix.el (eshell-grep):
9185 * emulation/viper.el (viper-mode):
9186 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9187 * emacs-lisp/easymenu.el (easy-menu-define):
9188 * calendar/timeclock.el (timeclock-use-display-time):
9189 * bs.el (bs-mode):
9190 * bookmark.el (bookmark-save-flag):
9191 Doc fix (standardize possessive apostrophe usage).
9192
c98c6276
CY
91932012-02-27 Chong Yidong <cyd@gnu.org>
9194
bf7f9bc5
JB
9195 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9196 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 9197
c98c6276
CY
9198 * font-lock.el (font-lock-specified-p): Rename from
9199 font-lock-spec-present. Callers changed.
9200
9c62cd04 92012012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 9202
bf7f9bc5
JB
9203 * emacs-lisp/package.el (package-compute-transaction):
9204 Handle holding a package version to t in package-load-list.
8ac9e529 9205
530739c9
MA
92062012-02-26 Michael Albinus <michael.albinus@gmx.de>
9207
9208 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9209 (tramp-get-inode, tramp-get-device): Use cached values.
9210
487915d7
AM
92112012-02-26 Alan Mackenzie <acm@muc.de>
9212
9213 Check there is a font-lock specification before doing initial
9214 fontification.
9215
9216 * font-core.el (font-lock-mode): Move the conditional from
9217 :after-hook to font-lock-initial-fontify.
9218 (font-lock-default-function): Move the check for a specification
9219 to font-lock-spec-present.
9220
dc9924b8 9221 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
9222 (font-lock-spec-present): New function.
9223
4fd96557
JB
92242012-02-26 Jim Blandy <jimb@red-bean.com>
9225
9226 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9227 (gdb-send): Apply it to the operand of the '-interpreter-exec
9228 console' command, so that we can pass arguments with (say) quotes
9229 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9230
9a4888c0
CY
92312012-02-26 Chong Yidong <cyd@gnu.org>
9232
07498861
CY
9233 * help-fns.el (describe-function-1): Clarify description of
9234 remapping (Bug#10844).
9235
9a4888c0
CY
9236 * files.el (files-equal-p): Doc fix.
9237 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9238 and quit the loop once a mismatch is found.
9239
ea8fb88d
JB
92402012-02-25 Juanma Barranquero <lekktu@gmail.com>
9241
9242 * bs.el (bs--show-with-configuration): Don't throw an error
9243 if the window cannot be split; otherwise, subsequent calls to
9244 bs-show fail, restoring a stale window config. (Bug#10882)
9245
525795c1
JD
92462012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9247
9248 * term/ns-win.el (global-map): Bind ns-drag-file to
9249 ns-find-file (Bug#5855, Bug#10050).
9250
f008086f
AS
92512012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9252
9253 * calendar/parse-time.el (parse-time-string): Allow extractor to
9254 return nil.
9255
a3fcfa99
MA
92562012-02-25 Michael Albinus <michael.albinus@gmx.de>
9257
91027d08
JB
9258 * net/tramp.el (tramp-file-name-for-operation):
9259 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
9260
9261 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
9262 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9263 Add COPY-CONTENTS argument.
a3fcfa99 9264
67b0de11
CY
92652012-02-25 Chong Yidong <cyd@gnu.org>
9266
9267 Add custom groups for VC backends, for consistency with vc-bzr.
9268
9269 * vc/vc-arch.el (vc-arch):
9270 * vc/vc-cvs.el (vc-cvs):
9271 * vc/vc-git.el (vc-git):
9272 * vc/vc-hg.el (vc-hg):
9273 * vc/vc-mtn.el (vc-mtn):
9274 * vc/vc-rcs.el (vc-rcs):
9275 * vc/vc-sccs.el (vc-sccs):
9276 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9277 All relevant defcustoms reassigned.
9278
3c9dfce6
CY
92792012-02-25 Chong Yidong <cyd@gnu.org>
9280
1339bf43
CY
9281 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9282
3c9dfce6
CY
9283 * term/x-win.el (x-initialize-window-system): Reduce default for
9284 x-selection-timeout to 5 seconds (Bug#8869).
9285
25b2e303 92862012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9287
ec70a47d
GM
9288 * files.el (files-equal-p, file-subdir-of-p): New functions.
9289 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 9290 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
9291 * dired-aux.el (dired-copy-file-recursive): Same.
9292 (dired-create-files): Modify destination when source is equal to
9293 dest when copying files.
53a46cd0 9294 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 9295
914260cd
MA
92962012-02-24 Michael Albinus <michael.albinus@gmx.de>
9297
9298 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9299 (Bug#10874)
9300
2cb228f7
AM
93012012-02-23 Alan Mackenzie <acm@muc.de>
9302
9303 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9304 parameter "after-hook:" to allow the expansion to run code after
9305 the execution of the mode hooks.
9306
9307 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 9308 from font-lock-mode-internal.
2cb228f7 9309
91027d08 9310 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
9311 :after-hook.
9312
8f0fde21
SM
93132012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9314
3e88618b
SM
9315 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9316 (completion--cache-all-sorted-completions): New function.
9317 (completion-all-sorted-completions): Use it.
9318 (completion--do-completion, minibuffer-force-complete):
9319 Use it to re-instate the flush hook.
9320
8f0fde21
SM
9321 * icomplete.el (icomplete-completions): Replace last fix with a better
9322 one (bug#10850).
9323
8e911f6f
DG
93242012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9325
9326 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9327 when it might call us back infinitely (bug#10797).
9328
49fe4321
GM
93292012-02-23 Glenn Morris <rgm@gnu.org>
9330
9331 * minibuffer.el (completion-category-overrides): Doc fix.
9332
b291b572
SM
93332012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9334
9335 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9336 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9337
31a9ef2e
GM
93382012-02-23 Glenn Morris <rgm@gnu.org>
9339
5e6e6794 9340 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
9341 (authors-obsolete-files-regexps, authors-ignored-files)
9342 (authors-ambiguous-files, authors-renamed-files-alist):
9343 Add more entries.
9344
0bd1e074
JL
93452012-02-23 Juri Linkov <juri@jurta.org>
9346
9347 * isearch.el (isearch-occur): Sync interactive spec with occur's
9348 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9349
b617673c
JL
9350 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9351
19e9789e
JL
93522012-02-22 Juri Linkov <juri@jurta.org>
9353
9354 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9355 (ucs-insert): Doc fix. Check for hex digits in the string.
9356 Don't display `nil' in the error message. (Bug#10857)
9357
f41ce09d
AM
93582012-02-22 Alan Mackenzie <acm@muc.de>
9359
7a71b18d 9360 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 9361
ac2eceee
GM
93622012-02-22 Glenn Morris <rgm@gnu.org>
9363
9364 * ffap.el (ffap-c-path):
9365 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9366
abd1f678
CY
93672012-02-22 Chong Yidong <cyd@gnu.org>
9368
9369 * custom.el (load-theme): Doc fix.
9370
f25aef2e
GM
93712012-02-22 Glenn Morris <rgm@gnu.org>
9372
9373 * dired-x.el (dired-guess-shell-alist-default):
9374 Remove escape sequences from nroff output. (Bug#172)
9375
5f8dc2ca
GM
93762012-02-21 Glenn Morris <rgm@gnu.org>
9377
6ff86ec4
GM
9378 * vc/emerge.el (emerge-defvar-local):
9379 Set `permanent-local' property rather than unused `preserved'.
9380
be3223a3 9381 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
9382 (picture-mode-map): Use it. (Bug#10860)
9383 (picture-mode): Doc fix.
9384
3fe58f4f
JB
93852012-02-21 Juanma Barranquero <lekktu@gmail.com>
9386
9387 * newcomment.el (uncomment-region-default): Remove unused binding.
9388
f9a998c3
GM
93892012-02-21 Glenn Morris <rgm@gnu.org>
9390
9391 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9392 (picture-self-insert, picture-tab-chars): Doc fix.
9393 (picture-mode-map): Fix C-a, C-e.
9394
c6029348
GM
93952012-02-20 Glenn Morris <rgm@gnu.org>
9396
9397 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9398
ab1ce9d7
LL
93992012-02-20 Leo Liu <sdl.web@gmail.com>
9400
9401 * icomplete.el (icomplete-completions): Check FROM arg before
9402 passing to substring (Bug#10850).
9403
0fd40f89
CY
94042012-02-19 Chong Yidong <cyd@gnu.org>
9405
9406 * comint.el: Require ansi-color.
9407 (comint-output-filter-functions): Add ansi-color-process-output.
9408
9409 * ansi-color.el: Don't set comint-output-filter-functions; it is
9410 now in the initial value defined in comint.el.
9411 (ansi-color-apply-face-function): New variable.
9412 (ansi-color-apply-on-region): Use it.
9413 (ansi-color-apply-overlay-face): New function.
9414
9415 * shell.el (shell): No need to require ansi-color.
9416 (shell-mode): Use ansi-color-apply-face-function to highlight
9417 color escapes using font-lock-face property (Bug#10835).
9418
20af2394
CY
94192012-02-19 Chong Yidong <cyd@gnu.org>
9420
9421 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9422 mode-line formats (Bug#10839).
9423
e23a3fbe
GM
94242012-02-18 Glenn Morris <rgm@gnu.org>
9425
b474519e
GM
9426 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9427
9428 * mail/undigest.el (unforward-rmail-message): Doc fix.
9429
e23a3fbe
GM
9430 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9431
57939ff4
EZ
94322012-02-18 Eli Zaretskii <eliz@gnu.org>
9433
9434 * international/characters.el (script-list): Sync with the latest
9435 Unicode Character Database.
9436
0c23686e
AS
94372012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9438
9439 * international/titdic-cnv.el: Remove duplicate coding tag.
9440 * language/cham.el: Likewise.
9441 * language/tai-viet.el: Likewise.
9442
6818b449
GM
94432012-02-18 Glenn Morris <rgm@gnu.org>
9444
9445 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9446 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9447 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9448 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9449 * calendar/holidays.el (holiday-bahai-holidays)
9450 (calendar-holidays, list-holidays):
9451 Use utf-8 Bahá'í in doc-strings, menus, etc.
9452
0311a3fc
TH
94532012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9454
9455 * saveplace.el (save-place-ignore-files-regexp): New variable
9456 allowing for excluding files from saving their location of point.
9457 The default value matches the temporary commit message editing
9458 files from Git, SVN, Bazaar, and Mercurial.
9459 (save-place-to-alist): Use it.
9460
d209e2fb 94612012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 9462 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
9463
9464 * newcomment.el (uncomment-region-default): Don't leave extra space
9465 when an arg is provided (bug#8150).
9466
ee0ce425
TZ
94672012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9468
eb864a71 9469 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 9470
95ddf442
GM
94712012-02-17 Glenn Morris <rgm@gnu.org>
9472
9473 * net/socks.el: Require network-stream. (Bug#10599)
9474
48dd1e39 94752012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
9476
9477 * international/charprop.el:
9478 * international/uni-name.el:
9479 * international/uni-old-name.el:
9480 * international/uni-comment.el: Regenerate.
9481
d68cd087
GM
94822012-02-16 Glenn Morris <rgm@gnu.org>
9483
9484 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9485 Interactively in calendar buffer, give an error if not on a date.
9486
13932042
GM
94872012-02-15 Glenn Morris <rgm@gnu.org>
9488
9489 * shell.el (shell-delimiter-argument-list):
9490 Revert 2011-02-17 change. (Bug#8027)
9491
c3a70e2b
CY
94922012-02-15 Chong Yidong <cyd@gnu.org>
9493
60236b0d
CY
9494 * minibuffer.el (completion-at-point-functions): Doc fix.
9495
c3a70e2b
CY
9496 * custom.el (defcustom): Doc fix; note use of defvar.
9497
9f26dc24
GM
94982012-02-15 Glenn Morris <rgm@gnu.org>
9499
9500 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9501 Doc fixes.
9502
6546b134
GM
95032012-02-14 Glenn Morris <rgm@gnu.org>
9504
9505 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9506
d29b2b4c
LI
95072012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9508
9509 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9510 way the ports list is computed.
835bdcba
LI
9511 (smtpmail-query-smtp-server): Prompt the user for a port number if
9512 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 9513
08dcdbc9
TZ
95142012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9515
9516 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9517
2605051a
GM
95182012-02-13 Glenn Morris <rgm@gnu.org>
9519
9520 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9521
7ee99f32
TZ
95222012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9523
9524 * net/gnutls.el (gnutls-trustfiles): New variable.
9525 (gnutls-negotiate): Use it.
9526
5f0af64f
LI
95272012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
9528
9529 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9530 does its stuff if Gnus is running.
9531
c14fcc95
AM
95322012-02-13 Alan Mackenzie <acm@muc.de>
9533
9534 Fix a loop in c-set-fl-decl-start.
9535
7a71b18d 9536 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
9537 c-backward-syntactic-ws actually moves backwards.
9538
142b4d90
LL
95392012-02-13 Leo Liu <sdl.web@gmail.com>
9540
9541 * net/rcirc.el (rcirc-markup-attributes): Move point to the
9542 beginning so that all \C-o chars are removed.
9543
fa9958a6
TZ
95442012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
9545
dc9924b8 9546 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 9547
0bc5886a
AM
95482012-02-12 Alan Mackenzie <acm@muc.de>
9549
9550 Fix infinite loop with long macros.
4d6769e1 9551 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 9552
d4bd55e7
CY
95532012-02-12 Chong Yidong <cyd@gnu.org>
9554
9555 * window.el (display-buffer): Doc fix (Bug#10785).
9556
66f3fe22
GM
95572012-02-12 Glenn Morris <rgm@gnu.org>
9558
bd7da63e
GM
9559 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9560 (x-disown-selection-internal, x-get-selection-internal):
9561 Sync docs with the xselect.c versions.
9562
66f3fe22
GM
9563 * allout-widgets.el: Add missing license notice.
9564
3e0d2fa7
GM
95652012-02-11 Glenn Morris <rgm@gnu.org>
9566
cfecdf09
GM
9567 * select.el (x-get-selection-internal, x-own-selection-internal)
9568 (x-disown-selection-internal):
9569 * x-dnd.el (x-get-selection-internal): Update declarations.
9570
6d216d7f
GM
9571 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9572
2bed3f04
GM
9573 * window.el (window-sides-slots):
9574 * tool-bar.el (tool-bar-position):
9575 * term/xterm.el (xterm-extra-capabilities):
9576 * ses.el (ses-self-reference-early-detection):
9577 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9578 (verilog-auto-wire-type)
9579 (verilog-auto-delete-trailing-whitespace)
9580 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9581 (verilog-auto-tieoff-declaration):
9582 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9583 (sql-oracle-statement-starters, sql-oracle-scan-on):
9584 * progmodes/prolog.el (prolog-align-comments-flag)
9585 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9586 (prolog-left-indent-regexp, prolog-paren-indent-p)
9587 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9588 (prolog-types, prolog-mode-specificators)
9589 (prolog-determinism-specificators, prolog-directives)
9590 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9591 (prolog-electric-dot-flag)
9592 (prolog-electric-dot-full-predicate-template)
9593 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9594 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9595 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9596 (prolog-program-switches, prolog-prompt-regexp)
9597 (prolog-debug-on-string, prolog-debug-off-string)
9598 (prolog-trace-on-string, prolog-trace-off-string)
9599 (prolog-zip-on-string, prolog-zip-off-string)
9600 (prolog-use-standard-consult-compile-method-flag)
9601 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9602 (prolog-imenu-max-lines, prolog-info-predicate-index)
9603 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9604 (prolog-char-quote-workaround):
9605 * progmodes/cc-vars.el (c-defun-tactic):
9606 * net/tramp.el (tramp-encoding-command-interactive)
9607 (tramp-local-end-of-line):
9608 * net/soap-client.el (soap-client):
9609 * net/netrc.el (netrc-file):
9610 * net/gnutls.el (gnutls):
9611 * minibuffer.el (completion-category-overrides)
9612 (completion-cycle-threshold)
9613 (completion-pcm-complete-word-inserts-delimiters):
9614 * man.el (Man-name-local-regexp):
9615 * mail/feedmail.el (feedmail-display-full-frame):
9616 * international/characters.el (glyphless-char-display-control):
9617 * eshell/em-ls.el (eshell-ls-date-format):
9618 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
9619 (lisp-lambda-list-keyword-parameter-indentation)
9620 (lisp-lambda-list-keyword-parameter-alignment):
9621 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
9622 * dired-x.el (dired-omit-verbose):
9623 * cus-theme.el (custom-theme-allow-multiple-selections):
9624 * calc/calc.el (calc-highlight-selections-with-faces)
9625 (calc-lu-field-reference, calc-lu-power-reference)
9626 (calc-note-threshold):
9627 * battery.el (battery-mode-line-limit):
9628 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9629 (archive-7z-update):
9630 * allout.el (allout-prefixed-keybindings)
9631 (allout-unprefixed-keybindings)
9632 (allout-inhibit-auto-fill-on-headline)
9633 (allout-flattened-numbering-abbreviation):
9634 * allout-widgets.el (allout-widgets-auto-activation)
9635 (allout-widgets-icons-dark-subdir)
9636 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
9637 (allout-widgets-theme-dark-background)
9638 (allout-widgets-theme-light-background)
9639 (allout-widgets-item-image-properties-emacs)
9640 (allout-widgets-item-image-properties-xemacs)
9641 (allout-widgets-run-unit-tests-on-load)
9642 (allout-widgets-time-decoration-activity)
9643 (allout-widgets-hook-error-post-time)
9644 (allout-widgets-track-decoration):
9645 Add missing :version tags to new defcustoms and defgroups.
9646
5fec1b8e
GM
9647 * progmodes/sql.el (sql-ansi-statement-starters)
9648 (sql-oracle-statement-starters): Add custom type.
9649
3e0d2fa7
GM
9650 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
9651 (prolog-system-version): Give it a type.
9652
90b671e2
EZ
96532012-02-11 Eli Zaretskii <eliz@gnu.org>
9654
9655 * term/pc-win.el (x-select-text, x-selection-owner-p)
9656 (x-own-selection-internal, x-disown-selection-internal)
9657 (x-get-selection-internal): Sync doc strings and argument lists
9658 with xselect.c, common-win.el and x-win.el. (Bug#10783)
9659
5eac0c02
LL
96602012-02-11 Leo Liu <sdl.web@gmail.com>
9661
9662 * progmodes/python.el (python-end-of-statement): Fix infinite
9663 loop. (Bug#10788)
9664
f82cb659
GM
96652012-02-10 Glenn Morris <rgm@gnu.org>
9666
9667 * international/mule-cmds.el (unify-8859-on-encoding-mode)
9668 (unify-8859-on-decoding-mode): Properly mark as obsolete.
9669
cc26d239
LI
96702012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
9671
9672 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
9673 about SMTP before checking the From header.
9674
91027d08 9675 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
9676 into own function for reuse by emacsbug.el.
9677
1be3ca5a
LL
96782012-02-10 Leo Liu <sdl.web@gmail.com>
9679
9680 * subr.el (condition-case-unless-debug): Rename from
9681 condition-case-no-debug. All callers changed.
9682 (with-demoted-errors): Fix caller.
9683
9684 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
9685 * nxml/rng-valid.el (rng-do-some-validation):
9686 * emacs-lisp/package.el (package-refresh-contents)
9687 (package-menu-execute):
9688 * desktop.el (desktop-create-buffer):
91027d08 9689 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 9690
b011fbfe
GM
96912012-02-10 Glenn Morris <rgm@gnu.org>
9692
b2096d72
GM
9693 * textmodes/bibtex.el:
9694 Add missing :version tags for new/changed defcustoms.
9695
b011fbfe
GM
9696 * files.el (remote-file-name-inhibit-cache): Doc fixes.
9697
4c7e65bf
LI
96982012-02-09 Lars Ingebrigtsen <larsi@rusty>
9699
9700 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
9701 (smtpmail-via-smtp): Use it, or fall back on the From address.
9702 (smtpmail-send-it): Ditto.
9703
f3934f6f
SM
97042012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
9705
9706 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
9707 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
9708 (byte-compile-tmp-var): New const.
9709 (byte-compile-defvar): Use it to minimize .elc size.
9710 Just use `defvar' rather than simulate it (bug#10761).
9711
a075a2c5
GM
97122012-02-09 Glenn Morris <rgm@gnu.org>
9713
cf3aa21b
GM
9714 * files.el (rename-uniquely): Doc fix. (Bug#3806)
9715
354998cd
GM
9716 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
9717 Add :version tags.
9718
dc9924b8
SM
9719 * progmodes/compile.el (compilation-error-screen-columns)
9720 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 9721
dab3703d
GM
9722 * vc/log-view.el (log-view-toggle-entry-display):
9723 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
9724
3f88cd72
GM
9725 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
9726 (report-emacs-bug-can-use-xdg-email):
9727 (report-emacs-bug-insert-to-mailer): Doc fixes.
9728 (report-emacs-bug): Message fix.
9729
d95b247d
GM
9730 * net/browse-url.el (browse-url-can-use-xdg-open)
9731 (browse-url-xdg-open): Doc fixes.
9732
a075a2c5
GM
9733 * electric.el (electric-indent-mode, electric-pair-mode)
9734 (electric-layout-rules, electric-layout-mode): Doc fixes.
9735 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
9736
ffb6157e
MR
97372012-02-08 Martin Rudalics <rudalics@gmx.at>
9738
9739 * server.el (server-unselect-display): Don't inadvertently kill
9740 the current buffer. (Bug#10729)
9741
e1ac4066
GM
97422012-02-08 Glenn Morris <rgm@gnu.org>
9743
34e8a2da
GM
9744 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
9745 (sql-list-table): Doc fixes.
9746
b4ac6e8c
GM
9747 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
9748 Comment out (does nothing).
9749
e1ac4066
GM
9750 * completion.el (dynamic-completion-mode):
9751 * dirtrack.el (dirtrack-debug-mode):
9752 * electric.el (electric-layout-mode):
9753 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
9754 * face-remap.el (text-scale-mode, buffer-face-mode):
9755 * iimage.el (iimage-mode):
9756 * image-mode.el (image-transform-mode):
9757 * minibuffer.el (completion-in-region-mode):
9758 * scroll-lock.el (scroll-lock-mode):
9759 * simple.el (next-error-follow-minor-mode):
9760 * tar-mode.el (tar-subfile-mode):
9761 * tooltip.el (tooltip-mode):
9762 * vcursor.el (vcursor-use-vcursor-map):
9763 * wid-browse.el (widget-minor-mode):
9764 * emulation/tpu-edt.el (tpu-edt-mode):
9765 * emulation/tpu-extras.el (tpu-cursor-free-mode):
9766 * international/iso-ascii.el (iso-ascii-mode):
9767 * language/thai-util.el (thai-word-mode):
9768 * mail/supercite.el (sc-minor-mode):
9769 * net/goto-addr.el (goto-address-mode):
9770 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
9771 * progmodes/cwarn.el (cwarn-mode):
9772 * progmodes/flymake.el (flymake-mode):
9773 * progmodes/glasses.el (glasses-mode):
9774 * progmodes/hideshow.el (hs-minor-mode):
9775 * progmodes/pascal.el (pascal-outline-mode):
9776 * textmodes/enriched.el (enriched-mode):
9777 * vc/smerge-mode.el (smerge-mode):
9778 Doc fixes (minor mode argument).
9779
5e0d957f
EZ
97802012-02-07 Eli Zaretskii <eliz@gnu.org>
9781
9782 * ls-lisp.el (ls-lisp-sanitize): New function.
9783 (ls-lisp-insert-directory): Use it to fix or remove any elements
9784 in file-alist with missing attributes. (Bug#4673)
9785
98d7371e
AM
97862012-02-07 Alan Mackenzie <acm@muc.de>
9787
9788 Fix spurious recognition of c-in-knr-argdecl.
9789
9790 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
9791 putative K&R region.
9792
667ced3a
AM
97932012-02-07 Alan Mackenzie <acm@muc.de>
9794
eb864a71
LM
9795 * progmodes/cc-engine.el (c-forward-objc-directive):
9796 Prevent looping in "#pragma mark @implementation".
667ced3a 9797
5b77774d
MA
97982012-02-07 Michael Albinus <michael.albinus@gmx.de>
9799
9800 * notifications.el (notifications-on-closed-signal): Make `reason'
9801 optional. (Bug#10744)
9802
af008560
GM
98032012-02-07 Glenn Morris <rgm@gnu.org>
9804
60d47423
GM
9805 * emacs-lisp/easy-mmode.el (define-minor-mode):
9806 Doc fixes for the macro and the mode it defines.
9807
dd605cc4
GM
9808 * image.el (imagemagick-types-inhibit): Doc fix.
9809
af008560
GM
9810 * cus-start.el (imagemagick-render-type): Add it.
9811
5cc59a37
LI
98122012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
9813
4d6769e1
JB
9814 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
9815 Set the default at load time, too, so that `font-lock-fontify-buffer'
9816 can be called without setting up the entire mode first. This fixes
9817 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 9818
9a6dd747
CY
98192012-02-06 Chong Yidong <cyd@gnu.org>
9820
2d16b285
CY
9821 * simple.el (list-processes--refresh): Delete exited processes
9822 (Bug#8094).
9823
171e9b6e
CY
9824 * comint.el (comint-next-prompt): next-single-char-property-change
9825 and prev-single-char-property-change never return nil (Bug#8657).
9826
9a6dd747
CY
9827 * custom.el (defcustom): Doc fix (Bug#9711).
9828
aa4589a7
CY
98292012-02-05 Chong Yidong <cyd@gnu.org>
9830
5c2a252f
CY
9831 * cus-edit.el (custom-variable-reset-backup): Quote the value
9832 before storing it in the customized-value property (Bug#6712).
4aab9006 9833 (custom-display): Add a customization type tag.
983b9602 9834 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 9835
aa4589a7
CY
9836 * wid-edit.el (widget-field-value-get): New optional arg to
9837 suppress trailing whitespace truncation.
9838 (character): Use it (Bug#2689).
9839
1ff980ae
AS
98402012-02-05 Andreas Schwab <schwab@linux-m68k.org>
9841
9842 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
9843 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
9844
03988c98
CY
98452012-02-05 Chong Yidong <cyd@gnu.org>
9846
eeb6cc88
CY
9847 * cus-edit.el (custom-variable-value-create): For mismatched
9848 types, show the current value (Bug#7600).
9849
03988c98
CY
9850 * custom.el (defcustom): Doc fix.
9851
f8cdeef0
GM
98522012-02-05 Glenn Morris <rgm@gnu.org>
9853
9854 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
9855
0696d255
JB
98562012-02-05 Juanma Barranquero <lekktu@gmail.com>
9857
9858 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
9859 (pp-buffer): Use `ignore-errors', `looking-at-p'.
9860 (pp-last-sexp): Use `looking-at-p'.
9861
34c99998
GM
98622012-02-04 Glenn Morris <rgm@gnu.org>
9863
8f05da42
GM
9864 * files.el (revert-buffer):
9865 Doc fix (mention revert-buffer-in-progress-p).
9866
f160676e
GM
9867 * emacs-lisp/ert-x.el (ert-simulate-command):
9868 Check deferred-action-list (which is obsolete) is bound.
9869
c7291ad9
GM
9870 * subr.el (with-wrapper-hook): Doc fixes.
9871
34c99998
GM
9872 * simple.el (filter-buffer-substring-functions)
9873 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
9874
6283a7d3
LL
98752012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
9876
9877 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
9878 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
9879
e96e3013
LL
98802012-02-04 Leo Liu <sdl.web@gmail.com>
9881
9882 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
9883
8ded50f2
GM
98842012-02-04 Glenn Morris <rgm@gnu.org>
9885
82ff1d13
GM
9886 * image.el (image-extension-data): Add obsolete alias.
9887
987a0a16
GM
9888 * isearch.el (isearch-update): Doc fix.
9889
ea32ef46
GM
9890 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
9891
8ded50f2
GM
9892 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
9893
eea14f31
GM
98942012-02-03 Glenn Morris <rgm@gnu.org>
9895
9896 * image.el (image-animated-p): Doc fix. Use image-animated-types.
9897 (image-animate-timeout): Doc fix.
9898
9899 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
9900
12f381b7
GM
99012012-02-02 Glenn Morris <rgm@gnu.org>
9902
953cebf5
GM
9903 * server.el (server-auth-dir): Doc fix.
9904 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
9905
12f381b7
GM
9906 * subr.el (run-mode-hooks): Doc fix.
9907
953a8c3b
JL
99082012-02-02 Juri Linkov <juri@jurta.org>
9909
9910 * image-mode.el (image-toggle-display-image): Remove tautological
9911 `major-mode' from the `derived-mode-p' test.
9912
c5d3843c
KH
99132012-02-02 Kenichi Handa <handa@m17n.org>
9914
9f6e692e 9915 * composite.el (compose-region): Cancel previous change.
c5d3843c 9916
159462d4 99172012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
9918
9919 * composite.el (compose-region, compose-string): Signal error for
9920 a null string component (Bug#6988).
9921
9f562668
CY
99222012-02-01 Chong Yidong <cyd@gnu.org>
9923
e2cef717
CY
9924 * view.el (view-buffer-other-window, view-buffer-other-frame):
9925 Handle special modes like view-buffer (Bug#10650).
9926 (view-buffer): Simplify.
9927
9f562668
CY
9928 * frame.el (set-frame-font): Tweak meaning of third argument.
9929
9f6e692e
JB
9930 * dynamic-setting.el (font-setting-change-default-font):
9931 Use set-frame-font (Bug#9982).
9f562668 9932
781acb9f
GM
99332012-02-01 Glenn Morris <rgm@gnu.org>
9934
6035be52
GM
9935 * progmodes/compile.el (compilation-internal-error-properties):
9936 Respect compilation-first-column in the "*compilation*" buffer.
9937
781acb9f
GM
9938 * emacs-lisp/easy-mmode.el (define-minor-mode):
9939 Relax :variable's test for a named function.
9940
abbceb00
AM
99412012-01-31 Alan Mackenzie <acm@muc.de>
9942
9943 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
9944 off by one error.
9945
fce3fdeb
CY
99462012-01-31 Chong Yidong <cyd@gnu.org>
9947
9948 * frame.el (set-frame-font): New arg ALL-FRAMES.
9949
9950 * menu-bar.el (menu-set-font): Use set-frame-font.
9951
9952 * faces.el (face-spec-reset-face): Don't apply unspecified
9953 attribute values to the default face.
9954
47893581
JB
99552012-01-31 Juanma Barranquero <lekktu@gmail.com>
9956
9957 * progmodes/cwarn.el (cwarn): Remove dead link.
9958 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
9959 Remove * from defcustom docstrings.
9960 (turn-on-cwarn-mode): Make obsolete.
9961 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
9962 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
9963
e58e988a
GM
99642012-01-31 Glenn Morris <rgm@gnu.org>
9965
60dc2671 9966 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 9967 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 9968 Allow named functions to be used as the cdr of :variable.
e58e988a 9969
7a3f511d
GM
99702012-01-30 Glenn Morris <rgm@gnu.org>
9971
9972 * emacs-lisp/authors.el (authors-fixed-entries):
9973 Remove reference to deleted file rnewspost.el.
9974
cb882333
JB
99752012-01-29 Juanma Barranquero <lekktu@gmail.com>
9976
9977 * window.el (window-with-parameter): Remove unused variable `windows'.
9978 (window--side-check): Remove unused variable `code'.
9979 (window--resize-siblings): Remove unused variable `first'.
9980 (adjust-window-trailing-edge): Remove unused variable `failed'.
9981 (window-deletable-p, window--delete): Remove unused variable `buffer'.
9982 Use `let', not `let*'.
9983 (balance-windows-2): Remove unused variable `found'.
9984 (window--state-put-2): Remove unused variable `splits'.
9985 (window-state-put): Remove unused variable `selected'.
9986 (same-window-p): Use `string-match-p'.
9987 (display-buffer-assq-regexp): Remove unused variable `value'.
9988 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9989 Mark argument ALIST as ignored.
9990 (pop-to-buffer): Remove unused variable `old-window'.
9991
907201af
EZ
99922012-01-29 Eli Zaretskii <eliz@gnu.org>
9993
9994 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
9995 and .lzma compressed files.
9996
ea162670
CY
99972012-01-29 Chong Yidong <cyd@gnu.org>
9998
5b95ee8a
CY
9999 * frame.el (window-system-default-frame-alist): Doc fix.
10000
ea162670
CY
10001 * dynamic-setting.el (font-setting-change-default-font): Don't
10002 change the default face if SET-FONT argument is non-nil (Bug#9982).
10003
d6e6f4b1
SB
100042012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10005
10006 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10007
0f29fa41 100082012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
10009
10010 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10011 breakpoints in files outside current directory (Bug#6098).
10012
db174434
CY
100132012-01-29 Chong Yidong <cyd@gnu.org>
10014
6b25e4e2
SE
10015 * progmodes/python.el: Require ansi-color at top-level.
10016
6df6ae42
JB
10017 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10018 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
10019 (lisp-mode-abbrev-table): Add doc.
10020 (lisp-mode-variables): Don't set local-abbrev-table.
10021 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10022
e70ee681
RW
100232012-01-28 Roland Winkler <winkler@gnu.org>
10024
10025 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10026
ace88aa2
RW
100272012-01-28 Roland Winkler <winkler@gnu.org>
10028
10029 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10030 (bibtex-set-dialect): Use it. Either set global values of
10031 dialect-dependent variables or bind these variables buffer-locally
10032 (Bug#10254).
10033 (bibtex-mode): Call bibtex-set-dialect via
10034 hack-local-variables-hook.
eb864a71
LM
10035 (bibtex-dialect): Update docstring.
10036 Add safe-local-variable predicate.
ace88aa2
RW
10037 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10038 bibtex-set-dialect.
10039 (bibtex-mode-map): Define menu for each dialect.
10040 (bibtex-entry): Fix docstring.
10041
93376c5b
CY
100422012-01-28 Chong Yidong <cyd@gnu.org>
10043
10044 * eshell/esh-arg.el (eshell-quote-argument): New function.
10045
10046 * eshell/esh-ext.el (eshell-invoke-batch-file):
10047 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10048 first arg to eshell-parse-command (Bug#10523).
10049
4372494f
DA
100502012-01-28 Drew Adams <drew.adams@oracle.com>
10051
10052 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10053 `default-directory' is non-nil.
10054
4d4ec1f8
EZ
100552012-01-28 Eli Zaretskii <eliz@gnu.org>
10056
10057 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10058 line that displays system-configuration-options. (Bug#9924)
10059
7c188927
DA
100602012-01-28 Drew Adams <drew.adams@oracle.com>
10061
10062 * descr-text.el (describe-char): Show information about POS, in
10063 addition to information about the character at POS. Improve and
10064 update the doc string. Change "code point" to "code point in
10065 charset", to avoid confusion with the character's Unicode code
10066 point shown above that. (Bug#10129)
10067
e0da685a
EZ
100682012-01-28 Eli Zaretskii <eliz@gnu.org>
10069
10070 * descr-text.el (describe-char): Show the raw character, not only
10071 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10072 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10073 for the reasons.
10074
70550acf
PH
100752012-01-28 Phil Hagelberg <phil@hagelb.org>
10076
eb864a71
LM
10077 * emacs-lisp/package.el (package-install):
10078 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 10079
0ce8e868
CY
100802012-01-28 Chong Yidong <cyd@gnu.org>
10081
cb882333
JB
10082 * emacs-lisp/package.el (package-maybe-load-descriptor):
10083 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
10084 (package-maybe-load-descriptor): Use it.
10085 (package-download-transaction): Fully load required packages
10086 inside the loop, so that `require' calls work (Bug#10593).
10087 (package-install): No need to call package-initialize now.
10088
2e7f3bea
CY
100892012-01-28 Chong Yidong <cyd@gnu.org>
10090
6e9bad14
CY
10091 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10092
f823b8ca
CY
10093 * tooltip.el (tooltip-mode): Doc fix.
10094 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10095
2680c309
CY
10096 * frame.el (set-cursor-color): Doc fix (Bug#352).
10097
d7a9e63b
CY
10098 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10099 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10100
2e7f3bea
CY
10101 * cus-edit.el (custom-buffer-create-internal): Fix search button
10102 action (Bug#10542).
2ae01800 10103 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 10104
fc4f7a23
EW
101052012-01-27 Eduard Wiebe <usenet@pusto.de>
10106
10107 * dired.el (dired-mark-files-regexp):
10108 Include any subdirectory components. (Bug#10445)
10109
7dd37071
ML
101102012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10111
10112 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10113 Handle [host]:port syntax. (Bug#10533)
10114
a268160b
AH
101152012-01-27 Alex Harsanyi <harsanyi@mac.com>
10116
10117 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10118
e43273ef
GM
101192012-01-26 Glenn Morris <rgm@gnu.org>
10120
10121 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10122 * term.el (term-raw-escape-map): Use Control-X-prefix.
10123 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10124
1edf595d
MR
101252012-01-25 Martin Rudalics <rudalics@gmx.at>
10126
10127 * window.el (window-state-get, window--state-get-1): Don't deal
10128 with fixed-sizeness of windows. Simplify code.
10129
fa8eafef
JC
101302012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10131
6df6ae42
JB
10132 * window.el (window--state-get-1, window--state-put-2):
10133 Don't save and restore the mark.
fa8eafef 10134
0b21c100
CY
101352012-01-25 Chong Yidong <cyd@gnu.org>
10136
10137 * custom.el (custom-variable-p): Doc fix.
10138
5ae1a6c8
GM
101392012-01-25 Glenn Morris <rgm@gnu.org>
10140
40047858
GM
10141 * dired.el (dired-goto-file): Handle some of the more common
10142 characters that `ls -b' escapes. (Bug#10596)
10143
5ddce96c
GM
10144 * progmodes/compile.el (compilation-next-error-function):
10145 Respect compilation-first-column in the "*compilation*" buffer.
10146 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10147
5ae1a6c8
GM
10148 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10149
b559f1a9
GM
101502012-01-24 Glenn Morris <rgm@gnu.org>
10151
10152 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10153
6725d21a
JD
101542012-01-24 Julien Danjou <julien@danjou.info>
10155
10156 * color.el (color-rgb-to-hsl): Fix value computing.
10157 (color-hue-to-rgb): New function.
10158 (color-hsl-to-rgb): New function.
10159 (color-clamp, color-saturate-hsl, color-saturate-name)
10160 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10161 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10162
70df4bbe
GM
101632012-01-24 Glenn Morris <rgm@gnu.org>
10164
10165 * vc/vc-rcs.el (vc-rcs-create-tag):
10166 * vc/vc-sccs.el (vc-sccs-create-tag):
10167 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10168
802a2ae2
ML
101692012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10170
10171 * eshell/esh-util.el (eshell-read-hosts-file):
10172 Skip comment lines. (Bug#10549)
10173
d7128bb1
ML
10174 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10175
d1a5c3b4
JB
101762012-01-23 Juanma Barranquero <lekktu@gmail.com>
10177
2724d9c7
JB
10178 * subr.el (display-delayed-warnings): Doc fix.
10179 (collapse-delayed-warnings): New function to collapse identical
10180 adjacent warnings.
10181 (delayed-warnings-hook): Add it.
d1a5c3b4 10182
a5509865
MA
101832012-01-22 Michael Albinus <michael.albinus@gmx.de>
10184
10185 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10186
a5509865
MA
10187 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10188 (tramp-default-user-alist): Don't add "pscp".
10189 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10190 property "login-as", if set. (Bug#10530)
10191
cc6d5805
MA
101922012-01-21 Michael Albinus <michael.albinus@gmx.de>
10193
10194 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10195 "plink1" and "psftp". (Bug#10530)
10196
101972012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
10198
10199 * international/mule-cmds.el (prefer-coding-system): Show a
10200 warning message if the default value of file-name-coding-system
10201 was not changed.
10202
f0960428
JC
102032012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10204
cb882333
JB
10205 * windmove.el (windmove-reference-loc):
10206 Fix windmove-reference-loc miscalculation.
f0960428 10207
dd6f2a63
JB
102082012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10209
10210 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10211 default unit.
10212
7b447e9b
GM
102132012-01-21 Glenn Morris <rgm@gnu.org>
10214
117a9ea1
GM
10215 * international/mule.el (auto-coding-alist): Add .tbz.
10216
7b447e9b
GM
10217 * files.el (local-enable-local-variables): Doc fix.
10218 (inhibit-local-variables-regexps): Rename from
10219 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10220 Doc fix. Add some extensions from auto-coding-alist.
10221 (inhibit-local-variables-suffixes):
10222 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10223 (inhibit-local-variables-p):
10224 New function, extracted from set-auto-mode-1.
10225 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10226 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10227 (hack-local-variables): Doc fix. Make the mode-only case
10228 respect enable-local-variables and friends.
10229 Respect inhibit-local-variables-regexps for file-locals, but
10230 not for directory-locals.
10231 (set-visited-file-name):
10232 Take account of inhibit-local-variables-regexps.
10233 Whether it applies may change as the file name is changed.
10234 * jka-cmpr-hook.el (jka-compr-install):
10235 * jka-compr.el (jka-compr-uninstall):
10236 Update for inhibit-first-line-modes-suffixes name change.
10237
dd6e3cdd
MR
102382012-01-20 Martin Rudalics <rudalics@gmx.at>
10239
10240 * help-macro.el (make-help-screen): Temporarily restore original
10241 binding for minor-mode-map-alist (Bug#10454).
10242
0d0deb38
JD
102432012-01-19 Julien Danjou <julien@danjou.info>
10244
10245 * color.el (color-name-to-rgb): Use the white color to find the max
10246 color component value and return correctly computed values.
10247 (color-name-to-rgb): Add missing float conversion for max value.
10248
34a02f46
MR
102492012-01-19 Martin Rudalics <rudalics@gmx.at>
10250
10251 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
10252 special state value for window-persistent-parameters.
10253 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
10254 (window--state-put-2): Reset all window parameters to nil before
10255 assigning values of persistent parameters.
10256
606c44c4
AM
102572012-01-18 Alan Mackenzie <acm@muc.de>
10258
10259 Eliminate sluggishness and hangs in fontification of "semicolon
10260 deserts".
10261
cb882333
JB
10262 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10263 Change value 10000 -> 3000.
606c44c4
AM
10264 (c-state-safe-place): Reformulate so it doesn't stack up an
10265 infinite number of wrong entries in c-state-nonlit-pos-cache.
10266 (c-determine-limit-get-base, c-determine-limit): New functions to
10267 determine backward search limits disregarding literals.
10268 (c-find-decl-spots): Amend commenting.
10269 (c-cheap-inside-bracelist-p): New function which detects "={".
10270
10271 * progmodes/cc-fonts.el
10272 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10273 backward search.
10274 (c-font-lock-declarations): Fix an occurrence of point being
10275 undefined. Check additionally for point being in a bracelist or
10276 near a macro invocation without a semicolon so as to avoid a
10277 fruitless time consuming search for a declarator. Give a more
10278 precise search limit for declarators using the new
10279 c-determine-limit.
10280
f3860cea
GM
102812012-01-18 Glenn Morris <rgm@gnu.org>
10282
10283 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10284 (set-auto-mode): Doc fixes.
10285
1db03b16
GM
102862012-01-17 Glenn Morris <rgm@gnu.org>
10287
0e6038be
GM
10288 * isearch.el (search-nonincremental-instead): Fix doc typo.
10289
1db03b16
GM
10290 * dired.el (dired-insert-directory): Handle newlines in directory name.
10291 (dired-build-subdir-alist): Unescape newlines in directory name.
10292
4cb0aa75
MA
102932012-01-17 Michael Albinus <michael.albinus@gmx.de>
10294
10295 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10296 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10297 (tramp-action-terminal): Use it. (Bug#10530)
10298
1d00653d
SM
102992012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10300
10301 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10302
6a6ee00d
MR
103032012-01-16 Martin Rudalics <rudalics@gmx.at>
10304
10305 * window.el (window-state-ignored-parameters): Remove variable.
10306 (window--state-get-1): Rename argument MARKERS to IGNORE.
10307 Handle persistent window parameters. Make copy of clone-of
10308 parameter only if requested. (Bug#10348)
10309 (window--state-put-2): Install a window parameter only if it has
10310 a non-nil value or an existing parameter shall be overwritten.
10311
97912def
MA
103122012-01-15 Michael Albinus <michael.albinus@gmx.de>
10313
10314 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10315
688070a5
EZ
103162012-01-14 Eli Zaretskii <eliz@gnu.org>
10317
10318 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10319 don't pass the (nil) value of `upnode' to string-match.
10320
301afadc
CY
103212012-01-14 Chong Yidong <cyd@gnu.org>
10322
10323 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 10324 Fix values recognized by the cursorBlink resource.
301afadc 10325
9e5788aa
PE
103262012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10327
10328 * epg.el (epg--make-temp-file): Avoid permission race condition
10329 when running on old Emacs versions (bug#10403).
10330
3cdb7f5a
GM
103312012-01-14 Glenn Morris <rgm@gnu.org>
10332
10333 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10334
8c82b1b4
AM
103352012-01-13 Alan Mackenzie <acm@muc.de>
10336
10337 Fix filling for when filladapt mode is enabled.
10338
10339 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10340 c-mask-paragraph, pass in `fill-paragraph' rather than
10341 `fill-region-as-paragraph'. (This is a reversion of a previous
10342 change.)
eb864a71
LM
10343 * progmodes/cc-mode.el (c-basic-common-init):
10344 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 10345
e517eda4
GM
103462012-01-13 Glenn Morris <rgm@gnu.org>
10347
1498536e
GM
10348 * dired.el (dired-switches-escape-p): New function.
10349 (dired-insert-directory): Use dired-switches-escape-p.
10350 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10351
e517eda4
GM
10352 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10353
328f984d
GM
103542012-01-12 Glenn Morris <rgm@gnu.org>
10355
10356 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10357 changes in adaptive-fill-regexp. (Bug#10276)
10358
2cc769a8
AM
103592012-01-11 Alan Mackenzie <acm@muc.de>
10360
10361 Fix Emacs bug #10463 - put `widen's around the critical spots.
10362
1d00653d 10363 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
10364 widen around each invocation of c-state-pp-to-literal. Remove an
10365 unused let variable.
10366
e52c37fa
GM
103672012-01-11 Glenn Morris <rgm@gnu.org>
10368
10369 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 10370 Doc fix.
e52c37fa 10371
96f8741e
CY
103722012-01-10 Chong Yidong <cyd@gnu.org>
10373
1d00653d
SM
10374 * net/network-stream.el (network-stream-open-starttls):
10375 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
10376 response to the capability command.
10377
b09a806e
GM
103782012-01-10 Glenn Morris <rgm@gnu.org>
10379
10380 * mail/unrmail.el (unrmail): Tweak previous change.
10381
7655cb66
CY
103822012-01-09 Chong Yidong <cyd@gnu.org>
10383
10384 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10385
9d5a8f0b
AM
103862012-01-08 Alan Mackenzie <acm@muc.de>
10387
10388 Optimise font locking in long enum definitions.
10389
10390 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10391 arm to a cond form to handle enums.
10392 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10393 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10394
9a0115ab 103952012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
10396
10397 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 10398 (Bug#10401)
6bb72cbd 10399
f186bb95
LMI
104002012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10401
29232a68
LMI
10402 * faces.el (set-face-attribute): Clarify the meaning of the nil
10403 frame (bug#10294).
10404
4e5d086d
LMI
10405 * subr.el (with-selected-frame): Mention that the selected frame
10406 is restored (bug#9980).
10407
8e66aebe
LMI
10408 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10409 (bug#9759).
10410
cd394be1 10411 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
10412 (password-read): Don't autoload unused function.
10413
adf4e762
JB
104142012-01-07 Juanma Barranquero <lekktu@gmail.com>
10415
10416 * progmodes/which-func.el (which-func-mode): Turn into a
10417 non-interactive function and mark as obsolete (bug#10428).
10418
89bd9ccd
CY
104192012-01-06 Chong Yidong <cyd@gnu.org>
10420
10421 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10422 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10423 functions, along with 1 and -1.
10424
4afee9d5
EZ
104252012-01-06 Eli Zaretskii <eliz@gnu.org>
10426
10427 * time.el (display-time-load-average)
10428 (display-time-default-load-average): Doc fixes. See the thread
10429 starting at
10430 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10431 for the details.
10432
536aea70
GM
104332012-01-06 Glenn Morris <rgm@gnu.org>
10434
665ae865
GM
10435 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10436 has no messages. (Bug#10377)
10437
c869783d
GM
10438 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10439 than Info-edit. (Bug#10385)
10440
2bb4227e
GM
10441 * time.el (display-time-load-average, display-time-next-load-average):
10442 Doc fixes.
10443
7d5944b9
GM
10444 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10445 local setting of buffer-read-only to the input buffer. (Bug#10419)
10446
536aea70
GM
10447 * calendar/calendar.el (calendar-mode):
10448 Locally set scroll-margin to 0. (Bug#10379)
10449
7dccca16
UM
104502012-01-06 Ulrich Mueller <ulm@gentoo.org>
10451
10452 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10453
afbb7930
GM
104542012-01-05 Glenn Morris <rgm@gnu.org>
10455
10456 * eshell/em-unix.el (diff-no-select): Autoload it.
10457 (eshell/diff): Use diff-no-select. (Bug#10420)
10458
04482335
CY
104592012-01-05 Chong Yidong <cyd@gnu.org>
10460
7baca3bc
CY
10461 * shell.el (shell-dynamic-complete-functions): Revert last change.
10462 (shell-command-completion-function): New function.
10463 (shell-completion-vars): Use it to implement
10464 shell-completion-execonly (Bug#10417).
10465
04482335
CY
10466 * custom.el (enable-theme): Don't set custom-safe-themes.
10467
1d00653d
SM
10468 * cus-theme.el (custom-theme-merge-theme):
10469 Ignore custom-enabled-themes and custom-safe-themes.
04482335 10470
bb5aa5d6
MM
104712012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10472
10473 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10474 first prompt in `sql-interacive-mode'.
10475 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 10476 keywords.
6df6ae42 10477 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
10478 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10479 context of original buffer. Invoke `sql-login-hook'.
10480
a7183d7c
EZ
104812012-01-04 Eli Zaretskii <eliz@gnu.org>
10482
10483 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10484 letters in cite-prefix.
10485
a1eacd1e
LMI
104862012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10487
10488 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10489
787cdb34
CY
104902012-01-03 Chong Yidong <cyd@gnu.org>
10491
1d00653d
SM
10492 * shell.el (shell-dynamic-complete-functions):
10493 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
10494 comint-filename-completion first (Bug#10417).
10495
30710442
RS
104962012-01-02 Richard Stallman <rms@gnu.org>
10497
10498 * battery.el (battery-status-function):
10499 Detect when to use battery-yeeloong-sysfs.
10500 (battery-echo-area-format): Add string for Yeeloong.
10501 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10502 (battery-yeeloong-sysfs): New function.
10503
f75bfc33
CY
105042012-01-02 Chong Yidong <cyd@gnu.org>
10505
10506 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10507 (dirtrack): Merge code for handling relative filenames in prompt
10508 from shell-dir-cookie-watcher.
10509 (dirtrack-debug-message): New arg to avoid excess format calls.
10510
10511 * shell.el (shell-dir-cookie-re): Variable deleted.
10512 (shell-dir-cookie-watcher): Function deleted.
10513 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10514 with dirtrack-mode.
10515
651e947e
EZ
105162012-01-01 Eli Zaretskii <eliz@gnu.org>
10517
1d00653d
SM
10518 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10519 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
10520 libgnutls-26.dll.
10521
94d4c7dc
AS
105222011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10523
10524 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10525
8d43f3cd
EZ
105262011-12-31 Eli Zaretskii <eliz@gnu.org>
10527
10528 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10529 headers of non-MIME messages, when rmail-enable-mime is non-nil.
10530
98c8795a
MA
105312011-12-29 Michael Albinus <michael.albinus@gmx.de>
10532
10533 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10534 also for alternative shells.
10535 (tramp-open-connection-setup-interactive-shell): Check, whether
10536 the shell is a busybox.
10537 (tramp-send-command): Don't suppress multiple prompts for
10538 busyboxes, it hurts.
10539
51281b32
CY
105402011-12-28 Chong Yidong <cyd@gnu.org>
10541
10542 * progmodes/gdb-mi.el (gdb-get-source-file-list)
10543 (gdb-get-source-file): Move mode line update to
10544 gdb-get-source-file (Bug#10087).
10545
2170cb53
CY
105462011-12-25 Chong Yidong <cyd@gnu.org>
10547
10548 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10549 gud-gdb-marker-filter without taking it as an argument.
10550 (gud-gdb-run-command-fetch-lines): Caller changed.
10551 (gud-gdb-completion-function): New variable.
10552 (gud-gdb-completion-at-point): Use it.
10553 (gud-gdb-completions-1): Split from gud-gdb-completions.
10554
10555 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10556 function as separate arguments.
10557 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10558 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10559 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10560 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10561 (gdb-stopped, def-gdb-auto-update-trigger)
10562 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
10563 (gdb-get-changed-registers, gdb-get-main-selected-frame):
10564 Callers changed.
2170cb53
CY
10565 (gud-gdbmi-completions): New function.
10566 (gdb): Use it for generating the completion table.
10567
be8b11bb
AM
105682011-12-24 Alan Mackenzie <acm@muc.de>
10569
10570 Introduce a mechanism to widen the region used in context font
1d00653d 10571 locking. Use this to protect declarations from losing their contexts.
be8b11bb 10572
1d00653d
SM
10573 * progmodes/cc-langs.el (c-before-font-lock-functions):
10574 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 10575 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
10576 functions to be run just before context (etc.) font locking.
10577
10578 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 10579 New, functionality extracted from
be8b11bb 10580 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 10581 (c-in-after-change-fontification): New variable.
be8b11bb
AM
10582 (c-after-change): Set c-in-after-change-fontification.
10583 (c-set-fl-decl-start): Rejig its interface, so it can be called
10584 from both after-change and context fontifying.
b81d40f0
JB
10585 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10586 New functions.
10587 (c-standard-font-lock-fontify-region-function): New variable.
10588 (c-font-lock-fontify-region): New function.
be8b11bb 10589
341cf6ac
JL
105902011-12-24 Juri Linkov <juri@jurta.org>
10591
10592 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10593 (Bug#10348)
10594
bffcee0a
MA
105952011-12-23 Michael Albinus <michael.albinus@gmx.de>
10596
10597 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10598 existence of source file. (Bug#10325)
10599
cb5e207c
AM
106002011-12-23 Alan Mackenzie <acm@muc.de>
10601
10602 Fix unstable fontification inside templates.
10603
b81d40f0
JB
10604 * progmodes/cc-langs.el (c-before-font-lock-functions):
10605 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
10606 additionally has c-set-fl-decl-start. The other languages (apart
10607 from AWK) have that as a single entry.
10608
b81d40f0
JB
10609 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10610 The functionality for "local" declarations has been extracted to
cb5e207c
AM
10611 c-set-fl-decl-start.
10612
b81d40f0
JB
10613 * progmodes/cc-mode.el (c-common-init, c-after-change):
10614 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
10615 (c-set-fl-decl-start): New function, extracted from
10616 c-font-lock-enclosing-decls and enhanced.
10617
60ff536c
JB
106182011-12-23 Juanma Barranquero <lekktu@gmail.com>
10619
10620 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
10621
1c4757d6
JL
106222011-12-22 Juri Linkov <juri@jurta.org>
10623
10624 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
10625
d031f2c7
CY
106262011-12-22 Chong Yidong <cyd@gnu.org>
10627
10628 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
10629
bace743a
DA
106302011-12-21 Drew Adams <drew.adams@oracle.com>
10631
10632 * files.el (file-remote-p): Fix docstring. (Bug#10319)
10633
728a1f2b
JC
106342011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10635
10636 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
10637
0d373f73
TZ
106382011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
10639
fec0aaa4
TZ
10640 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
10641 highlighting and support. Fix up comments for capitalization.
10642 (cfengine-mode-debug): New var.
10643 (cfengine3-mode): Change the modeline indicator to "CFE3".
10644 (cfengine3-font-lock-keywords): Improve defun highlighting.
10645 (cfengine2-actions): Rename from `cfengine-actions'.
10646 (cfengine2-font-lock-keywords): Rename from
10647 `cfengine-font-lock-keywords'.
10648 (cfengine2-imenu-expression): Rename from
10649 `cfengine-imenu-expression'.
10650 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
10651 (cfengine2-beginning-of-defun): Rename from
10652 `cfengine-beginning-of-defun'.
10653 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
10654 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
10655 (cfengine2-mode): Rename from `cfengine-mode'. Change the
10656 modeline indicator to "CFE2".
10657 (cfengine-mode): Defalias to `cfengine-auto-mode'.
10658 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 10659
bc86f573
CY
106602011-12-21 Chong Yidong <cyd@gnu.org>
10661
10662 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
10663 filename argument.
10664
d45ba96b
MR
106652011-12-20 Martin Rudalics <rudalics@gmx.at>
10666
10667 * window.el (window-normalize-buffer-to-display): Remove.
10668 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
10669
a6198c90
CY
106702011-12-19 Chong Yidong <cyd@gnu.org>
10671
10672 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
10673 Don't signal an error in a predicate function; return non-nil.
10674 (vc-dir-mark-file): Move the error here.
10675 (vc-dir-mark-unmark): If acting on the region, keep going if one
10676 of the entries cannot be marked/unmarked.
10677 (vc-dir-mark-all-files): If current entry is a directory, mark
10678 only child files, as documented.
10679
34c5fb55
VB
106802011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
10681
10682 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
10683 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
10684 addition.
10685
c803b2b7
JD
106862011-12-18 Jan Djärv <jan.h.d@swipnet.se>
10687
10688 * term/ns-win.el (ns-get-selection-internal)
10689 (ns-store-selection-internal): Declare.
1154d12e
JB
10690 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
10691 Declare as obsolete.
10692 (ns-get-pasteboard, ns-paste-secondary):
10693 Use ns-get-selection-internal.
41e9b956 10694 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 10695 Use ns-store-selection-internal.
c803b2b7 10696
9cff91f8 106972011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
10698
10699 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 10700 (vc-deduce-fileset): Doc fix.
99a289d9 10701
f16c898a
AS
107022011-12-16 Andreas Schwab <schwab@linux-m68k.org>
10703
10704 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
10705
763237c4
SS
107062011-12-13 Sam Steingold <sds@gnu.org>
10707
10708 * man.el (Man-getpage-in-background): When running under a
10709 window-system, ignore $MANWIDTH and $COLUMNS.
10710
5fc1c122
KH
107112011-12-15 Kenichi Handa <handa@m17n.org>
10712
10713 * language/ethio-util.el: Change coding tag to utf-8-emacs.
10714 (setup-ethiopic-environment-internal): Comment out key-binding for
10715 ethio-toggle-punctuation.
10716
13d49cbb
AM
107172011-12-13 Alan Mackenzie <acm@muc.de>
10718
898169a2
AM
10719 Add the switch statement to AWK Mode.
10720
7a71b18d 10721 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
10722 "default" to the keywords regexp.
10723
7a71b18d 10724 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 10725 expression as the rest.
1d00653d
SM
10726 (c-nonlabel-token-key): Allow string literals for AWK.
10727 Refactor for the other modes.
898169a2 10728
13d49cbb 10729 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 10730 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
10731 routines. Limit backward searching in c-font-lock-enclosing.decl.
10732
10733 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
10734 pp-state and literal type in addition to the limits.
1d00653d 10735 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 10736 (c-state-literal-at): Use the above new defun.
1d00653d
SM
10737 (c-slow-in-literal, c-fast-in-literal): Remove.
10738 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
10739
10740 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
10741 being in a literal. Add a limit for backward searching.
10742
10743 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
10744 c-slow-in-literal.
10745
15e0efc7
SM
107462011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
10747
10748 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
10749
454592a6
MR
107502011-12-13 Martin Rudalics <rudalics@gmx.at>
10751
10752 * window.el (delete-other-windows): Use correct frame in call to
10753 window-with-parameter.
10754
87393f26
DP
107552011-12-12 Daniel Pfeiffer <occitan@t-online.de>
10756
10757 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
10758 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
10759 (makefile-gmake-statements, makefile-makepp-statements):
10760 Use it and add new makepp keywords.
10761 (makefile-makepp-font-lock-keywords): Add new patterns.
10762 (makefile-match-function-end): Match new [...] and [[...]].
10763
11636b22
JB
107642011-12-11 Juanma Barranquero <lekktu@gmail.com>
10765
10766 * ses.el (ses-call-printer-return, ses-cell-property-get)
10767 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
10768 (ses-create-cell-variable, ses-reset-header-string)
10769 (ses-cell-set-formula, ses-repair-cell-reference-all)
10770 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
10771 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
10772 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
10773 (ses-aset-with-undo, ses-load, ses-truncate-cell)
10774 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
10775 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
10776 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
10777 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
10778 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
10779 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
10780 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
10781 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
10782
cf018193
VB
107832011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
10784
10785 * ses.el: The overall change is to add cell renaming, that is
10786 setting fancy names for cell symbols other than name matching
10787 "\\`[A-Z]+[0-9]+\\'" regexp .
10788 (ses-create-cell-variable): New defun.
10789 (ses-relocate-formula): Relocate formulas only for cells the
10790 symbols of which are not renamed, i.e. symbols whose names do not
10791 match regexp "\\`[A-Z]+[0-9]+\\'".
10792 (ses-relocate-all): Relocate values only for cells the symbols of
10793 which are not renamed.
10794 (ses-load): Create cells variables as the (ses-cell ...) are read,
10795 in order to check row col consistency with cell symbol name only
10796 for cells that are not renamed.
10797 (ses-replace-name-in-formula): New defun.
10798 (ses-rename-cell): New defun.
10799
ee957461
CY
108002011-12-11 Chong Yidong <cyd@gnu.org>
10801
10802 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
10803 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
10804
9a9e9ef0
MR
108052011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
10806
10807 * window.el (other-window): Fix docstring.
10808
92a8eba5
EZ
108092011-12-10 Eli Zaretskii <eliz@gnu.org>
10810
10811 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
10812 `from' or `to' address before taking its substring.
10813 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
10814 encoded name is chopped in the middle of the encoded string, and
10815 thus displayed encoded.
10816
e152e577
JB
108172011-12-10 Juanma Barranquero <lekktu@gmail.com>
10818
10819 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
10820
e5d84bfe
EZ
108212011-12-10 Eli Zaretskii <eliz@gnu.org>
10822
10823 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
10824 to use texinfo-update-node and commands that call it if the
10825 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 10826 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
10827 (texinfo-all-menus-update, texinfo-master-menu)
10828 (texinfo-update-node, texinfo-every-node-update)
10829 (texinfo-multiple-files-update): Doc fix. Warn against updating
10830 all the @node lines.
10831 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
10832 argument is numeric. Explain better in the doc string what the
10833 function really does.
10834 (texinfo-insert-master-menu-list): Improve the error message
10835 displayed if there's no menu in the Top node.
10836 (Bug#2975) See also this thread:
e5d84bfe
EZ
10837 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
10838
1d84e9bb
MG
108392011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
10840
10841 * speedbar.el (speedbar-supported-extension-expressions):
10842 Add .adb and .ads, commonly used for Ada source code (bug#10256).
10843
382c953b
JB
108442011-12-09 Juanma Barranquero <lekktu@gmail.com>
10845
10846 * printing.el (pr-mode-alist):
10847 * simple.el (filter-buffer-substring-functions)
10848 (completion-list-insert-choice-function):
10849 * window.el (window-with-parameter, window-atom-root)
10850 (window-sides-slots, window-size-fixed, window-min-delta)
10851 (window-max-delta, window--resize-mini-window)
10852 (window--resize-child-windows-normal, window-tree)
10853 (delete-other-windows, quit-window, split-window)
10854 (display-buffer-record-window, special-display-buffer-names)
10855 (special-display-regexps, special-display-popup-frame)
10856 (same-window-p, split-window-sensibly)
10857 (display-buffer-overriding-action, display-buffer-alist)
10858 (display-buffer-base-action, display-buffer, switch-to-buffer)
10859 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
10860 (fit-window-to-buffer, recenter-positions)
10861 (mouse-autoselect-window-state, mouse-autoselect-window-select):
10862 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
10863 and remove unneeded backslashes in docstrings.
10864
39c9faef
SM
108652011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10866
98449af8
SM
10867 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
10868
39c9faef
SM
10869 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
10870 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
10871 end in ".mk".
10872 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
10873 when reading the makefile (bug#10116).
10874
86ed9fdc
SM
108752011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
10876
10877 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
10878 (bug#10116).
10879
5580f89d
GM
108802011-12-06 Glenn Morris <rgm@gnu.org>
10881
10882 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
10883
28d3917c
CY
108842011-12-06 Chong Yidong <cyd@gnu.org>
10885
10886 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
10887
a98edce9
JB
108882011-12-06 Juanma Barranquero <lekktu@gmail.com>
10889
10890 * textmodes/table.el (table-shorten-cell): Fix typo.
10891
e65adfac
CG
108922011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
10893
10894 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
10895
71cc0b74
EZ
108962011-12-05 Eli Zaretskii <eliz@gnu.org>
10897
10898 * descr-text.el (describe-char): Fix display of strong
10899 right-to-left characters and directional embeddings and overrides.
10900
10901 * simple.el (what-cursor-position): Fix display of codepoints of
10902 strong right-to-left characters.
10903
315bc30d
CY
109042011-12-05 Chong Yidong <cyd@gnu.org>
10905
10906 * faces.el (read-color): Doc fix.
10907
58a70b94
GM
109082011-12-05 Glenn Morris <rgm@gnu.org>
10909
10910 * align.el (align--set-marker): Add doc-string.
10911 Don't try to move something that is not a marker. (Bug#10216)
10912
5158face
GM
109132011-12-04 Glenn Morris <rgm@gnu.org>
10914
10915 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
10916 overly zealous deletion of trailing whitespace.
10917
520fca41
JB
109182011-12-04 Juanma Barranquero <lekktu@gmail.com>
10919
10920 * server.el (server-delete-client): On Windows, do not try to delete
10921 the only terminal.
10922 (server-process-filter): On Windows, treat requests for a tty frame as
10923 if they were for a GUI frame if the running server is in GUI mode.
10924
5e605a2e
GM
109252011-12-03 Glenn Morris <rgm@gnu.org>
10926
10927 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
10928
5c3fe83f
SM
109292011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10930
6f5e57e7
SM
10931 * electric.el: Streamline electric-indent's hook.
10932 (electric-indent-chars): Revert to simple list.
10933 (electric-indent-functions): New var.
10934 (electric-indent-post-self-insert-function): Use it.
10935
5c3fe83f
SM
10936 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
10937 there's no inferior buffer (bug#10196).
10938 (prolog-consult-compile): Don't use toggle-read-only.
10939
6bdac736
MA
109402011-12-02 Michael Albinus <michael.albinus@gmx.de>
10941
10942 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
10943 interrupt. (Bug#10187)
10944
6131ba7f
SM
109452011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10946
99c79fee
SM
10947 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
10948 (bug#9160).
10949
6131ba7f
SM
10950 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
10951 (bug#10191).
10952
cb0a02ea
JL
109532011-12-02 Juri Linkov <juri@jurta.org>
10954
10955 * info.el (Info-search): Display "end of manual" when Isearch
10956 reaches the end of single-file Info manual. (Bug#9918)
10957
66e0570c
EZ
109582011-12-02 Eli Zaretskii <eliz@gnu.org>
10959
10960 * isearch.el (isearch-message-prefix): Run the input method part
10961 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
10962
02b16839
JL
109632011-12-02 Juri Linkov <juri@jurta.org>
10964
10965 * isearch.el (isearch-occur): Use `word-search-regexp' for
10966 `isearch-word'.
10967 (isearch-search-and-update): Add condition for `isearch-word' and
10968 call `word-search-regexp'. (Bug#10145)
10969
0b950688
GM
109702011-12-01 Glenn Morris <rgm@gnu.org>
10971
10972 * eshell/em-hist.el (eshell-hist-initialize):
10973 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 10974 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 10975
9505c3c7
SM
109762011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10977
10978 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
10979
1bbe96b2 109802011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 10981
a1beca85
SM
10982 * progmodes/verilog-mode.el (verilog-pretty-expr):
10983 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
10984 verilog, such as += *= and the like.
10985 (verilog-assignment-operator-re): Regular expression to find the
10986 assigment operator in a verilog assignment.
10987 (verilog-assignment-operation-re): Regular expression to find an
10988 assignment statement for pretty-expr.
10989 (verilog-in-attribute-p): Query returns true if point is in an
10990 attribute context; used to skip these for expression line up from
10991 pretty-expr.
10992 (verilog-in-parameter-p): Query returns true if point is in an
10993 parameter definition context; used to skip these for expression
10994 line up from pretty-expr.
10995 (verilog-in-parenthesis-p): Query returns true if point is in a
10996 parenthetical expression, specifically ( ) but not [ ] or { };
10997 used by pretty-expr.
10998 (verilog-just-one-space): If there is no space, don't add one.
10999 (verilog-get-lineup-indent-2): Specifically skip just attribute
11000 contexts for expression lineup, rather than skipping all
11001 parenthetical expressions.
11002 (verilog-calculate-indent): Fix comment, and fix indent.
11003 (verilog-do-indent): Indent declarations in lists (suggested by
11004 Joachim Lechner).
11005 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11006 skeleton items.
11007 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11008 by Alain Mellan).
11009
1bbe96b2 110102011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
11011
11012 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11013 parameters with embedded comments. Reported by Ray Stevens.
11014 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11015 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11016 Reported by Tim Holt.
11017 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11018 instantiated by upper module causing wrong expansion until AUTOed a
11019 second time. Reported by K C Buckenmaier.
11020 (verilog-diff-auto): Fix showing .* as a difference when
11021 `verilog-auto-star-save' off. Reported by Dan Dever.
11022 (verilog-auto-reset, verilog-read-always-signals)
11023 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11024 temporary signals in reset list if
11025 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
11026 style to each signal's assignment type, bug381.
11027 Reported by Thomas Esposito.
6288f0ca
WS
11028 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11029 (verilog-uvm-statement-re): Support UVM indentation and
11030 highlighting, with old OVM keywords only.
a1beca85 11031 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
11032 Support AUTOTIEOFF creating non-wire data types.
11033 Suggested by Jonathan Greenlaw.
6288f0ca
WS
11034 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11035 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11036 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
11037 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11038 Fix mismatching parenthesis inside commented out code when deleting
382c953b 11039 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
11040 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11041 non-numeric vector width. Reported by Alex Reed.
11042 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 11043 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
11044 (verilog-auto-delete-trailing-whitespace):
11045 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
11046 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11047 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11048 Fix verilog-scan-cache corruption when running user AUTO expansion
11049 hooks that call indentation routines.
11050 (verilog-simplify-range-expression): Fix typo ignoring lower case
11051 identifiers.
11052 (verilog-delete-auto): Fix delete-autos to also remove user created
11053 automatics, as long as they start with AUTO.
11054 (verilog-batch-diff-auto, verilog-diff-auto)
11055 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11056 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11057 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11058 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
11059 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11060 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
11061 is disabled and its cache will get corrupt, causing AUTOS not to
11062 expand. Instead use only -quick functions.
11063 (verilog-scan-region): Fix scanning over escaped quotes.
11064 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11065 (verilog-re-search-backward-quick)
11066 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11067 related functions now ignore strings, to fix misparsing of strings
11068 with magic comments embedded in them.
a1beca85
SM
11069 (verilog-read-auto-template):
11070 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11071 Reported by Brad Dobbie.
11072 (verilog-read-auto-template):
11073 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 11074 Reported by Brad Dobbie.
6288f0ca
WS
11075 (verilog-auto-inst, verilog-auto-inst-param)
11076 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11077 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11078 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
11079 debugging templates without merge conflicts, bug357.
11080 Reported by Brad Dobbie.
11081 (verilog-read-auto-template):
11082 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
11083 Reported by Brad Dobbie.
11084 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11085 abbrevs so user won't be asked to save.
11086 (verilog-read-auto-lisp-present): Fix to start at beginning of
11087 buffer in case called outside of verilog-auto.
11088 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11089 to "X-2". Reported by Matthew Myers.
11090 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11091 all inputs from module templates. Reported by Leith Johnson.
11092 (verilog-module-inside-filename-p): Fix locating programs as with
11093 modules.
11094 (verilog-auto-inst-port): Fix vl-width expressions when using
11095 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11096 (verilog-decls-get-regs, verilog-decls-get-signals,
11097 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11098 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11099 verilog-read-decls): Combine reg and wire structures into one var
11100 structure to represent SystemVerilog concepts.
11101 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11102 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
11103 (verilog-auto-wire-type, verilog-insert-definition):
11104 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
11105 SystemVerilog "logic" keyword instead of "wire"/"reg".
11106 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11107 to declares outputs that also have assignments (presumably in an
a1beca85
SM
11108 ifdef or generate if so there's not a driver conflict).
11109 Reported by Matthew Myers.
11110 (verilog-auto-declare-nettype, verilog-insert-definition):
11111 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
11112 `default_nettype none. Reported by Julian Gorfajn.
11113 (verilog-read-always-signals-recurse, verilog-read-decls)
11114 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11115 malformed end statement, bug325. Reported by Joshua Wise and
11116 Andrew Drake.
11117 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11118 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
11119 when expanding .* in interfaces, bug320.
11120 Reported by Pierre-David Pfister.
6288f0ca 11121 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
11122 name and open parenthesis, bug317.
11123 Reported by Pierre-David Pfister.
6288f0ca
WS
11124 (verilog-simplify-range-expression): Fix simplification of
11125 multiplications inside AUTOWIRE connections, bug303.
11126 (verilog-auto-inst-port): Support parameter expansion in
11127 multidimensional arrays.
11128 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11129 after "assert property". Reported by Julian Gorfajn.
11130 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11131 with multiplication, bug303.
11132 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11133 Reported by Jan Frode Lonnum.
11134
1bbe96b2
GM
111352011-11-30 Juanma Barranquero <lekktu@gmail.com>
11136
11137 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11138 (hfy-shell-file-name, hfy-shell):
11139 * international/fontset.el (x-decompose-font-name): Fix typos.
11140
111412011-11-29 Ken Brown <kbrown@cornell.edu>
11142
11143 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11144 (gdb-version): Remove defvar.
11145 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11146 (gdb-gud-context-command, gdb-non-stop-handler)
11147 (gdb-current-context-command, gdb-stopped): Use it.
11148 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
11149 (gdb-non-stop-handler): Don't enable pretty-printing here.
11150 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
11151 non-stop mode. Use the following.
11152 (gdb-check-target-async): New defun.
11153 (gud-watch, gdb-stopped): Fix whitespace.
11154 (gdb-get-source-file): Don't try to display the source file if
11155 `gdb-main-file' is nil.
11156
111572011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11158
11159 * align.el: Try to generate fewer markers (bug#10047).
11160 (align--set-marker): New macro.
11161 (align-region): Use it.
11162
c935221f
SM
111632011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11164
11165 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11166
e70b5064
CY
111672011-11-29 Chong Yidong <cyd@gnu.org>
11168
11169 * indent.el (indent-for-tab-command, indent-according-to-mode):
11170 Doc fix.
11171 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11172
f3af92b7
MA
111732011-11-29 Michael Albinus <michael.albinus@gmx.de>
11174
11175 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11176 aware of remote file names. (Bug#10124)
11177
ed472be9
CY
111782011-11-29 Chong Yidong <cyd@gnu.org>
11179
11180 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11181
24510c22
SM
111822011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11183
11184 * files.el (find-file): Don't use force-same-window (bug#10144).
11185 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11186 use pop-to-buffer if the selected window can't be used.
11187 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11188
c60c3703
EZ
111892011-11-28 Eli Zaretskii <eliz@gnu.org>
11190
11191 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11192 special-mode-map.
11193
e95def75
CY
111942011-11-28 Chong Yidong <cyd@gnu.org>
11195
11196 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11197
c3f1c606
NR
111982011-11-27 Nick Roberts <nickrob@snap.net.nz>
11199
11200 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11201 gdb-get-source-file-list on gdb-create-source-file-list.
11202
00db469c
EZ
112032011-11-26 Eli Zaretskii <eliz@gnu.org>
11204
11205 * whitespace.el (whitespace-newline): Use a different foreground
11206 color for 16-color light-background displays.
11207
4ad3bc2a
CY
112082011-11-24 Chong Yidong <cyd@gnu.org>
11209
11210 * window.el (display-buffer--special-action): Doc fix.
11211
e9fce1ac
JB
112122011-11-25 Juanma Barranquero <lekktu@gmail.com>
11213
11214 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11215 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11216 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11217 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11218 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11219 (avl-tree-stack-first):
11220 * emacs-lisp/cconv.el (cconv--analyse-use):
11221 * net/gnutls.el (gnutls-negotiate): Fix typos.
11222
cb825e5d
GM
112232011-11-24 Glenn Morris <rgm@gnu.org>
11224
3adbe224
GM
11225 * lpr.el (lpr-windows-system, lpr-lp-system):
11226 * mail/binhex.el (binhex-begin-line):
11227 * progmodes/grep.el (grep-history, grep-find-history):
11228 * textmodes/flyspell.el:
11229 * vc/pcvs-defs.el (cvs-global-menu):
11230 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11231 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11232 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11233
321decc8
GM
11234 * net/tls.el: Fix case of "GnuTLS".
11235
420b63ad
GM
11236 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11237
cb825e5d
GM
11238 * version.el (emacs-build-system): Give it a doc-string.
11239
a0649f08
JL
112402011-11-24 Juri Linkov <juri@jurta.org>
11241
11242 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11243
c0bc0fd4
GM
112442011-11-24 Glenn Morris <rgm@gnu.org>
11245
11246 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11247 if called on a non-mime message just toggle the headers. (Bug#8006)
11248
20db1522
JB
112492011-11-24 Juanma Barranquero <lekktu@gmail.com>
11250
11251 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11252 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11253 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11254 (allout-rebullet-heading, allout-open-sibtopic)
11255 (allout-toggle-current-subtree-encryption)
11256 (allout-toggle-subtree-encryption, allout-encrypt-string)
11257 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11258 (allout-distinctive-bullets-string, allout-auto-activation):
11259 * window.el (window-normalize-buffer-to-display):
11260 * progmodes/verilog-mode.el (verilog-batch-indent):
11261 * textmodes/bibtex.el (bibtex-field-braces-opt)
11262 (bibtex-field-strings-opt):
11263 * vc/cvs-status.el (cvs-tree-merge):
11264 Fix typos.
11265
7262a87c
MA
112662011-11-23 Michael Albinus <michael.albinus@gmx.de>
11267
11268 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11269 `non-essential' to t, in order to avoid remote connections.
11270
283430a1
EZ
112712011-11-23 Eli Zaretskii <eliz@gnu.org>
11272
a1beca85
SM
11273 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11274 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
11275 case-insensitively.
11276
d2992a38
ML
112772011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11278
11279 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11280
50419064
GM
112812011-11-23 Glenn Morris <rgm@gnu.org>
11282
da94eca1
GM
11283 * paths.el (rmail-file-name): Reformat the doc-string so that it
11284 is picked up.
11285
9aac4de2
GM
11286 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11287 (rmail-auto-file): Ignore case in the "special" field names,
11288 as mail-fetch-field does for all others.
11289
8038d2d2
GM
11290 * mail/rmail.el (rmail-forward):
11291 * mail/rmailkwd.el (rmail-set-label):
11292 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11293 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11294
f3fe222a
GM
11295 * mail/rmail.el (rmail-current-message): Doc fix.
11296
50419064
GM
11297 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11298
28109f49
SM
112992011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11300
11301 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11302
394c65f1
GM
113032011-11-22 Glenn Morris <rgm@gnu.org>
11304
11305 * mail/rmailmm.el (test-rmail-mime-handler)
11306 (test-rmail-mime-bulk-handler)
11307 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11308
f2a0aa3a
JL
113092011-11-21 Juri Linkov <juri@jurta.org>
11310
1154d12e
JB
11311 * calc/calc.el (calc-read-key-sequence):
11312 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 11313
9c34a344
LMI
113142011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11315
11316 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11317 Tell the caller that the next line needs recomputation, even
11318 though it doesn't start a sexp (bug#10094).
11319
f04a3be9
SM
113202011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11321
11322 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11323
7978747f
SM
113242011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11325
f04a3be9
SM
11326 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11327 Use force-same-window.
7978747f 11328
fe7a3057
JB
113292011-11-20 Juanma Barranquero <lekktu@gmail.com>
11330
11331 * descr-text.el (describe-char-unicode-data):
11332 * json.el (json-string-escape):
11333 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11334 (Footnote-unicode, Footnote-style-p):
11335 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11336
24901d61
CY
113372011-11-20 Chong Yidong <cyd@gnu.org>
11338
11339 * window.el (replace-buffer-in-windows): Restore interactive spec.
11340
bac7ff22
SM
113412011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11342
24f3d7b9
SM
11343 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11344
bac7ff22
SM
11345 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11346 (byte-compile-global-not-obsolete-vars): New var.
11347 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11348 Use it.
11349 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11350
cd1181db
JB
113512011-11-20 Juanma Barranquero <lekktu@gmail.com>
11352
11353 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11354 * progmodes/pascal.el (electric-pascal-equal):
11355 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11356 * xml.el (xml-substitute-special): Fix typos.
11357
7fb18e9e
GM
113582011-11-20 Glenn Morris <rgm@gnu.org>
11359
11360 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11361 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11362 Doc fixes.
11363 (rmail-decode-mime-charset): Mark as obsolete.
11364
11365 * mail/rmailsum.el (rmail-message-regexp-p-1):
11366 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11367 Before using mime functions, check they are set. (Bug#10077)
11368
d5a6b3ba
JL
113692011-11-19 Juri Linkov <juri@jurta.org>
11370
11371 * info.el (Info-finder-find-node): Use `package--builtins' instead
11372 of `package-alist'. Use node names formed by the pattern "Keyword "
11373 and the keyword name.
11374
e981b61f
AS
113752011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11376
1d00653d 11377 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 11378
3ffbc301
JL
113792011-11-19 Juri Linkov <juri@jurta.org>
11380
11381 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11382 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11383 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11384 `old-history', `old-history-forward'. Add let-binding
11385 `window-selected'. Remove calls to `kill-buffer',
11386 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11387 before calling `Info-find-node', so `Info-find-node-2' will reread
11388 the Info file. Restore window positions only when `window-selected'
11389 is non-nil.
11390
30c62133
JL
113912011-11-19 Juri Linkov <juri@jurta.org>
11392
11393 * isearch.el (isearch-lazy-highlight-new-loop):
11394 Remove condition `(not isearch-error)'. (Bug#9918)
11395
11396 * misearch.el (multi-isearch-search-fun): Add condition
11397 `(not bound)' to ignore lazy-highlighting search.
11398 Add the search-failed message "end of multi" when the end of
11399 multi-sequence is reached. Uncapitalize the search-failed
11400 message "Repeat for next buffer".
11401
11402 * info.el (Info-search): Add the search-failed message
11403 "end of the manual" when the end of the manual is reached
11404 in Isearch mode.
11405
645ca9cf
JL
114062011-11-19 Juri Linkov <juri@jurta.org>
11407
11408 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11409 Use non-destructive `remove' instead of `delete' because
11410 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11411 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11412
df754f66
JL
114132011-11-19 Juri Linkov <juri@jurta.org>
11414
11415 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11416 to nil instead of binding `search-ring' and `regexp-search-ring'.
11417 (Bug#9185)
11418
0e23d96a
EZ
114192011-11-19 Eli Zaretskii <eliz@gnu.org>
11420
11421 * simple.el (line-move): Force movement by logical lines for any
11422 hscrolled window, not only when auto-hscroll-mode is on.
11423 (line-move-visual): Update doc string to that effect. (Bug#10076)
11424
8a6ccb66
AS
114252011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11426
11427 * language/european.el (macintosh): Define as alias for mac-roman.
11428
49ae5b39
EZ
114292011-11-19 Eli Zaretskii <eliz@gnu.org>
11430
11431 * mail/rmailmm.el (rmail-mime-display-header)
11432 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11433 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11434 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11435 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11436 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11437 of a raw aref.
11438 (rmail-mime-entity-segment): To get past the tagline, move forward
11439 2 more lines, to account for the 2 empty lines that precede and
11440 follow the line with the buttons.
11441 (rmail-mime-update-tagline): Move one more line, to get past the
11442 empty line that follows the buttons in the tagline. (Bug#9520)
11443
c56cad4a
MR
114442011-11-19 Martin Rudalics <rudalics@gmx.at>
11445
11446 * window.el (window-max-delta-1, window-min-delta-1)
11447 (window-min-size-1, window-state-get-1, window-state-put-1)
11448 (window-state-put-2): Use "window--" prefix.
11449
cbe71af3
SM
114502011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11451
2ad52c60
SM
11452 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11453 (smie-warning-count): New var.
11454 (smie-set-prec2tab): Use it.
11455 (smie-bnf->prec2): Improve warnings. Add docstring.
11456 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11457 (smie-bnf--set-class): New function.
11458 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11459 corner case.
11460
6944dbc1
SM
11461 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11462 (compilation-error-properties, compilation-move-to-column):
11463 Handle compilation-first-column while in the target buffer.
11464
c400c4d7
SM
11465 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11466 Don't hardcode point-min==1.
11467
6dbe3e96
SM
11468 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11469 (eshell-rewrite-for-command): Remove workaround.
11470 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11471 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11472 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11473
cbe71af3
SM
11474 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11475
a8e1496d
GM
114762011-11-17 Glenn Morris <rgm@gnu.org>
11477
11478 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11479 Ignore buffer-local generated-autoload-file if it is the same
11480 as the global value. (Bug#10049)
11481
df85d315
JB
114822011-11-17 Juanma Barranquero <lekktu@gmail.com>
11483
11484 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11485 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11486 (reftex-toc-previous-heading, reftex-toc-max-level)
11487 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11488 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11489 (reftex-toc-do-promote, reftex-toc-promote-prepare)
11490 (reftex-toc-promote-action, reftex-toc-extract-section-number)
11491 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11492 (reftex-toc-rename-label, reftex-toc-visit-location)
11493 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11494 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11495 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11496 leaving "*toc*" only for references to the buffer.
11497
a0c2d0ae
MR
114982011-11-17 Martin Rudalics <rudalics@gmx.at>
11499
11500 * window.el (window-resize, delete-window, split-window):
11501 Replace window-splits by window-combination-resize.
1d00653d 11502 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 11503
35c0bac8
GM
115042011-11-17 Glenn Morris <rgm@gnu.org>
11505
11506 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11507 Make bash entry derive from sh entry, not shell entry.
11508
d0c8fc8a
MA
115092011-11-16 Michael Albinus <michael.albinus@gmx.de>
11510
7262a87c
MA
11511 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11512 local file name.
11513
7877f373
JB
115142011-11-16 Juanma Barranquero <lekktu@gmail.com>
11515
11516 * menu-bar.el (menu-bar-file-menu):
11517 * printing.el (pr-ps-utility):
11518 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11519 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11520 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11521 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11522 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11523 (icalendar--convert-cyclic-to-ical)
11524 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11525 (icalendar--convert-ical-to-diary)
11526 (icalendar--convert-recurring-to-diary)
11527 (icalendar--convert-non-recurring-all-day-to-diary)
11528 (icalendar-import-format-sample):
11529 * progmodes/idlw-shell.el (idlwave-shell-mode):
11530 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11531 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11532 (vhdl-ps-print-init): Fix typos.
11533
10649b82
KM
115342011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
11535
9d0cfcd6
GM
11536 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11537 FSF and collapse date sequence, obscure author/maintainer email address
11538 better, remove extra version line, track relocation of author's webpage.
10649b82 11539
9d0cfcd6
GM
11540 * progmodes/python.el (python-pdbtrack-input-prompt)
11541 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11542 regular python pdb prompts. Adjustments shamelessly taken exactly as
11543 suggested in EmacsWiki page (tiny change):
11544 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 11545
58179cce
JB
115462011-11-16 Juanma Barranquero <lekktu@gmail.com>
11547
11548 * expand.el (expand-pos, expand-index, expand-point):
11549 Remove redundant info from docstring.
11550 (expand-add-abbrevs): Doc fix.
11551 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11552 (expand-sample-perl-mode-expand-list): Fix typos.
11553
11554 * net/dbus.el (dbus-event-member-name):
11555 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11556 * term/pc-win.el (msdos-create-frame-with-faces):
11557 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11558
b6f67890
MR
115592011-11-16 Martin Rudalics <rudalics@gmx.at>
11560
11561 * window.el (split-window, window-state-get-1)
11562 (window-state-put-1, window-state-put-2): Rename occurrences of
11563 window-nest to window-combination-limit.
1d00653d 11564 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 11565
ce7ddba0
CY
115662011-11-16 Chong Yidong <cyd@gnu.org>
11567
11568 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11569 regexp (Bug#10033).
11570
3ae704f4
SM
115712011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11572
11573 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11574 `completing-read' will remove *Completions* and will preserve
11575 current-buffer for us.
11576 (tmm-add-prompt): Users of *Completions* will always (re)set its
11577 major mode.
11578 (tmm-old-comp-map): Remove.
11579
6ad1cdde
GM
115802011-11-16 Glenn Morris <rgm@gnu.org>
11581
11582 * mail/rmailedit.el: Require rmailmm when compiling.
11583 (rmail-old-mime-state): New declaration.
11584 (rmail-edit-current-message): If editing a mime message,
11585 edit the "raw" message from the mbox buffer.
11586 (rmail-cease-edit): Handle mime messages. (Bug#9840)
11587
d20faa20
GM
115882011-11-15 Glenn Morris <rgm@gnu.org>
11589
11590 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11591 which wasn't being used. Add optional arg to force given state.
11592 (rmail-mime): Add optional arg to force given state.
11593
c7015153
JB
115942011-11-15 Juanma Barranquero <lekktu@gmail.com>
11595
11596 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11597 * frame.el (display-mm-dimensions-alist):
11598 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11599 (outline-move-subtree-down):
11600 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11601 (newsticker--treeview-do-get-node):
11602 * net/quickurl.el (quickurl-list-buffer-name):
11603 * progmodes/dcl-mode.el (dcl-mode):
11604 * progmodes/gdb-mi.el (gdb-mapcar*):
11605 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11606
45261b50
GM
116072011-11-15 Glenn Morris <rgm@gnu.org>
11608
11609 * mail/rmail.el (rmail-file-coding-system): It's only ever used
11610 in a boolean sense, so just make it a boolean, and fix the doc.
11611 (rmail-show-mime-function, rmail-mime-feature)
11612 (rmail-require-mime-maybe): Doc fixes.
11613 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11614
11615 * mail/rmailmm.el (rmail-show-mime): Doc fix.
11616
0d26e0b6
JB
116172011-11-15 Juanma Barranquero <lekktu@gmail.com>
11618
11619 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
11620 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
11621 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
11622 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11623
447f30f6
GM
116242011-11-15 Glenn Morris <rgm@gnu.org>
11625
672b871d
GM
11626 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11627 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
11628 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
11629 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
11630 (rmail-mime, rmail-show-mime): Doc fixes.
11631
f6aa5bb1
GM
11632 * term/ns-win.el (mode-line-frame-identification):
11633 Leave it alone. (Bug#10051)
11634
947cd66b
GM
11635 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
11636
447f30f6
GM
11637 * mail/rmailout.el (rmail-output-to-rmail-buffer):
11638 Handle empty buffers. (Bug#9978)
11639
0b381c7e
JB
116402011-11-14 Juanma Barranquero <lekktu@gmail.com>
11641
11642 * international/mule.el (define-charset):
11643 * mail/rmailmm.el (rmail-mime-find-header-encoding):
11644 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
11645 * progmodes/verilog-mode.el (verilog-backward-token):
11646 * textmodes/ispell.el (lookup-words):
11647 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
11648
71e027ac
GM
116492011-11-14 Glenn Morris <rgm@gnu.org>
11650
56632ce4
GM
11651 * progmodes/executable.el
11652 (executable-make-buffer-file-executable-if-script-p):
11653 Handle file-modes returning nil.
11654
40500957
GM
11655 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
11656 message - not necessary, and causes problems. (Bug#9831)
11657
071c2340
GM
11658 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
11659
d3cfca60
GM
11660 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
11661
71e027ac
GM
11662 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
11663 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
11664 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
11665
89d61221
MR
116662011-11-12 Martin Rudalics <rudalics@gmx.at>
11667
11668 * window.el (window-resize, delete-window): Use window-splits
11669 variable instead of function.
11670 (window-state-get-1, window-state-put-2, window-state-put):
11671 Don't deal with windows' splits status.
11672
98282f6f
GM
116732011-11-12 Glenn Morris <rgm@gnu.org>
11674
11675 * apropos.el (apropos-do-all, apropos-library, apropos-value)
11676 (apropos-documentation): Doc fixes.
11677
40a8bdf6
JB
116782011-11-11 Juanma Barranquero <lekktu@gmail.com>
11679
11680 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
11681 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
11682
65bd19ff
SM
116832011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11684
11685 * electric.el (electric-indent-post-self-insert-function): Make it
11686 possible for a char to only indent in some circumstances.
11687 (electric-indent-mode): Simplify.
11688
54f9154c
MR
116892011-11-11 Martin Rudalics <rudalics@gmx.at>
11690
11691 * window.el (windows-with-parameter): Remove unused function.
11692 (windows-at-side): Rename to window-at-side-list.
11693 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
11694 (window-side-check, window-size-ignore, window-size-fixed-1)
11695 (window-in-direction-2): Prefix with "window--".
11696 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 11697
68cbc58b
GM
116982011-11-11 Glenn Morris <rgm@gnu.org>
11699
11700 * subr.el (eval-after-load): If FILE is already loaded,
11701 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
11702
b2621720
GM
117032011-11-10 Glenn Morris <rgm@gnu.org>
11704
9a4de110
GM
11705 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
11706 Call svn via vc-svn-command rather than vc-do-command.
11707 (vc-svn-command): Add --non-interactive. (Bug#9993)
11708 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
11709
b2621720
GM
11710 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11711 Add toggle-read-only. (Bug#7292)
11712 * files.el (toggle-read-only): Mention that it should only
11713 be used interactively. (Bug#10006)
11714
1dce7193
SM
117152011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
11716
d9ac1a1e
SM
11717 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11718 Adjust regexp for OCaml warnings.
11719
0c325082
SM
11720 * electric.el (electric-pair-post-self-insert-function): Let user
11721 turn it off buffer-locally (bug#9932).
11722
90132c14
SM
11723 * progmodes/python.el (python-beginning-of-statement):
11724 Rewrite (bug#2703).
11725
1dce7193
SM
11726 * progmodes/compile.el: Better handle TABs (bug#9749).
11727 (compilation-internal-error-properties)
11728 (compilation-next-error-function): Obey the target buffer's
11729 compilation-error-screen-columns.
11730
c4e7c63a
JB
117312011-11-09 Juanma Barranquero <lekktu@gmail.com>
11732
11733 * progmodes/meta-mode.el: Remove obsolete comments.
11734 (meta-right-comment-regexp, meta-ignore-comment-regexp):
11735 Fix typos in docstrings.
11736
2cffd681
MR
117372011-11-09 Martin Rudalics <rudalics@gmx.at>
11738
11739 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 11740 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
11741 (window--resizable): New function. Make all callers of
11742 window-resizable call window--resizable instead.
11743 (window-resizable): Rewrite in terms of window--resizable.
11744
0edcba87
GM
117452011-11-08 Glenn Morris <rgm@gnu.org>
11746
11747 * progmodes/delphi.el (delphi-mode-syntax-table):
11748 Let define-derived-mode define a proper syntax table. (Bug#9994)
11749
4b0d61e3
SM
117502011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11751
11752 * window.el: Stay away from defsubst.
11753 (window-list-no-nils): Remove.
11754 (window-state-get-1, window-state-get): Use backquote instead.
11755
cd394be1 117562011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 11757
4b0d61e3 11758 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 11759 Fix incorrect use of default argument in `completing-read'.
11760
e1c2c6f2
MR
117612011-11-08 Martin Rudalics <rudalics@gmx.at>
11762
11763 * window.el (display-buffer-function, special-display-function):
11764 Mention display-buffer-record-window but do not mention
11765 help-setup parameter in doc-strings.
b3f4a882 11766 (window-min-delta): Fix doc-string typo.
e1c2c6f2 11767
105216ed
CY
117682011-11-08 Chong Yidong <cyd@gnu.org>
11769
11770 * window.el (window-total-height, window-total-width): Doc fix.
11771 (window-body-size): Move from C.
11772 (window-body-height, window-body-width): Move to C.
11773
0a9f9ab5
SM
117742011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11775
11776 * window.el: Make special-display like display-buffer-alist (bug#9532).
11777 (display-buffer--special-action): New function, morphed
11778 from display-buffer--special.
11779 (display-buffer): Use it to handle special-display-buffers at higher
11780 priority (just after display-buffer-alist).
11781 (display-buffer-fallback-action, display-buffer--other-frame-action)
11782 (pop-to-buffer-same-window): Remove display-buffer--special.
11783
a769dd15
GM
117842011-11-07 Glenn Morris <rgm@gnu.org>
11785
11786 * calendar/cal-menu.el (cal-menu-set-date-title):
11787 Do nothing if not in a calendar. (Bug#9976)
11788
05a61ee3
SM
117892011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
11790
11791 * files.el (find-file): Always use selected-window.
11792
be7f5545
MR
117932011-11-07 Martin Rudalics <rudalics@gmx.at>
11794
11795 * window.el (window-combinations): Make WINDOW argument
11796 mandatory. Rewrite doc-string.
11797 (walk-window-subtree, window-atom-check, window-min-delta)
11798 (window-max-delta, window--resize-this-window)
11799 (window--resize-root-window-vertically, window-tree)
11800 (balance-windows, window-state-put): Rewrite doc-strings as to
11801 not mention the term "subwindow".
11802 (window--resize-subwindows-skip-p): Rename to
11803 window--resize-child-windows-skip-p.
11804 (window--resize-subwindows-normal): Rename to
11805 window--resize-child-windows-normal.
11806 (window--resize-subwindows): Rename to
11807 window--resize-child-windows.
11808 (window-or-subwindow-p): Rename to window--in-subtree-p.
11809
3c6702ef
ML
118102011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11811
11812 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
11813 Ensure that mbox format messages end in two newlines (Bug#9974).
11814
49745b39
CY
118152011-11-06 Chong Yidong <cyd@gnu.org>
11816
11817 * window.el (window-combination-p): Function deleted; its
11818 side-effect is not used in any existing code.
11819 (window-combinations, window-combined-p): Call window-*-child
11820 directly.
11821
24300f5f
CY
118222011-11-05 Chong Yidong <cyd@gnu.org>
11823
11824 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
11825 (window-size-ignore, window-state-get): Callers changed.
11826 (window-normalize-window): Rename from window-normalize-any-window.
11827 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 11828 (window-normalize-live-window): Delete.
447f16b8
CY
11829 (window-combination-p, window-combined-p, window-combinations)
11830 (walk-window-subtree, window-atom-root, window-min-size)
11831 (window-sizable, window-sizable-p, window-size-fixed-p)
11832 (window-min-delta, window-max-delta, window-resizable)
11833 (window-resizable-p, window-full-height-p, window-full-width-p)
11834 (window-current-scroll-bars, window-point-1, set-window-point-1)
11835 (window-at-side-p, window-in-direction, window-resize)
11836 (adjust-window-trailing-edge, maximize-window, minimize-window)
11837 (window-deletable-p, delete-window, delete-other-windows)
11838 (record-window-buffer, unrecord-window-buffer)
11839 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
11840 (quit-window, split-window, window-state-put)
11841 (set-window-text-height, fit-window-to-buffer)
11842 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 11843
89bd5ee1
EZ
118442011-11-04 Eli Zaretskii <eliz@gnu.org>
11845
53479029
EZ
11846 * mail/rmail.el (rmail-simplified-subject): Decode subject with
11847 rfc2047-decode-string.
11848 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
11849 warnings.
11850
89bd5ee1
EZ
11851 * window.el (window-body-height, window-body-width): Mention in
11852 the doc string that the return values are in frame's canonical
11853 units. (Bug#9949)
11854
bd17fdee
AM
118552011-11-03 Alan Mackenzie <acm@muc.de>
11856
11857 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
11858 change in cc-engine.el.
11859
acc825c5
SM
118602011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
11861
11862 * window.el (switch-to-buffer): Use `force-same-window' interactively.
11863
1885e5b8
MR
118642011-11-02 Martin Rudalics <rudalics@gmx.at>
11865
11866 * window.el (quit-window): Call unrecord-window-buffer after
11867 showing another buffer in the window. (Bug#9937)
acc825c5 11868 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 11869
ebe06da9
JB
118702011-11-02 Juanma Barranquero <lekktu@gmail.com>
11871
11872 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
11873 Accept status with more than 9 shelves. (Bug#9935)
11874 Reported by Colin D Bennett <colin@gibibit.com>.
11875
4ee88440
MR
118762011-11-01 Martin Rudalics <rudalics@gmx.at>
11877
11878 * help.el (with-help-window): Don't reference
11879 temp-buffer-show-specifiers in doc-string.
11880
08e1d82c
AS
118812011-10-31 Andreas Schwab <schwab@linux-m68k.org>
11882
11883 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
11884 menu-item.
11885
84bd6e9e
VJL
118862011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11887
11888 * whitespace.el: New version 13.2.2.
11889 (whitespace-newline-mode): Disable properly. Reported by Sarah
11890 <EmacsWiki>.
11891
dba0634a
UJ
118922011-10-30 Ulf Jasper <ulf.jasper@web.de>
11893
11894 * net/newst-treeview.el: Remove "Time-stamp".
11895 (newsticker--group-manage-orphan-feeds): Do not call
11896 newsticker--treeview-tree-update.
db22a3c2
JB
11897 (newsticker-treeview-update, newsticker-treeview):
11898 Call newsticker--treeview-tree-update if necessary.
dba0634a 11899
3d8daefe
MR
119002011-10-30 Martin Rudalics <rudalics@gmx.at>
11901
11902 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
11903 (window-iso-combinations): Remove "iso-" infix.
11904 Suggested by Chong Yidong.
3d8daefe
MR
11905 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
11906 (window-max-delta-1, window-resize, window--resize-siblings)
11907 (window--resize-this-window, adjust-window-trailing-edge)
11908 (split-window, balance-windows-1)
11909 (shrink-window-if-larger-than-buffer):
11910 * calendar/calendar.el (calendar-generate-window):
db22a3c2 11911 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 11912
1bc4c3ae
SM
119132011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
11914
11915 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
11916 in place (bug#9907).
11917 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
11918 (eshell-rewrite-if-command, eshell-rewrite-for-command)
11919 (eshell-structure-basic-command, eshell-rewrite-while-command)
11920 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
11921 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
11922 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
11923 (eshell-do-pipelines-synchronously, eshell-eval-command):
11924 Use backquotes and prefer setq to set.
11925 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
11926 (eshell-macrop): Use functionp.
c1e2f5fa 11927 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 11928
30b65d9c
CY
119292011-10-30 Chong Yidong <cyd@gnu.org>
11930
11931 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
11932 instead of set-mark (Bug#9810).
11933
2d197ffb
CY
119342011-10-30 Chong Yidong <cyd@gnu.org>
11935
11936 * window.el (split-window-below, split-window-right): Rename from
11937 split-window-above-each-other and split-window-side-by-side
11938 respectively. All callers changed.
11939 (split-window-sensibly, split-window-sensibly): Use them.
11940 (split-window-keep-point): Doc fix.
11941
11942 * isearch.el: Add isearch-scroll property to split-window-below
11943 and split-window-right.
11944
11945 * follow.el (follow-mode):
11946 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11947 * progmodes/ada-xref.el (ada-gdb-application):
11948 * emulation/vip.el (vip-buffer-in-two-windows):
11949 * image-dired.el (image-dired-dired-with-window-configuration):
11950 * dired-x.el (dired-do-find-marked-files):
11951 * dired.el (dired-pop-to-buffer):
11952 * bs.el (bs--show-with-configuration):
11953 * vc/emerge.el (emerge-setup-windows):
11954 * textmodes/two-column.el (2C-two-columns):
11955 * textmodes/reftex-toc.el (reftex-toc):
11956 * progmodes/gdb-mi.el (gdb-setup-windows):
11957 * progmodes/fortran.el (fortran-window-create):
11958 * net/newst-treeview.el (newsticker--treeview-window-init):
11959 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
11960 * emulation/tpu-edt.el (tpu-gold-map):
11961 * emulation/crisp.el (crisp-mode-map):
11962 * calendar/calendar.el (calendar-basic-setup): Callers changed.
11963
38bb2ca8
CY
119642011-10-29 Chong Yidong <cyd@gnu.org>
11965
aa4de341
CY
11966 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
11967
e1eb5385
CY
11968 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
11969
5d2ece3c
CY
11970 * textmodes/flyspell.el (flyspell-word): Fix char offset for
11971 forged Ispell output (Bug#7904).
11972
38bb2ca8
CY
11973 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
11974
d0af9f77
SM
119752011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11976
11977 * doc-view.el: Avoid ugly errors about not finding nil.
11978 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
11979 (doc-view-dvipdf-program, doc-view-unoconv-program)
11980 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
11981 Avoid nil or absolute file name as default value.
11982 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
11983
52bedd34
AM
119842011-10-28 Alan Mackenzie <acm@muc.de>
11985
db22a3c2 11986 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 11987
7e43cfa5
AM
119882011-10-28 Alan Mackenzie <acm@muc.de>
11989
11990 Amend the handling of c-beginning/end-of-defun in nested declaration
11991 scopes.
11992
52bedd34
AM
11993 * progmodes/cc-vars.el (c-defun-tactic): Move here from
11994 cc-langs.el. Change it to a defcustom.
7e43cfa5 11995
52bedd34
AM
11996 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
11997 cc-vars.el.
7e43cfa5 11998
d0af9f77
SM
11999 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12000 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 12001
52bedd34 12002 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 12003 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
12004 (c-widen-to-enclosing-decl-scope): New function.
12005 (c-while-widening-to-decl-block): New macro.
12006 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12007 outward for defun boundaries, and correspondingly change symbol
12008 `respect-enclosure' to `go-outward'.
12009 (c-declaration-limits): Change algorithm to report only the "innermost"
12010 defun's boundaries.
12011
1a2ce9ee
DD
120122011-10-28 Deniz Dogan <deniz@dogan.se>
12013
12014 * net/rcirc.el (rcirc-mode): Use hard newlines.
12015
bc97a826
AM
120162011-10-28 Alan Mackenzie <acm@muc.de>
12017
12018 Amend to indent and fontify macros "which include their own semicolon"
12019 correctly, using the "virtual semicolon" mechanism.
12020
52bedd34 12021 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 12022
d0af9f77 12023 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 12024 Recode to scan one line at a time rather than having \n and \r
58179cce 12025 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 12026 (c-forward-label): Amend for virtual semicolons.
58179cce 12027 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 12028
52bedd34
AM
12029 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12030 of the new C macros.
bc97a826 12031
52bedd34 12032 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
12033 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12034 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
12035 (c-opt-cpp-macro-define): Make into a full language variable.
12036 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12037 AWK Mode (including \n, \r) removed, no longer needed.
12038
d0af9f77
SM
12039 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12040 Invoke c-make-macro-with-semi-re.
bc97a826 12041
52bedd34
AM
12042 * progmodes/cc-vars.el (c-macro-with-semi-re):
12043 (c-macro-names-with-semicolon): New variables.
58179cce 12044 (c-make-macro-with-semi-re): New function.
bc97a826 12045
7a6c0941
SM
120462011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12047
12048 * vc/log-edit.el: Fill empty field rather than adding new one.
12049 (log-edit-add-field): New function.
12050 (log-edit-insert-changelog): Use it.
12051
b0c4cdcf
ML
120522011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12053
12054 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12055
ee1f1da9
SM
120562011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12057
12058 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12059 (gdb--check-interpreter): New function.
12060 (gdb): Use it.
12061
51bc5f8b
GM
120622011-10-27 Glenn Morris <rgm@gnu.org>
12063
416a2c45
GM
12064 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12065 (least-positive-float, least-negative-float)
12066 (least-positive-normalized-float, least-negative-normalized-float)
12067 (float-epsilon, float-negative-epsilon):
12068 Remove unnecessary declarations.
12069
12070 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12071 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12072 (least-positive-float, least-negative-float)
12073 (least-positive-normalized-float, least-negative-normalized-float)
12074 (float-epsilon, float-negative-epsilon): Add doc-strings,
12075 based on those in cl.texi.
12076
51bc5f8b
GM
12077 * files.el (set-visited-file-name): If the major-mode changed,
12078 reload the local variables. (Bug#9796)
12079
15de15c6
CY
120802011-10-27 Chong Yidong <cyd@gnu.org>
12081
12082 * subr.el (change-major-mode-after-body-hook): New hook.
12083 (run-mode-hooks): Run it.
12084
ee1f1da9
SM
12085 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12086 Use change-major-mode-before-body-hook.
15de15c6
CY
12087
12088 * simple.el (fundamental-mode):
12089 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12090 change introducing fundamental-mode-hook.
12091
5430d399
JB
120922011-10-26 Juanma Barranquero <lekktu@gmail.com>
12093
acc825c5 12094 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 12095
ad74a69e
MA
120962011-10-26 Michael Albinus <michael.albinus@gmx.de>
12097
12098 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 12099 tramp.el explicitly. (Bug#7583)
ad74a69e 12100
71d4c2a5
SM
121012011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12102
12103 * progmodes/octave-mod.el:
12104 * progmodes/octave-inf.el: Update maintainer.
12105
b1f6fa26
CY
121062011-10-26 Chong Yidong <cyd@gnu.org>
12107
12108 * subr.el (with-wrapper-hook): Rewrite doc.
12109
3f04efd6
MA
121102011-10-25 Michael Albinus <michael.albinus@gmx.de>
12111
12112 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 12113 filenames "/method:foo:". (Bug#9793)
3f04efd6 12114
410488d3
SM
121152011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12116
12117 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12118 (bug#9865).
12119
c1ebb47e
GM
121202011-10-24 Glenn Morris <rgm@gnu.org>
12121
12122 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12123
7f5c46c7
MA
121242011-10-24 Michael Albinus <michael.albinus@gmx.de>
12125
12126 * notifications.el: Add the requirement of a running D-Bus session
12127 bus to the Commentary.
12128
db2440b6
JL
121292011-10-24 Juri Linkov <juri@jurta.org>
12130
12131 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12132 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12133 (Bug#9364)
12134
feecf435
JL
121352011-10-24 Juri Linkov <juri@jurta.org>
12136
12137 * info.el (Info-following-node-name-re): Add newline to the list
12138 of allowed characters for leading space. (Bug#9824)
12139
a3839de2
SM
121402011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12141
acc825c5
SM
12142 * progmodes/octave-inf.el (inferior-octave-mode-map):
12143 Fix C-c C-h binding.
a3839de2
SM
12144 * progmodes/octave-mod.el (octave-help): Remove.
12145
09388e76
MA
121462011-10-23 Michael Albinus <michael.albinus@gmx.de>
12147
12148 Sync with Tramp 2.2.3.
12149
12150 * net/tramp-cache.el (top): Pacify byte-compiler using
12151 `init-file-user' and `site-run-file'.
12152
12153 * net/trampver.el: Update release number.
12154
86c60681
CY
121552011-10-23 Chong Yidong <cyd@gnu.org>
12156
12157 * files.el (toggle-read-only): Remove obsolete comment about
12158 version control.
12159
12160 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12161 for toggle-read-only. Note that this hasn't called vc-next-action
12162 since 2008-05-02, though it wasn't documented at the time.
12163
a3839de2
SM
12164 * vc/ediff-init.el (ediff-toggle-read-only-function):
12165 Use toggle-read-only.
86c60681 12166
cd5495ff
AM
121672011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12168
12169 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12170 of c-parse-state.
12171
00b77525 12172 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 12173 correct faulty logical expression.
cd5495ff
AM
12174 (c-parse-state-state, c-record-parse-state-state):
12175 (c-replay-parse-state-state): New defvar/defuns.
12176 (c-debug-parse-state): Use new functions.
12177
42ee24ed
MR
121782011-10-22 Martin Rudalics <rudalics@gmx.at>
12179
12180 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 12181 last fix. Use window-in-direction correctly.
42ee24ed 12182
a7dee7e7
CY
121832011-10-21 Chong Yidong <cyd@gnu.org>
12184
12185 * progmodes/idlwave.el (idlwave-mode):
12186 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
12187 require-final-newline; that's done in prog-mode.
12188 Suggested by Stefan Monnier.
a7dee7e7 12189
e07b9a6d
MR
121902011-10-21 Martin Rudalics <rudalics@gmx.at>
12191
12192 * mouse.el (mouse-drag-window-above)
12193 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12194 (mouse-drag-mode-line-1, mouse-drag-header-line)
12195 (mouse-drag-vertical-line-rightward-window): Remove.
12196 (mouse-drag-line): New function.
12197 (mouse-drag-mode-line, mouse-drag-header-line)
12198 (mouse-drag-vertical-line): Call mouse-drag-line.
12199 * window.el (window-at-side-p, windows-at-side): New functions.
12200
7e1361d9
UM
122012011-10-21 Ulrich Mueller <ulm@gentoo.org>
12202
12203 * tar-mode.el (tar-grind-file-mode):
12204 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12205
30fcaf3a
CY
122062011-10-21 Chong Yidong <cyd@gnu.org>
12207
12208 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
12209 * progmodes/vera-mode.el (vera-mode):
12210 Use mode-require-final-newline.
30fcaf3a 12211
516eddb0
GM
122122011-10-20 Glenn Morris <rgm@gnu.org>
12213
db22a3c2 12214 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 12215
10d5f513
CS
122162011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12217
12218 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12219
ac6c8639
CY
122202011-10-20 Chong Yidong <cyd@gnu.org>
12221
12222 * emulation/cua-base.el (cua-mode):
12223 * mail/footnote.el (footnote-mode):
12224 * mail/mailabbrev.el (mail-abbrevs-mode):
12225 * net/xesam.el (xesam-minor-mode):
12226 * progmodes/bug-reference.el (bug-reference-mode):
12227 * progmodes/cap-words.el (capitalized-words-mode):
12228 * progmodes/compile.el (compilation-minor-mode)
12229 (compilation-shell-minor-mode):
12230 * progmodes/gud.el (gud-tooltip-mode):
12231 * progmodes/hideif.el (hide-ifdef-mode):
12232 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12233 * progmodes/subword.el (subword-mode):
12234 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12235 * progmodes/which-func.el (which-function-mode):
12236 * term/tvi970.el (tvi970-set-keypad-mode):
12237 * term/vt100.el (vt100-wide-mode):
12238 * textmodes/flyspell.el (flyspell-mode):
12239 * textmodes/ispell.el (ispell-minor-mode):
12240 * textmodes/nroff-mode.el (nroff-electric-mode):
12241 * textmodes/paragraphs.el (use-hard-newlines):
12242 * textmodes/refill.el (refill-mode):
12243 * textmodes/reftex.el (reftex-mode):
12244 * textmodes/rst.el (rst-minor-mode):
12245 * textmodes/sgml-mode.el (html-autoview-mode)
12246 (sgml-electric-tag-pair-mode):
12247 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12248 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12249 * emulation/crisp.el (crisp-mode):
12250 * emacs-lisp/eldoc.el (eldoc-mode):
12251 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12252 minor mode behavior.
12253
aa42ab43
JL
122542011-10-19 Juri Linkov <juri@jurta.org>
12255
12256 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12257 the list of hard-coded chars with escape-glyph face.
12258
89400f1d
SM
122592011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12260
12261 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12262
305c07f6
MA
122632011-10-19 Michael Albinus <michael.albinus@gmx.de>
12264
12265 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12266 running process.
12267
13754b54
GM
122682011-10-19 Glenn Morris <rgm@gnu.org>
12269
12270 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12271 Ignore ignored files. (Bug#9726)
12272
06e21633
CY
122732011-10-19 Chong Yidong <cyd@gnu.org>
12274
12275 Doc fix for minor modes, stating that an omitted argument enables
12276 the mode unconditionally when called from Lisp.
12277
12278 * abbrev.el (abbrev-mode):
12279 * allout.el (allout-mode):
12280 * autoinsert.el (auto-insert-mode):
12281 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12282 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12283 (global-auto-revert-mode):
12284 * battery.el (display-battery-mode):
12285 * composite.el (global-auto-composition-mode)
12286 (auto-composition-mode):
12287 * delsel.el (delete-selection-mode):
12288 * desktop.el (desktop-save-mode):
12289 * dired-x.el (dired-omit-mode):
12290 * dirtrack.el (dirtrack-mode):
12291 * doc-view.el (doc-view-minor-mode):
12292 * double.el (double-mode):
12293 * electric.el (electric-indent-mode, electric-pair-mode):
12294 * emacs-lock.el (emacs-lock-mode):
12295 * epa-hook.el (auto-encryption-mode):
12296 * follow.el (follow-mode):
12297 * font-core.el (font-lock-mode):
12298 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12299 * help.el (temp-buffer-resize-mode):
12300 * hilit-chg.el (highlight-changes-mode)
12301 (highlight-changes-visible-mode):
12302 * hi-lock.el (hi-lock-mode):
12303 * hl-line.el (hl-line-mode, global-hl-line-mode):
12304 * icomplete.el (icomplete-mode):
12305 * ido.el (ido-everywhere):
12306 * image-file.el (auto-image-file-mode):
12307 * image-mode.el (image-minor-mode):
12308 * iswitchb.el (iswitchb-mode):
12309 * jka-cmpr-hook.el (auto-compression-mode):
12310 * linum.el (linum-mode):
12311 * longlines.el (longlines-mode):
12312 * master.el (master-mode):
12313 * mb-depth.el (minibuffer-depth-indicate-mode):
12314 * menu-bar.el (menu-bar-mode):
12315 * minibuf-eldef.el (minibuffer-electric-default-mode):
12316 * mouse-sel.el (mouse-sel-mode):
12317 * msb.el (msb-mode):
12318 * mwheel.el (mouse-wheel-mode):
12319 * outline.el (outline-minor-mode):
12320 * paren.el (show-paren-mode):
12321 * recentf.el (recentf-mode):
12322 * reveal.el (reveal-mode, global-reveal-mode):
12323 * rfn-eshadow.el (file-name-shadow-mode):
12324 * ruler-mode.el (ruler-mode):
12325 * savehist.el (savehist-mode):
12326 * scroll-all.el (scroll-all-mode):
12327 * scroll-bar.el (scroll-bar-mode):
12328 * server.el (server-mode):
12329 * shell.el (shell-dirtrack-mode):
12330 * simple.el (auto-fill-mode, transient-mark-mode)
12331 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12332 (line-number-mode, column-number-mode, size-indication-mode)
12333 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12334 * strokes.el (strokes-mode):
12335 * time.el (display-time-mode):
12336 * t-mouse.el (gpm-mouse-mode):
12337 * tool-bar.el (tool-bar-mode):
12338 * tooltip.el (tooltip-mode):
12339 * type-break.el (type-break-mode-line-message-mode)
12340 (type-break-query-mode):
12341 * view.el (view-mode):
12342 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12343 (global-whitespace-mode, global-whitespace-newline-mode):
12344 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12345
a3839de2
SM
12346 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12347 Fix autogenerated docstring.
06e21633 12348
5214e501
JL
123492011-10-19 Juri Linkov <juri@jurta.org>
12350
12351 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12352 by checking environment variables "DESKTOP_SESSION" and
12353 "XDG_CURRENT_DESKTOP". (Bug#9779)
12354
195f8db9
JL
123552011-10-19 Juri Linkov <juri@jurta.org>
12356
12357 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12358 (browse-url-chromium-program, browse-url-chromium-arguments):
12359 New defcustoms.
12360 (browse-url-default-browser): Check for `browse-url-chromium' and
12361 call `browse-url-chromium-program'.
12362 (browse-url-chromium): New command. (Bug#9779)
12363
343a34ff
JB
123642011-10-18 Juanma Barranquero <lekktu@gmail.com>
12365
12366 * facemenu.el (list-colors-duplicates): On Windows, detect more
12367 duplicates by assuming that only colors matching "^System" are
12368 special "system colors". (Bug#9722)
12369
6978a151
SM
123702011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12371
12372 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12373 to distinguish the author from the committer.
12374
6a80b297
MA
123752011-10-18 Michael Albinus <michael.albinus@gmx.de>
12376
12377 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12378
b31a5677
JK
123792011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12380
12381 * international/mule.el (sgml-html-meta-auto-coding-function):
12382 Add support for detecting encoding in HTML5 specified only as
12383 <meta charset="UTF-8">. Implementation just makes http-equiv and
12384 content-type parts from HTML4 encoding string optional. (Bug#9716)
12385
80c6d77f
GM
123862011-10-18 Glenn Morris <rgm@gnu.org>
12387
12388 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12389
08b0fee8
CY
123902011-10-18 Chong Yidong <cyd@gnu.org>
12391
12392 * faces.el (cursor): Doc fix.
12393
67e729a5
CY
123942011-10-17 Chong Yidong <cyd@gnu.org>
12395
12396 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12397
343a34ff 123982011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
12399
12400 * dirtrack.el (dirtrack): Support shell buffers with path
12401 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12402
0bc06380
TZ
124032011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12404
12405 * json.el: Bump version to 1.3 and note change in History.
12406 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12407
8b79f3e0
SM
124082011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12409
5a7c536b
SM
12410 * comint.el (comint-insert-input, comint-send-input)
12411 (comint-get-old-input-default, comint-backward-matching-input)
12412 (comint-next-prompt): Use nil instead of `input' for field property of
12413 past user input (bug#114).
12414
96a8a0df
SM
12415 * minibuffer.el (completion--replace): Inherit surrounding properties
12416 (bug#114).
12417 (minibuffer-complete-and-exit): Use it.
12418
8b79f3e0
SM
12419 * comint.el (comint--table-subvert): Quote the all-completions output
12420 (bug#9160).
12421
b8f7ff0d
MR
124222011-10-17 Martin Rudalics <rudalics@gmx.at>
12423
8b79f3e0 12424 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 12425
b8f7ff0d 12426 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 12427 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
12428 entries and separate them from frame entries.
12429
c235b555
GM
124302011-10-15 Glenn Morris <rgm@gnu.org>
12431
12432 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12433 Doc fixes.
12434
6bbfa6e1
CY
124352011-10-15 Chong Yidong <cyd@stupidchicken.com>
12436
8b79f3e0
SM
12437 * net/network-stream.el (network-stream-open-starttls):
12438 Improve detection of failure due to lack of TLS support.
ec5c990d 12439
6bbfa6e1
CY
12440 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12441 putting the input text in front and in bold.
12442
98488977
SM
124432011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12444
3d1337be
SM
12445 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12446
ee0b45e4
SM
12447 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12448 empty buffer.
12449
98488977
SM
12450 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12451 unread-command-events rather than pushing yet-another event.
12452
186f4720
EZ
124532011-10-14 Eli Zaretskii <eliz@gnu.org>
12454
12455 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12456 the explanation of the possible choices. Make the options passed
12457 to completing-read shorter.
12458
8b7a997c
AM
124592011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12460
12461 * textmodes/flyspell.el (flyspell-large-region): Make sure
12462 extended character mode is used if defined (Bug#1339).
12463
12587bbb
EZ
124642011-10-13 Eli Zaretskii <eliz@gnu.org>
12465
12466 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
12467 character info for LRE, LRO, RLE, and RLO characters by appending
12468 an invisible PDF.
12587bbb 12469
bad41229
SM
124702011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12471
12472 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12473 even in case of error; add debug spec; simplify data flow.
12474 (with-timeout-handler): Remove.
12475
28dbc92f
MA
124762011-10-12 Michael Albinus <michael.albinus@gmx.de>
12477
12478 Fix Bug#6019, Bug#9315.
12479
12480 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12481 complete `buffer-file-name', the local file name part could look
12482 remotely (for example on VMS).
12483
12484 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12485 `tramp-run-real-handler'.
12486 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12487 already quoted by '"'.
12488
12489 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12490 Let `file-name-handler-alist' be nil, the local file name part
12491 could look remotely (for example on VMS).
12492
e1b0b23a
SM
124932011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12494
12495 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12496 from here...
12497 (flyspell-post-command-hook): ...to here.
12498
a120bde9
SM
124992011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12500
12501 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12502 if not needed.
12503 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12504 using completion. Protect against "slow" callers.
12505 Remove the "message hack".
12506
7ce7717b
JL
125072011-10-11 Juri Linkov <juri@jurta.org>
12508
12509 * isearch.el (isearch-lazy-highlight-word): New variable.
12510 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12511 Use it. (Bug#9727)
12512
c02ee9d6
GM
125132011-10-11 Glenn Morris <rgm@gnu.org>
12514
12515 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12516 like f90-previous-statement does.
12517
93e616fd 125182011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12519
1f190e73 12520 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
12521 only in interactive use, to avoid error.
12522
af7b6078
SM
125232011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12524
12525 * minibuffer.el (completion-file-name-table): Fix last change,
12526 i.e. ignore normal errors but not the other ones.
12527
0563dae9
MR
125282011-10-10 Martin Rudalics <rudalics@gmx.at>
12529
12530 * window.el (special-display-buffer-names)
12531 (special-display-regexps): Remove some remnants of earlier
12532 changes from doc-strings.
366ca7f3
MR
12533 (quit-windows-on): New function.
12534
12535 * vc/vc.el (vc-revert, vc-rollback):
12536 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12537 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 12538 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 12539
49677495
MR
125402011-10-09 Martin Rudalics <rudalics@gmx.at>
12541
12542 * window.el (frame-auto-hide-function): Add version tag.
12543 (Bug#9699)
12544
56f2d1e1
MA
125452011-10-09 Michael Albinus <michael.albinus@gmx.de>
12546
12547 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12548 condition.
12549
112a6592
LL
125502011-10-09 Leo Liu <sdl.web@gmail.com>
12551
12552 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12553 (Bug#9701)
12554
0812589b
GM
125552011-10-08 Glenn Morris <rgm@gnu.org>
12556
12557 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12558 before the first code statement zero indent. (Bug#9690)
12559
b2b0776e
CY
125602011-10-08 Chong Yidong <cyd@stupidchicken.com>
12561
12562 * simple.el (count-words-region): Always count in the region.
12563 Report the number of lines and characters too.
12564 (count-words): New command, which counts in the buffer if the
12565 region is inactive, as count-words-region used to.
12566 (count-words--message): New function. Handle plurals.
12567 (count-lines-region): Make it an alias for count-words-region.
12568
12569 * bindings.el (esc-map): Replace count-lines-region with
12570 count-words-region.
12571
c557cd6b
MR
125722011-10-08 Martin Rudalics <rudalics@gmx.at>
12573
12574 * window.el (window--delete): Delete dedicated frame
12575 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 12576 (switch-to-buffer): Fix doc-string typo.
c557cd6b 12577
61a57ef4 125782011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12579
3a7d293b 12580 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 12581
c3833279
CY
125822011-10-07 Chong Yidong <cyd@stupidchicken.com>
12583
12584 * bindings.el ([M-left],[M-right]): Bind to left-word and
12585 right-word respectively.
12586
21ce8245
GM
125872011-10-07 Glenn Morris <rgm@gnu.org>
12588
12589 * cus-start.el (debug-on-quit): Fix custom type.
12590
6d823bb2
LMI
125912011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12592
0181e193
LMI
12593 * subr.el (define-key-after): Clarify that the function is not
12594 useful for non-menu keymaps.
12595
6d823bb2
LMI
12596 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12597
8e3459ce 125982011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12599
21ce8245 12600 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 12601 in current minibuffer (Fix bug with recursive minibuffers).
12602
a1c2d21e
CY
126032011-10-06 Chong Yidong <cyd@stupidchicken.com>
12604
12605 * progmodes/gdb-mi.el (gdb): Doc fix.
12606
5a4cf282
MR
126072011-10-05 Martin Rudalics <rudalics@gmx.at>
12608
12609 * window.el (frame-auto-hide-function): New option replacing
12610 frame-auto-delete. Suggested by Stefan Monnier.
12611 (window--delete): Call frame-auto-hide-function instead of
12612 investigating frame-auto-delete.
c96111ea
MR
12613 (window-point-1, set-window-point-1): New functions.
12614 (window-in-direction, record-window-buffer, window-state-get-1)
12615 (display-buffer-record-window): Use window-point-1 instead of
12616 window-point.
12617 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 12618
9854542e
SM
126192011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12620
12621 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
12622
8943cfb0
GM
126232011-10-05 Glenn Morris <rgm@gnu.org>
12624
12625 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12626 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
12627
647ab967
LL
126282011-10-05 Leo Liu <sdl.web@gmail.com>
12629
12630 * subr.el (read-char-choice): Fix argument to buffer-live-p which
12631 works with buffer object.
12632
3ddfbced
SM
126332011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12634
12635 * mpc.el (mpc-tool-bar-map): Add labels.
12636
bdfa5dd2
GM
126372011-10-04 Glenn Morris <rgm@gnu.org>
12638
12639 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12640
0e2070b5
MR
126412011-10-04 Martin Rudalics <rudalics@gmx.at>
12642
12643 * window.el (window--delete): New function.
12644 (frame-auto-delete): Resuscitate option.
12645 (bury-buffer, replace-buffer-in-windows)
12646 (quit-window): Rewrite using window--delete.
12647 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12648 Pass display-buffer-mark-dedicated to window--display-buffer-2
12649 (Bug#9639).
12650
3dc61a09
SM
126512011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12652
915a9b64
SM
12653 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
12654 returns a list (bug#9554). Add remote file name completion.
12655 * comint.el (comint--table-subvert): Curry and get quote&unquote
12656 functions as arguments.
12657 (comint--complete-file-name-data): Adjust call accordingly.
12658 * pcomplete.el (pcomplete--table-subvert): Remove.
12659 (pcomplete-completions-at-point): Use comint--table-subvert instead.
12660
3dc61a09
SM
12661 * minibuffer.el (completion-table-case-fold): Use currying.
12662 (completion--styles-type, completion--cycling-threshold-type):
12663 New constants.
12664 (completion-styles, completion-category-overrides)
12665 (completion-cycle-threshold): Use them.
12666 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
12667 completion-table-case-fold.
12668
8ea0a993
SB
126692011-10-03 Stephen Berman <stephen.berman@gmx.net>
12670
12671 * minibuffer.el (completion-category-overrides): Fix type of styles
12672 and add more user friendly tags (bug#9660).
12673
8c24b7f6
SM
126742011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12675
12676 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
12677 (mule-input-method-string): New widget.
12678 (default-input-method, language-info-custom-alist): Use it.
12679
428fe61a
SM
126802011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
12681
32c1fffd
SM
12682 * pcomplete.el: Require comint.
12683 (pcomplete--common-suffix): Remove.
12684 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
12685 (pcomplete--table-subvert): Sync with comint--table-subvert.
12686 (pcomplete--entries): Use comint-completion-file-name-table.
12687 * comint.el (comint-unquote-filename): Simplify.
12688 (comint-completion-file-name-table): New function (bug#9616).
12689 (comint--complete-file-name-data): Use it.
12690
428fe61a
SM
12691 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
12692 (pcmpl-gnu-tar-buffer): Remove.
12693 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
12694 around. Make sure pcomplete-suffix-list is only changed temporarily.
12695 Don't look inside the tar's file if it's too large.
428fe61a 12696
04c52e2f
CY
126972011-10-01 Chong Yidong <cyd@stupidchicken.com>
12698
ce3cefcc
CY
12699 * cus-edit.el (custom-mode-map):
12700 * epa.el (epa-key-list-mode-map):
12701 * man.el (Man-mode-map):
12702 * startup.el (splash-screen-keymap):
12703 * simple.el (special-mode-map): Use scroll-up-command and
12704 scroll-down-command.
12705
12706 * progmodes/idlw-help.el (idlwave-help-mode-map):
12707 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
12708 * net/newst-plainview.el (newsticker-mode-map):
12709 * emulation/ws-mode.el (wordstar-mode-map):
12710 * emulation/vi.el (vi-com-map):
12711 * calc/calc-graph.el (calc-graph-show-dumb):
12712 * term/sun.el (terminal-init-sun):
12713 * term/ns-win.el (global-map):
12714 * progmodes/grep.el (grep-mode-map):
12715 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
12716 * mail/rmail.el (rmail-mode-map):
12717 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
12718
04c52e2f
CY
12719 * custom.el (custom-safe-themes, load-theme): Treat value of t for
12720 custom-safe-themes as special.
12721
79adf8c8
JD
127222011-10-01 Julien Danjou <julien@danjou.info>
12723
12724 * notifications.el (notifications-notify): Fix docstring.
12725
63bd50d3
PS
127262011-10-01 Per Starbäck <per@starback.se>
12727
12728 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
12729
199e4c7e
MR
127302011-09-30 Martin Rudalics <rudalics@gmx.at>
12731
12732 * startup.el (command-line-1): Fix last fix by inserting
12733 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 12734 (Bug#9605) and (Bug#9636)
199e4c7e 12735
fe5f08dd
EZ
127362011-09-29 Eli Zaretskii <eliz@gnu.org>
12737
12738 * simple.el (line-move): If auto-hscroll-mode is disabled and the
12739 window is hscrolled, move by logical lines. (Bug#9607)
12740 (line-move-visual): Update the doc string to the above effect.
12741
b5516bbd
MR
127422011-09-29 Martin Rudalics <rudalics@gmx.at>
12743
ccee00c0
MR
12744 * window.el (display-buffer-record-window): When WINDOW is the
12745 selected window use `point' instead of `window-point'. (Bug#9626)
12746
b5516bbd
MR
12747 * startup.el (command-line-1): Use insert-before-markers when
12748 inserting initial-scratch-message. (Bug#9605)
ccee00c0 12749
b5516bbd
MR
12750 * help.el (help-window): Remove variable.
12751
52aa0014
GM
127522011-09-29 Glenn Morris <rgm@gnu.org>
12753
12754 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
12755
df9a7357
JB
127562011-09-29 Juanma Barranquero <lekktu@gmail.com>
12757
12758 * descr-text.el (describe-char-categories): Accept category
12759 descriptions more than one line long.
12760
a8406c20
SM
127612011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
12762
88d9610c
SM
12763 * simple.el (delete-trailing-whitespace): Fix last change.
12764
a5daf810
SM
12765 * progmodes/perl-mode.el (perl-syntax-propertize-function):
12766 Don't confuse "y => 3" as the beginning of a `y' operation.
12767
a8406c20
SM
12768 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
12769 object has more than 4 slots (bug#9613).
12770
a239d4e9
JB
127712011-09-28 Juanma Barranquero <lekktu@gmail.com>
12772
12773 * subr.el (with-output-to-temp-buffer):
12774 * net/quickurl.el (quickurl, quickurl-browse-url):
12775 Fix typos in docstrings.
12776
693fbdb6
EZ
127772011-09-27 Eli Zaretskii <eliz@gnu.org>
12778
12779 * minibuffer.el (completion-styles)
12780 (completion-category-overrides): Cross reference each other in doc
12781 strings.
12782
8b457e28
GM
127832011-09-27 Glenn Morris <rgm@gnu.org>
12784
12785 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
12786 to split-string. (Bug#9606)
12787
85a16208
LMI
127882011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12789
12790 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
12791 (bug#9615).
12792
502f9ebd
CY
127932011-09-27 Chong Yidong <cyd@stupidchicken.com>
12794
12795 * emacs-lisp/package.el (list-packages): Fix echo area message.
12796
7690bdea
LL
127972011-09-27 Leo Liu <sdl.web@gmail.com>
12798
12799 * ido.el (ido-read-internal): Accept cons cell HIST arg.
12800
e2ee6f30
MA
128012011-09-25 Michael Albinus <michael.albinus@gmx.de>
12802
12803 * net/dbus.el (dbus-unregister-object): Don't release services for
12804 registered signals. (Bug#9581)
12805
f3f98342
TZ
128062011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
12807
12808 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
12809 function that picks between cfengine 2 and 3 support
12810 automatically. Update docs accordingly.
12811
dd7aa8dd
KH
128122011-09-22 Kenichi Handa <handa@m17n.org>
12813
12814 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
12815 ZERO.
12816 (indian-itrans-v5-table-for-tamil): New variable.
12817 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
12818
3f2b07f8
KM
128192011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
12820
12821 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
12822 that's true if the current command involved collapsing of text.
12823 It's reset to false at the beginning of the next command.
12824 (allout-post-command-business): Move the cursor to the beginning
12825 of entry if the cursor is hidden and collapsing activity just
12826 happened.
12827
371d6a61
CY
128282011-09-24 Chong Yidong <cyd@stupidchicken.com>
12829
12830 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
12831 tracking (Bug#9541).
12832
2ac2721a
UJ
128332011-09-24 Ulf Jasper <ulf.jasper@web.de>
12834
12835 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
12836 (newsticker-show-news): Automatically load html rendering package
12837 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
12838 because w3m-fill-column is let-bound" and the error "Symbol's value
12839 as variable is void: w3m-fill-column".
2ac2721a 12840
fac7ae53
MA
128412011-09-24 Michael Albinus <michael.albinus@gmx.de>
12842
12843 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
12844 Release services only if they are defined. (Bug#9581)
12845
e08b633b
RS
128462011-09-23 Richard Stallman <rms@gnu.org>
12847
e488d29c
RS
12848 * textmodes/paragraphs.el (forward-sentence): For backwards case,
12849 distinguish start of paragraph from start of its text.
12850
19c38752
RS
12851 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
12852
e08b633b
RS
12853 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
12854 (rmail-generate-viewer-buffer): Put that hook on view buffer.
12855 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
12856
0a39f27e
AS
128572011-09-23 Andreas Schwab <schwab@linux-m68k.org>
12858
12859 * international/mule-diag.el (mule-diag): Insert a newline after
12860 each fontset description.
12861
db4e950d
SM
128622011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12863
12864 * simple.el (delete-trailing-whitespace):
12865 Document last change; simplify.
12866
eca3f3ea
PW
128672011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
12868
d68e189a
PW
12869 * simple.el (delete-trailing-whitespace): Also delete
12870 extra newlines at the end of the buffer.
12871
eca3f3ea
PW
12872 * textmodes/picture.el: Make motion commands obey shift-select-mode.
12873 (picture-newline): Use forward-line so as to ignore fields.
12874
01c157cc
SM
128752011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12876
12877 * subr.el (with-wrapper-hook): Fix edebug spec.
12878
022de23e
LMI
128792011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12880
12881 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
12882 (bug#4538).
12883
91683089
MA
128842011-09-23 Michael Albinus <michael.albinus@gmx.de>
12885
eca3f3ea
PW
12886 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
12887 Fix nasty bug using wrong cached values.
91683089 12888
5bdd6fa4
AM
128892011-09-23 Alan Mackenzie <acm@muc.de>
12890
12891 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
12892
97adfb97
CY
128932011-09-23 Chong Yidong <cyd@stupidchicken.com>
12894
12895 * window.el (pop-to-buffer): Ensure right window is selected if we
12896 chose another frame.
12897
d4ef2b50
EZ
128982011-09-22 Eli Zaretskii <eliz@gnu.org>
12899
12900 * simple.el (what-cursor-position): Use get-char-property-change
12901 and next-single-char-property-change, to be able to show display
12902 properties that come from overlays as well as text properties.
12903
72258fe5
CY
129042011-09-22 Chong Yidong <cyd@stupidchicken.com>
12905
12906 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
12907
12908 * cmuscheme.el (run-scheme, switch-to-scheme):
12909 * cus-edit.el (customize-group, custom-buffer-create)
12910 (customize-browse):
12911 * info.el (info):
12912 * shell.el (shell):
12913 * mail/sendmail.el (mail):
12914 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
12915
8f098516
RS
129162011-09-22 Richard Stallman <rms@gnu.org>
12917
12918 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
12919 move back only to line beg, don't move back over blank lines.
12920
e74f1bb6
MA
129212011-09-22 Michael Albinus <michael.albinus@gmx.de>
12922
12923 * files.el (copy-directory): Set directory attributes only in case
12924 they could be retrieved from the source directory. (Bug#9565)
12925
bfeef8b6
DK
129262011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
12927
12928 * progmodes/hideshow.el (hs-looking-at-block-start-p)
12929 (hs-find-block-beginning, hs-hide-level-recursive):
12930 Ignore strings as well as comments. (Bug#9502)
12931
7e423bb8
AS
129322011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
12933
12934 * progmodes/sql.el (sql-comint-postgres):
12935 Convert port number to a string. (Bug#9566)
12936
b4d72fcf
MR
129372011-09-22 Martin Rudalics <rudalics@gmx.at>
12938
12939 * window.el (quit-window): Undedicate window when switching to
12940 previous buffer. Reported by Thierry Volpiatto
12941 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
12942 (special-display-popup-frame): When popping up a new frame reset
12943 its previous buffers to nil. Simplify code.
b4d72fcf 12944
a7b88dc6
MA
129452011-09-21 Michael Albinus <michael.albinus@gmx.de>
12946
12947 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
12948 and process filter, as done also in `shell-command'.
12949
cf4eacfd
MR
129502011-09-21 Martin Rudalics <rudalics@gmx.at>
12951
eca3f3ea 12952 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
12953 Call set-window-start with NOFORCE argument t.
12954 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
12955 (quit-window): Reword doc-string. Handle new format of
12956 quit-restore parameter. Don't delete window if it has a
12957 previous buffer we can show instead of the present one.
12958 (display-buffer-record-window): Rewrite using a new format for
12959 the quit-restore window parameter
12960 (special-display-popup-frame, display-buffer-same-window)
12961 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12962 (display-buffer-pop-up-window, display-buffer-use-some-window):
12963 Adapt symbol passed to display-buffer-record-window.
12964 * help.el (help-window-setup): Handle new format of quit-restore
12965 parameter.
12966
8d28cb95
SM
129672011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
12968
94ab793f
SM
12969 * faces.el (face-list): Fix docstring (bug#9564).
12970
8d28cb95
SM
12971 * window.el (display-buffer--action-function-custom-type):
12972 Don't include internal functions in the Custom interface.
12973
3820edeb
JL
129742011-09-20 Juri Linkov <juri@jurta.org>
12975
12976 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
12977 (Info-forward-node, Info-backward-node, Info-next-preorder)
12978 (Info-last-preorder): Use it. (Bug#9528)
12979
5147931d
JL
129802011-09-20 Juri Linkov <juri@jurta.org>
12981
12982 * info.el (Info-last-preorder): Visit last menu item only when
12983 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
12984
cf499a1a
JD
129852011-09-20 Julien Danjou <julien@danjou.info>
12986
12987 * password-cache.el (password-cache-remove): Remove entries even if the
12988 value is nil, so that password with a nil value (negative caching) is
12989 possible to invalidate.
12990
f84e2fe2
LM
129912011-09-20 Lawrence Mitchell <wence@gmx.li>
12992
12993 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
12994 all whitespace around breakpoint. (Bug#9553)
12995 (f90-find-breakpoint): Only break at whitespace inside a comment.
12996
78054a46
SM
129972011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
12998
12999 * minibuffer.el (completion-file-name-table): Keep track of errors.
13000 (completion-table-with-predicate): Handle the case where pred1 is nil.
13001 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13002
345083b2
SM
130032011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13004
e24e27be
SM
13005 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13006 (debugger-return-value): Signal an error if the debugging context does
13007 not await any return value.
13008
345083b2
SM
13009 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13010 * image-mode.el (image-toggle-display-text)
13011 (image-toggle-display-image): Stay away from evil `intangible'.
13012
08d355e3
LL
130132011-09-19 Leo Liu <sdl.web@gmail.com>
13014
13015 * replace.el (occur-revert-arguments): Make it permanent-local.
13016 (occur-mode): Don't call font-lock-defontify.
13017
f01da43f
CY
130182011-09-19 Chong Yidong <cyd@stupidchicken.com>
13019
13020 * net/ldap.el (ldap-search-internal): Don't push empty search
13021 result (Bug#9508).
13022
b6072fa6
SM
130232011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13024
13025 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13026
443d6696
MA
130272011-09-19 Michael Albinus <michael.albinus@gmx.de>
13028
13029 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13030 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13031
7cc6e154
JL
130322011-09-18 Juri Linkov <juri@jurta.org>
13033
13034 * buff-menu.el (Buffer-menu-mode-map):
13035 * dired.el (dired-mode-map):
13036 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13037 (lisp-interaction-mode-map):
13038 * emacs-lisp/package.el (package-menu-mode-map):
13039 * epa.el (epa-key-list-mode-map):
13040 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13041 (menu-bar-options-menu):
13042 * outline.el (outline-mode-menu-bar-map):
13043 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13044 * vc/vc-dir.el (vc-dir-menu-map):
13045 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13046 Capitalize non-function content words in menu item strings.
13047
13048 * dired.el (dired-mode-map): Add menu item for
13049 `image-dired-dired-toggle-marked-thumbs'.
13050
80302a81
JL
130512011-09-18 Juri Linkov <juri@jurta.org>
13052
13053 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13054 to `isearch-case-fold-search' and restore its original value
13055 after the `isearch-mode' call.
13056
46c5cf66
JL
130572011-09-18 Juri Linkov <juri@jurta.org>
13058
13059 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13060 because `zgrep' returns 1 for successful matches (bug#9226).
13061
d18b513b
JL
130622011-09-18 Juri Linkov <juri@jurta.org>
13063
13064 * info.el (Info-extract-menu-node-name): Check the second match
13065 for empty string (second test-case of bug#9528).
13066 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13067 intermediate nodes to the history (first test-case of bug#9528).
13068
72753f87
JL
130692011-09-18 Juri Linkov <juri@jurta.org>
13070
13071 * info.el (Info-mode-syntax-table): New variable.
1154d12e 13072 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 13073
c9384295
JL
130742011-09-18 Juri Linkov <juri@jurta.org>
13075
1154d12e
JB
13076 * info.el (Info-file-supports-index-cookies):
13077 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13078 outputs one more line for long file names (bug#4142).
c9384295 13079
d473dce8
CY
130802011-09-18 Chong Yidong <cyd@stupidchicken.com>
13081
13082 * newcomment.el (comment-normalize-vars): If prompting for
13083 comment-start, set comment-start-skip too (Bug#8424).
13084
2176854d
JB
130852011-09-18 Johan Bockgård <bojohan@gnu.org>
13086
13087 * icomplete.el: Fix previous fix of Bug#5849.
13088 (icomplete-mode): Don't set completion-show-inline-help.
13089 (icomplete-minibuffer-setup): Set completion-show-inline-help
13090 locally during icompletion.
13091
3aace4e4
CY
130922011-09-18 Chong Yidong <cyd@stupidchicken.com>
13093
c940224f
CY
13094 * woman.el (woman2-process-escapes): Don't delete unrecognized
13095 escapes (Bug#7843).
13096
3aace4e4
CY
13097 * files.el (inhibit-first-line-modes-regexps): Add image files.
13098 (hack-local-variables-prop-line): Return nil for malformed
13099 prop-lines (Bug#9044).
13100
710dec63
MA
131012011-09-18 Michael Albinus <michael.albinus@gmx.de>
13102
13103 * net/tramp.el (top): Don't require 'shell.
13104 (tramp-methods): Fix docstring.
13105 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
13106 Return complete remote file name. Handle "smb" case.
13107 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
13108 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13109
13110 * net/tramp-compat.el (top): Require 'shell.
13111
13112 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13113 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13114 `tramp-current-host'.
13115 (tramp-get-remote-tmpdir): Remove.
13116
13117 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13118 `tramp-tmpdir' entries.
13119 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13120 (tramp-smb-handle-file-attributes): Ignore errors.
13121 (tramp-smb-wait-for-output): Check also for process end.
13122
5d5ac8ec
LMI
131232011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13124
13125 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13126 when sending QUIT (bug#9312).
13127
8c0f49f0
CY
131282011-09-17 Chong Yidong <cyd@stupidchicken.com>
13129
13130 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13131 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13132 occur-mode-display-occurrence.
13133 (occur-edit-mode): Add usage message.
13134 (occur-cease-edit): New command.
13135 (occur-after-change-function): Use text properties to find the
13136 position of the prefix text.
13137 (occur-engine): Set stickiness of prefix text properties.
13138
8f1383f7
GM
131392011-09-17 Glenn Morris <rgm@gnu.org>
13140
13141 * progmodes/etags.el (complete-tag):
13142 Fix call to completion-in-region. (Bug#9526)
13143
744ba0e3
JL
131442011-09-17 Juri Linkov <juri@jurta.org>
13145
13146 * textmodes/ispell.el (ispell-word): Add to the error message
13147 the word, ispell program name and current dictionary (bug#9121).
13148 (ispell-tex-arg-end): Capitalize "error" in the error message.
13149
d9bbf400
AS
131502011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13151
13152 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13153 check. (Bug#4251)
13154
8da11505
JL
131552011-09-17 Juri Linkov <juri@jurta.org>
13156
13157 * window.el (window-safe-min-height, window-safe-min-width):
13158 Fix typos (followup to bug#9522).
13159
a91adc7e
SJ
131602011-09-17 Sven Joachim <svenjoac@gmx.de>
13161
13162 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13163
064f328a
EZ
131642011-09-16 Eli Zaretskii <eliz@gnu.org>
13165
13166 * simple.el (line-move): If goal-column is set, move by logical
13167 lines, not by display lines. (Bug#971)
13168 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13169 to reflect the above change.
13170
e69df516
SM
131712011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13172
13173 * image.el (imagemagick-register-types): Use regexp-opt.
13174
cbb0f9ab
CY
131752011-09-15 Chong Yidong <cyd@stupidchicken.com>
13176
13177 * window.el (display-buffer-base-action): Rename from
13178 display-buffer-default-action. Make default value empty.
13179 (display-buffer-overriding-action): Convert to defvar.
13180 (display-buffer-fallback-action): New var.
13181
25322144
CY
131822011-09-15 Chong Yidong <cyd@stupidchicken.com>
13183
13184 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13185 declaration.
13186 (package--add-to-archive-contents): If there is a duplicate entry
13187 with an older version, remove it.
13188 (package-menu-mark-delete, package-menu-mark-install)
13189 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
13190 (package-menu-mark-obsolete-for-deletion):
13191 Use package-menu-get-status instead of a regexp search.
25322144
CY
13192 (package-menu-get-status): Use tabulated-list-entry.
13193 (package-menu-mark-upgrades): New command.
d770725a 13194 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
13195 (package-menu-execute): Do installation before deletion.
13196 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13197 instead of checking major-mode.
13198 (package-menu--find-upgrades): New function.
13199
7520339c
LMI
132002011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13201
13202 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13203 passwords in the log buffer.
65a046c4
LMI
13204 (smtpmail-process-filter): Update the process marker so that the
13205 "broken by peer" status message is inserted in the right place.
7520339c 13206
d3c30954
SM
132072011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13208
3fe48822
SM
13209 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13210 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13211 bibtex-completion-at-point-function.
13212 (bibtex-completion-at-point-function): Use them.
13213
1b8b3954
SM
13214 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13215
d3c30954
SM
13216 * mpc.el (mpc-constraints-tag-lookup): New function.
13217 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13218 also to browser "album|playlist".
13219
72779976
JL
132202011-09-14 Juri Linkov <juri@jurta.org>
13221
13222 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13223 (isearch-edit-string): Use length of `isearch-string' when
13224 `isearch-fail-pos' returns nil.
13225 (isearch-message): Remove duplicate code and call
13226 `isearch-fail-pos' with arg `t'.
13227
a0bf2bcd
CY
132282011-09-14 Chong Yidong <cyd@stupidchicken.com>
13229
17bb0a2d
CY
13230 * replace.el (occur-mode-goto-occurrence): Don't force using other
13231 window (Bug#9499).
13232
a0bf2bcd
CY
13233 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13234
f678e0b6
MR
132352011-09-14 Martin Rudalics <rudalics@gmx.at>
13236
13237 * window.el (display-buffer-window): Remove.
13238 (display-buffer-record-window): Use help-setup window parameter
13239 instead of variable display-buffer-window.
13240 (display-buffer-function, special-display-buffer-names)
13241 (special-display-function): Mention help-setup parameter instead
13242 of display-buffer-window in doc-string.
d3c30954
SM
13243 * help.el (help-window-setup): New argument help-window.
13244 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
13245 Reword some messages.
13246 (with-help-window): Pass window used for displaying the buffer
13247 to help-window-setup. Don't set display-buffer-window.
13248
8e39b2e8
GM
132492011-09-13 Glenn Morris <rgm@gnu.org>
13250
13251 * emacs-lisp/debug.el (debugger-make-xrefs):
13252 Preserve point. (Bug#9462)
13253
85e9c04b
CY
132542011-09-13 Chong Yidong <cyd@stupidchicken.com>
13255
13256 * window.el (window-deletable-p): Use next-frame.
13257
1b36ed6a
MR
132582011-09-13 Martin Rudalics <rudalics@gmx.at>
13259
13260 * window.el (window-auto-delete): Remove.
13261 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 13262 dedication and previous buffers.
1b36ed6a
MR
13263 (switch-to-prev-buffer): Don't delete window.
13264 (delete-windows-on): Delete a window's frame if and only if the
13265 window is dedicated.
13266 (replace-buffer-in-windows): Delete buffer's window or frame if
13267 and only if window is dedicated.
13268 (quit-window): Handle quit-restore as before last change.
4d61f28d 13269 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 13270
ef8ef9fb
CY
132712011-09-13 Chong Yidong <cyd@stupidchicken.com>
13272
13273 * window.el (window-deletable-p): Never delete the last frame on a
13274 given terminal.
13275
b2cba41e
GM
132762011-09-13 Glenn Morris <rgm@gnu.org>
13277
13278 * help.el (describe-key-briefly): Copy previous standard-output change.
13279
51553db6 132802011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
13281
13282 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13283
b7556719
GM
132842011-09-13 Glenn Morris <rgm@gnu.org>
13285
13286 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13287 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13288
64b51947
CY
132892011-09-12 Chong Yidong <cyd@stupidchicken.com>
13290
13291 * dired-aux.el (dired-mark-read-string): Don't return default
13292 value on empty input (Bug#9361).
13293 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13294 Omit initial minibuffer contents.
13295 (dired-do-chmod): Signal an error on empty input.
13296 (dired-mark-read-string): Don't return default on empty input.
13297
13298 * files.el (file-modes-symbolic-to-number): Doc fix.
13299
393a301e
SM
133002011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13301
13302 * international/mule-cmds.el (ucs-completions): Remove.
13303 (read-char-by-name): Use complete-with-action instead; add metadata.
13304
fa5660f9
CY
133052011-09-11 Chong Yidong <cyd@stupidchicken.com>
13306
13307 * window.el (display-buffer--action-function-custom-type)
13308 (display-buffer--action-custom-type): New vars.
13309 (display-buffer-alist, display-buffer-default-action)
13310 (display-buffer-overriding-action): Add defcustom types.
13311
4a592f66
CY
13312 * frame.el (delete-other-frames): Doc fix (Bug#276).
13313
73d56dbd
LMI
133142011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13315
13316 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13317
37ac18a3
CY
133182011-09-11 Chong Yidong <cyd@stupidchicken.com>
13319
13320 Change modes that used same-window-* vars to use switch-to-buffer.
13321
13322 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13323 Use switch-to-buffer.
13324
13325 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
13326 (customize-browse, custom-buffer-create-other-window):
13327 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
13328
13329 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13330 (Info-prev, Info-up, Info-speedbar-goto-node)
13331 (info-display-manual): Use switch-to-buffer.
13332 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13333
13334 * mail/sendmail.el (mail): Use switch-to-buffer.
13335 (mail-recover): Use switch-to-buffer-other-window.
13336
13337 * cmuscheme.el (run-scheme, switch-to-scheme):
13338 * ielm.el (ielm):
13339 * shell.el (shell):
13340 * net/rlogin.el (rlogin):
13341 * net/telnet.el (telnet, rsh):
13342 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13343
10195bd6
AS
133442011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13345
13346 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13347
b322f63a
LMI
133482011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13349
39d7fed6
LMI
13350 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13351 so don't mention it (bug#9301).
ba5a81f1 13352 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 13353
ee0e9f11
LMI
13354 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13355 match `x', `w32' and `ns', like the manual says (bug#9029).
13356
0b1c89c1 13357 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
13358 (process-kill-buffer-query-function): Mention the buffer name in
13359 the query.
0b1c89c1 13360
77549ea8
LMI
13361 * image-mode.el (image-next-line): The line parameter is mandatory
13362 (bug#9258).
13363
803ef892
LMI
13364 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13365 which can be useful (bug#9301).
13366
12980837
LMI
13367 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13368
91054f8f
LMI
13369 * subr.el (match-string): Mention that the current buffer should
13370 be the same as the search was done in (bug#9282).
13371
b322f63a
LMI
13372 * facemenu.el: Disable the remove-* commands if the mark isn't
13373 active (bug#9162).
13374
3199b96f
CY
133752011-09-10 Chong Yidong <cyd@stupidchicken.com>
13376
13377 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13378 of display-buffer.
13379 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13380
13381 * replace.el (occur-mode-goto-occurrence)
13382 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13383 and display-buffer.
13384
13385 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13386 display-buffer.
13387
13388 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13389 special-display and same-window variables.
13390 (mail-other-window): Use switch-to-buffer-other-window.
13391 (mail-other-frame): USe switch-to-buffer-other-frame.
13392
393a301e
SM
13393 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13394 Use display-buffer-other-frame.
3199b96f
CY
13395 (gdb-display-gdb-buffer): Use pop-to-buffer.
13396
13397 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13398
13399 * progmodes/python.el: Don't set same-window-buffer-names.
13400
13401 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13402
13403 * window.el (display-buffer-alist): Add *Python*.
13404
8319e0bf
CY
134052011-09-10 Chong Yidong <cyd@stupidchicken.com>
13406
13407 * window.el (display-buffer-alist): Add entry for buffers
13408 previously handled same-window-*.
13409 (display-buffer-alist, display-buffer-default-action)
13410 (display-buffer-overriding-action): Mark as risky.
13411 (display-buffer-alist): Document action function changes.
13412 (display-buffer--same-window-action)
13413 (display-buffer--other-frame-action): New variables.
13414 (switch-to-buffer, display-buffer-other-frame): Use them.
13415 (display-buffer): Rename reuse-frame entry to reusable-frames.
13416 (display-buffer-reuse-selected-window): Function deleted.
13417 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13418 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13419 (display-buffer-special): New function.
13420 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13421 display-buffer-reuse-or-pop-window. Split off special-display
13422 part into display-buffer-special.
13423 (display-buffer-use-some-window): Don't perform any special
13424 pop-up-frames handling.
13425 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 13426 (display-buffer--maybe-same-window): Rename from
0d3ff375 13427 display-buffer-maybe-same-window.
8319e0bf 13428
919a69aa
CY
13429 * info.el: Don't set same-window-regexps.
13430 (info-setup): New function.
13431 (info-other-window, info): Call it.
13432
13433 * cus-edit.el: Don't set same-window-regexps.
13434 (customize-group): New argument.
13435 (customize-group-other-window): Use it.
13436 (customize-face, customize-face-other-window): Likewise.
13437 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13438
8319e0bf
CY
13439 * net/rlogin.el:
13440 * net/telnet.el:
13441 * progmodes/gud.el: Don't set same-window-regexps.
13442
13443 * cmuscheme.el:
13444 * ielm.el:
13445 * shell.el:
13446 * mail/sendmail.el:
13447 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13448
25173000
JL
134492011-09-10 Juri Linkov <juri@jurta.org>
13450
13451 * isearch.el (isearch-edit-string): Remove obsolete mention of
13452 `C-w' (`isearch-yank-word-or-char') from docstring.
13453 (isearch-query-replace): Fix typo in docstring (bug#9466).
13454
056e44ef
JL
134552011-09-10 Juri Linkov <juri@jurta.org>
13456
13457 * paren.el (show-paren-function): Don't show escaped parens.
13458 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13459
c3760c17
EZ
134602011-09-10 Eli Zaretskii <eliz@gnu.org>
13461
13462 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13463 (mm-default-file-encoding): Remove autoload forms, they are
13464 replaced with autoload cookies in mml.el and mm-encode.el.
13465 (mail-add-attachment): New command.
13466 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13467 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13468 the doc string.
13469 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13470
fece895e
RT
134712011-09-10 Reuben Thomas <rrt@sc3d.org>
13472
e69df516
SM
13473 * simple.el (count-words-region): Use buffer if there's no region
13474 (bug#9429).
fece895e 13475
5e68ce4a
JL
134762011-09-09 Juri Linkov <juri@jurta.org>
13477
13478 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13479 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13480 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13481
0a6b9622
AM
134822011-09-09 Alan Mackenzie <acm@muc.de>
13483
13484 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13485 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13486
14a29deb
EZ
134872011-09-09 Eli Zaretskii <eliz@gnu.org>
13488
13489 Fix for Savannah bug#9392.
13490 * simple.el (mail-encode-mml): New defvar.
13491
13492 * mail/rmail.el (mail-encode-mml): Add a defvar.
13493 (rmail-enable-mime-composing): Default to t.
13494 (rmail-forward): Use MIME method of forwarding only if both
13495 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13496 Set mail-encode-mml non-nil if the MIME method was used.
13497
13498 * mail/sendmail.el (mml-to-mime): Add autoload form.
13499 (mail-encode-mml): Add a defvar.
13500 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13501 to nil.
13502 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13503 message through mml-to-mime, and reset mail-encode-mml to nil.
13504
28c45130
GM
135052011-09-09 Glenn Morris <rgm@gnu.org>
13506
13507 * woman.el (woman-if-body): When processing an .el block,
13508 do not delete the next .el block as well. (Bug#9447)
69f4b618 13509 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 13510
9b1c252e
MR
135112011-09-08 Martin Rudalics <rudalics@gmx.at>
13512
13513 * window.el (window-deletable-p): Make sure window is live before
13514 invoking window-prev-buffers.
13515
567457e3
LL
135162011-09-08 Leo Liu <sdl.web@gmail.com>
13517
13518 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13519
97f05794
JL
135202011-09-08 Juri Linkov <juri@jurta.org>
13521
13522 * progmodes/compile.el (compilation-environment): Make it
13523 a defcustom (bug#8340).
13524
8b0874b5
MR
135252011-09-08 Martin Rudalics <rudalics@gmx.at>
13526
13527 * window.el (frame-auto-delete): Rename to window-auto-delete.
13528 Make it control auto-deletion of windows and/or frames.
13529 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 13530 for deleting window/frame. (Bug#9419)
8b0874b5
MR
13531 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13532 Rewrite handling of case when window/frame can be deleted.
13533 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 13534 argument t. (Bug#9456)
8b0874b5 13535
4feb6e73
CY
135362011-09-07 Chong Yidong <cyd@stupidchicken.com>
13537
13538 * help-mode.el (help-mode): Restore autoload.
13539
91ab9c13
JL
135402011-09-07 Juri Linkov <juri@jurta.org>
13541
13542 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13543 `compilation-environment'. Set buffer-local
13544 `compilation-environment' to `thisenv' later after (funcall mode).
13545 (Bug#8340)
13546
13547 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
13548 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13549 instead of replacing its value. (Bug#8340)
13550
0527e251
JL
135512011-09-07 Juri Linkov <juri@jurta.org>
13552
13553 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13554 based on text properties put by `grep-filter' instead of matching
13555 escape sequences.
13556 (grep-mode): Set buffer-local `compilation-error-screen-columns'
13557 to the value of `grep-error-screen-columns' (bug#9438).
13558
249f792c
JL
135592011-09-07 Juri Linkov <juri@jurta.org>
13560
13561 * simple.el (next-error-highlight, next-error-highlight-no-select):
13562 Doc fix (bug#9432).
13563
ff7271b9
OT
135642011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
13565
13566 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13567 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
13568
183fc730
LL
135692011-09-07 Leo Liu <sdl.web@gmail.com>
13570
13571 * net/rcirc.el (rcirc-mode): Conditionally initialize
13572 rcirc-input-ring.
13573
77694924
SM
135742011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
13575
13576 * emacs-lisp/find-func.el (find-function-C-source): Only set
13577 find-function-C-source-directory after checking that we found a source
13578 file there (bug#9440).
13579
d809b8eb
AM
135802011-09-06 Alan Mackenzie <acm@muc.de>
13581
13582 * isearch.el (isearch-other-meta-char): Wherever a key list is
13583 unread, "unread" the prefix arg, too. This fixes bug #8901.
13584
453de99f
OG
135852011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
13586
13587 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13588
90439906
JL
135892011-09-05 Juri Linkov <juri@jurta.org>
13590
13591 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13592
f62bd846
JL
135932011-09-05 Juri Linkov <juri@jurta.org>
13594
13595 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13596 keeping point where processing of grep matches begins, and
13597 continue to delete remaining escape sequences from the same point.
13598 (grep-filter): Make leading zero optional in "0?1;31m" because
13599 git-grep emits "\033[1;31m" escape sequences unlike expected
13600 "\033[01;31m" as GNU Grep does (bug#9408).
13601 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13602
045820ec
JL
136032011-09-05 Juri Linkov <juri@jurta.org>
13604
13605 * subr.el (y-or-n-p): Capitalize "yes".
13606
f5e29b9b
MA
136072011-09-04 Michael Albinus <michael.albinus@gmx.de>
13608
13609 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
13610 `tramp-cache-unload-hook' where appropriate.
13611 (tramp-methods): Rename `tramp-remote-sh' to
13612 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
13613 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13614
13615 * net/tramp-sh.el (top): Don't require 'shell.
13616 (tramp-methods): Add `tramp-remote-shell' and
13617 `tramp-remote-shell-args' entries.
13618 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
13619 (tramp-sh-handle-shell-command): Remove.
13620 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13621 Use `tramp-remote-shell'.
13622
2784c434
CY
136232011-09-03 Chong Yidong <cyd@stupidchicken.com>
13624
393a301e 13625 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
13626 (sendmail-query-once): Save directly to send-mail-function.
13627 Update message-send-mail-function too.
13628
13629 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
13630
464cdf56
CS
136312011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13632
13633 * progmodes/python.el (python-mode-map): Use correct function to
13634 start python interpreter from menu-bar (as reported by Geert
13635 Kloosterman).
13636 (inferior-python-mode-map): Fix typo.
393a301e 13637 (python-shell-map): Remove.
464cdf56 13638
d37e5c87
DD
136392011-09-03 Deniz Dogan <deniz@dogan.se>
13640
13641 * net/rcirc.el (rcirc-print): Simplify code for
13642 rcirc-scroll-show-maximum-output. There is no need to walk
13643 through all windows to find the right one.
13644
f3ada0ee
CS
136452011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13646
13647 * help.el (help-return-method): Doc fix.
13648
1f3c99ca
MR
136492011-09-03 Martin Rudalics <rudalics@gmx.at>
13650
13651 * window.el (window-deletable-p): Don't return a non-nil value
13652 when there's a buffer that was shown in the window before.
13653 (Bug#9419)
393a301e
SM
13654 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13655 Set window's previous buffers to nil.
1f3c99ca 13656
a3cf097f
EZ
136572011-09-03 Eli Zaretskii <eliz@gnu.org>
13658
13659 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
13660 newline before and after the tag line, so it doesn't interfere
13661 with determining the paragraph direction of bidirectional text.
13662
3d03de90
LL
136632011-09-03 Leo Liu <sdl.web@gmail.com>
13664
13665 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
13666
c3313451
CY
136672011-09-02 Chong Yidong <cyd@stupidchicken.com>
13668
393a301e 13669 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
13670 (pop-to-buffer): Change interactive spec. Pass second argument
13671 directly to display-buffer.
13672 (display-buffer): Fix interactive spec. Use functionp to
13673 distinguish between a function and a list of functions.
13674
13675 * abbrev.el (edit-abbrevs):
13676 * arc-mode.el (archive-extract):
13677 * autoinsert.el (auto-insert):
13678 * bookmark.el (bookmark-bmenu-list):
13679 * files.el (find-file):
13680 * view.el (view-buffer):
13681 * progmodes/compile.el (compilation-goto-locus):
13682 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
13683
89894cd8
CY
136842011-09-02 Chong Yidong <cyd@stupidchicken.com>
13685
13686 * window.el (display-buffer-alist): Doc fix.
13687 (display-buffer): Add docstring. Don't treat
13688 display-buffer-default specially.
13689 (display-buffer-reuse-selected-window)
13690 (display-buffer-same-window, display-buffer-maybe-same-window)
13691 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13692 (display-buffer-pop-up-window)
13693 (display-buffer-reuse-or-pop-window)
13694 (display-buffer-use-some-window): New functions.
13695 (display-buffer-default-action): Use them.
393a301e 13696 (display-buffer-default): Delete.
89894cd8
CY
13697 (pop-to-buffer-1): Fix choice of actions.
13698
ae0bc9fb
SM
136992011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
13700
13701 * minibuffer.el (completion--insert-strings): Don't get confused by
13702 completion entries that end with an LF char.
13703
e9d90883
EZ
137042011-09-01 Eli Zaretskii <eliz@gnu.org>
13705
13706 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
13707
437014c8
CY
137082011-09-01 Chong Yidong <cyd@stupidchicken.com>
13709
13710 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
13711 (display-buffer-same-window, display-buffer-other-window):
13712 New functions.
437014c8
CY
13713 (pop-to-buffer-1): New function. Use the above.
13714 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 13715 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
13716
13717 * view.el (view-buffer-other-window, view-buffer-other-frame):
13718 Just use pop-to-buffer.
13719
a5e063d5
TV
137202011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13721
13722 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
13723
793d32bb
WH
137242011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
13725
13726 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
13727
d65e4c15
RS
137282011-08-31 Richard Stallman <rms@gnu.org>
13729
13730 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
13731 of the separation of rmail-view-buffer from rmail-buffer.
13732 If you say no to "replace original", the decrypt is in the
13733 view buffer. If you say yes, the decrypt goes into the
13734 rmail buffer also.
13735
f818cd2a
MR
137362011-08-31 Martin Rudalics <rudalics@gmx.at>
13737
13738 * window.el (display-buffer-window): Rewrite doc-string.
13739 (display-buffer-record-window): New function.
13740 (display-buffer-macro-specifiers)
13741 (display-buffer-even-window-sizes, display-buffer-set-height)
13742 (display-buffer-set-width, display-buffer-in-window)
13743 (display-buffer-reuse-window, display-buffer-split-specifiers)
13744 (display-buffer-side-specifiers, display-buffer-split-window-1)
13745 (display-buffer-split-window, display-buffer-split-atom-window)
13746 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13747 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
13748 (display-buffer-other-window-means-other-frame)
13749 (display-buffer-normalize-special)
13750 (display-buffer-normalize-default)
13751 (display-buffer-normalize-argument)
13752 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
13753 (display-buffer-normalize-specifiers, display-buffer-frame)
13754 (display-buffer-same-window, display-buffer-same-frame)
13755 (display-buffer-other-window)
13756 (display-buffer-same-frame-other-window)
13757 (display-buffer-other-frame, pop-to-buffer-same-window)
13758 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
13759 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
13760 (switch-to-buffer-same-frame)
13761 (switch-to-buffer-other-window-same-frame)
13762 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
13763 (display-buffer-alist-set-1, display-buffer-alist-set-2)
13764 (display-buffer-alist-set): Remove.
13765 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
13766 (special-display-regexps, special-display-function):
13767 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
13768 parameter.
13769 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
13770 (special-display-frame-alist, special-display-popup-frame)
13771 (same-window-buffer-names, same-window-regexps, same-window-p)
13772 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13773 (split-window-preferred-function, split-height-threshold)
13774 (split-width-threshold, window-splittable-p)
13775 (split-window-sensibly, window--try-to-split-window)
13776 (window--frame-usable-p, even-window-heights)
13777 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
13778 (window--display-buffer-2, display-buffer-other-frame):
13779 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
13780 (display-buffer-default, display-buffer-assq-regexp): New functions.
13781 (display-buffer-alist): Rewrite doc-string.
13782 (display-buffer-default-action)
13783 (display-buffer-overriding-action): New variables.
13784 (display-buffer, switch-to-buffer): Rewrite.
13785 (pop-to-buffer): Restore Emacs 23 behavior but use
13786 window-normalize-buffer-to-display.
13787 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
13788 Restore Emacs 23 behavior but use
13789 window-normalize-buffer-to-switch-to.
13790 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
13791 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
13792 Rewrite using Emacs 23 options.
f818cd2a 13793
5bc3b51d
MA
137942011-08-31 Michael Albinus <michael.albinus@gmx.de>
13795
13796 * net/tramp.el (tramp-root-regexp): Remove.
13797 (tramp-completion-file-name-regexp-unified)
13798 (tramp-completion-file-name-regexp-separate)
13799 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 13800 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
13801 (tramp-drop-volume-letter): Simplify definition.
13802 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 13803
b1a4f8e1
SM
138042011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
13805
13806 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
13807 (bug#9356).
13808
5664fa7b
RT
138092011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
13810
b1a4f8e1 13811 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 13812
9a45d6c3
JL
138132011-08-29 Juri Linkov <juri@jurta.org>
13814
13815 * isearch.el (isearch-done): Don't display message "Mark saved"
13816 when arg `edit' is non-nil to prevent its flicker in the echo area.
13817
fb87e0fb
CY
138182011-08-28 Chong Yidong <cyd@stupidchicken.com>
13819
13820 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
13821 obsolete packages for deletion.
13822
09ac1c2a
CS
138232011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
13824
13825 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 13826 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
13827 view-mode from help-mode.
13828 (help-xref-override-view-map): Remove.
13829 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
13830 view-mode is not used anymore.
13831
7a1ff57f
CY
138322011-08-28 Chong Yidong <cyd@stupidchicken.com>
13833
13834 * server.el (server-port): Doc fix.
13835
b9696605
CY
13836 * cus-theme.el (custom-theme-choose-mode): Inherit from
13837 special-mode (Bug#9124).
13838 (custom-theme-choose-mode-map): Add special-mode to parent.
13839
ef8cdf8c
AM
138402011-08-28 Alan Mackenzie <acm@muc.de>
13841
13842 * progmodes/cc-fonts.el
13843 (c-make-font-lock-BO-decl-search-function): New function.
13844 (c-basic-matchers-after - "Fontify the clauses after various
13845 keywords"): Extract the three keyword lists for the 3 erroneous
13846 constructs from the list of four, and use the new function above
13847 in place of an old one.
13848
27de4e20
DD
138492011-08-28 Deniz Dogan <deniz@dogan.se>
13850
13851 * net/rcirc.el (rcirc-insert-prev-input)
13852 (rcirc-insert-next-input): Remove unused argument.
13853
356a3681
SM
138542011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
13855
13856 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
13857
3fc9b218
AM
138582011-08-27 Alan Mackenzie <acm@muc.de>
13859
13860 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
13861 handle function pointer parameters properly.
13862
538a061c
MR
138632011-08-27 Martin Rudalics <rudalics@gmx.at>
13864
13865 * window.el (display-buffer-reuse-window): Fix case where
13866 selected window was reused with non-nil OTHER-WINDOW argument.
13867 (Bug#9381)
13868
35b1c40c
DD
138692011-08-27 Deniz Dogan <deniz@dogan.se>
13870
13871 * net/rcirc.el (rcirc-check-auth-status): Adding support for
13872 oftc's NickServ messages.
13873
2f6a3e79
GM
138742011-08-27 Glenn Morris <rgm@gnu.org>
13875
13876 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
13877
7254299e
CY
138782011-08-26 Chong Yidong <cyd@stupidchicken.com>
13879
13880 * emacs-lisp/package.el (package-install): Call package-initialize
13881 if called interactively.
13882
f8ccf167
LL
138832011-08-26 Leo Liu <sdl.web@gmail.com>
13884
13885 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
13886
3e8cd5ce
JL
138872011-08-25 Juri Linkov <juri@jurta.org>
13888
13889 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13890 `search-whitespace-regexp' (bug#9364).
13891
93eb7113
JL
138922011-08-25 Juri Linkov <juri@jurta.org>
13893
13894 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
13895 `regexp-search-ring' to their global values to protect from
13896 updating by `read-from-minibuffer' (bug#9185).
13897
f65d1611
JL
138982011-08-25 Juri Linkov <juri@jurta.org>
13899
13900 * textmodes/ispell.el (ispell-command-loop): Add newline
13901 at the end of the "Use option `i'..." line.
13902
f1cf7a31
JL
139032011-08-25 Juri Linkov <juri@jurta.org>
13904
13905 * battery.el (display-battery-mode): If `battery-status-function'
13906 or `battery-mode-line-format' is nil, display the message and set
13907 `display-battery-mode' to nil (bug#9363).
13908
0c95fcf7
EZ
139092011-08-25 Eli Zaretskii <eliz@gnu.org>
13910
13911 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
13912 bidi-string-mark-left-to-right; they are unnecessary now.
13913
a2ebe600
DD
139142011-08-25 Deniz Dogan <deniz@dogan.se>
13915
13916 * net/quickurl.el: Documentation typo fixes.
13917
e4ed06f1
CY
139182011-08-25 Chong Yidong <cyd@stupidchicken.com>
13919
13920 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
13921
e5f1c99e
GM
139222011-08-25 Glenn Morris <rgm@gnu.org>
13923
b2948976
GM
13924 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
13925
e5f1c99e
GM
13926 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
13927 (smtpmail-via-smtp): Handle nil response from smtp.
13928
f22f4808
JL
139292011-08-24 Juri Linkov <juri@jurta.org>
13930
13931 * proced.el (proced-marked): Inherit from `error' instead of
13932 `font-lock-warning-face'.
13933
13934 * ibuffer.el (ibuffer-marked-face): Change default face from
13935 `font-lock-warning-face' to `warning'.
13936 (ibuffer-deletion-face): Change default face from
13937 `font-lock-type-face' to `error'.
13938
13939 * battery.el (battery-update): Use the face `error' instead of
13940 `font-lock-warning-face' (bug#6117).
13941
6a93965e
JL
139422011-08-24 Juri Linkov <juri@jurta.org>
13943
13944 * faces.el (success): Change face color from "Green3" to
13945 "ForestGreen" on light background (bug#9353).
13946
1ed43b09
CY
139472011-08-24 Chong Yidong <cyd@stupidchicken.com>
13948
5664fa7b
RT
13949 * window.el (quit-window): Rename from quit-restore-window.
13950 Use same arglist as old quit-window.
1ed43b09
CY
13951 (frame-auto-delete): Doc fix.
13952
13953 * view.el (view-mode-exit): Use quit-window.
13954
11dcdbb2
JL
139552011-08-24 Juri Linkov <juri@jurta.org>
13956
13957 * isearch.el (isearch-ring-adjust1): Start visiting previous
13958 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
13959 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
13960 for empty search string (when the last search string is reused
13961 automatically) to adjust the isearch ring to the last element and
13962 prepare the correct index for further M-p commands (bug#9185).
13963
de62b4df
KH
139642011-08-24 Kenichi Handa <handa@m17n.org>
13965
13966 * international/ucs-normalize.el: If decomposition property of
13967 CHAR is the default one (i.e. a list of CHAR itself), treat it as
13968 nil.
13969 (nfd, nfkd): Likewise.
13970
963b492b
SM
139712011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
13972
13973 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
13974 from process filters aren't reliably transmitted to the surrounding
13975 accept-process-output.
13976 (mpc-proc-check): New function.
13977 (mpc-proc-sync): Use it (bug#8293)
13978
93b6b5e1
SM
139792011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13980
13981 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
13982 Add compatibility functions (bug#9313).
13983
bca633fb
EZ
139842011-08-23 Eli Zaretskii <eliz@gnu.org>
13985
b177498a
EZ
13986 * cus-start.el (all): Add entry for bidi-paragraph-direction.
13987
6df6ae42 13988 * international/uni-bidi.el: Regenerate.
bca633fb 13989
0902a04e
KH
139902011-08-23 Kenichi Handa <handa@m17n.org>
13991
13992 * international/charprop.el:
13993 * international/uni-bidi.el:
13994 * international/uni-category.el:
13995 * international/uni-combining.el:
13996 * international/uni-comment.el:
13997 * international/uni-decimal.el:
13998 * international/uni-decomposition.el:
13999 * international/uni-digit.el:
14000 * international/uni-lowercase.el:
14001 * international/uni-mirrored.el:
14002 * international/uni-name.el:
14003 * international/uni-numeric.el:
14004 * international/uni-old-name.el:
14005 * international/uni-titlecase.el:
14006 * international/uni-uppercase.el: Regenerate.
14007
3bbf23bc
MR
140082011-08-23 Martin Rudalics <rudalics@gmx.at>
14009
14010 * help.el (help-window-setup): Fix message displayed when other
14011 window is reused. (Bug#9341)
14012
b3fd59bd
SM
140132011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14014
1802e444
SM
14015 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14016 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14017
b3fd59bd
SM
14018 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14019 Mark obsolete.
14020 * shell.el (shell-parse-pcomplete-arguments): New function.
14021 (shell-completion-vars): Use it instead (bug#9160).
14022
4eb61348
SM
140232011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14024
867cab74
SM
14025 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14026 strings and comments (bug#9333).
14027
4eb61348
SM
14028 * emacs-lisp/debug.el (debug-arglist): New function.
14029 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14030 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14031
262a1439
JL
140322011-08-22 Juri Linkov <juri@jurta.org>
14033
56ee679c
JL
14034 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14035 Revert regexp that highlights output switches to its old
14036 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14037
262a1439
JL
14038 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14039 to check for empty output (bug#9226).
14040
f13f86fb
CY
140412011-08-22 Chong Yidong <cyd@stupidchicken.com>
14042
14043 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14044 symbol-constituent as the default, as that stops font-lock from
14045 working properly (Bug#8843).
14046
c65c9622
LMI
140472011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14048
14049 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14050 `coding-system-for-*' around the process open call to avoid
14051 auth-source side effects.
e7f2c178 14052 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
14053 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14054 probe hangs.
c65c9622 14055
23a8a5ab
CY
140562011-08-21 Chong Yidong <cyd@stupidchicken.com>
14057
ff98b2dd
CY
14058 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14059
23a8a5ab
CY
14060 * emacs-lisp/find-func.el (find-function-noselect): New arg
14061 lisp-only.
14062
14063 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14064 signal an error for built-in functions (Bug#6664).
14065
f5e3c598
LMI
140662011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14067
14068 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14069 (smtpmail-try-auth-methods): Use it.
14070
a3f2468a
CY
140712011-08-21 Chong Yidong <cyd@stupidchicken.com>
14072
2c34e8da
CY
14073 * font-lock.el (font-lock-fontify-region)
14074 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14075 (font-lock-default-unfontify-buffer)
14076 (font-lock-default-fontify-region)
14077 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14078
b3fd59bd
SM
14079 * progmodes/compile.el (compilation-error-properties):
14080 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
14081 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14082 `ant' regexp.
ee31aabc 14083
a3f2468a
CY
14084 * net/browse-url.el (browse-url-firefox): Don't call
14085 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14086
8e999f70
GM
140872011-08-20 Glenn Morris <rgm@gnu.org>
14088
c21a496a
GM
14089 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14090
59ee0542
GM
14091 * tutorial.el (tutorial--default-keys): Update some default bindings.
14092
8e999f70
GM
14093 * files.el (hack-local-variables): Fully ignore case for "mode:".
14094
e3715033
AM
140952011-08-20 Alan Mackenzie <acm@muc.de>
14096
14097 Resolve invalid use of a regexp in regexp-opt.
14098
4d61f28d
JB
14099 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14100 detection for a java annotation.
e3715033 14101
4d61f28d 14102 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
14103 detection for a java annotation.
14104
4d61f28d
JB
14105 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14106 handling for java.
e3715033
AM
14107 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14108
04ed2e9c
CY
141092011-08-20 Chong Yidong <cyd@stupidchicken.com>
14110
14111 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14112 (Bug#9274).
14113
826cee64
AM
141142011-08-20 Alan Mackenzie <acm@muc.de>
14115
58179cce 14116 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
14117 such a construct. Mainly for when jit-lock etc. starts a chunk
14118 here.
14119
58179cce 14120 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 14121 variable.
58179cce 14122 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
14123 c-make-font-lock-search-function.
14124 (c-make-font-lock-search-function): Use the above function.
14125 (c-make-font-lock-context-search-function): New function.
14126 (c-cpp-matchers): Enhance the preprocessor expression case with
14127 the above function
14128 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14129 which takes an expression.
14130
14131 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14132
13009bd8
MR
141332011-08-20 Martin Rudalics <rudalics@gmx.at>
14134
14135 * window.el (display-buffer-reuse-window)
14136 (display-buffer-pop-up-window): Don't reuse or split a side
14137 window.
14138
9234ff7f
GM
141392011-08-19 Glenn Morris <rgm@gnu.org>
14140
14141 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 14142 Downcase "Mode:". (Bug#9331)
9234ff7f 14143
f635daa1
CY
141442011-08-18 Chong Yidong <cyd@stupidchicken.com>
14145
14146 * international/characters.el: Add L and R categories.
14147
14148 * subr.el (bidi-string-mark-left-to-right): Rename from
14149 string-mark-left-to-right. Use category search.
14150
14151 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14152
bc987f8b
JL
141532011-08-18 Juri Linkov <juri@jurta.org>
14154
14155 * faces.el (error, warning, success): New faces with definitions
14156 copied from old default values of `font-lock-warning-face',
14157 `compilation-warning', `compilation-info' (bug#6117).
14158
14159 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14160
14161 * progmodes/compile.el (compilation-error): Inherit from `error'.
14162 (compilation-warning): Inherit from `warning'.
14163 (compilation-info): Inherit from `success'.
14164
14165 * dired.el (dired-marked): Inherit from `warning'.
14166 (dired-flagged): Inherit from `error'.
14167
57173b96
LMI
141682011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14169
3e79eb87
LMI
14170 * mail/smtpmail.el (auth-source): Require to avoid problems with
14171 binding variables (bug#9298). Also clean up some unused
14172 autoloads.
14173
b3fd59bd
SM
14174 * net/network-stream.el (network-stream-open-starttls):
14175 Support using starttls.el without using gnutls-cli.
57173b96 14176
02b404de
JL
141772011-08-17 Juri Linkov <juri@jurta.org>
14178
14179 * progmodes/grep.el (rgrep): Handle the case when
14180 `grep-find-command' is a cons cell (bug#9278).
14181
8c9177f2
MR
141822011-08-17 Martin Rudalics <rudalics@gmx.at>
14183
14184 * window.el (display-buffer-pop-up-frame): Run frame creation
14185 function with BUFFER current (as special-display-popup-frame
14186 does). Reported by Drew Adams.
14187
3644a0ab
DU
141882011-08-17 Daiki Ueno <ueno@unixuser.org>
14189
14190 * epa-mail.el: Simplify GnuPG group expansion using
14191 epg-expand-group.
14192 (epa-mail-group-alist, epa-mail-group-modtime)
14193 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14194 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14195 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14196 Remove.
14197
5e617bc2 141982011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
14199
14200 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14201
9c4aeabf
AM
142022011-08-16 Alan Mackenzie <acm@muc.de>
14203
14204 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14205 Correct, to avoid the inside of macros.
14206
3a99bf64
RS
142072011-08-16 Richard Stallman <rms@gnu.org>
14208
04963aa8
RS
14209 * epa-mail.el: Handle GnuPG group definitions.
14210 (epa-mail-group-alist, epa-mail-group-modtime)
14211 (epa-mail-gnupg-conf-file): New variables.
14212 (epa-mail-parse-groups, epa-mail-sync-groups)
14213 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14214 (epa-mail-expand-recipients): New functions.
14215 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14216
177549d0
RS
14217 * mail/rmail.el (rmail-epa-decrypt): New command.
14218
fe38beef
RS
14219 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14220 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
14221 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14222 (epa-decrypt-armor-in-region): Make error message clearer.
14223
934eacb9
SM
142242011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14225
14226 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14227 and "a2b" to "ab" for `prefix'.
14228
d024fb4e
CY
142292011-08-14 Chong Yidong <cyd@stupidchicken.com>
14230
14231 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14232 filter groups.
de148fee
CY
14233 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14234 Fourquet (Bug#8804).
d024fb4e 14235
62f1ca49
JB
142362011-08-12 Juanma Barranquero <lekktu@gmail.com>
14237
14238 * startup.el (argi): Declare as global variable (bug#9275).
14239
9ccaaa4b
CY
142402011-08-12 Chong Yidong <cyd@stupidchicken.com>
14241
14242 * subr.el (string-mark-left-to-right): Search the entire string
14243 for RTL script, not just the terminating character. Doc fix.
14244
a3dae87a
SM
142452011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14246
6cd18349
SM
14247 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14248 New function.
14249 (js--regexp-literal, js-syntax-propertize-function): Remove.
14250 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14251 (js-mode-map): Don't rebind electric keys.
14252 (js-insert-and-indent): Remove.
14253 (js-mode): Setup electric-layout and electric-indent instead.
14254
a3dae87a
SM
14255 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14256
9d5cb631
DU
142572011-08-12 Daiki Ueno <ueno@unixuser.org>
14258
14259 * epa.el (epa-progress-callback-function): Fix the logic of
14260 displaying progress.
14261 * epa-file.el (epa-file-insert-file-contents): Make progress
14262 display more user-friendly.
14263 (epa-file-write-region): Ditto.
14264
3e26a4a2
CY
142652011-08-10 Chong Yidong <cyd@stupidchicken.com>
14266
14267 * subr.el (string-mark-left-to-right): New function.
14268
14269 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14270 Use string-mark-left-to-right.
14271 (list-buffers-noselect): Caller changed.
14272
a3dae87a
SM
14273 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14274 Use string-mark-left-to-right.
3e26a4a2
CY
14275 (tabulated-list-print): Recenter after moving point.
14276
ac8cf6e6
JL
142772011-08-10 Juri Linkov <juri@jurta.org>
14278
14279 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14280 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14281 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14282
8d96c9a4
CY
142832011-08-09 Chong Yidong <cyd@stupidchicken.com>
14284
14285 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14286 (Bug#7554).
14287
7be1c708 142882011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
14289
14290 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14291 character. (Bug#6594)
14292
37e11a63
CY
142932011-08-08 Chong Yidong <cyd@stupidchicken.com>
14294
839dde57
CY
14295 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14296 (image-dired--with-db-file): New macro.
14297 (image-dired-write-tags, image-dired-remove-tag)
14298 (image-dired-create-gallery-lists, image-dired-write-comments)
14299 (image-dired-get-comment, image-dired-mark-tagged-files)
14300 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14301 (image-dired-gallery-generate): Use insert-file-contents.
14302
37e11a63
CY
14303 * time.el (display-time-world-list, display-time-world-display):
14304 * time-stamp.el (time-stamp-string):
14305 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14306 set-time-zone-rule (Bug#7337).
14307
0b4946c4
DU
143082011-08-08 Daiki Ueno <ueno@unixuser.org>
14309
14310 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14311 (epg-error-to-string, epg-errors-to-string): New function.
14312 (epg-wait-for-completion): Reverse errors list.
14313 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14314 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14315 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14316 (epg-sign-keys, epg-generate-key-from-file)
14317 (epg-generate-key-from-string): Format errors by using
14318 epg-errors-to-string (bug#9255).
14319 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14320
75bfc667
JL
143212011-08-07 Juri Linkov <juri@jurta.org>
14322
14323 * faces.el (list-faces-display): Remove extra angle bracket
14324 from `help-mode-map'.
14325
14326 * info.el (Info-history-toc-nodes): Doc fix.
14327
14328 * longlines.el (longlines-mode): Doc fix.
14329
673e08bb
SM
143302011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14331
4640dd88
SM
14332 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14333 of statements and in a few more cases (bug#9183).
14334
673e08bb
SM
14335 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14336 New functions.
14337 (cl-transform-lambda): Use them (bug#9239).
14338
89b3f019
MR
143392011-08-05 Martin Rudalics <rudalics@gmx.at>
14340
14341 * window.el (display-buffer-same-window)
14342 (display-buffer-same-frame, display-buffer-other-window)
14343 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14344 (pop-to-buffer-other-window)
14345 (pop-to-buffer-same-frame-other-window)
14346 (pop-to-buffer-other-frame): Make them defuns.
14347 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14348
640c8776
SM
143492011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14350
14351 * subr.el (make-composed-keymap): Move from C. Change calling
14352 convention, and improve docstring to bring attention to a subtle point.
14353 * minibuffer.el (completing-read-default): Adjust accordingly.
14354
63648a95
MA
143552011-08-03 Michael Albinus <michael.albinus@gmx.de>
14356
14357 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14358 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14359
14360 * net/trampver.el: Update release number.
14361
b796c9b7
SM
143622011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14363
14364 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14365 "in" (bug#9190).
14366
2239d7d5
LMI
143672011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14368
e07dd7c3
LMI
14369 * mail/sendmail.el (sendmail-query-once): Restore the current
14370 buffer after querying (bug#9074).
14371
0e6a2bd7
LMI
14372 * dired.el (dired-flagged): Use different faces for marked and
14373 flagged files (bug#6117).
14374
ce887515
LMI
14375 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14376 (bug#4433).
14377
92f2affc
LMI
14378 * ido.el (ido-mode): Switch off the message if called
14379 non-interactively.
14380
57d5aff0
LMI
14381 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14382 before 587, since it appears that that's more likely to work for
14383 more people.
14384
98cd6c18 14385 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 14386 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
14387 exist.
14388
b96dec83
LMI
14389 * info.el: Remove the `Info-beginning-of-buffer' function
14390 (bug#8325).
14391
b796c9b7
SM
14392 * net/network-stream.el (network-stream-open-starttls):
14393 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 14394
d90e2ea0
MR
143952011-08-01 Martin Rudalics <rudalics@gmx.at>
14396
14397 * window.el (display-buffer-in-window): Don't set dedicated status
14398 of window here (Bug#9215).
14399 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14400 (display-buffer-pop-up-side-window)
b796c9b7 14401 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 14402
cca09170
SM
144032011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14404
14405 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14406 before binding generated-autoload-file.
14407
027b979c
DD
144082011-08-01 Deniz Dogan <deniz@dogan.se>
14409
14410 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14411
3c7ee4f3
MA
144122011-07-30 Michael Albinus <michael.albinus@gmx.de>
14413
14414 Sync with Tramp 2.2.2.
14415
14416 * net/trampver.el: Update release number.
14417
2cc8e51a
JL
144182011-07-30 Juri Linkov <juri@jurta.org>
14419
14420 * dired-aux.el (dired-touch-initial): Remove function.
14421 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14422 current time, and `default' to the last modification time of the
14423 current marked file (bug#6887).
14424
a514d856
JM
144252011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14426
14427 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 14428 numeric argument to read-number (bug#9163).
a514d856 14429
8a7eddd7
MA
144302011-07-27 Michael Albinus <michael.albinus@gmx.de>
14431
14432 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14433 connection process, it could be nil.
14434
1ddd96f5
LL
144352011-07-27 Leo Liu <sdl.web@gmail.com>
14436
14437 Simplify url handling in rcirc-mode.
14438
14439 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14440 (rcirc-browse-url-at-mouse): Remove.
14441 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14442
b248a85d
AM
144432011-07-26 Alan Mackenzie <acm@muc.de>
14444
14445 Fontify bitfield declarations properly.
14446
14447 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14448 (c-symbol-chars): Now exported as a lang variable.
14449 (c-not-primitive-type-keywords): New lang variable.
14450
14451 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14452 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 14453 parsed as a bitfield declaration.
b248a85d 14454
b796c9b7
SM
14455 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14456 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
14457 (c-punctuation-in): New function.
14458 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14459 declarations properly.
14460
68575ab0
UJ
144612011-07-26 Ulf Jasper <ulf.jasper@web.de>
14462
14463 * calendar/icalendar.el (icalendar--all-events): Take care of
14464 multiple vcalendars in a single file.
b796c9b7 14465 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 14466
0f0a88b9
DD
144672011-07-25 Deniz Dogan <deniz@dogan.se>
14468
14469 * image.el (insert-image): Clarifying docstring.
14470
0b3f36df
MA
144712011-07-24 Michael Albinus <michael.albinus@gmx.de>
14472
14473 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14474 `tramp-send-command-and-check' if there is no error.
14475 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14476
a9901f61
AM
144772011-07-22 Alan Mackenzie <acm@muc.de>
14478
14479 Prevent cc-langs.elc being loaded at run time.
14480
14481 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14482 cc-langs.
14483
4d61f28d 14484 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
14485 "(require 'cc-langs)". Quote a form so it will evaluate at
14486 (cc-mode's) compilation time.
14487
11d074b2
MA
144882011-07-22 Michael Albinus <michael.albinus@gmx.de>
14489
14490 * net/tramp.el (tramp-file-name-handler): Avoid recursive
14491 loading. (Bug#9114)
14492
938b94c8
MR
144932011-07-21 Martin Rudalics <rudalics@gmx.at>
14494
14495 * window.el (display-buffer-pop-up-window)
14496 (display-buffer-pop-up-side-window)
14497 (display-buffer-in-side-window): Call display-buffer-set-height
14498 and display-buffer-set-width after setting the new window's
b796c9b7 14499 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 14500
bfa4f190
SS
145012011-07-20 Sam Steingold <sds@gnu.org>
14502
14503 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14504 (etags-tags-included-tables): Call `convert-standard-filename' on
14505 the file names contained in TAGS so that windows Emacs can handle
14506 TAGS files created by cygwin ctags.
14507
8ca42262
LMI
145082011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14509
14510 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14511 which apparently didn't work.
14512
5db2afd2 145132011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 14514
5db2afd2
RW
14515 * proced.el (proced-send-signal): For *Marked Processes* buffer
14516 put point at beginning of buffer.
14517
92e15d10
SB
145182011-07-19 Stephen Berman <stephen.berman@gmx.net>
14519
14520 * proced.el (proced-format): Make header lines align with the text
14521 (bug#1779).
14522
1bfd59e5
LMI
145232011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14524
14525 * view.el (view-buffer): Allow running in `special' modes if we're
14526 visiting a file (bug#8615).
14527
f5aae37c
MR
145282011-07-19 Martin Rudalics <rudalics@gmx.at>
14529
14530 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
14531 (display-buffer-alist-set-1, display-buffer-alist-set-2):
14532 New functions.
f5aae37c
MR
14533 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14534 more accurately.
14535
bf2c1571
AM
145362011-07-18 Alan Mackenzie <acm@muc.de>
14537
14538 Fontify declarators properly when, e.g., a jit-lock chunk begins
14539 inside a declaration.
14540
14541 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14542
b796c9b7
SM
14543 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14544 New function.
bf2c1571
AM
14545 (c-complex-decl-matchers): Insert reference to
14546 c-font-lock-enclosing-decls.
14547
14548 * progmodes/cc-engine.el (c-backward-single-comment):
14549 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14550 to nil around calls to (forward-comment -1).
14551
4e190b80
LMI
145522011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14553
12dc863d
LMI
14554 * image.el (put-image): Doc typo fix.
14555
a762e966
LMI
14556 * progmodes/etags.el (tags-search): Doc typo fix.
14557
4e190b80
LMI
14558 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14559 password if we get errors 550 to 554.
14560
f019fb21
LMI
145612011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14562
b796c9b7 14563 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 14564
81746738
LMI
14565 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14566 indentation character (bug#6380).
14567
3ee3a1b5
LMI
14568 * files.el (buffer-offer-save): Made permanently local (bug#6241).
14569
c82f64de
LMI
14570 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14571 to clarify what the problem is (bug#4291).
14572
f019fb21
LMI
14573 * simple.el (current-kill): Clarify what
14574 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
14575 (auto-fill-mode): Document `auto-fill-function' in relation to
14576 `auto-fill-mode' (bug#2470).
f019fb21 14577
0794775d
LM
145782011-07-16 Lawrence Mitchell <wence@gmx.li>
14579
14580 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14581 method if slot is read-only (bug#9035).
14582
be39b8cc
MR
145832011-07-16 Martin Rudalics <rudalics@gmx.at>
14584
b796c9b7 14585 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 14586 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
14587 selected before, see discussion of (Bug#8615), (Bug#6954).
14588 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 14589
6ccf7859
GM
145902011-07-15 Glenn Morris <rgm@gnu.org>
14591
14592 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 14593 Respect help-form.
6ccf7859 14594
87e86684
LM
145952011-07-09 Lawrence Mitchell <wence@gmx.li>
14596
14597 * net/gnutls.el (gnutls-min-prime-bits): New variable.
14598 (gnutls-negotiate): Use it.
14599
d6066239
LMI
146002011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14601
b796c9b7
SM
14602 * net/gnutls.el (gnutls-negotiate):
14603 Upcase `gnutls-algorithm-priority'.
d6066239 14604
bd23ebc0
GM
146052011-07-15 Glenn Morris <rgm@gnu.org>
14606
c65bca65
GM
14607 * jka-compr.el (jka-compr-verbose): Move from here...
14608 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
14609 Add missing :version tag.
14610 * info.el: No need to require jka-compr when compiling.
bd23ebc0 14611
478615cc
LMI
146122011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14613
7b41decb
LMI
14614 * net/gnutls.el (gnutls-algorithm-priority): New variable.
14615 (gnutls-negotiate): Use it.
14616
dbc44fcd
LMI
14617 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14618
06789f97
LMI
14619 * info.el (Info-beginning-of-buffer): New command.
14620 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
14621 announcing `b' as the key (bug#8325).
ab896c37 14622 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 14623
c39da690
LMI
14624 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14625
3aa5f34b
LMI
14626 * international/mule-cmds.el
14627 (describe-specified-language-support): Make the error message
14628 clearer (bug#8905).
14629
4bf0979f
LMI
14630 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
14631
478615cc
LMI
14632 * isearch.el (isearch-barrier): Add a doc string, since it's
14633 mentioned in a function doc string (bug#8678).
14634
75c68aa1
MR
146352011-07-15 Martin Rudalics <rudalics@gmx.at>
14636
14637 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
14638 buffer argument (Bug#9083) and self-identifying label argument.
14639
a7c33da2
GM
146402011-07-15 Glenn Morris <rgm@gnu.org>
14641
14642 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
14643
2f5c6024
LMI
146442011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14645
14646 * man.el (Man-fontify-manpage): Fix message when formatting the
14647 man page (bug#7929).
14648
0bb23927 146492011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
14650
14651 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
14652 argument LRM; if non-nil, append an invisible LRM character to the
14653 buffer name.
14654 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
14655 last argument non-nil, when formatting buffer names.
0bb23927
EZ
14656 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
14657 paragraph direction.
cce4b0a7 14658
621ef9ab
LMI
146592011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14660
d1583c48
LMI
14661 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
14662 the man page name (bug#7929).
14663
6a57fb5f
LMI
14664 * image.el (put-image): Mention the `put-image' overlay property
14665 (bug#7834).
14666
d7956b14
LMI
14667 * scroll-bar.el (set-scroll-bar-mode): Mention that
14668 `scroll-bar-mode' lists the values (bug#7772).
14669
5b2d4a66
LMI
14670 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
14671 command (bug#7729).
14672
7509a874
LMI
14673 * rect.el (apply-on-rectangle): Return the point after the last
14674 operation.
14675 (string-rectangle): Go to the point after the last operation
14676 (bug#7522).
14677
4fe74b19
LMI
14678 * printing.el (pr-toggle-region): Clarify the documentation
14679 slightly (bug#7493).
14680
b796c9b7
SM
14681 * time.el (display-time-update):
14682 Allow `display-time-mail-function' to return nil (bug#7158).
14683 Fix suggested by Detlev Zundel.
ab283561 14684
fc233c9d
LMI
14685 * vc/diff.el (diff): Clarify the order the file names are read
14686 (bug#7111).
14687
43f5740b
LMI
14688 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
14689 the doc string (bug#7015).
14690
f2182a76
LMI
14691 * font-lock.el (font-lock-maximum-decoration): Mention what
14692 numeric levels mean (bug#6935).
14693
621ef9ab
LMI
14694 * startup.el (initial-buffer-choice): Don't mention the `none'
14695 selection, which is against policy.
14696
adc47434
MR
146972011-07-14 Martin Rudalics <rudalics@gmx.at>
14698
b796c9b7
SM
14699 * window.el (display-buffer-normalize-special):
14700 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 14701
7e5bfb8f
EZ
147022011-07-14 Eli Zaretskii <eliz@gnu.org>
14703
14704 * subr.el (version<, version<=, version=): Mention "-CVS" and
14705 "-12345" alpha version numbers.
14706
27fa387a
CY
147072011-07-14 Chong Yidong <cyd@stupidchicken.com>
14708
14709 * bindings.el: Add advertised binding for set-mark-command
14710 (Bug#5772).
14711
8bdfa064
CY
147122011-07-14 Chong Yidong <cyd@stupidchicken.com>
14713
14714 * bindings.el (mode-line-other-buffer):
14715 * bookmark.el (bookmark-bmenu-2-window):
14716 * bs.el (bs-cycle-next, bs-cycle-previous):
14717 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
14718 switch-to-buffer.
14719
14720 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 14721 Delete.
8bdfa064 14722
5eba16a3
JB
147232011-07-14 Juanma Barranquero <lekktu@gmail.com>
14724
14725 * follow.el (follow-debug-message, follow-redisplay):
14726 * jka-cmpr-hook.el (with-auto-compression-mode):
14727 Fix typos in docstrings.
14728
15853710
LMI
147292011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14730
a28e4607
LMI
14731 * subr.el (with-silent-modifications): Clarify somewhat what the
14732 macro inhibits (bug#6525).
14733
15853710
LMI
14734 * simple.el (eval-expression): Note what it does if called
14735 interactively (bug#6495).
14736
bee0fcef
CY
147372011-07-13 Chong Yidong <cyd@stupidchicken.com>
14738
b796c9b7
SM
14739 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
14740 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
14741
14742 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14743 Remove switch-to-buffer.
14744
58274504
LMI
147452011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14746
bd2fcc8d
LMI
14747 * files.el (make-directory): Clarify that an error will be raised
14748 if there's an error (bug#6397).
14749
0f04b32c
LMI
14750 * startup.el (initial-buffer-choice): Add `none' as a choice
14751 (bug#6234).
14752
465c5fc8
LMI
14753 * subr.el (add-hook): Clarify section about buffer-local hooks
14754 (bug#6218).
14755
58274504
LMI
14756 * dired.el (dired-flagged): Clarify doc string (bug#6117).
14757
bead9a43
JB
147582011-07-13 Juanma Barranquero <lekktu@gmail.com>
14759
14760 * tabify.el (untabify): Preserve the current column so that point
14761 doesn't move (bug#6032).
14762
3af98a7b
LMI
147632011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14764
b796c9b7
SM
14765 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
14766 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 14767
6240145a
GM
147682011-07-13 Glenn Morris <rgm@gnu.org>
14769
14770 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
14771 (dired-insert-directory): Give a message the first time
14772 if ls is found not to support --dired.
14773
1d8c2ccc
LMI
147742011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14775
14776 * simple.el (toggle-truncate-lines): Clarify what is toggled
14777 (bug#5580). Text by Drew Adams.
14778
5fc4038e
CY
147792011-07-13 Chong Yidong <cyd@stupidchicken.com>
14780
14781 * simple.el (blink-matching-open): Make the error message from the
14782 last change less verbose.
14783
bf6012e5
DN
147842011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
14785
14786 * font-lock.el (font-lock-comment-face): Use the high contrast
14787 "yellow" color for font-lock-comment-face on low color terminals
14788 using a dark background color (bug#4221).
14789
343c3b5a
LMI
147902011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14791
7e9505c5
LMI
14792 * dired.el (dired-insert-set-properties): Make the doc string
14793 reflect what it does now (bug#5325).
14794
c26fdcf5
LMI
14795 * simple.el (blink-matching-open): Say that we were unable to find
14796 the match within the limit, if we're limited (bug#5122).
14797
bb388cc5
LMI
14798 * international/mule-cmds.el (prefer-coding-system): Add an
14799 example (bug#4869).
14800
343c3b5a
LMI
14801 * progmodes/etags.el (tags-search): Document `file-list-form'
14802 (bug#4731).
14803
2a517d45
LM
148042011-07-13 Lawrence Mitchell <wence@gmx.li>
14805
14806 * net/browse-url.el (browse-url-default-browser)
14807 (browse-url-browser-function): Make the default browser choice a
14808 bit more logical (bug#4300). Also clean up the doc string.
14809
b6c78ef2
JB
148102011-07-13 Juanma Barranquero <lekktu@gmail.com>
14811
14812 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
14813 binary endings (bug#4440).
14814
1c4dd947
LMI
148152011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14816
a2014063
LMI
14817 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
14818 which can be pretty annoying (bug#8971).
14819
9c9c2d88
LMI
14820 * jka-compr.el (jka-compr-verbose): New variable, and use
14821 throughout (bug#8971).
14822
1c4dd947
LMI
14823 * info.el (Info-find-file): Fall back on the installation
14824 directory if we can't find the info node anywhere else.
14825
a1c9f41b
SO
148262011-07-13 Sergei Organov <osv@javad.com> (tiny change)
14827
14828 * vc/vc.el (vc-revert-file):
14829 Don't set file time-stamp in the past. (Bug#5181)
14830
536f3d36
LMI
148312011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14832
7152b011
LMI
14833 * files.el (after-find-file): Give a better error message when
14834 trying to find a symlink that points to a file that doesn't exist
14835 (bug#4398).
14836
536f3d36
LMI
14837 * progmodes/cc-vars.el: Remove (probably) misleading comment
14838 (bug#4396).
14839
460c0fba
JB
148402011-07-12 Johan Bockgård <bojohan@gnu.org>
14841
14842 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
14843
7a6bda45
CY
148442011-07-12 Chong Yidong <cyd@stupidchicken.com>
14845
14846 * mouse-sel.el: Hack restoring functionality, while keeping
14847 compatibility with 2010-07-03 changes to mouse selection.
14848 (mouse-sel-primary-overlay): New var.
14849 (mouse-sel-selection-alist): Use it.
14850 (mouse-sel-mode): Doc fix; remove points that are default features
14851 of mouse.el.
14852
c79598ef
JB
148532011-07-12 Johan Bockgård <bojohan@gnu.org>
14854
14855 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14856 Fix previous fix (bug#2490).
14857
ff8be6ef
RW
148582011-07-12 Roland Winkler <winkler@gnu.org>
14859
b796c9b7
SM
14860 * textmodes/bibtex.el (bibtex-initialize):
14861 Use pop-to-buffer-same-window.
ff8be6ef
RW
14862 (bibtex-search-entries): Fix interactive call.
14863
296ba3ee
LMI
148642011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14865
f5242a02 14866 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
14867 Fontise bytecomp Error lines more correctly (bug#2490).
14868 Fix suggested by Johan Bockgård.
f5242a02 14869
296ba3ee
LMI
14870 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
14871
14872 * dired-x.el (dired-guess-default): Use `delete-dups'.
14873
f69fd0d2
CY
148742011-07-12 Chong Yidong <cyd@stupidchicken.com>
14875
14876 * dired.el (dired-mark-prompt):
14877 * dired-aux.el (dired-read-shell-command): Doc fix.
14878
eab5dc07
LMI
148792011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14880
b796c9b7
SM
14881 * mail/sendmail.el (sendmail-query-once):
14882 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
14883 emacs -Q.
14884
14885 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14886
eab5dc07
LMI
14887 * cus-edit.el (custom-file): Take an optional no-error variable.
14888 (customize-save-variable): Set the variable, and give a warning if
14889 running under "emacs -q".
14890
a1e65d42
JB
148912011-07-11 Juanma Barranquero <lekktu@gmail.com>
14892
14893 * loadhist.el (unload-feature-special-hooks):
14894 Add `auto-coding-functions', `fill-nobreak-predicate' and
14895 `find-directory-functions' (bug#5327).
14896
1d52da10
LMI
148972011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14898
be958f1d
LMI
14899 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
14900
5bedb26c
LMI
14901 * cus-edit.el (custom-guess-name-alist): -alist variables should
14902 use the `alist' type (bug#3120). Suggested by Drew Adams.
14903
1d52da10
LMI
14904 * printing.el: Add documentation to all the `pr-toggle-' commands.
14905
cd394be1 149062011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
14907
14908 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
14909 backends where it makes sense (bug#2623).
14910
dcc88d8a
LMI
149112011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14912
c3de9feb
LMI
14913 * dired-x.el (dired-guess-default): Remove duplicate shell command
14914 entries (bug#2028).
8a93078b 14915 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 14916 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 14917
dcc88d8a
LMI
14918 * subr.el (remove-duplicates): New conveniency function.
14919
505e3645
LMI
149202011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14921
14922 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
14923 (bug#1526).
14924
149252011-07-10 Martin Rudalics <rudalics@gmx.at>
14926
14927 * window.el (display-buffer-normalize-default): Don't invert
14928 meaning of even-window-heights. Reported by Eli Zaretskii
14929 <eliz@gnu.org>.
14930
455e4fa1
BR
149312011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
14932
14933 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
14934
8e0bc3e9
CY
149352011-07-10 Chong Yidong <cyd@stupidchicken.com>
14936
14937 * window.el (display-buffer): Fix arguments to
14938 display-buffer-reuse-window in last change.
14939
fa7c3228
CY
14940 * faces.el (link): Use a less saturated blue on light backgrounds.
14941
14942 * startup.el (fancy-startup-text, fancy-about-text)
14943 (fancy-startup-tail): Use font-lock faces, for background safety.
14944
c0a7f300
BN
149452011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
14946
b796c9b7
SM
14947 * emulation/viper-cmd.el (viper-change-state-to-vi):
14948 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 14949
4dc2a129
MR
149502011-07-09 Martin Rudalics <rudalics@gmx.at>
14951
14952 * window.el (display-buffer-default-specifiers): Remove.
14953 (display-buffer-macro-specifiers): Remove default specifiers.
14954 (display-buffer-alist): Default to nil.
b796c9b7 14955 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
14956 (display-buffer-pop-up-window): Allow splitting internal
14957 windows. Check whether a live window was created.
14958 (display-buffer-other-window-means-other-frame)
14959 (display-buffer-normalize-arguments): Rename to
14960 display-buffer-normalize-argument and rewrite. Set the
14961 other-window specifier.
14962 (display-buffer-normalize-special): New function.
14963 (display-buffer-normalize-options): Rename to
14964 display-buffer-normalize-default and rewrite.
14965 (display-buffer-normalize-options-inhibit): Remove.
14966 (display-buffer-normalize-specifiers): Rewrite.
14967 (display-buffer): Process other-window specifier and call
14968 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
14969 more faithfully.
b796c9b7 14970 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 14971 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
14972 (display-buffer-in-window, display-buffer-alist-set):
14973 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
14974 <tassilo@member.fsf.org>.
14975
2d43b8c9
LL
149762011-07-09 Leo Liu <sdl.web@gmail.com>
14977
14978 * register.el (insert-register): Restore accidental change on
14979 2011-06-26. (Bug#9028)
14980
7f9b7c53
GM
149812011-07-09 Glenn Morris <rgm@gnu.org>
14982
14983 * subr.el (remq): Handle the empty list. (Bug#9024)
14984
f042cfd8
AS
149852011-07-08 Andreas Schwab <schwab@linux-m68k.org>
14986
14987 * mail/sendmail.el (send-mail-function): No longer delay custom
14988 initialization.
14989 * custom.el (custom-initialize-delay): Doc fix.
14990
856b2f11
SM
149912011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14992
14993 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
14994
afae1d68
MA
149952011-07-08 Michael Albinus <michael.albinus@gmx.de>
14996
14997 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
14998 human-friendly prompt.
14999
0757af94
SM
150002011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15001
15002 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15003 provided by a particular plugin.
15004
d760b731
LMI
150052011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15006
15007 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15008 save customizations (with "emacs -Q"), just set the variable
15009 instead of erroring out.
15010
15011 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15012
cd79ce90
JL
150132011-07-08 Juri Linkov <juri@jurta.org>
15014
15015 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15016 (archive-zip-update-case): Use 7z if found by `executable-find'.
15017 The order of searching the available programs is the same as in
15018 `archive-zip-extract' (bug#8968).
15019
14cc04aa
CY
150202011-07-07 Chong Yidong <cyd@stupidchicken.com>
15021
15022 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15023 (menu-bar-options-menu): Tweak descriptions.
15024
0a1848ec
LMI
150252011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15026
15027 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15028 menu items into verb phrases (bug#1421). Also refill to fit under
15029 80 columns.
15030
f5bd0689
CY
150312011-07-07 Chong Yidong <cyd@stupidchicken.com>
15032
538e85c6
CY
15033 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15034 (Info-read-node-name): Doc fix (Bug#1084).
15035
f5bd0689
CY
15036 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15037 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15038 (end-of-sexp, beginning-of-sexp)
15039 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15040 (forward-symbol, forward-same-syntax, word-at-point)
15041 (sentence-at-point): Doc fix (Bug#1144).
15042
56ec5115
LMI
150432011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15044
f3f8e37f
LMI
15045 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15046 should cover it (bug#1281).
15047
0757af94 15048 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 15049
e9fce1ac 15050 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
15051 negotiation fails, then possibly try again with a non-encrypted
15052 connection (bug#9017).
15053
56ec5115
LMI
15054 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15055 be used.
15056
c2f9aec8
RS
150572011-07-07 Richard Stallman <rms@gnu.org>
15058
15059 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15060 property, and handle its changed format.
15061 Look for the correct line number.
15062 Use file's line contents (but not past first =) to find
15063 correct line in message.
15064
ef7b981d 150652011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
15066
15067 * international/characters.el (build-unicode-category-table):
15068 Delete it.
0757af94 15069 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 15070
0757af94 15071 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
15072 to src/chartab.c.
15073 (get-char-code-property): Call unicode-property-table-internal to
15074 load a file. Call get-unicode-property-internal where necessary.
15075 (put-char-code-property): Call unicode-property-table-internal to
15076 load a file. Call put-unicode-property-internal where necessary.
15077 put-unicode-property-internal where necessary.
0757af94
SM
15078 (char-code-property-description):
15079 Call unicode-property-table-internal to load a file.
c805dec0
KH
15080
15081 * international/charprop.el:
15082 * international/uni-bidi.el:
15083 * international/uni-category.el:
15084 * international/uni-combining.el:
15085 * international/uni-comment.el:
15086 * international/uni-decimal.el:
15087 * international/uni-decomposition.el:
15088 * international/uni-digit.el:
15089 * international/uni-lowercase.el:
15090 * international/uni-mirrored.el:
15091 * international/uni-name.el:
15092 * international/uni-numeric.el:
15093 * international/uni-old-name.el:
15094 * international/uni-titlecase.el:
15095 * international/uni-uppercase.el: Regenerate.
15096
15097 * loadup.el: Load international/charprop.el before
15098 international/characters.
15099
e14b388a
CY
151002011-07-07 Chong Yidong <cyd@stupidchicken.com>
15101
15102 * window.el (next-buffer, previous-buffer): Signal an error if
15103 called from a minibuffer window.
15104
15105 * bindings.el: Revert 2011-07-04 change.
15106
354cf0ba
RS
151072011-07-06 Richard Stallman <rms@gnu.org>
15108
15109 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15110 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15111 Treat markers like ints.
15112 (rmail-mime-entity): Doc fix.
15113
a48868a7
LMI
151142011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15115
4906cd3d
LMI
15116 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15117 defcustom again for backwards compatibility.
15118
e0457abe
LMI
15119 * simple.el (shell-command-on-region): Fill.
15120
d67f7e1f
LMI
15121 * dired-aux.el (dired-kill-line): Add a doc string.
15122
fe204702
LMI
15123 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15124 to "\\sw\\|\\s_" (bug#358).
15125
a48868a7
LMI
15126 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15127 (dired-unmark-backward): Ditto.
15128 (dired-flag-backup-files): Ditto.
15129
15130 * dired-x.el (dired-mark-sexp): Ditto.
15131
aa8a705c
RS
151322011-07-06 Richard Stallman <rms@gnu.org>
15133
15134 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15135 (rmail-mime-entity): New arg TRUNCATED.
15136 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15137 New functions.
15138 (rmail-mime-save): Warn if entity is truncated.
15139 (rmail-mime-toggle-hidden): Likewise, for showing.
15140 (rmail-mime-process-multipart): Record when an entity is truncated.
15141
a9a936b9
RS
15142 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15143 if ENTITY is a string.
15144
1f2b92cb
LMI
151452011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15146
f4f73198 15147 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
15148 of faces when `M-C-x'-ing their definitions (bug#8378).
15149 Also clean up the code slightly.
f4f73198 15150
12b16734 15151 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 15152 because that makes the colors go away.
12b16734 15153
f0691d22
LMI
15154 * mail/sendmail.el (send-mail-function): Change the default to
15155 `sendmail-query-once'.
9e87df06 15156 (sendmail-query-once): Add an autoload cookie.
f0691d22 15157
1f2b92cb
LMI
15158 * net/network-stream.el (network-stream-open-starttls): Try using
15159 a plain connection even if the server offered STARTTLS, and we
15160 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15161 capability. This should make smtpmail.el work in slightly more
15162 configurations.
15163
1cdd2a1b
MA
151642011-07-06 Michael Albinus <michael.albinus@gmx.de>
15165
15166 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15167 New defun.
15168 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15169
fbcc67e2
MM
151702011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15171
15172 * progmodes/sql.el: Version 3.0
0757af94 15173 (sql-product-alist): Add product :completion-object,
fbcc67e2 15174 :completion-column, and :statement attributes.
0757af94 15175 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 15176 (sql-mode-syntax-table): Mark all punctuation.
0757af94 15177 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
15178 ansi keywords.
15179 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 15180 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
15181 (sql-oracle-show-reserved-words): New function for development.
15182 (sql-product-font-lock): Simplify for source code buffers.
15183 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15184 New functions.
15185 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
15186 (sql-mode-map): Add statement movement functions.
15187 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15188 New variable.
fbcc67e2
MM
15189 (sql-statement-regexp, sql-beginning-of-statement)
15190 (sql-end-of-statement, sql-signum): New functions.
0757af94 15191 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
15192 (sql-show-sqli-buffer): Bug fix.
15193 (sql-interactive-mode): Store connection data as buffer local.
0757af94 15194 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
15195 with sql-interactive-mode.
15196 (sql-save-connection): Save buffer local settings.
0757af94 15197 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
15198 (sql-product-interactive): Bug fix.
15199 (sql-preoutput-hold): New variable.
15200 (sql-interactive-remove-continuation-prompt): Bug fixes.
15201 (sql-debug-redirect): New variable.
15202 (sql-str-literal): New function.
15203 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 15204 Redesign.
fbcc67e2
MM
15205 (sql-oracle-save-settings, sql-oracle-restore-settings)
15206 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15207 (sql-completion-object, sql-completion-column)
15208 (sql-completion-sqlbuf): New variables.
15209 (sql-build-completions-1, sql-build-completions)
15210 (sql-try-completion): New functions.
15211 (sql-read-table-name): Use them.
15212 (sql-contains-names): New buffer local variable.
15213 (sql-list-all, sql-list-table): Use it.
15214 (sql-oracle-completion-types): New variable.
15215 (sql-oracle-completion-object, sql-sqlite-completion-object)
15216 (sql-postgres-completion-object): New functions.
15217
d4eaeab1
GM
152182011-07-06 Glenn Morris <rgm@gnu.org>
15219
15220 * window.el (pop-to-buffer): Doc fix.
15221
322b7dab 152222011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
15223
15224 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15225
322b7dab 152262011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 15227
322b7dab 15228 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 15229
322b7dab 15230 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 15231
605dd5bf
CY
152322011-07-05 Chong Yidong <cyd@stupidchicken.com>
15233
15234 * button.el (button): Inherit from link face. Suggested by Dan
15235 Nicolaescu.
15236
7dbfa719
SM
152372011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15238
3db614b0
SM
15239 * progmodes/gdb-mi.el: Fit in 80 columns.
15240 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15241 switch-to-buffer.
15242
7dbfa719
SM
15243 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15244 if imenu is simply not configured (bug#8941).
15245
919d884a
KM
152462011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15247
15248 * allout.el (allout-post-undo-hook): New allout outline-change
15249 event hook to signal undo activity.
15250 (allout-post-command-business): Run allout-post-undo-hook if an
15251 undo just occurred.
7dbfa719
SM
15252 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15253 * allout-widgets.el (allout-widgets-after-undo-function):
15254 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
15255 in the vicinity of an undo.
15256 (allout-widgets-mode): Include allout-widgets-after-undo-function
15257 on the new allout-post-undo-hook.
15258
450a0f09
SM
152592011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15260
15261 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15262 Let define-derived-mode define it.
15263 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15264 cycles of abbrev-table inheritance (bug#8998).
15265
2de69e00
RW
152662011-07-05 Roland Winkler <winkler@gnu.org>
15267
15268 * textmodes/bibtex.el: Add support for biblatex.
15269 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15270 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15271 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15272 (bibtex-entry-alist, bibtex-field-alist): New variables.
15273 (bibtex-entry-field-alist): Obsolete alias for
15274 bibtex-BibTeX-entry-alist.
15275 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15276 (bibtex-set-dialect): New command.
15277 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
15278 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15279 Bind via bibtex-set-dialect.
2de69e00
RW
15280 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15281 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15282 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15283 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15284 Define via bibtex-set-dialect.
450a0f09
SM
15285 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15286 Obey bibtex-no-opt-remove-re.
2de69e00
RW
15287 (bibtex-vec-push, bibtex-vec-incr): New functions.
15288 (bibtex-format-entry, bibtex-field-list)
15289 (bibtex-print-help-message, bibtex-validate)
15290 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15291
2dcdbdd9
SM
152922011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15293
15294 * progmodes/compile.el (compilation-goto-locus):
15295 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15296 * bs.el (bs-cycle-next, bs-cycle-previous):
15297 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15298 * bindings.el (mode-line-other-buffer):
15299 * autoinsert.el (auto-insert):
15300 * arc-mode.el (archive-extract):
15301 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15302
b27640fe
JB
153032011-07-05 Juanma Barranquero <lekktu@gmail.com>
15304
15305 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15306 Fix check of `emacs-lock-unlockable-modes'.
15307 Coerce true values of `emacs-lock--try-unlocking' to t.
15308
53bbe3ad
JB
153092011-07-05 Juanma Barranquero <lekktu@gmail.com>
15310
15311 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15312 * emacs-lock.el: New file.
15313
1d3cdbc7
JD
153142011-07-05 Julien Danjou <julien@danjou.info>
15315
15316 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15317 than `boundp' to check if face is set.
15318
9173deec
JB
153192011-07-05 Juanma Barranquero <lekktu@gmail.com>
15320
15321 * register.el (registerv-make):
15322 * window.el (window-min-height): Fix typos in docstrings.
15323
869795d6
JD
153242011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15325
9173deec 15326 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
15327 Update doc string.
15328
b768cdcd
JB
153292011-07-04 Juanma Barranquero <lekktu@gmail.com>
15330
15331 * server.el (server-execute): Catch quit and call
15332 `server-return-error' to pass the error back to emacsclient and
15333 close the connection (bug#8942).
15334
13aa217b
KM
153352011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15336
15337 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15338 insecure exception for current topic. Also note that auto-saves
15339 are handled differently.
15340
5d3385a0 15341 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
15342 State variables for tracking auto-save inhibition situation.
15343
15344 (allout-write-contents-hook-handler): Rename from
15345 'allout-write-file-hook-handler', and describe how it depends on
15346 write-contents-functions sensitivity to non-nil value to prevent
15347 file write.
15348
15349 (allout-auto-save-hook-handler): Remove. auto-save does not check
15350 this in individual buffers, only in the starting buffer, so this
15351 is not the right way for us to inhibit auto-save in a buffer
15352 according to its condition.
15353
15354 (allout-mode): Use new allout-write-contents-hook-handler, and
15355 only with write-contents-functions. Remove auto-save provisions -
15356 they're implemented elsewhere.
15357
15358 (allout-before-change-handler): If undo is in progress, note that
15359 for attention of allout-post-command-business.
15360
15361 (allout-post-command-business): If the command we're following was
15362 an undo, check for change in the status of encrypted items and
15363 adjust auto-save inhibitions accordingly.
15364
15365 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15366 according to whether there are or aren't any plain-text topics
15367 pending encryption.
15368
2dcdbdd9 15369 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
15370 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15371 if there are plain-text topics pending encryption.
13aa217b
KM
15372
15373 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15374 buffer-saved-size and some allout state to not inhibit auto-saves
15375 if there are no longer any plain-text topics pending encryption.
15376
0757af94
SM
15377 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15378 No longer provide for exemption of the current topic.
13aa217b 15379
ac89b32c
JL
153802011-07-04 Juri Linkov <juri@jurta.org>
15381
15382 Add 7z operations to delete and save changed members (bug#8968).
15383 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15384 New defcustoms.
15385 (archive-7z-write-file-member): New function.
15386 (archive-7z-summarize): Fix the number of dashes in the
15387 listing output.
15388
8fa39615
SM
153892011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15390
15391 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15392 (bug#8958).
15393
2f11b3f1
CY
153942011-07-04 Chong Yidong <cyd@stupidchicken.com>
15395
d66fef2b
CY
15396 * bindings.el: Ignore next-buffer and previous-buffer in
15397 minibuffer-local-map.
15398
2f11b3f1
CY
15399 * font-lock.el (font-lock-builtin-face): Change light background
15400 color to dark slate blue (Bug#6693).
15401
f932a347
WD
154022011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15403
15404 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15405
c8af70e1
SM
154062011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15407
15408 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15409 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15410 Add switch-to-buffer.
15411
f158badc
LMI
154122011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15413
15414 * isearch.el (isearch-search-fun-function): Clarify further the
15415 meaning of the function returned.
15416
6d95bd46
MA
154172011-07-04 Michael Albinus <michael.albinus@gmx.de>
15418
15419 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15420
15421 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15422 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15423 Use it.
15424 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15425 `tramp-default-remote-path' does not exist.
15426 (tramp-send-command-and-read): New optional argument NOERROR.
15427 (tramp-open-connection-setup-interactive-shell)
15428 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15429 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15430 (tramp-process-sentinel): Flush also process' connection property.
15431 (tramp-sh-handle-start-file-process): Do not set process
15432 sentinel. It is done now ...
15433 (tramp-maybe-open-connection): ... here. (Bug#8929)
15434
909e6b67
MK
154352011-07-04 MON KEY <monkey@sandpframing.com>
15436
15437 * play/animate.el (animate-string): Doc fixes and allow changing
15438 the buffer name (bug#5417).
15439
154402011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15441
c8af70e1 15442 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 15443
f34755dc
PE
154442011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15445
396cec72
PE
15446 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15447 This is simpler and helps future-proof the code.
15448 (timer-until): Use time-subtract and float-time.
08235028 15449 (timer--time-less-p): Use time-less-p.
f34755dc 15450
56e6cc31
JB
154512011-07-04 Juanma Barranquero <lekktu@gmail.com>
15452
3abb79e5
JB
15453 * type-break.el (timep): Use the value of `float-time' to avoid a
15454 byte-compiler warning.
15455
56e6cc31
JB
15456 * server.el (server-eval-and-print): Return any result, even nil.
15457
7b9430b4
PE
154582011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15459
15460 * type-break.el: Accept time formats that the builtins accept.
15461 (timep, type-break-time-difference): Accept any format that
15462 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15463 This is simpler and helps future-proof the code.
15464 (type-break-time-difference): Round rather than ignoring
15465 subseconds components.
15466
3034e9e7
LMI
154672011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15468
15469 * info.el (Info-apropos-matches): Make non-interactive, since it
15470 doesn't seem to do anything useful as a command (bug#8829).
15471
1485f4c0
CY
154722011-07-03 Chong Yidong <cyd@stupidchicken.com>
15473
15474 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 15475 Move from faces.el.
1485f4c0
CY
15476 (frame-default-terminal-background): New function.
15477
15478 * custom.el (custom-push-theme): Don't record faces in `changed'
15479 theme; this doesn't work correctly for per-frame face settings.
15480 (disable-theme): Use face-set-after-frame-default to reset faces.
15481 (custom--frame-color-default): New function.
15482
9fa3dd45
LMI
154832011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15484
c8af70e1 15485 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
15486 (bug#8769).
15487
6cbbc20c
KR
154882011-03-29 Kevin Ryde <user42@zip.com.au>
15489
15490 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15491 `perl-Test2' extend to match possible "fail #N" rep count
15492 (bug#8377).
15493
c7f98048
LMI
154942011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15495
65676592
LMI
15496 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15497 `smtpmail-via-smtp' now returns the error instead of nil.
15498
c7f98048
LMI
15499 * isearch.el (isearch-search-fun-function): Clarify the doc string
15500 (bug#8101).
15501
56e6cc31 155022011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
15503
15504 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15505 unnecessary spaces (bug#8987).
15506
2b216704
LMI
155072011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15508
15509 * net/network-stream.el (open-network-stream): Use the
15510 :end-of-capability command thoughout.
15511
155122011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15513
15514 * net/network-stream.el (open-network-stream): Add the
15515 :end-of-capability command parameter, used by pop3.el.
15516
36adf6ce
LMI
155172011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15518
1ca0da0e
LMI
15519 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15520
fc00f69c
LMI
15521 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15522 for list)" (bug#6475).
15523
28fd8759 15524 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 15525 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
15526 an error (bug#6297).
15527
0dd8b6da
LMI
15528 * man.el (Man-reference-regexp): Allow matching possible
15529 word-wrapped references (bug#6289).
15530
ce1438d6
LMI
15531 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15532 for consistency with the other vc buffers (bug#6197).
15533 (vc-checkin): Ditto.
15534
15535 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15536
36adf6ce
LMI
15537 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15538
e83cc1f7
LMI
155392011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15540
8a20ca4c
LMI
15541 * custom.el (defcustom): Clarify that :set is only used in the
15542 Customize user interface (bug#6089).
15543
83319045
LMI
15544 * progmodes/flymake.el (flymake-mode): If the buffer isn't
15545 associated with a file, refuse to run instead of erroring out
15546 (bug#6084).
15547
a8392169
LMI
15548 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15549 the doc string, since it appears that using `fill-column' always
15550 controls the width (bug#7845).
15551
e83cc1f7
LMI
15552 * simple.el (shell-command-on-region): Say where the error output
15553 went if `shell-command-default-error-buffer' is set (bug#6857).
15554
e47ca23b
KM
155552011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
15556
15557 * allout.el (allout-yank-processing): Adjust cursor position for
15558 backwards-deleted space.
15559
15560 (allout-rebullet-heading): Register changes with
15561 allout-exposure-changed-hook, so the modified topic is properly
15562 decorated.
15563
5cf56143
LMI
155642011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15565
08549772
LMI
15566 * minibuffer.el (completion-in-region): Document PREDICATE
15567 (bug#7136).
15568
48e96771
LMI
15569 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15570 of keyword/argument pairs (bug#6904).
15571
c8af70e1
SM
15572 * replace.el (multi-occur):
15573 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 15574
e17d05e2
LMI
155752011-07-02 Drew Adams <drew.adams@oracle.com>
15576
15577 * dired.el (dired-mark-if): Make the message about whether it's
15578 marking or unmarking clearer (bug#8523).
15579
063b0e45
LMI
155802011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15581
15582 * disp-table.el (display-table-print-array): New function.
15583 (describe-display-table): Use it to print the vectors more pretty
15584 (Bug#8859).
15585
28545e04
MR
155862011-07-02 Martin Rudalics <rudalics@gmx.at>
15587
15588 * window.el (window-state-get-1): Don't assign clone numbers.
15589 Add clone-of item to list of window parameters.
15590 (window-state-put-2): Don't process clone numbers.
15591 (display-buffer-alist): Fix doc-string.
15592
3349e122
SM
155932011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
15594
15595 * subr.el (remq): Don't allocate if it's not needed.
15596 (keymap--menu-item-binding, keymap--menu-item-with-binding)
15597 (keymap--merge-bindings): New functions.
15598 (keymap-canonicalize): Use them to refine the canonicalization.
15599 * minibuffer.el (minibuffer-local-completion-map)
15600 (minibuffer-local-must-match-map): Move initialization from C.
15601 (minibuffer-local-filename-completion-map): Move initialization from C;
15602 don't inherit from anything here.
15603 (minibuffer-local-filename-must-match-map): Make obsolete.
15604 (completing-read-default): Use make-composed-keymap to combine
15605 minibuffer-local-filename-completion-map with either
15606 minibuffer-local-must-match-map or
15607 minibuffer-local-filename-completion-map.
15608
d224ac83
GM
156092011-07-01 Glenn Morris <rgm@gnu.org>
15610
3de63bf8
GM
15611 * type-break.el (type-break-time-sum): Use dolist.
15612
d224ac83
GM
15613 * textmodes/flyspell.el (flyspell-word-search-backward):
15614 Replace CL function.
15615
1a1e3f32
SM
156162011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15617
fe3f64d5
SM
15618 * mouse.el (mouse--strip-first-event): New function.
15619 (function-key-map): Use it to map fringe clicks to normal clicks
15620 by default.
15621
eb604e34
SM
15622 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15623 (vc-bzr-revision-completion-table): Add support for annotate and date.
15624
1a1e3f32
SM
15625 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15626 inherit from parent.
15627
5bd35902
LMI
156282011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15629
ace6c69c 15630 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 15631 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 15632
191e2bed
LMI
15633 * dired.el (dired-mode): Fix up the doc string as suggested by
15634 Drew Adams (bug#8817).
15635
5bd35902
LMI
15636 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
15637 cookie, since the manual says that it should be possible to add
15638 this function to `find-file-hook' (bug#8709).
15639
eee8207a
TZ
156402011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15641
15642 * progmodes/cfengine.el: Moved all cfengine3.el functionality
15643 here. Noted Ted Zlatanov as the maintainer.
15644 (cfengine-common-settings, cfengine-common-syntax): New functions
15645 to set up common things between `cfengine-mode' and
15646 `cfengine3-mode'.
15647 (cfengine3-mode): New mode.
15648 (cfengine3-defuns cfengine3-defuns-regex
15649 (cfengine3-class-selector-regex cfengine3-category-regex)
15650 (cfengine3-vartypes cfengine3-font-lock-keywords)
15651 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 15652 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 15653
36b148cf
MA
156542011-07-01 Michael Albinus <michael.albinus@gmx.de>
15655
15656 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
15657
15658 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
15659
0bf4ba9a
MR
156602011-07-01 Martin Rudalics <rudalics@gmx.at>
15661
15662 * window.el (same-window-buffer-names, same-window-regexps)
15663 (same-window-p, special-display-frame-alist)
15664 (special-display-popup-frame, special-display-function)
15665 (special-display-buffer-names, special-display-regexps)
15666 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
15667 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15668 (split-window-preferred-function, split-height-threshold)
15669 (split-width-threshold, even-window-heights)
15670 (display-buffer-mark-dedicated, window-splittable-p)
15671 (split-window-sensibly, window-safely-shrinkable-p):
15672 Un-obsolete.
15673 (display-buffer): Don't spread args with function specifier
15674 because special-display-popup-frame won't like it.
15675
35837f51
PE
156762011-07-01 Paul Eggert <eggert@cs.ucla.edu>
15677
d0672f86
PE
15678 Time-stamp simplifications and fixes.
15679 These improve accuracy slightly, and future-proof the code
15680 against some potential changes to current-time format.
15681
b9444d97
PE
15682 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
15683 by using time-since and float-time.
15684
0ef923dc
PE
15685 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
15686 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
15687 + NNN microseconds".
15688
2f81380d
PE
15689 * type-break.el (type-break-time-sum): Rewrite using time-add.
15690
845b5c3e
PE
15691 * play/hanoi.el (hanoi-current-time-float): Remove.
15692 All uses replaced by float-time.
15693
ee6f1be0
PE
15694 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
15695 This yields a more-accurate answer.
15696 (rng-time-to-float): Remove; no longer needed.
15697
fe955043
PE
15698 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
15699
5777162a
PE
15700 * calendar/timeclock.el (timeclock-seconds-to-time):
15701 Defalias to seconds-to-time, since they're the same thing.
15702
3103f8b6 15703 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 15704 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
15705 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
15706
0e61a35f
SM
157072011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15708
15709 * window.el (bury-buffer): Don't iconify the only frame.
15710 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
15711 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
15712
ddd63a1e
CY
157132011-07-01 Chong Yidong <cyd@stupidchicken.com>
15714
0e61a35f
SM
15715 * eshell/em-smart.el (eshell-smart-display-navigate-list):
15716 Add mouse-yank-primary.
ddd63a1e 15717
055f4923
TZ
157182011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15719
15720 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
15721
6a2fb145
SM
157222011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15723
15724 * emacs-lisp/find-func.el (find-library--load-name): New fun.
15725 (find-library-name): Use it to find relative load names when provided
15726 absolute file name (bug#8803).
15727
fd4983f2
LMI
157282011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15729
887d14ad
LMI
15730 * textmodes/flyspell.el (flyspell-word): Consider words that
15731 differ only in case as potential doublons (bug#5687).
15732
c53dc7fc
LMI
15733 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
15734 Remove two rather uninteresting debugging-like messages to make
15735 debbugs.el more silent.
15736
fd4983f2
LMI
15737 * comint.el (comint-password-prompt-regexp): Accept "Response" as
15738 a password-like phrase.
15739
7a71b18d 157402011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
15741
15742 * progmodes/cc-guess.el: New file.
15743
6a2fb145 15744 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
15745
15746 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
15747 derived from `c-basic-common-init'.
15748
15749 * progmodes/cc-mode.el (top-level): Require cc-guess.
15750 (c-basic-common-init): Use `cc-choose-style-for-mode'.
15751
1fa280a3
LM
157522011-06-30 Lawrence Mitchell <wence@gmx.li>
15753
15754 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
15755
e6597158
AM
157562011-06-30 Alan Mackenzie <acm@muc.de>
15757
1fa280a3
LM
15758 * progmodes/cc-engine.el (c-guess-continued-construct):
15759 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
15760 lock is disabled. Name this case as "CASE G".
15761
68ba37fb
KM
157622011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
15763
15764 * allout.el (allout-yank-processing): Fix injection of extra space
15765 between bullet and non-whitespace character in first topic when
15766 pasting, ensuring that the actual spacing in the pasted topic
15767 following the bullet char is preserved. This extra space was
15768 causing pasted encrypted topics to get a decrypted status even
15769 when the content was actually still encrypted. Now the decryption
15770 status from before the paste is preserved.
15771
15772 (allout-flag-region): Set all allout overlays so they evaporate
15773 when reduced to zero length (evanescent), to prevent overlay
15774 leakage.
15775
887a0b34
GM
157762011-06-30 Glenn Morris <rgm@gnu.org>
15777
94b9acce
GM
15778 * w32-fns.el (w32-charset-info-alist): Declare.
15779
1d9b46d4
GM
15780 * find-dired.el (find-grep-options): Simplify.
15781
cc232200
GM
15782 * term/ns-win.el (ns-set-resource): Declare.
15783
28e77c46
GM
15784 * ses.el (row, col): Declare dynamic variables honestly.
15785
887a0b34
GM
15786 * textmodes/reftex-parse.el (index-tags): Declare.
15787
658d8eb8
CY
157882011-06-30 Chong Yidong <cyd@stupidchicken.com>
15789
15790 * cus-edit.el (customize-push-and-save): New function.
15791
15792 * files.el (hack-local-variables-confirm): Use it.
15793
1fa280a3
LM
15794 * custom.el (load-theme): New arg NO-CONFIRM.
15795 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
15796 (custom-enabled-themes): Doc fix.
15797
15798 * cus-theme.el (customize-create-theme)
15799 (custom-theme-merge-theme): Callers to load-theme changed.
15800
bb617717
LMI
158012011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15802
d61bdd5d
LMI
15803 * thingatpt.el (thing-at-point-short-url-regexp): Require that
15804 short URLs have at least one dot in them (bug #7614).
15805
bb617717
LMI
15806 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
15807 nil, because using a pty is apparently too slow (bug #895).
15808
2f31f37a
LMI
158092011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
15810
15811 * mail/sendmail.el (sendmail-query-once): New function.
15812 (sendmail-query-once-function): New variable.
15813
3076b24e
GM
158142011-06-29 Glenn Morris <rgm@gnu.org>
15815
faf2a174
GM
15816 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
15817
3076b24e
GM
15818 * ses.el (top-level): Require cl when compiling.
15819 (ses-set-localvars): Fix error statement.
15820 Call it at compile time to silence a storm of warnings.
15821
5386012d
MR
158222011-06-29 Martin Rudalics <rudalics@gmx.at>
15823
15824 * window.el (normalize-live-buffer): Rename to
15825 window-normalize-buffer.
15826 (normalize-live-frame): Rename to window-normalize-frame.
15827 (normalize-any-window): Rename to window-normalize-any-window.
15828 (normalize-live-window): Rename to window-normalize-live-window.
15829 (make-window-atom): Rename to window-make-atom.
15830 (window-resize-reset): Rename to window--resize-reset.
15831 (window-resize-reset-1): Rename to window--resize-reset-1.
15832 (resize-mini-window): Rename to window--resize-mini-window.
15833 (resize-subwindows-skip-p): Rename to
15834 window--resize-subwindows-skip-p.
15835 (resize-subwindows-normal): Rename to
15836 window--resize-subwindows-normal.
15837 (resize-subwindows): Rename to window--resize-subwindows.
15838 (resize-other-windows): Rename to window--resize-siblings.
15839 (resize-this-window): Rename to window--resize-this-window.
15840 (resize-root-window): Rename to window--resize-root-window.
15841 (resize-root-window-vertically): Rename to
15842 window--resize-root-window-vertically.
15843 (normalize-buffer-to-display): Rename to
15844 window-normalize-buffer-to-display.
15845 (normalize-buffer-to-switch-to): Rename to
15846 window-normalize-buffer-to-switch-to.
15847 Correspondingly update all callers of the functions listed
15848 above.
15849 (display-buffer-alist, display-buffer-normalize-arguments)
15850 (display-buffer-normalize-options, display-buffer)
15851 (display-buffer-alist-set): Use "function" instead of
15852 "fun-with-args".
15853
1176868d
CY
158542011-06-28 Chong Yidong <cyd@stupidchicken.com>
15855
15856 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
15857 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
15858 debbugs.gnu.org. Mention acknowledgment email.
15859
20a7a65f
LMI
158602011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
15861
15862 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
15863 buffer multibyteness, since it shouldn't matter.
15864
5f45cca5
MR
158652011-06-28 Martin Rudalics <rudalics@gmx.at>
15866
15867 * window.el (display-buffer-in-side-window): Handle dedicated
15868 windows as in display-buffer-reuse-window.
15869 (display-buffer-normalize-alist): Use value of override
15870 specifier.
15871 (display-buffer-normalize-specifiers): Use value of
15872 other-window-means-other-frame specifier.
15873 (display-buffer-alist): Rewrite some texts in widgets.
15874 (display-buffer): Spread arguments when calling function
15875 specified by fun-with-args.
15876
ad85fe1f
DD
158772011-06-28 Deniz Dogan <deniz@dogan.se>
15878
1fa280a3
LM
15879 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15880 Unnest `let'.
da68c4c8 15881
ad85fe1f
DD
15882 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
15883 selectors (Bug#5732).
ec49bd31 15884 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 15885
a08cc025
JA
158862011-06-27 Jari Aalto <jari.aalto@cante.net>
15887
15888 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
15889 (eshell-ls-date-format): New defcustom.
15890 (eshell-ls-file): Use it.
15891
e2b551c5
SM
158922011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15893
15894 * help-fns.el (describe-variable): Fix message for terminal-local vars.
15895
8982b231
KY
158962011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
15897
15898 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
15899 (ange-ftp-make-tmp-name): New arg.
15900 (ange-ftp-file-local-copy): Use it.
15901
36c9fa27
J
159022011-06-27 Jambunathan K <kjambunathan@gmail.com>
15903
15904 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
15905 no-conversion (Bug#8870).
15906
d68443dc
MR
159072011-06-27 Martin Rudalics <rudalics@gmx.at>
15908
15909 * window.el (window-right, window-left, window-child)
15910 (window-child-count, window-last-child)
15911 (window-iso-combination-p, walk-window-tree-1)
15912 (window-atom-check-1, window-tree-1, delete-window)
15913 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
15914 new naming conventions - window-vchild, window-hchild,
15915 window-next and window-prev are now called window-top-child,
15916 window-left-child, window-next-sibling and window-prev-sibling
15917 respectively.
d615d6d2
MR
15918 (resize-window-reset): Rename to window-resize-reset.
15919 (resize-window-reset-1): Rename to window-resize-reset-1.
15920 (resize-window): Rename to window-resize.
15921 (window-min-height, window-min-width)
15922 (resize-mini-window, resize-this-window, resize-root-window)
15923 (resize-root-window-vertically, adjust-window-trailing-edge)
15924 (enlarge-window, shrink-window, maximize-window)
15925 (minimize-window, delete-window, quit-restore-window)
15926 (split-window, balance-windows, balance-windows-area-adjust)
15927 (balance-windows-area, window-state-put-2)
15928 (display-buffer-even-window-sizes, display-buffer-set-height)
15929 (display-buffer-set-width, set-window-text-height)
15930 (fit-window-to-buffer): Rename all "resize-window" prefixed
15931 calls to use the "window-resize" prefix convention.
15932 (display-buffer-alist): Fix symbol for label specifier.
15933 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
15934 corresponding specifier.
15935 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 15936
b6458526
VB
159372011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15938
15939 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
15940 convention.
15941 (ses-call-printer): Does not pass an empty string to formatter when the
15942 cell is empty to keep from barking printer Calc math-format-value.
15943
d31fd9ac
RS
159442011-06-27 Richard Stallman <rms@gnu.org>
15945
43d5bf84
RS
15946 * battery.el (battery-mode-line-limit): New variable.
15947 (battery-update): Handle it.
15948
d31fd9ac
RS
15949 * mail/rmailmm.el (rmail-mime-process-multipart):
15950 Handle truncated messages.
15951
819a6054
GM
159522011-06-27 Glenn Morris <rgm@gnu.org>
15953
15954 * progmodes/flymake.el (flymake-err-line-patterns):
15955 Allow for column numbers in the ant/javac pattern. (Bug#8866)
15956
cedc73f2
VB
159572011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15958
819a6054 15959 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
15960 (ses--clean-!, ses--clean-_): New functions.
15961 (ses-range): Add configurability of readout order, and conversion
15962 to Calc vector.
15963
5e5d49b6
VB
15964 * ses.el (ses-repair-cell-reference-all): New function.
15965 (ses-cell-symbol): Set macro as safe, so that it can be used in
15966 formulas.
15967
56e6cc31 15968 * ses.el: Update cycle detection algorithm.
90ca8b49 15969 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 15970 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
15971 (ses-set-localvars): New function.
15972 (ses-make-cell): Add property-list as a cell element.
15973 (ses-cell-property-get-fun, ses-cell-property-get)
15974 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
15975 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
15976 New functions.
90ca8b49
VB
15977 (ses-cell-property-set, ses-cell-property-pop)
15978 (ses-cell-property-get-handle): New macro.
15979 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
15980 New aliases, used for code readability.
15981 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
15982 cycle detection.
15983 (ses-self-reference-early-detection): New defcustom.
fac916bf 15984 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
15985 (ses-mode): Use ses-set-localvars.
15986 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
15987 before lauching the update processing.
15988 (ses-initialize-Dijkstra-attempt): New function.
15989 (ses-recalculate-cell): Update for cycle detection based on
15990 Dijkstra algorithm.
15991
2bb63e81
VB
15992 * ses.el: Fix commenting and indenting convention.
15993
c9d29fb8
SM
159942011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15995
15996 * bs.el (bs-cycle-next): Complete last change.
15997
d8e4b68b
JB
159982011-06-27 Drew Adams <drew.adams@oracle.com>
15999
16000 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16001
40098786
LMI
160022011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16003
c9d29fb8
SM
16004 * net/network-stream.el (network-stream-open-starttls):
16005 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
16006 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16007
40098786
LMI
16008 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16009 to binary to possibly avoid line encoding issues on Windows (among
16010 other things).
16011
468d09d4
LMI
160122011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16013
16014 * net/network-stream.el (open-network-stream): Return an :error
16015 saying what the problem was, if possible.
16016
16017 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16018 server.
16019
16020 * net/network-stream.el (network-stream-open-starttls): If we
16021 wanted to use STARTTLS, and the server offered it, but we weren't
16022 able to because we had no STARTTLS support, then close the connection.
16023 (open-network-stream): Return an :error element, if present.
16024
16f07dd7
CY
160252011-06-26 Chong Yidong <cyd@stupidchicken.com>
16026
88821ca0
CY
16027 * hl-line.el (hl-line-sticky-flag): Doc fix.
16028 (global-hl-line-sticky-flag): New option (Bug#8323).
16029 (global-hl-line-highlight): Obey it.
16030
16f07dd7
CY
16031 * vc/vc.el (vc-revert-show-diff): Default to t.
16032
6b5ccddf
KM
160332011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16034
c9d29fb8
SM
16035 * allout-widgets.el (allout-widgets-post-command-business):
16036 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
16037 undecorated when an isearch is continued past, and isearch
16038 automatically collapses them. This leads to "widget leaks", where
16039 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
16040 hidden widgets can slow down cursor travel, substantially.
16041 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
16042 so we're doing without this nicety.
16043
16044 (allout-widgets-tally-string): Don't try to do a hash-table-count
16045 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16046 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16047 *Messages* when allout-widgets-maintain-tally is t.
16048
355f2e07
MR
160492011-06-26 Martin Rudalics <rudalics@gmx.at>
16050
16051 * window.el (display-buffer-normalize-argument): Rename to
16052 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
16053 LABEL argument. Respect special-display-function when popping up
16054 a new frame. Fix code searching for a window showing the buffer
16055 on another frame.
c9d29fb8
SM
16056 (display-buffer-normalize-specifiers):
16057 Call display-buffer-normalize-arguments.
355f2e07
MR
16058 (display-buffer-in-window): Don't undedicate the window if its
16059 buffer remains the same.
16060 Reported by Drew Adams <drew.adams@oracle.com>.
16061 (display-buffer-alist): Add choice for same-window macro
16062 specfier.
16063 (display-buffer): Mention special meaning of LABEL argument in
16064 doc-string. Fix quoting. Don't pop up a new frame even as
16065 fallback.
16066
7ca8fc42
JB
160672011-06-26 Juanma Barranquero <lekktu@gmail.com>
16068
16069 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16070 avoid deleting the current window in some cases (bug#8911).
16071
bc312254
AS
160722011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16073
16074 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16075 (Bug#8934)
16076
2db18f3f
LMI
160772011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16078
c9d29fb8
SM
16079 * net/network-stream.el (network-stream-open-starttls):
16080 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
16081 (network-stream-open-tls): Ditto.
16082
6302e0d3
LL
160832011-06-26 Leo Liu <sdl.web@gmail.com>
16084
16085 * register.el (registerv): New struct.
16086 (registerv-make): New function.
c9d29fb8
SM
16087 (jump-to-register, describe-register-1, insert-register):
16088 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
16089 struct. (Bug#8415)
16090
5fdd4046
CY
160912011-06-26 Chong Yidong <cyd@stupidchicken.com>
16092
2afef60a
CY
16093 * vc/vc.el (vc-revert-show-diff): New defcustom.
16094 (vc-diff-internal): New arg specifying diff buffer.
16095 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16096 reuse an existing *vc-diff* buffer (Bug#8927).
16097
5fdd4046
CY
16098 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16099
e93db24a
GM
161002011-06-26 Glenn Morris <rgm@gnu.org>
16101
16102 * progmodes/f90.el (f90-critical-indent): New option.
16103 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16104 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16105 (f90-mode): Doc fix.
16106 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16107 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16108 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16109 (f90-match-end): Handle block, critical.
16110
eefff499
GM
161112011-06-25 Glenn Morris <rgm@gnu.org>
16112
f6ba4cc9
GM
16113 * calendar/diary-lib.el (diary-included-files): Doc fix.
16114 (diary-include-files): New function, extracted from
16115 diary-include-other-diary-files and diary-mark-included-diary-files.
16116 (diary-include-other-diary-files, diary-mark-included-diary-files):
16117 Just call diary-include-files.
16118 (diary-mark-entries): Reset diary-included-files on first call.
16119
16712304
GM
16120 * calendar/diary-lib.el (diary-mark-entries)
16121 (diary-mark-included-diary-files):
16122 Visit included diary-files in temp buffers.
16123
5d8e0d43
GM
16124 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16125 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16126 (f90-start-block-re, f90-imenu-generic-expression)
16127 (f90-looking-at-program-block-start, f90-no-block-limit):
16128 Add support for submodules.
16129
ccf7a5d5
GM
16130 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16131 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 16132
11fdef7d 161332011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
16134
16135 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16136 buffer-file-type before setting its value, to avoid disastrous
eefff499 16137 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 16138
74f53697
JB
161392011-06-25 Juanma Barranquero <lekktu@gmail.com>
16140
16141 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16142
16143 * ses.el (ses-unload-function):
16144 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16145
16146 * proced.el (proced-unload-function):
16147 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16148
18a4ce5e
AR
161492011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16150
16151 * server.el (server-create-window-system-frame): Add parameters arg.
16152 (server-process-filter): Doc fix. Handle frame-parameters.
16153
519d22cc
JB
161542011-06-25 Juanma Barranquero <lekktu@gmail.com>
16155
16156 Fix bug#8730, bug#8781.
16157
16158 * loadhist.el (unload--set-major-mode): New function.
16159 (unload-feature): Use it.
16160
16161 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16162 (python-unload-function): New function.
16163
c206f5b0
SM
161642011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16165
16166 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16167
f9ad64f3
GS
161682011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16169
16170 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16171 the candidates list.
16172
7d0da90e
JB
161732011-06-24 Juanma Barranquero <lekktu@gmail.com>
16174
16175 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16176
14b4e83d
RS
161772011-06-23 Richard Stallman <rms@gnu.org>
16178
16179 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16180 (rmail-variables): Set next-error-move-function.
16181 (rmail-what-message): Take argument POS.
16182 (rmail-next-error-move): New function.
16183
273d2baf
SM
161842011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16185
16186 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16187 messages for adjacent non-terminals.
16188
56c2cc9a
RS
161892011-06-23 Richard Stallman <rms@gnu.org>
16190
16191 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 16192 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
16193 (rmail-start-mail): Don't specify use of rmail-mail-return;
16194 that's done by mail-bury now.
16195 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 16196
d59eb518
MA
161972011-06-23 Michael Albinus <michael.albinus@gmx.de>
16198
16199 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16200 SIZE is a number.
16201
02cfc6d6
MR
162022011-06-23 Martin Rudalics <rudalics@gmx.at>
16203
16204 * window.el (get-lru-window, get-mru-window)
16205 (get-largest-window): Never return a minibuffer window.
16206 (display-buffer-pop-up-window): Fix a bug that could lead to
16207 reusing the minibuffer window.
16208 (display-buffer): Pass original specifier argument to
16209 display-buffer-function instead of the normalized one.
16210 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16211
4e323265
LL
162122011-06-22 Leo Liu <sdl.web@gmail.com>
16213
16214 * minibuffer.el (completing-read-function)
16215 (completing-read-default): Move from minibuf.c
16216
7a70468f
RS
162172011-06-22 Richard Stallman <rms@gnu.org>
16218
50718fc2
RS
16219 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16220 to Rmail even if not started by a special Rmail command.
16221
7a70468f
RS
16222 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16223 Copy the buffer currently showing just one message.
16224
297dde5a
RW
162252011-06-22 Roland Winkler <winkler@gnu.org>
16226
16227 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16228 (bibtex-clean-entry): First delete the old key so that a
16229 customized algorithm for generating the new key does not get
16230 confused by the old key.
16231 (bibtex-url): Obey regexp of first step.
16232 (bibtex-search-entries): Do not use add-to-list with local
16233 list-var.
16234
97bb1093
LMI
162352011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16236
16237 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16238 stored a user name, then query for the password first, instead of
16239 waiting for SMTP to give an error message and the trying again.
16240
1c0f1a19
JD
162412011-06-22 Lawrence Mitchell <wence@gmx.li>
16242
16243 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16244 BUFFER in call-process.
16245
396f7c9d
LMI
162462011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16247
16248 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16249 QUIT twice.
ddb7ffee
LMI
16250 (smtpmail-try-auth-methods): Require user name and password from
16251 auth-source.
396f7c9d 16252
8998d1b3
MR
162532011-06-22 Martin Rudalics <rudalics@gmx.at>
16254
16255 * window.el (display-buffer-default-specifiers)
16256 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16257 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 16258 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
16259
16260 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16261 (special-display-frame-alist, special-display-popup-frame):
16262 Remove duplicate declarations. These are now in window.el.
16263
4ea31e07
LMI
162642011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16265
c9d29fb8
SM
16266 * mail/smtpmail.el (smtpmail-via-smtp):
16267 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
16268 server supports it. SMTP servers that support STARTTLS commonly
16269 require it.
16270
16271 * net/network-stream.el (network-stream-open-starttls): Support
16272 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 16273 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 16274
95f41d9a
LMI
16275 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16276 upgrades with `open-network-stream', and rely solely on
16277 auth-source for all credentials. Big changes throughout the file,
16278 but in particular:
c9d29fb8
SM
16279 (smtpmail-auth-credentials): Remove.
16280 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
16281 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16282 MAIL FROM, too.
95f41d9a 16283
c9d29fb8
SM
16284 * net/network-stream.el (network-stream-open-starttls):
16285 Provide support for client certificates both for external and built-in
4ea31e07
LMI
16286 STARTTLS.
16287 (auth-source): Require.
16288 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
16289 (network-stream-certificate): Change cert-cert to cert and
16290 cert-key to key.
4ea31e07 16291
065ec2c7
MA
162922011-06-21 Michael Albinus <michael.albinus@gmx.de>
16293
16294 * net/tramp-cache.el (top): Don't load the persistency file when
16295 "emacs -Q" has been called.
16296
cd93b359
DR
162972011-06-21 Tim Harper <timcharper@gmail.com>
16298
d8e4b68b
JB
16299 * term/ns-win.el (ns-initialize-window-system):
16300 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
16301 resource to NO as it is not yet supported by the NS port.
16302
ae9c0411
JB
163032011-06-21 Juanma Barranquero <lekktu@gmail.com>
16304
16305 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16306 (list-dynamic-libraries): ...not here.
16307
7f3f739f
LL
163082011-06-21 Leo Liu <sdl.web@gmail.com>
16309
16310 * subr.el (sha1): Implement sha1 using secure-hash.
16311
327c8fb1
MR
163122011-06-21 Martin Rudalics <rudalics@gmx.at>
16313
16314 * window.el (display-buffer-alist): In default value do not
16315 enforce searching a window on any but the selected frame.
16316 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16317 (display-buffer-select-window): Remove function.
16318 (display-buffer-in-window): When a window on another frame gets
16319 reused, do not select it any more but just raise its frame if
16320 necessary (Bug#8851) and (Bug#8856).
16321 (display-buffer-normalize-options): Handle pop-up-frames related
16322 options more faithfully.
16323 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16324 window if it is on another frame.
c9d29fb8
SM
16325 (display-buffer-alist, display-buffer-default-specifiers):
16326 Don't make new frame unsplittable by default.
9e9de014
MR
16327 (display-buffer-normalize-argument): Fix doc-string typo and use
16328 'same-frame-other-window instead of 'other-window when associating
16329 with display-buffer-macro-specifiers.
327c8fb1 16330
7cf3f556
VB
163312011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16332
16333 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16334 New functions.
16335 (5x5-mode-map, 5x5-mode-menu): Bind them.
16336 (5x5-draw-grid): Tweak the solver's rendering.
16337
60a406cf
SM
163382011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16339
16340 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16341 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16342
d8e4b68b 163432011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
16344
16345 * menu-bar.el: Use function variable instead of switch-to-buffer.
16346 (menu-bar-select-buffer-function): New variable.
60a406cf 16347 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 16348
478d6f95
SM
163492011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16350
16351 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16352 variable's status.
16353
ca530739
JD
163542011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16355
16356 * x-dnd.el (x-dnd-version-from-flags)
16357 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16358 and long as number (Bug#8899).
16359 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16360
bcd70d97
SM
163612011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16362
60a406cf 16363 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
16364 (completion-try-completion, completion-all-completions): Compute the
16365 metadata argument if it's missing; make it optional (bug#8795).
16366
60a406cf 16367 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
16368 (widget-complete): Use new :completion-function property.
16369 (widget-completions-at-point): New function.
16370 (default): Use :completion-function instead of :complete.
60a406cf
SM
16371 (widget-default-completions): Rename from widget-default-complete;
16372 Rewrite.
bcd70d97
SM
16373 (widget-string-complete, widget-file-complete, widget-color-complete):
16374 Remove functions.
16375 (file, symbol, function, variable, coding-system, color):
16376 * international/mule-cmds.el (default-input-method, charset)
16377 (language-info-custom-alist):
16378 * cus-edit.el (face): Use new property :completions.
16379
16380 * progmodes/pascal.el (pascal-completions-at-point): New function.
16381 (pascal-mode): Use it.
16382 (pascal-mode-map): Use completion-at-point.
16383 (pascal-toggle-completions): Make obsolete.
16384 (pascal-complete-word, pascal-show-completions):
16385 * progmodes/octave-mod.el (octave-complete-symbol):
16386 Redefine as obsolete alias.
16387 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16388 Signal absence of completion info for old Octave,
16389 (inferior-octave-complete): Redefine as obsolete alias.
16390 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16391 (meta-completions-at-point): Rename from meta-complete-symbol and
16392 adapt it for use on completion-at-point-functions.
16393 (meta-common-mode): Use it.
16394 (meta-looking-at-backward, meta-match-buffer): Remove.
16395 (meta-complete-symbol): Redefine as obsolete alias.
16396 (meta-common-mode-map): Use completion-at-point.
16397 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16398 (makefile-mode-map): Use completion-at-point.
16399 (makefile-completions-at-point): Rename from makefile-complete and
16400 adapt it for use on completion-at-point-functions.
16401 (makefile-mode): Use it.
16402 (makefile-complete): Redefine as obsolete alias.
16403
aebf69c8
DD
164042011-06-20 Deniz Dogan <deniz@dogan.se>
16405
16406 * net/rcirc.el: Delete trailing whitespaces once and for all.
16407
bfbbb27d
DC
164082011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16409
16410 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16411
d264a46b
CY
164122011-06-19 Chong Yidong <cyd@stupidchicken.com>
16413
4ca009e5
CY
16414 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16415
d264a46b
CY
16416 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16417
fbf5b3ce
MR
164182011-06-19 Martin Rudalics <rudalics@gmx.at>
16419
16420 * window.el (display-buffer-other-window-means-other-frame):
16421 Call display-buffer-normalize-alist.
16422 (display-buffer-normalize-specifiers-1): Rename to
16423 display-buffer-normalize-argument. New argument other-frame.
16424 Rewrite.
16425 (display-buffer-normalize-specifiers-2): Rename to
16426 display-buffer-normalize-options.
16427 (display-buffer-normalize-alist-1): New function.
16428 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
16429 display-buffer-normalize-alist.
16430 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
16431 (display-buffer-normalize-options-inhibit): New variable.
16432 (display-buffer-normalize-specifiers): Rewrite calling
16433 display-buffer-normalize-alist,
16434 display-buffer-normalize-argument, and
16435 display-buffer-normalize-options. Don't call the latter if
16436 display-buffer-normalize-options-inhibit is non-nil.
16437 (frame-auto-delete): New option.
16438 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
16439 (window-list-no-nils, window-state-ignored-parameters)
16440 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
16441 (window-state-put-1, window-state-put-2, window-state-put):
16442 New functions.
9a028c23
MR
16443 (display-buffer-normalize-options): Move special-display-p group
16444 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 16445
6d10d800
CY
164462011-06-18 Chong Yidong <cyd@stupidchicken.com>
16447
6420d28b
CY
16448 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16449 groups (Bug#8776).
16450 (rx-submatch-n): New function.
16451 (rx): Document it.
16452
ddb8b596
CY
16453 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16454 (Bug#8768).
16455
16456 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16457
77080289
CY
16458 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16459
61dfb316
CY
16460 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16461 anytime existing face settings are present (Bug#8889).
16462
6d10d800
CY
16463 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16464 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16465 Remove unused argument.
16466
be3fb2b8
MR
164672011-06-18 Martin Rudalics <rudalics@gmx.at>
16468
bcd70d97
SM
16469 * window.el (display-buffer-default-specifiers):
16470 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
16471 pop-up-window-min-width, and another reuse-window specifier
16472 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
16473 (display-buffer-normalize-specifiers-2):
16474 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
16475 pop-up-windows is unset. Add a reuse-window specifier for the
16476 case popping up a new window fails.
16477 (special-display-popup-frame): Remove double quoting.
28dec25a 16478 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 16479
1c6d8c76
SM
164802011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16481
16482 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16483 according to comint-completion-addsuffix.
16484
16485 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16486 (pcomplete-suffix-list): Mark as obsolete.
16487 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16488 pcomplete-seen in the closure.
16489 (pcomplete-comint-setup): Setup completion-at-point as well.
16490 (pcomplete--entries): New function.
16491 (pcomplete--env-regexp): New var.
16492 (pcomplete-entries): Rewrite to work with partial-completion and
16493 without relying on pcomplete-suffix-list.
16494 (pcomplete-pare-list): Remove, unused.
16495
25aef8b8
MR
164962011-06-17 Martin Rudalics <rudalics@gmx.at>
16497
16498 * window.el (display-buffer-alist): Set pop-up-window-min-height
16499 and pop-up-window-min-width in default value. Reported by
16500 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16501 other-window-means-other-frame.
16502 (display-buffer-macro-specifiers): Comment out entry for
16503 other-window specifier.
16504 (display-buffer-other-window-means-other-frame): New function.
16505 (display-buffer-normalize-specifiers-1): New arguments
16506 buffer-name and label. Treat other-window case specially.
16507 (display-buffer-normalize-specifiers-2): Treat other-window case
16508 specially.
16509 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
16510 (display-buffer-normalize-specifiers):
16511 Call display-buffer-normalize-specifiers-3.
25aef8b8 16512
dbad4f69
MR
165132011-06-17 Martin Rudalics <rudalics@gmx.at>
16514
16515 * window.el (same-window-p): Fix two typos introduced when
16516 adding with-no-warnings.
d1067961
MR
16517 (display-buffer-normalize-specifiers-1): Don't check
16518 pop-up-frames for 'unset initialization.
16519 (display-buffer-normalize-specifiers-2): Major rewrite using
16520 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16521 (pop-up-frames, display-buffer-reuse-frames)
16522 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16523 Suggested by David Engster <deng@randomsample.de>.
16524 (even-window-heights): Initialize to 'unset.
16525 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
16526 (display-buffer-macro-specifiers): Don't pop up a new frame in the
16527 other window case.
dbad4f69 16528
9b9c9e3a
MR
165292011-06-16 Martin Rudalics <rudalics@gmx.at>
16530
bcd70d97
SM
16531 * window.el (display-buffer-normalize-specifiers-1):
16532 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 16533 second argument of display-buffer (Bug#8865).
981d5c09
MR
16534 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16535 (switch-to-buffer-other-window-same-frame)
16536 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
16537 Adams (Bug#8875).
9c2755e9
MR
16538 (display-buffer): Don't check noninteractive when calling
16539 display-buffer-pop-up-frame.
16540 (display-buffer-pop-up-frame): Never pop up a frame in
16541 noninteractive mode (Bug#8857).
67222e1d
MR
16542 (enlarge-window, shrink-window): Don't report an error when the
16543 window can't be resized as requested (Bug#8862).
9b9c9e3a 16544
2b75be67
SM
165452011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16546
9ffdd3ba
SM
16547 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16548
cb581a67
SM
16549 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16550
2b75be67
SM
16551 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16552
8c0e3589
AM
165532011-06-15 Alan Mackenzie <acm@muc.de>
16554
cb581a67
SM
16555 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16556 for declarators, disable knr checking to speed up for normal files.
16557 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 16558
b96e6cde
LMI
165592011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16560
4bba86e6
LMI
16561 * net/network-stream.el (open-network-stream): Add the keyword
16562 :always-query-capabilities for the case where you want to force a
16563 `plain' network connection, but the protocol still requires the
16564 capabilitiy command (i.e., SMTP and EHLO).
16565
2b75be67 16566 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
16567 consistency with other `-live-p' functions.
16568
efdcdbf8
SM
165692011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16570
16571 * window.el (same-window-buffer-names, same-window-regexps)
16572 (special-display-frame-alist, special-display-popup-frame)
16573 (special-display-function, special-display-buffer-names)
16574 (special-display-regexps, pop-up-frame-alist)
16575 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16576 (pop-up-windows, split-window-preferred-function)
16577 (split-height-threshold, split-width-threshold, even-window-heights)
16578 (display-buffer-mark-dedicated): Don't encourage the use of
16579 display-buffer-alist from Elisp code.
16580
c5cde042
DN
165812011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
16582
16583 * progmodes/python.el (python-mode): Derive from prog-mode.
16584 * progmodes/ps-mode.el (ps-mode):
16585 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 16586 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
16587 * progmodes/ld-script.el (ld-script-mode): Likewise.
16588
baa1c9ab
MR
165892011-06-15 Martin Rudalics <rudalics@gmx.at>
16590
16591 * window.el (display-buffer-alist): Trim default value to avoid
16592 popping up a new frame (Bug#8857) or reusing an arbitrary window
16593 on another frame.
16594 (display-buffer): Do not fall back on popping up a new frame in
16595 batch mode (Bug#8857).
16596
c5dd5a51
CY
165972011-06-14 Chong Yidong <cyd@stupidchicken.com>
16598
16599 * cus-theme.el (describe-theme-1): Use custom-theme-p.
16600 (custom-theme-summary): New function.
16601 (customize-themes): Use it.
16602
d647b7c4
GM
166032011-06-13 Glenn Morris <rgm@gnu.org>
16604
16605 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16606
9481c002
MR
166072011-06-13 Martin Rudalics <rudalics@gmx.at>
16608
357f93d2
MR
16609 * help.el (help-window): Remove variable.
16610 (help-window-point-marker, temp-buffer-max-height)
16611 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16612 (help-print-return-message): Don't set help-window.
16613 (resize-temp-buffer-window): Rewrite cod eand doc-string.
16614 (help-window-setup-finish): Remove.
16615 (help-window-display-message, help-window-setup)
16616 (with-help-window): Major rewrite based on new
16617 display-buffer-window variable.
16618
16619 * help-mode.el (help-mode-finish): Remove help-window related
16620 code.
16621
16622 * view.el (view-exits-all-viewing-windows): Remove reference to
16623 view-return-to-alist in doc-string.
16624 (view-return-to-alist): Make obsolete.
16625 (view-buffer): Call pop-to-buffer-same-window and remove
16626 undo-window code.
16627 (view-buffer-other-window): Call pop-to-buffer-other-window and
16628 simplify code. Ignore second argument.
16629 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
16630 simplify code. Ignore second argument.
16631 (view-return-to-alist-update): Make obsolete.
16632 (view-mode-enter): Rename second argument to QUIT-RESTORE.
16633 Rewrite using quit-restore window parameters.
2b75be67
SM
16634 (view-mode-exit): Rename second argument to EXIT-ONLY.
16635 Rewrite using quit-restore-window.
357f93d2
MR
16636 (View-exit, View-exit-and-edit, View-leave, View-quit)
16637 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
16638 appropriate arguments.
16639 (view-end-message): Use quit-restore window parameter.
16640
9481c002
MR
16641 * window.el (display-buffer-function): Rewrite doc-string.
16642 (display-buffer-window, display-buffer-alist): New variables.
16643 (display-buffer-split-specifiers)
16644 (display-buffer-side-specifiers)
16645 (display-buffer-macro-specifiers): New constants.
16646 (display-buffer-even-window-sizes, display-buffer-set-height)
16647 (display-buffer-set-width, display-buffer-select-window)
16648 (display-buffer-in-window, display-buffer-reuse-window)
16649 (display-buffer-split-window-1, display-buffer-split-window)
16650 (display-buffer-split-atom-window, display-buffer-pop-up-window)
16651 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
16652 (display-buffer-in-side-window, normalize-buffer-to-display)
16653 (display-buffer-normalize-specifiers-1)
16654 (display-buffer-normalize-specifiers-2)
2b75be67
SM
16655 (display-buffer-normalize-specifiers, display-buffer-frame):
16656 New functions.
9481c002
MR
16657 (display-buffer): Major rewrite.
16658 (display-buffer-other-window, display-buffer-other-frame)
16659 (pop-to-buffer, switch-to-buffer-other-window)
16660 (switch-to-buffer-other-frame): Rewrite.
16661 (display-buffer-same-window, display-buffer-same-frame)
16662 (display-buffer-same-frame-other-window)
16663 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16664 (pop-to-buffer-other-window)
16665 (pop-to-buffer-same-frame-other-window)
16666 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
16667 (switch-to-buffer-other-window-same-frame): New functions.
16668 (same-window-p, special-display-p): Rewrite disabling warnings.
16669 Make obsolete.
16670 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16671 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
16672 Make obsolete
16673 (same-window-buffer-names, same-window-regexps)
16674 (special-display-frame-alist, special-display-popup-frame)
16675 (special-display-function, special-display-buffer-names)
16676 (special-display-regexps, pop-up-frame-alist)
16677 (pop-up-frame-function, split-window-preferred-function)
16678 (split-height-threshold, split-width-threshold)
16679 (even-window-heights): Make obsolete.
16680
9db51aca
GM
166812011-06-12 Glenn Morris <rgm@gnu.org>
16682
16683 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 16684 Misc simplifications.
9db51aca 16685
39cffb44
MR
166862011-06-12 Martin Rudalics <rudalics@gmx.at>
16687
16688 * window.el (window-safely-shrinkable-p): Restore function which
16689 was inadvertently removed in change from 2011-06-11. Declare as
16690 obsolete.
16691
2b75be67
SM
16692 * calendar/calendar.el (calendar-generate-window):
16693 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
16694 window-safely-shrinkable-p.
16695
a8955be7
GM
166962011-06-12 Glenn Morris <rgm@gnu.org>
16697
16698 * progmodes/fortran.el (fortran-mode-syntax-table):
16699 * progmodes/f90.el (f90-mode-syntax-table):
16700 Set % to punctuation. (Bug#8820)
16701 (f90-find-tag-default): Remove, no longer needed.
16702
f0d4059d
DC
167032011-06-12 Daniel Colascione <dan.colascione@gmail.com>
16704
16705 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
16706
1100a63c
CY
167072011-06-11 Chong Yidong <cyd@stupidchicken.com>
16708
16709 * image.el (image-animated-p): Return animation delay in seconds.
16710 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
16711 (image-animate-timeout): Remove DELAY argument. Don't assume
16712 every subimage has the same delay; get it from image-animated-p.
16713 (image-animate): Caller changed.
16714
def722bf
MA
167152011-06-11 Michael Albinus <michael.albinus@gmx.de>
16716
16717 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
16718 to ignored backtrace functions.
16719
0a2bb1a9
GM
167202011-06-11 Glenn Morris <rgm@gnu.org>
16721
16722 * calendar/appt.el (appt-disp-window-function): Doc fix.
16723 (appt-check): Handle overlapping appointments. (Bug#8337)
16724
6198ccd0
MR
167252011-06-11 Martin Rudalics <rudalics@gmx.at>
16726
16727 * window.el (window-tree-1, window-tree): New functions, moving
16728 the latter to window.el.
16729 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
16730 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
16731 (bw-refresh-edges): Remove.
16732 (balance-windows-1, balance-windows-2): New functions.
16733 (balance-windows): Rewrite in terms of window tree functions,
16734 balance-windows-1 and balance-windows-2.
16735 (bw-adjust-window): Remove.
16736 (balance-windows-area-adjust): New function with functionality of
16737 bw-adjust-window but using resize-window.
2b75be67
SM
16738 (set-window-text-height): Rewrite doc-string.
16739 Use normalize-live-window and resize-window.
16740 (enlarge-window-horizontally, shrink-window-horizontally):
16741 Rename argument to DELTA.
6198ccd0
MR
16742 (window-buffer-height): New function.
16743 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
16744 Rewrite using new window resize routines.
2b75be67
SM
16745 (kill-buffer-and-window, mouse-autoselect-window-select):
16746 Use ignore-errors instead of condition-case.
6198ccd0
MR
16747 (quit-window): Call delete-frame instead of delete-windows-on
16748 for the only buffer on frame.
16749
9397e56f
MR
167502011-06-10 Martin Rudalics <rudalics@gmx.at>
16751
16752 * loadup.el (top-level): Load window before files for the sake
16753 of replace-buffer-in-windows.
16754
16755 * files.el (read-buffer-to-switch)
16756 (switch-to-buffer-other-window)
2b75be67
SM
16757 (switch-to-buffer-other-frame, display-buffer-other-frame):
16758 Move to window.el.
9397e56f
MR
16759
16760 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
16761 (previous-buffer): Move to window.el.
16762
16763 * bindings.el (unbury-buffer): Move to window.el.
16764
16765 * window.el (delete-other-windows-vertically): Move after
16766 definition of delete-other-windows.
16767 (other-window, delete-windows-on, replace-buffer-in-windows):
16768 Move here from window.c.
16769 (record-window-buffer, unrecord-window-buffer)
16770 (set-window-buffer-start-and-point, switch-to-prev-buffer)
16771 (switch-to-next-buffer): New functions.
16772 (get-next-valid-buffer, last-buffer, next-buffer): Move here
16773 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
16774 (previous-buffer): Move here from simple.el.
16775 Call switch-to-prev-buffer.
9397e56f
MR
16776 (bury-buffer): Move here from buffer.c. Switch to previous
16777 buffer when window cannot be deleted.
16778 (unbury-buffer): Move here from bindings.el.
16779 (ctl-x-map): Move binding for other-window from window.c to
16780 here.
16781 (read-buffer-to-switch, switch-to-buffer-other-window)
16782 (switch-to-buffer-other-frame): Move here from files.el.
16783 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
16784 (switch-to-buffer): Move here from buffer.c.
16785 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 16786
562dd5e9
MR
167872011-06-10 Martin Rudalics <rudalics@gmx.at>
16788
16789 * window.el (window-min-height, window-min-width): Move here
16790 from window.c. Add defcustoms and rewrite doc-strings.
16791 (resize-mini-window, resize-window): New functions.
16792 (adjust-window-trailing-edge, enlarge-window, shrink-window):
16793 Move here from window.c.
16794 (maximize-window, minimize-window): New functions.
16795 (delete-window, delete-other-windows, split-window): Move here
16796 from window.c.
16797 (window-split-min-size): New function.
16798 (split-window-keep-point): Mention split-window-above-each-other
16799 instead of split-window-vertically.
2b75be67 16800 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
16801 Rename split-window-vertically to split-window-above-each-other
16802 and provide defalias for old definition.
16803 (split-window-side-by-side, split-window-horizontally):
16804 Rename split-window-horizontally to split-window-side-by-side
16805 and provide defalias for the old definition.
562dd5e9
MR
16806 (ctl-x-map): Move bindings for delete-window,
16807 delete-other-windows and enlarge-window here from window.c.
16808 Replace bindings for split-window-vertically and
16809 split-window-horizontally by bindings for
16810 split-window-above-each-other and split-window-side-by-side.
16811
16812 * cus-start.el (all): Remove entries for window-min-height and
16813 window-min-width. Add entries for window-splits and
16814 window-nest.
16815
f0da764a
GM
168162011-06-09 Glenn Morris <rgm@gnu.org>
16817
80675c21
GM
16818 * calendar/appt.el (appt-mode-line): New function.
16819 (appt-check, appt-disp-window): Use it.
16820
f0da764a
GM
16821 * files.el (hack-one-local-variable-eval-safep):
16822 Allow minor-modes with explicit +/-1 arguments.
16823
59f623b7
TZ
168242011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
16825
16826 * term/xterm.el (xterm): Add defgroup.
16827 (xterm-extra-capabilities): Add defcustom to supply known xterm
16828 capabilities, skip querying them, or query them (default).
16829 (terminal-init-xterm): Use it.
16830 (terminal-init-xterm-modify-other-keys): New function to set up
16831 modifyOtherKeys support to simplify `terminal-init-xterm'.
16832
9aab8e0d
MR
168332011-06-09 Martin Rudalics <rudalics@gmx.at>
16834
16835 * window.el (resize-window-reset, resize-window-reset-1)
16836 (resize-subwindows-skip-p, resize-subwindows-normal)
16837 (resize-subwindows, resize-other-windows, resize-this-window)
16838 (resize-root-window, resize-root-window-vertically)
16839 (window-deletable-p, window-or-subwindow-p)
16840 (frame-root-window-p): New functions.
16841
e8b08aee
GM
168422011-06-09 Glenn Morris <rgm@gnu.org>
16843
16844 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
16845 (ange-ftp-get-files): Use it.
16846
254c37a5
AK
168472011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
16848
16849 * mail/sendmail.el (mail-recover-1, mail-recover):
16850 * files.el (recover-file, recover-session):
16851 Handle dired-listing-switches not being just a single short option.
16852
35d7dbd3
GM
168532011-06-09 Glenn Morris <rgm@gnu.org>
16854
16855 * calendar/appt.el (appt-display-message, appt-disp-window):
16856 Handle lists of appointments.
16857
387522b2
MR
168582011-06-08 Martin Rudalics <rudalics@gmx.at>
16859
2b75be67
SM
16860 * window.el (one-window-p): Move down in code.
16861 Rewrite doc-string.
16862 (window-current-scroll-bars): Rewrite doc-string.
16863 Normalize live window argument.
387522b2
MR
16864 (walk-windows, get-window-with-predicate, count-windows):
16865 Rewrite doc-string. Use window-list-1.
16866 (window-in-direction-2, window-in-direction, get-mru-window):
16867 New functions.
16868
d8e4b68b 168692011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
16870
16871 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
16872 Doc fix (Bug#8713).
16873
168742011-06-08 Chong Yidong <cyd@stupidchicken.com>
16875
16876 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
16877
168782011-06-08 Juanma Barranquero <lekktu@gmail.com>
16879
16880 * loadhist.el (unload-feature-special-hooks):
16881 Add `comint-output-filter-functions'.
16882
0de12c52
IK
168832011-06-08 Ivan Kanis <gnu@kanis.fr>
16884
16885 * calendar/appt.el (appt-check): Move some initializations into the let.
16886
f3d1777e
MR
168872011-06-08 Martin Rudalics <rudalics@gmx.at>
16888
16889 * window.el (window-height): Defalias to window-total-height.
16890 (window-width): Defalias to window-body-width.
16891
18af70d0
CY
168922011-06-07 Chong Yidong <cyd@stupidchicken.com>
16893
16894 * image-mode.el (image-toggle-animation): New command.
16895 (image-mode-map): Bind it to RET.
16896 (image-mode): Update message.
16897 (image-toggle-display-image): Avoid a spurious cache flush.
16898 (image-transform-rotation): Doc fix.
16899 (image-transform-properties): Return quickly in the normal case.
16900 (image-animate-loop): Rename from image-animate-max-time.
16901
2b75be67 16902 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
16903 (create-animated-image): Remove unnecessary function.
16904 (image-animate): Rename from image-animate-start. New arg.
2b75be67 16905 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
16906 (image-animate-timer): Use car-safe.
16907 (image-animate-timeout): Rename argument.
16908
190b47e6
MR
169092011-06-07 Martin Rudalics <rudalics@gmx.at>
16910
16911 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
16912 window.c. Rename first argument to ALL-FRAMES.
16913 Rephrase doc-strings.
16914 (get-buffer-window-list): Rewrite using window-list-1.
16915 Rephrase doc-string.
a1511caf
MR
16916 (window-safe-min-height, window-safe-min-width): New constants.
16917 (window-size-ignore, window-min-size, window-min-size-1)
16918 (window-sizable, window-sizable-p, window-size-fixed-1)
16919 (window-size-fixed-p, window-min-delta-1, window-min-delta)
16920 (window-max-delta-1, window-max-delta, window-resizable)
16921 (window-resizable-p, window-total-height, window-total-width)
16922 (window-body-width): New functions.
16923 (window-full-height-p, window-full-width-p): Rewrite using
16924 window-total-size.
16925 (window-body-height): Rewrite using window-body-size.
190b47e6 16926
85cc1f11
MR
169272011-06-06 Martin Rudalics <rudalics@gmx.at>
16928
16929 * window.el (window-right, window-left, window-child)
16930 (window-child-count, window-last-child, window-any-p)
16931 (normalize-live-buffer, normalize-live-frame)
16932 (normalize-any-window, normalize-live-window)
16933 (window-iso-combination-p, window-iso-combined-p)
16934 (window-iso-combinations)
16935 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
16936 (windows-with-parameter, window-with-parameter)
16937 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
16938 (window-atom-check, window-side-check, window-check):
16939 New functions.
85cc1f11
MR
16940 (ignore-window-parameters, window-sides, window-sides-vertical)
16941 (window-sides-slots): New variables.
16942 (window-size-fixed): Move down in code. Minor doc-string fix.
16943
e7156492
AS
169442011-06-05 Andreas Schwab <schwab@linux-m68k.org>
16945
16946 * comint.el (comint-dynamic-complete-as-filename)
16947 (comint-dynamic-complete-filename): Correctly call
16948 completion-in-region.
16949
7e821d0d
DD
169502011-06-05 Deniz Dogan <deniz@dogan.se>
16951
16952 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
16953 in last change.
16954
ac09b8a1
DD
169552011-06-05 Deniz Dogan <deniz@dogan.se>
16956
16957 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
16958 (rcirc): Use it to prompt for encryption.
16959
34699b85
RW
169602011-06-05 Roland Winkler <winkler@gnu.org>
16961
16962 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
16963 (bibtex-search-entries): New command bound to C-c C-a.
16964 (bibtex-display-entries): New function.
16965
004dedd3
RW
169662011-06-05 Roland Winkler <winkler@gnu.org>
16967
16968 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
16969 (bibtex-insert-kill): After yanking insert newline if necessary.
16970 (bibtex-initialize): Call bibtex-string-files-init only once.
16971 (bibtex-mode): Do not call easy-menu-add.
16972 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
16973 (bibtex-yank): Set arg properly if nil.
16974
022fe7ce
RW
169752011-06-05 Roland Winkler <winkler@gnu.org>
16976
2b75be67
SM
16977 * textmodes/bibtex.el (bibtex-search-entry-globally):
16978 New variable.
022fe7ce
RW
16979 (bibtex-search-entry): Use it.
16980
b7c3692a
RW
169812011-06-05 Roland Winkler <winkler@gnu.org>
16982
16983 * textmodes/bibtex.el (bibtex-entry-format): New option
16984 sort-fields.
16985 (bibtex-format-entry, bibtex-reformat): Honor this option.
16986 (bibtex-parse-entry): Return fields in proper order.
16987
8eda563d
JB
169882011-06-05 Juanma Barranquero <lekktu@gmail.com>
16989
16990 * doc-view.el (doc-view-remove-if): Move computation of result out
16991 of `dolist' to silence misleading lexical-binding warning.
16992
7dbe3dbc
CY
169932011-06-04 Chong Yidong <cyd@stupidchicken.com>
16994
16995 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
16996 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
16997
0c33dd17
MA
169982011-06-04 Michael Albinus <michael.albinus@gmx.de>
16999
17000 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17001 "SunOS 5.10".
17002
f8f91c2b
MA
170032011-06-04 Michael Albinus <michael.albinus@gmx.de>
17004
17005 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17006 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17007 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17008 (tramp-parse-putty):
17009 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17010 (tramp-completion-function-alist-ssh)
17011 (tramp-completion-function-alist-telnet)
17012 (tramp-completion-function-alist-su)
17013 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17014 cookie.
17015
17016 * net/tramp-ftp.el:
17017 * net/tramp-sh.el:
17018 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17019 load "tramp.el" `tramp-set-completion-function'.
17020
e17d9003
SM
170212011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17022
17023 * shell.el: Require and use pcomplete.
17024 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17025 (shell-completion-vars): Set pcomplete-default-completion-function.
17026
6c4cab03
DD
170272011-06-04 Deniz Dogan <deniz@dogan.se>
17028
17029 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17030 `memq' (Bug#8799).
17031
ea9fafe0
SM
170322011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17033
17034 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17035
b3e945d3
JB
170362011-06-02 Juanma Barranquero <lekktu@gmail.com>
17037
17038 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17039 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17040 * vc/log-view.el (log-view-beginning-of-defun):
17041 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17042 (smerge-refine-forward, smerge-refine-chopup-region):
17043 Silence warning for unused `dotimes' counter variables.
17044
7d520089
SM
170452011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17046
17047 * net/tramp.el (tramp-with-progress-reporter): Rename from
17048 with-progress-reporter. Use `declare'.
17049 * net/tramp-smb.el:
17050 * net/tramp-sh.el:
17051 * net/tramp-gvfs.el: Update all uses.
17052
a1c2400f
JB
170532011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17054
17055 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17056 buffer isn't killed before making it current.
17057
2403c841
SM
170582011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17059
17060 Silence various byte-compiler warnings.
17061 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17062 `access-type' and new obsolescence format.
17063 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17064 new format.
17065 (byte-compile-check-variable): New `access-type' argument.
17066 Only warn if the access-type is obsolete.
17067 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17068 (byte-compile-variable-set): Adjust callers.
17069 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17070 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17071 setting it as obsolete.
17072 * simple.el (minibuffer-completing-symbol):
17073 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17074 access as obsolete.
17075 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17076 obsolete yet.
17077 * international/quail.el (quail-mouse-choose-completion): Remove unused
17078 code referring to obsolete var.
17079 (quail-choose-completion-string): Remove.
17080 * server.el (server-clients-with, server-kill-buffer-query-function)
17081 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17082 * proced.el (proced-send-signal):
17083 * emacs-lisp/lisp.el (lisp-complete-symbol):
17084 Replace completion-annotate-function with completion-extra-properties.
17085
2462470b
SM
170862011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17087
fb5b2591
SM
17088 * simple.el (goto-line): Use read-number.
17089 (overriding-map-is-bound): Remove.
17090 (saved-overriding-map): Change default.
17091 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17092 Take the map as argument.
17093 (universal-argument, negative-argument, digit-argument): Use it.
17094 (restore-overriding-map): Adjust.
17095 (do-auto-fill): Use fill-forward-paragraph.
17096 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17097
fd6fa53f
SM
17098 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17099 (minibuffer-inactive-mode): New major mode.
17100 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17101 the *Messages* buffer" hack.
17102 (mouse-popup-menubar): Don't burp if the event is a normal key.
17103
2462470b
SM
17104 Miscellaneous tweaks.
17105 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17106 lexical scoping as in subr.el's dolist and dotimes.
17107 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17108 Silence compiler warning.
17109 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17110 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17111 * international/ccl.el (ccl-compile): Trivial simplification.
17112 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17113 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17114 `printflag' argument.
17115 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17116 Purecopy the whole obsolescence data.
17117
108bf785
LL
171182011-06-01 Leo Liu <sdl.web@gmail.com>
17119
17120 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17121 improve doc-string as suggested by Marco Pessotto
17122 <melmothx@gmail.com>.
17123 (rcirc-print): Fix last change.
17124
30a23501
SM
171252011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17126
17127 * minibuffer.el (complete-with-action): Return nil for the metadata and
17128 boundaries of non-functional tables.
17129 (completion-table-dynamic): Return nil for the metadata.
17130 (completion-table-with-terminator): Add default case, using
17131 complete-with-action.
17132 (completion--metadata): New function.
17133 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17134 to try and avoid pathological performance problems.
17135 (completion--embedded-envvar-table): Return `category' metadata.
17136
bcd54f83
LMI
171372011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17138
17139 * subr.el (process-alive-p): New tiny convenience function.
17140
e227544d
SM
171412011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17142
17143 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17144 content but also its previous major mode.
17145
e8296fdc
HE
171462011-05-31 Helmut Eller <eller.helmut@gmail.com>
17147
4d61f28d 17148 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
17149 *Backtrace* buffer when we exit with C-M-c.
17150
620c53a6
SM
171512011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17152
17153 * minibuffer.el: Add metadata method to completion tables.
17154 (completion-category-overrides): New defcustom.
17155 (completion-metadata, completion--field-metadata)
17156 (completion-metadata-get, completion--styles)
17157 (completion--cycle-threshold): New functions.
17158 (completion-try-completion, completion-all-completions):
17159 Add `metadata' argument to choose completion-styles.
17160 (completion--do-completion): Use metadata to choose cycling.
17161 (completion-all-sorted-completions): Use metadata for sorting.
17162 Remove :completion-cycle-penalty which is not needed any more.
17163 (completion--try-word-completion): Add `metadata' argument.
17164 (minibuffer-completion-help): Check metadata for annotation function
17165 and sorting.
17166 (completion-file-name-table): Return `category' metadata.
17167 (minibuffer-completing-file-name): Make obsolete.
17168 * simple.el (minibuffer-completing-symbol): Make obsolete.
17169 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17170 completion-try-completion.
17171
1257e755
SM
171722011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17173
17174 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17175
3767e706
LL
171762011-05-30 Leo Liu <sdl.web@gmail.com>
17177
17178 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
17179 (rcirc-print): Decode all incoming messages (bug#8744).
17180 (rcirc-decode-coding-system): Allow value nil for automatic coding
17181 system detection.
3767e706 17182
d1a5d56a
GM
171832011-06-01 Glenn Morris <rgm@gnu.org>
17184
17185 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17186
e8cbec34
CY
171872011-05-29 Chong Yidong <cyd@stupidchicken.com>
17188
17189 * image.el (image-animate-max-time): Allow nil and t values.
17190 Default to nil.
17191 (create-animated-image): Doc fix.
17192 (image-animate-start): Remove second arg; just use
17193 image-animate-max-time.
17194 (image-animate-timeout): Doc fix. Args changed.
17195
17196 * image-mode.el (image-toggle-display-image): Ensure that the
17197 image spec passed to the animate timer is the same object as in
58179cce 17198 the buffer's display property (Bug#6981).
e8cbec34
CY
17199 (image-transform-properties): Doc fix.
17200
17201 * image.el (image-animate-max-time): Default to nil.
17202
159daf87
MR
172032011-05-29 Martin Rudalics <rudalics@gmx.at>
17204
17205 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17206 entire buffer list (Bug#8184).
17207
d66c4c7c
CY
172082011-05-29 Chong Yidong <cyd@stupidchicken.com>
17209
17210 * image.el (imagemagick-types-inhibit)
17211 (imagemagick-register-types): Doc fix.
17212
80aec780
DD
172132011-05-29 Deniz Dogan <deniz@dogan.se>
17214
17215 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17216 default.
17217
1dd3c2d9
CY
172182011-05-29 Chong Yidong <cyd@stupidchicken.com>
17219
17220 * select.el: Don't perform clipboard-manager saving in hooks;
17221 leave the hooks empty.
17222
60e56523
LL
172232011-05-28 Leo Liu <sdl.web@gmail.com>
17224
17225 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17226 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17227 (occur-edit-mode): New major mode (Bug#8463).
17228 (occur-after-change-function): New function.
17229 (occur-engine): Give Occur tags a read-only property.
17230
2b1e1a22
KR
172312011-05-28 Kevin Ryde <user42@zip.com.au>
17232
17233 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17234
5d344e88
CY
172352011-05-28 Chong Yidong <cyd@stupidchicken.com>
17236
8e6ca83d
CY
17237 * bindings.el (help-echo): Make the initial non-indicator dash
17238 empty on graphical terminals (Bug#7295).
17239
5d344e88
CY
17240 * files.el (auto-mode-alist): Move config rule after the
17241 in-stripping one (Bug#8547).
17242
bfbbace7
CY
17243 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17244
fbeba6e2
CY
17245 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17246 setting (Bug#8740).
17247
60ed8c72
AA
172482011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17249
4ac619f0
AA
17250 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17251 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17252 (Bug#8539).
60ed8c72 17253
23db196e
CY
172542011-05-28 Chong Yidong <cyd@stupidchicken.com>
17255
17256 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17257
5012f24c
DK
172582011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17259
17260 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17261 (hs-hide-block-at-point, hs-find-block-beginning)
17262 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17263 (Bug#8279).
17264
6a639b16
GM
172652011-05-28 Glenn Morris <rgm@gnu.org>
17266
17267 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17268
d43eaf2c
CY
172692011-05-28 Chong Yidong <cyd@stupidchicken.com>
17270
5199bde1
CY
17271 * help-fns.el (describe-function-1): If the function is a derived
17272 major mode, print the parent mode.
17273
d43eaf2c
CY
17274 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17275 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17276
423428a8
SM
172772011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17278
0ff8e1ba 17279 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 17280 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
17281 * progmodes/etags.el (tags-completion-at-point-function):
17282 * info-look.el (info-lookup-completions-at-point): Mark as
17283 non-exclusive.
17284 (info-complete): Adjust accordingly.
17285
423428a8
SM
17286 * info-look.el: Convert to lexical-binding and completion-at-point.
17287 (info-lookup-completions-at-point): New function.
17288 (info-complete): Use it and completion-in-region.
17289
b74aa22b
DA
172902011-05-28 Drew Adams <drew.adams@oracle.com>
17291
17292 * isearch.el: Let M-e start with point at the first mismatched char.
17293 (isearch-fail-pos): New function.
17294 (isearch-edit-string): Use it.
17295
66e2e71d
DK
172962011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17297
17298 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17299
b1890b0f 173002011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
17301
17302 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17303 traversal functions for avl-trees.
17304 (avl-tree--stack): New struct.
17305 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17306 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
17307 (avl-tree--do-enter): Add optional `updatefun' arg.
17308 Change return value.
eb95d01d 17309 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
17310 (avl-tree--do-delete): Add `test' and `nilflag' args.
17311 Change return value.
eb95d01d
TC
17312 (avl-tree-member): Add optional `nilflag'
17313 (avl-tree-member-p): New function.
17314 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17315 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17316 (avl-tree-stack-empty-p): New functions.
17317
3769ddcf
TC
17318 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17319 avl-tree--del-balance1 and make it work both ways.
17320 (avl-tree--del-balance2): Remove.
17321 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17322 make it work both ways.
17323 (avl-tree--enter-balance2): Remove.
17324 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17325 New macros.
17326 (avl-tree--mapc, avl-tree-map): Add direction argument.
17327
eb95d01d 173282011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
17329
17330 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17331
a9f737ee
CY
173322011-05-27 Chong Yidong <cyd@stupidchicken.com>
17333
17334 * select.el: Support clipboard managers with built-in function
17335 x-clipboard-manager-save, via delete-frame-functions and
17336 kill-emacs-hook.
17337 (xselect-convert-to-targets): Add MULTIPLE target to list.
17338 (xselect-convert-to-save-targets): New function.
17339
c92a1e54
KH
173402011-05-27 Kenichi Handa <handa@m17n.org>
17341
17342 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17343 let-binding rfc2047-encode-encoded-words to nil.
17344
e145f188
GM
173452011-05-27 Glenn Morris <rgm@gnu.org>
17346
5ec8a862
GM
17347 * mail/emacsbug.el: Don't require url-util.
17348
4b29d9fb
GM
17349 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17350
e145f188
GM
17351 * files.el (set-auto-mode):
17352 Also respect mode: entries at the end of the file. (Bug#8586)
17353
7d15102b
GM
173542011-05-26 Glenn Morris <rgm@gnu.org>
17355
98f593b8
GM
17356 * files.el (hack-local-variables-prop-line, hack-local-variables):
17357 Downcase mode names, as seems to be traditional.
27b48e63 17358 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 17359
7d15102b
GM
17360 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17361 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17362
51d5b4ec
JD
173632011-05-25 Julien Danjou <julien@danjou.info>
17364
17365 * textmodes/rst.el (rst-define-level-faces): Do not define face
17366 symbol if it is already defined.
17367
91513f63
VB
173682011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17369
17370 * play/5x5.el (5x5-new-game, 5x5-randomize):
17371 Reset 5x5-solver-output to nil when a new grid is cast.
17372 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17373 these debugging traces, as defmacro breaks the compiled code.
17374
4d90d6d0
DK
173752011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17376
17377 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17378
e1b90ef6
LL
173792011-05-24 Leo Liu <sdl.web@gmail.com>
17380
17381 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17382 (vc-bzr-sha1): Adapt.
17383
d8e4b68b 17384 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
17385
17386 * bindings.el: Provide sha1 feature.
17387
db0406bb 173882011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
17389
17390 * mail/sendmail.el: Require `rfc2047'.
17391 (mail-insert-from-field): Do not perform RFC2047 encoding.
17392 (mail-encode-header): New function.
17393 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
17394 buffer to the return value of select-message-coding-system.
17395 Call mail-encode-header.
b8d747b9
KH
17396
17397 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17398
db0406bb 173992011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 17400
4d90d6d0
DK
17401 * mail/supercite.el (sc-default-cite-frame):
17402 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 17403
eb8a5e9b
GM
174042011-05-24 Glenn Morris <rgm@gnu.org>
17405
f8630703
GM
17406 * progmodes/python.el (brm-menu): Declare.
17407
8831bbed
GM
17408 * emulation/viper.el (viper-set-hooks): Declare.
17409
eb8a5e9b
GM
17410 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17411 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17412 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17413 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17414 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17415 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17416
a2a25d24
SM
174172011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17418
17419 Add an :exit-function for completion-at-point.
17420
17421 * minibuffer.el (completion--done): New fun.
17422 (completion--do-completion): Use it. New arg `expect-exact'.
17423 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17424 since completion--do-completion does it for us now.
17425 (minibuffer-force-complete): Use completion--done and
17426 completion--replace. Handle sole-completion case with more care.
17427 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17428 (completion-extra-properties): New var.
17429 (completion-annotate-function): Make obsolete.
17430 (minibuffer-completion-help): Adjust accordingly.
17431 Use completion-list-insert-choice-function.
17432 (completion-at-point, completion-help-at-point):
17433 Bind completion-extra-properties.
17434 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17435 * simple.el (completion-list-insert-choice-function): New var.
17436 (completion-setup-function): Preserve it.
17437 (choose-completion): Pay attention to it, shuffle the code a bit.
17438 (choose-completion-string): New arg `insert-function'.
17439
17440 * textmodes/bibtex.el: Convert to lexical binding.
17441 (bibtex-mode-map): Use completion-at-point.
17442 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17443 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17444 (bibtex-complete): Define as obsolete alias.
17445 (bibtex-complete-internal): Remove.
17446 (bibtex-format-entry): Remove unused sub-group in regexp.
17447 * shell.el (shell--command-completion-data)
17448 (shell-environment-variable-completion):
17449 * pcomplete.el (pcomplete-completions-at-point):
17450 * comint.el (comint--complete-file-name-data): Use :exit-function
17451 instead of completion-table-with-terminator so it also works for
17452 choose-completion.
17453
e44e373d
SM
174542011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17455
4f91a816
SM
17456 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17457
782fc819
SM
17458 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17459 (bug#8710).
17460
e44e373d
SM
17461 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17462
381987c3
KM
174632011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17464
17465 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17466 customization variable and implement: If non-nil, auto-fill will
17467 be inhibited while on topic's header line.
17468
b776bc70
VB
174692011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17470
17471 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 17472 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
17473 always have a solution in grid size = 5 cases.
17474 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17475 (5x5-solver-output, 5x5-log-buffer): New vars.
17476 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17477 Make these variables buffer local to achieve 5x5 multi-session-ness.
17478 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17479 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17480 (5x5-solve-suggest): New funs.
17481 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17482 randomize a grid so that we ensure that there is always a solution.
17483 (5x5-make-random-grid): Allow other movement than flipping.
17484
7de88b6e
KR
174852011-05-23 Kevin Ryde <user42@zip.com.au>
17486
17487 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 17488 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
17489 advice and passes PREDICATE.
17490
b1ef1257
SM
174912011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17492
bbca48fe
SM
17493 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17494 byte-compile-lambda if it's actually a lambda.
17495
b1ef1257
SM
17496 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17497 Fix function quoting. Use backquote better.
17498
92a9cc65
YS
174992011-05-22 Yuanle Song <sylecn@gmail.com>
17500
17501 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17502 matching (Bug#8516).
17503
f0fb8059
JA
175042011-01-22 Jari Aalto <jari.aalto@cante.net>
17505
17506 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17507 different face (Bug#8178).
17508
d5b44c93
CY
175092011-05-22 Chong Yidong <cyd@stupidchicken.com>
17510
17511 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17512 defface (Bug#8144).
17513
79106a44
SM
175142011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17515
9c848d8a
SM
17516 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17517 funcall as well (bug#8712). Warn when performing those conversions.
17518 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17519
79106a44
SM
17520 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17521
88dfa756
GM
175222011-05-22 Glenn Morris <rgm@gnu.org>
17523
17524 * files.el (hack-local-variables-prop-line): Small simplifications.
17525 (hack-local-variables, hack-local-variables-prop-line):
17526 If MODE-ONLY, return the mode, rather than just `t'.
17527
b7cf2c79
SM
175282011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
17529
17530 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17531
3f1a8558
GM
175322011-05-21 Glenn Morris <rgm@gnu.org>
17533
7e4ccca3
GM
17534 * files.el (hack-local-variables-prop-line, hack-local-variables):
17535 If only interested in the mode, don't bother doing the other stuff.
17536
637d46ca
GM
17537 * image-mode.el (image-after-revert-hook):
17538 Redraw all frames on which the image is visible. (Bug#8567)
17539
973d955b
GM
17540 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
17541
3f1a8558
GM
17542 * wid-edit.el (widget-checklist-match-inline):
17543 Fix 2011-04-19 change. (Bug#8649)
17544
96479927
SM
175452011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
17546
1dcf791f
SM
17547 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17548 Also allow singlespace after single-letter capitals followed by a dot.
17549
96479927
SM
17550 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17551 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17552
35fd0881
N
175532011-05-20 Nix <nix@esperi.org.uk>
17554
17555 * files.el (basic-save-buffer-2):
17556 Fix handling of break-hardlink-on-save with non-existent files.
17557
82745640
DD
175582011-05-19 Deniz Dogan <deniz@dogan.se>
17559
17560 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 17561 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 17562
4a720484
GM
175632011-05-19 Glenn Morris <rgm@gnu.org>
17564
d1f21341
GM
17565 * progmodes/f90.el (f90-type-def-re):
17566 Handle "type, bind(c)". (Bug#8691)
17567
4a720484
GM
17568 * emacs-lisp/autoload.el (batch-update-autoloads):
17569 Set autoload-excludes by parsing loadup.el rather than Makefiles.
17570
2fb0a219
MA
175712011-05-18 Michael Albinus <michael.albinus@gmx.de>
17572
17573 * net/tramp.el (tramp-process-actions): Set "first-password-request"
17574 property for the correct connection in case of multihops.
17575
e565dd37
GM
175762011-05-18 Glenn Morris <rgm@gnu.org>
17577
c2571358 17578 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
17579 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17580
e565dd37
GM
17581 Rationalize calendar handling of day and month abbrev-arrays.
17582 * calendar/calendar.el (calendar-customized-p): New function.
17583 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17584 (calendar-day-name-array, calendar-month-name-array): Doc fix.
17585 Add :set function.
17586 (calendar-abbrev-length, calendar-day-abbrev-array)
17587 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17588 (calendar-day-abbrev-array, calendar-month-abbrev-array):
17589 Elements may no longer be nil.
17590 (calendar-day-name, calendar-month-name):
17591 Update for changed nature of abbrev arrays.
17592 * calendar/diary-lib.el (diary-name-pattern):
17593 Update for changed nature of abbrev arrays.
17594 (diary-mark-entries-1): Update calendar-make-alist calls.
17595 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17596 * calendar/cal-html.el (cal-html-day-abbrev-array):
17597 Simply inherit from calendar-day-abbrev-array.
17598
1d99a745
SM
175992011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17600
17601 * progmodes/grep.el (grep-mode): Disable default
17602 compilation-directory-matcher setting (bug#8684).
17603
7c1d9aa0
MA
176042011-05-17 Michael Albinus <michael.albinus@gmx.de>
17605
17606 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17607 instead of "head" and "tail". There were problems with SunOS 5.9,
17608 and it performs better.
17609
3952e9d8
GM
176102011-05-17 Glenn Morris <rgm@gnu.org>
17611
2dd12e7f
GM
17612 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17613
e4157b9c
GM
17614 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17615 Replace obsolete function.
17616
8e249bbd
GM
17617 * shell.el (pcomplete-parse-arguments-function): Declare.
17618
3952e9d8
GM
17619 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
17620 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
17621 (appt-check): Doc fixes.
17622 (appt-disp-window-function, appt-delete-window-function):
17623 Remove needless special case in custom :type.
17624 (appt-display-count): Default to 0, not nil.
17625 (appt-check): Reset appt-display-count to 0, not nil.
17626
c71a0d48 176272011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 17628
c71a0d48
GM
17629 * progmodes/python.el (python-font-lock-keywords):
17630 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 17631
31d55be9
SM
176322011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
17633
17634 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
17635
3bfacb2f
KR
176362011-05-16 Kevin Ryde <user42@zip.com.au>
17637
17638 * info-look.el (makefile-automake-mode): New setups, looking in
17639 automake manual, then makefile-mode.
17640 (makefile-mode): Remove automake manual, have it just in
17641 makefile-automake-mode since there's various things different or
17642 not relevant to plain make.
17643 (makefile-mode): Remove "other-modes" non-existent automake-mode,
17644 believe a hypothetical automake-mode would go to makefile-mode,
17645 not the other way around.
17646
c8e83751
CY
176472011-05-15 Chong Yidong <cyd@stupidchicken.com>
17648
5e9e35cd
CY
17649 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
17650 hunk-end tags (Bug#8672).
17651
c8e83751
CY
17652 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
17653 vc-annotate-show-diff-revision-at-line (Bug#8671).
17654
50b23e5a
GM
176552011-05-14 Glenn Morris <rgm@gnu.org>
17656
7210a739
GM
17657 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
17658 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
17659 (change-log-font-lock-keywords): Also handle multiple author lines
17660 with leading tabs. (Bug#8644)
7210a739 17661
4691905a
GM
17662 * calendar/appt.el (appt-check): Rename some local variables.
17663 Some simplification/reordering.
17664
50b23e5a
GM
17665 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
17666 (feedmail-sendmail-f-doesnt-sell-me-out)
17667 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17668 (feedmail-debug-sit-for, feedmail-queue-express-hook)
17669 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
17670 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
17671 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
17672 (feedmail-binmail-gnulinuxish-template):
17673 Rename from feedmail-binmail-linuxish-template.
17674 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
17675 Use insert-buffer-substring.
17676
215cda7c
BC
176772011-05-14 Bill Carpenter <bill@carpenter.org>
17678
17679 * mail/feedmail.el (feedmail-patch-level): Increase.
17680 (feedmail-debug): New custom group.
17681 (feedmail-confirm-outgoing-timeout)
17682 (feedmail-sendmail-f-doesnt-sell-me-out)
17683 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17684 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
17685 (feedmail-sender-line, feedmail-from-line)
17686 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 17687 (feedmail-spray-this-address)
215cda7c
BC
17688 (feedmail-spray-address-fiddle-plex-list)
17689 (feedmail-queue-use-send-time-for-date)
17690 (feedmail-queue-use-send-time-for-message-id)
17691 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
17692 (feedmail-buffer-eating-function):
17693 Doc fixes.
17694 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
17695 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
17696 (feedmail-message-action-scroll-down): New functions.
17697 (feedmail-queue-directory, feedmail-queue-draft-directory):
17698 Use expand-file-name.
17699 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
17700 Remove C-v help entry.
17701 (feedmail-queue-buffer-file-name): New variable.
17702 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
17703 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
17704 (feedmail-message-action-send-strong, feedmail-message-action-edit)
17705 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
17706 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
17707 (feedmail-message-action-toggle-spray)
17708 (feedmail-run-the-queue-no-prompts)
17709 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
17710 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
17711 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
17712 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
17713 (feedmail-envelope-deducer, feedmail-fiddle-from)
17714 (feedmail-fiddle-sender, feedmail-default-date-generator)
17715 (feedmail-fiddle-date, feedmail-fiddle-message-id)
17716 (feedmail-fiddle-spray-address)
17717 (feedmail-fiddle-list-of-spray-fiddle-plexes)
17718 (feedmail-fiddle-list-of-fiddle-plexes)
17719 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
17720 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
17721 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
17722 Change default. Doc fix.
17723 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
17724 (feedmail-binmail-linuxish-template): New constant.
17725 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
17726 Respect feedmail-sendmail-f-doesnt-sell-me-out.
17727 (feedmail-send-it): Add debug call.
17728 Use feedmail-queue-buffer-file-name, and
17729 feedmail-send-it-immediately-wrapper.
17730 (feedmail-message-action-send): Add debug call.
17731 Use feedmail-send-it-immediately-wrapper.
17732 (feedmail-queue-express-to-queue): Add debug call.
17733 Run feedmail-queue-express-hook.
17734 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
17735 (feedmail-message-action-help-blat):
17736 Rename from feedmail-queue-send-edit-prompt-help-first.
17737 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
17738 Check line-endings. Handle errors better.
17739 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
17740 Doc fix. Add debug call.
17741 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
17742 Use feedmail-queue-send-edit-prompt-inner.
17743 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
17744 (feedmail-queue-send-edit-prompt-inner): New function, extracted
17745 from feedmail-queue-send-edit-prompt.
17746 (feedmail-queue-send-edit-prompt-help)
17747 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
17748 (feedmail-tidy-up-slug): Add debug call.
17749 Respect feedmail-queue-slug-suspect-regexp.
17750 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
17751 (feedmail-dump-message-to-queue): Add debug call.
17752 Expand queue-directory.
17753 (feedmail-dump-message-to-queue): Change message slightly.
17754 Use feedmail-say-chatter.
17755 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
17756 (feedmail-send-it-immediately-wrapper): New function.
17757 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
17758 Insert empty string rather than newline. Handle full-frame case.
17759 Use catch/throw. Use feedmail-say-chatter.
17760 (feedmail-fiddle-from): Try mail-host-address.
17761 (feedmail-default-message-id-generator): Doc fix.
17762 Bind system-time-locale. Handle missing end.
17763 (feedmail-fiddle-x-mailer): Add debug call.
17764 Handle feedmail-x-mailer-line being nil.
17765 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
17766 Add debug call. Use buffer-substring-no-properties.
17767 (feedmail-say-debug, feedmail-say-chatter): New functions.
17768 (feedmail-find-eoh): Give an explicit error.
17769
42c7e61e
UJ
177702011-05-13 Ulf Jasper <ulf.jasper@web.de>
17771
c2571358 17772 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 17773 family from helvetica to sans.
c2571358 17774 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17775 etc/images/newsticker.
17776
c2571358 17777 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
17778 family from helvetica to sans.
17779
17780 * net/newst-plainview.el (newsticker-new-item-face)
17781 (newsticker-old-item-face, newsticker-immortal-item-face)
17782 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 17783 (newsticker-statistics-face): Change default family from
42c7e61e 17784 helvetica to sans.
c2571358 17785 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17786 etc/images/newsticker.
17787
5d3385a0
JB
17788 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
17789 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
17790 auto-marking.
17791
8497a297
DV
177922011-05-13 Didier Verna <didier@xemacs.org>
17793
17794 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
17795 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
17796 TODO entries.
8497a297
DV
17797 (lisp-lambda-list-keyword-parameter-indentation)
17798 (lisp-lambda-list-keyword-parameter-alignment)
17799 (lisp-lambda-list-keyword-alignment): New customizable user options.
17800 (lisp-indent-defun-method): Improve docstring.
17801 (extended-loop-p): Fix comment.
17802 (lisp-indent-lambda-list-keywords-regexp): New variable.
17803 (lisp-indent-lambda-list): New function.
17804 (lisp-indent-259): Use it.
17805 (lisp-indent-defmethod): Support for more than one
17806 method qualifier and properly indent methods lambda-lists.
17807 (defgeneric): Provide a missing common-lisp-indent-function property.
17808
f278f87f
SM
178092011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
17810
17811 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
17812 bounds for the empty string (bug#8667).
17813
5233edd7
GM
178142011-05-13 Glenn Morris <rgm@gnu.org>
17815
5237a44f
GM
17816 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
17817
8340026c 17818 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 17819 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 17820
5233edd7 17821 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 17822 (appt-time-msg-list): Doc fix.
a5464014 17823 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 17824
92d10796
AS
178252011-05-12 Andreas Schwab <schwab@linux-m68k.org>
17826
17827 * progmodes/ld-script.el (ld-script-keywords)
17828 (ld-script-builtins): Update keywords list.
17829
914a0ae1
SM
178302011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17831
c89be45f
SM
17832 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
17833
914a0ae1
SM
17834 * shell.el (shell-completion-vars): New function.
17835 (shell-mode):
17836 * simple.el (read-shell-command): Use it.
17837 (blink-matching-open): No need for " [...]" in minibuffer-message.
17838
98dc3df3
GM
178392011-05-12 Glenn Morris <rgm@gnu.org>
17840
17841 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
17842 (appt-check): Simplify.
17843
d2fc7e3d 178442011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 17845
4d61f28d 17846 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
17847 literal "/dev/null".
17848
d2fc7e3d 178492011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
17850
17851 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
17852 Fix typo.
17853
d2fc7e3d 178542011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 17855
3f254caa
SM
17856 * progmodes/which-func.el (which-function):
17857 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
17858 which might not be defined (Bug#8260).
17859
d45885f7
GM
178602011-05-12 Glenn Morris <rgm@gnu.org>
17861
17862 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
17863 Let byte-compile-initial-macro-environment always take precedence.
17864
488086f4
SM
178652011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17866
17867 * net/rcirc.el: Add support for SSL/TLS connections.
17868 (rcirc-server-alist): New field `encryption'.
17869 (rcirc): Check `encryption' settings.
17870 (rcirc-connect): New arg `encryption'. Use open-network-stream.
17871 Merge make-local-variable into `set'.
17872 (rcirc--connection-open-p): New function.
17873 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
17874 the process is not a network process (e.g. running gnutls-cli).
17875 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
17876 Make rcirc-(en|de)code-coding-system local here.
17877 (rcirc-mode): Merge make-local-variable into `set'.
17878 (rcirc-parent-buffer): Make permanent buffer-local.
17879 (rcirc-multiline-minor-mode): Don't do it here.
17880 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
17881 there's no server buffer.
17882
7d3b9d44
GM
178832011-05-11 Glenn Morris <rgm@gnu.org>
17884
f64049c6
GM
17885 * newcomment.el (comment-kill): Prefix "unused" local.
17886
93c9df73
GM
17887 * term/w32console.el (get-screen-color): Declare.
17888
7d3b9d44
GM
17889 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
17890 Handle symbol elements of byte-compile-initial-macro-environment.
17891
9e2dd53f
LL
178922011-05-10 Leo Liu <sdl.web@gmail.com>
17893
488086f4
SM
17894 * bookmark.el (bookmark-bmenu-mode-map):
17895 Bind bookmark-bmenu-search to `/'.
8b340240 17896
9e2dd53f 17897 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
17898 (footnote-unicode-string, footnote-unicode-regexp): New variable.
17899 (Footnote-unicode): New function.
17900 (footnote-style-alist): Add unicode style to the list.
17901 (footnote-style): Doc fix.
9e2dd53f 17902
79b70037
GM
179032011-05-10 Jim Meyering <meyering@redhat.com>
17904
17905 Fix doubled-word typos.
17906 * international/quail.el (quail-insert-kbd-layout): and and -> and
17907 * kermit.el: and and -> and
17908 * net/ldap.el (ldap-search-internal): to to -> to
17909 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
17910 * progmodes/js.el (js-mode): and and -> and
17911 * textmodes/artist.el (artist-move-to-xy): at at -> at
17912 (artist-draw-region-trim-line-endings): if if -> if
17913 And Safetyc -> Safety.
17914 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
17915
b8f82dc1 179162011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 17917 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
17918
17919 * files.el (hack-one-local-variable-eval-safep):
17920 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
17921
4f99f44b
GM
179222011-05-10 Glenn Morris <rgm@gnu.org>
17923
17924 * calendar/diary-lib.el (diary-list-entries-hook)
17925 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
17926 (diary-nongregorian-marking-hook, diary-list-entries)
17927 (diary-include-other-diary-files, diary-mark-entries)
17928 (diary-mark-included-diary-files): Doc fixes.
17929
84f29e6b
JB
179302011-05-09 Juanma Barranquero <lekktu@gmail.com>
17931
17932 * misc.el: Require tabulated-list.el during compilation.
17933
9bedd73a
CY
179342011-05-09 Chong Yidong <cyd@stupidchicken.com>
17935
488086f4
SM
17936 * progmodes/compile.el (compilation-start):
17937 Run compilation-filter-hook for the async case too.
9bedd73a
CY
17938 (compilation-filter-hook): Doc fix.
17939
797c735c
DD
179402011-05-09 Deniz Dogan <deniz@dogan.se>
17941
17942 * wdired.el: Remove outdated installation comment. Fix usage
17943 comment.
17944
5f4b1dfe
JB
179452011-05-09 Juanma Barranquero <lekktu@gmail.com>
17946
17947 * misc.el: Implement new command `list-dynamic-libraries'.
17948 (list-dynamic-libraries--loaded-only-p): New variable.
17949 (list-dynamic-libraries--refresh): New function.
17950 (list-dynamic-libraries): New command.
17951
4c44026c
CY
179522011-05-09 Chong Yidong <cyd@stupidchicken.com>
17953
488086f4
SM
17954 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17955 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
17956 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
17957 higher priority to avoid clobbering by gnu.
17958
027f966d
CY
179592011-05-08 Chong Yidong <cyd@stupidchicken.com>
17960
17961 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
17962 if the face has existing theme settings (Bug#8454).
17963
085f5d7d
CY
179642011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
17965
488086f4
SM
17966 * progmodes/perl-mode.el (perl-imenu-generic-expression):
17967 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 17968
2a86a00c
RS
17969 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
17970 special file names `.' and `..' (Bug#8259).
17971
d9c54a06
CY
179722011-05-08 Chong Yidong <cyd@stupidchicken.com>
17973
488086f4
SM
17974 * progmodes/grep.el (grep-mode-font-lock-keywords):
17975 Remove buffer-changing entries.
d9c54a06
CY
17976 (grep-filter): New function.
17977 (grep-mode): Add it to compilation-filter-hook.
17978
17979 * progmodes/compile.el (compilation-filter-hook)
17980 (compilation-filter-start): New defvars.
17981 (compilation-filter): Call compilation-filter-hook prior to
17982 updating the process mark.
17983
c4662635
SM
179842011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17985
17986 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
17987
b0512a1d
EZ
179882011-05-07 Eli Zaretskii <eliz@gnu.org>
17989
605c9376
EZ
17990 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
17991 mailclient-send-it even if window-system is nil. (Bug#8595)
17992
c4662635
SM
17993 * term/w32console.el (terminal-init-w32console):
17994 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
17995 background-mode. (Bug#8597)
17996
d1dc2cc2
SM
179972011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
17998
17999 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18000 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18001 New functions.
18002 (defgeneric, eieio--defmethod): Use them.
18003 (eieio-defgeneric): Remove.
18004 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18005
915d1300
GM
180062011-05-07 Glenn Morris <rgm@gnu.org>
18007
a3961c3e
GM
18008 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18009 Use let rather than let*.
18010 (timeclock-find-discrep): Remove unused local.
18011
314347b9
GM
18012 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18013
915d1300
GM
18014 * calendar/appt.el (appt-time-msg-list): Doc fix.
18015
275b59b0
NF
180162011-05-06 Noah Friedman <friedman@splode.com>
18017
18018 * apropos.el (apropos-print-doc): Only use
18019 emacs-lisp-docstring-fill-column when it is bound to an integer,
18020 per that variable's documentation.
18021
6c19f744
SM
180222011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18023
18024 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 18025 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 18026
60f884b2
GM
180272011-05-06 Glenn Morris <rgm@gnu.org>
18028
5006e634
GM
18029 * calendar/appt.el (appt-message-warning-time): Doc fix.
18030 (appt-warning-time-regexp): New option.
18031 (appt-make-list): Respect appt-message-warning-time.
18032
548d0a63
GM
18033 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18034 New options.
18035 (diary-add-to-list): Strip comments from the displayed string.
18036 (diary-mode): Set comment-start and comment-end.
18037
60f884b2
GM
18038 * vc/diff-mode.el (smerge-refine-subst): Declare.
18039 (diff-refine-hunk): Don't require smerge-mode when compiling.
18040
989681bb
JB
180412011-05-06 Juanma Barranquero <lekktu@gmail.com>
18042
18043 * simple.el (list-processes): Return nil as the docstring says.
18044
a6bc05e1
MA
180452011-05-05 Michael Albinus <michael.albinus@gmx.de>
18046
18047 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18048 to "".
18049 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18050 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18051 determining of binary transfer. (Bug#7383)
18052
23c22e9a
MA
180532011-05-05 Michael Albinus <michael.albinus@gmx.de>
18054
c4662635
SM
18055 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18056 Fix port computation bug. (Bug#8618)
23c22e9a 18057
0bff894f
GM
180582011-05-05 Glenn Morris <rgm@gnu.org>
18059
b8296902
GM
18060 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18061
1f522ce8
GM
18062 * simple.el (shell-dynamic-complete-functions)
18063 (comint-dynamic-complete-functions): Declare.
18064
cf5bee67
GM
18065 * net/network-stream.el (gnutls-negotiate):
18066 * simple.el (tabulated-list-print): Fix declarations.
18067
18068 * progmodes/gud.el (syntax-symbol, syntax-point):
18069 Remove unnecessary and incorrect declarations.
18070
0bff894f
GM
18071 * emacs-lisp/check-declare.el (check-declare-scan):
18072 Handle byte-compile-initial-macro-environment in bytecomp.el
18073
9869b3ae
SM
180742011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18075
18076 Fix earlier half-done eieio-defmethod change (bug#8338).
18077 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18078 Streamline and change calling convention.
18079 (defmethod): Adjust accordingly and simplify.
18080 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18081 new eieio--defmethod.
18082 (slot-boundp): Minor CSE simplification.
18083
9c1d5ac5
MZ
180842011-05-05 Milan Zamazal <pdm@zamazal.org>
18085
18086 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18087 (glasses-make-readable): Use glasses-separate-capital-groups.
18088
455c834e
JB
180892011-05-05 Juanma Barranquero <lekktu@gmail.com>
18090
18091 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18092 (warning-series): Doc fix.
18093 (display-warning): Don't try to create the buffer if we just found it.
18094
9ed7c8cb
CY
180952011-05-04 Chong Yidong <cyd@stupidchicken.com>
18096
18097 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18098 (autoload-find-generated-file): New function.
18099 (generate-file-autoloads): Bind generated-autoload-file to
18100 buffer-file-name.
9869b3ae
SM
18101 (update-file-autoloads, update-directory-autoloads):
18102 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
18103 output file (Bug#7989).
18104 (batch-update-autoloads): Doc fix.
18105
0898ca10
JB
181062011-05-04 Juanma Barranquero <lekktu@gmail.com>
18107
18108 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18109
31dfb76c
GM
181102011-05-04 Glenn Morris <rgm@gnu.org>
18111
f330b642
GM
18112 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18113 function, so it follows changes in calendar-date-style.
18114 (diary-fancy-date-matcher): New function.
18115 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18116 (diary-fancy-font-lock-fontify-region-function):
18117 Use diary-fancy-date-pattern as a function.
18118
31dfb76c
GM
18119 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18120 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18121
48e79d6a
TZ
181222011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18123
18124 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18125 instead of positional arguments. Allow :keylist and :crlfiles
18126 arguments.
18127 (open-gnutls-stream): Call it.
18128
18129 * net/network-stream.el (network-stream-open-starttls): Adjust to
18130 call `gnutls-negotiate' with :process and :hostname arguments.
18131
dd5a5ee0
SM
181322011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18133
ef80fc09
SM
18134 * minibuffer.el (completion--message): New function.
18135 (completion--do-completion, minibuffer-complete)
18136 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18137 (completion--do-completion): Don't ignore completion-auto-help when in
18138 icomplete-mode.
18139
dd5a5ee0
SM
18140 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18141 internal encoding (e.g. tibetan zero is not whitespace).
18142 (global-whitespace-mode): Prefer save-current-buffer.
18143 (whitespace-trailing-regexp): Remove useless save-match-data.
18144 (whitespace-empty-at-bob-regexp): Minor simplification.
18145
b7d22a83
CY
181462011-05-03 Chong Yidong <cyd@stupidchicken.com>
18147
18148 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18149
5192af46
AM
181502011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18151
18152 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 18153 Use `concat' to create string for insertion.
5192af46 18154
5767d190
SM
181552011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18156
18157 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18158 Avoid open-line which runs post-self-insert-hook.
18159 (bibtex-fill-entry): Remove unused `end' var.
18160
bf242939
AM
181612011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18162
5767d190
SM
18163 * textmodes/ispell.el (ispell-add-per-file-word-list):
18164 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 18165
25666126
LL
181662011-05-03 Leo Liu <sdl.web@gmail.com>
18167
18168 * isearch.el (isearch-yank-pop): New command.
5767d190 18169 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
18170 (isearch-forward): Mention it.
18171
52d3c2d0
SM
181722011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18173
1bcace58
SM
18174 * simple.el (minibuffer-complete-shell-command): Remove.
18175 (minibuffer-local-shell-command-map): Use completion-at-point.
18176 (read-shell-command): Setup completion vars here instead.
18177 (read-expression-map): Bind TAB to symbol completion.
18178
52d3c2d0
SM
18179 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18180 error directly rather via storing it into `results'.
18181
35813471
LL
181822011-05-02 Leo Liu <sdl.web@gmail.com>
18183
18184 * vc/diff.el: Fix description.
18185
e793a940
LMI
181862011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18187
18188 * server.el (server-eval-at): New function.
18189
8de66e05
LMI
181902011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18191
18192 * net/network-stream.el (open-network-stream): Take a :nowait
18193 parameter and pass it on to `make-network-process'.
18194 (network-stream-open-plain): Ditto.
18195
dcb79f20
AS
181962011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18197
18198 * faces.el (face-spec-set-match-display): Don't match toolkit
18199 options on terminal frames.
18200
14a7fbd8
SM
182012011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18202
7eabc1be
SM
18203 * progmodes/pascal.el: Use lexical binding.
18204 (pascal-mode-map): Remove author preferences.
18205
14a7fbd8
SM
18206 * pcomplete.el (pcomplete-std-complete): Don't abuse
18207 completion-at-point.
18208
50f84510
JB
182092011-04-28 Juanma Barranquero <lekktu@gmail.com>
18210
6e087a44
JB
18211 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18212 removing code that has been dead since 1991 or so.
18213
50f84510
JB
18214 * startup.el (command-line): When warning about "_emacs", use a
18215 delayed warning to allow the user to filter it out.
18216
0ba690bd
DD
182172011-04-28 Deniz Dogan <deniz@dogan.se>
18218
18219 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18220 user has not joined.
18221
08abfaad
SM
182222011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18223
18224 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18225 aren't any completions at point.
18226
638f053a
JB
182272011-04-28 Juanma Barranquero <lekktu@gmail.com>
18228
18229 * subr.el (display-delayed-warnings): New function.
18230 (delayed-warnings-hook): New variable.
18231
8fff8daa
SM
182322011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18233
08abfaad
SM
18234 * minibuffer.el (completion-at-point, completion-help-at-point):
18235 Don't presume that a given completion-at-point-function will always
18236 use the same calling convention.
18237
8fff8daa
SM
18238 * pcomplete.el (pcomplete-completions-at-point):
18239 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18240 pcomplete-seen is non-nil.
18241 (pcomplete-comint-setup): Also recognize the new comint/shell
18242 completion functions.
18243 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18244 pcomplete-seen is non-nil.
18245
841a1577 182462011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 18247
841a1577 18248 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 18249 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 18250 the first character in the entry. This allows for code to add its
211ec907
UJ
18251 own uid to the entry.
18252 (icalendar--convert-float-to-ical): Add export of
18253 `diary-float'-entries save for those with the optional DAY
18254 argument.
18255
2a782793
DC
182562011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18257
18258 * subr.el (shell-quote-argument): Use alternate escaping strategy
18259 when we spot a variable reference in a string.
18260
0438ce91
DC
182612011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18262
18263 * cus-start.el (all): Define customization for debug-on-event.
18264
841a1577 182652011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
18266
18267 * subr.el (shell-quote-argument): Escape correctly under Windows.
18268
d090ed6c
SM
182692011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18270
18271 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18272
bfd31217
MA
182732011-04-25 Michael Albinus <michael.albinus@gmx.de>
18274
d090ed6c
SM
18275 * net/tramp.el (tramp-process-actions): Add POS argument.
18276 Delete region between POS and (pos).
bfd31217 18277
d090ed6c
SM
18278 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18279 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
18280 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18281
18282 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18283 position in `tramp-process-actions' call.
18284
18285 * net/trampver.el: Update release number.
18286
e92f3bd3
SM
182872011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18288
850256b5
SM
18289 * custom.el (defcustom): Obey lexical-binding.
18290
e92f3bd3
SM
18291 Fix octave-inf completion problems reported by Alexander Klimov.
18292 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18293 Inherit from octave-mode-syntax-table.
18294 (inferior-octave-mode): Set info-lookup-mode.
18295 (inferior-octave-completion-at-point): New function.
18296 (inferior-octave-complete): Use it and completion-in-region.
18297 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18298 comint-filename-completion.
18299 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18300 symbol elements which shouldn't be word elements.
18301 (octave-font-lock-keywords, octave-beginning-of-defun)
18302 (octave-function-header-regexp): Adjust regexps accordingly.
18303 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18304
cd22b309
JB
183052011-04-25 Juanma Barranquero <lekktu@gmail.com>
18306
18307 * net/gnutls.el (gnutls-errorp): Declare before first use.
18308
8b492194
TZ
183092011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18310
18311 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18312 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 18313 default trustfile exists before going to use it. Add missing
5a5fa834 18314 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
18315 Reported by Claudio Bley <claudio.bley@gmail.com>.
18316 (open-gnutls-stream): Add usage example.
18317
18318 * net/network-stream.el (network-stream-open-starttls): Give host
18319 parameter to `gnutls-negotiate'.
18320 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 18321 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 18322
841a1577 183232011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 18324
cd22b309
JB
18325 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18326 Use correct match group (bug#8438).
05842630 18327
3ba7869c
CY
183282011-04-24 Chong Yidong <cyd@stupidchicken.com>
18329
512e3ae1
CY
18330 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18331 (package-menu--generate): New arg specifying packages to show.
18332 (package-menu-refresh, package-menu-execute, list-packages):
18333 Callers changed.
18334 (package-show-package-list): New function, replacing deleted
18335 package--list-packages (renamed because it is non-internal).
18336
18337 * finder.el (finder-list-matches): Use package-show-package-list
18338 instead of deleted package--list-packages.
18339
e92f3bd3
SM
18340 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18341 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
18342 (vc-annotate-mode-map): Bind it to RET.
18343
7031be6d
UR
183442011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18345
18346 * progmodes/etags.el (next-file): Don't use set-buffer to change
18347 buffers (Bug#8478).
18348
4ef177aa
CY
183492011-04-24 Chong Yidong <cyd@stupidchicken.com>
18350
c8d173eb
CY
18351 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18352
4ef177aa
CY
18353 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18354 (apropos-accumulator): Doc fix.
18355 (apropos-function, apropos-macro, apropos-command)
18356 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18357 (apropos-plist): Add face property.
18358 (apropos-symbols-internal): Fix indentation.
18359 (apropos-print): Simplify help, and recognize apropos-multi-type.
18360 (apropos-print-doc): Use button-type-get to extract the button's
18361 face property. Fill docstring (Bug#8352).
18362
4ffd0d6b 183632011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
18364
18365 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18366
c6c32125 18367 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 18368 (mpuz-mode-map): Use mapc.
c6c32125
JB
18369 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18370 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18371 Fix typos in docstrings.
18372
58d468b4
JB
18373 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18374 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18375
6470c3c6
JB
18376 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18377
4ffd0d6b 183782011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
18379
18380 * minibuffer.el (completion--do-completion): Avoid the "Next char
18381 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18382
3ad8bad0
CY
18383 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18384 mouse-2 into unread-command-events, it is interpreted correctly.
18385
71d73c9c 18386 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 18387 (image-toggle-display): Doc fix.
71d73c9c 18388
841a1577 183892011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 18390
4ffd0d6b
GM
18391 * textmodes/page.el (what-page): Use line-number-at-pos to
18392 calculate line number (Bug#6825).
6e1dbaa9 18393
c2fb1b60
JB
183942011-04-22 Juanma Barranquero <lekktu@gmail.com>
18395
18396 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18397 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18398 Pass argument NO-DEFAULT to `find-tag-interactive'.
18399
e02f48d7
JB
184002011-04-22 Juanma Barranquero <lekktu@gmail.com>
18401
18402 Lexical-binding cleanup.
18403
18404 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18405 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18406 * progmodes/ada-prj.el (ada-prj-initialize-values)
18407 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18408 (ada-prj-show-value):
18409 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18410 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18411 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18412 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18413 * progmodes/bug-reference.el (bug-reference-push-button):
18414 * progmodes/fortran.el (fortran-line-length):
18415 * progmodes/glasses.el (glasses-change):
18416 * progmodes/octave-mod.el (octave-fill-paragraph):
18417 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18418 (python-pdbtrack-grub-for-buffer, python-sentinel):
18419 * progmodes/sql.el (sql-save-connection):
18420 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18421 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18422 Mark unused parameters.
18423
18424 * progmodes/compile.el (compilation--flush-directory-cache)
18425 (compilation--flush-parse, compile-internal): Mark unused parameters.
18426 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18427 (compilation-next-error-function): Remove unused variable `timestamp'.
18428
18429 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18430 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18431
18432 * progmodes/dcl-mode.el (dcl-end-of-command):
18433 Remove unused variable `start'.
18434 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18435 (dcl-option-value-basic, dcl-option-value-offset)
18436 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18437 Mark unused parameters.
18438 (dcl-save-local-variable): Remove unused variable `val'.
18439 (mode): Declare.
18440
18441 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18442 Mark unused parameters.
18443 (delphi-ignore-changes): Move before first use.
18444 (delphi-charset-token-at): Remove unused variable `start'.
18445 (delphi-else-start): Remove unused variable `if-count'.
18446 (delphi-comment-block-start, delphi-comment-block-end):
18447 Remove unused variable `kind'.
18448 (delphi-indent-line): Remove unused variable `new-point'.
18449
18450 * progmodes/ebrowse.el (ebrowse-files-list)
18451 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18452 Mark unused parameters. Don't quote `lambda'.
18453 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18454 Don't quote `lambda'.
18455 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18456 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18457 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18458 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18459 Use `ignore-errors'.
18460 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18461 (ebrowse-view/find-file-and-search-pattern)
18462 (ebrowse-view/find-member-declaration/definition):
18463 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18464 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18465 Rename parameter PREFIX-ARG to PREFIX.
18466 (ebrowse-tags-read-name): Remove unused variables `start' and
18467 `member-info'.
18468 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18469 to `tags-file'.
18470
18471 * progmodes/etags.el (local-find-tag-hook): Declare.
18472 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18473 Mark unused parameters.
18474
18475 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18476 (executable-interpret): Mark unused parameter.
18477
18478 * progmodes/flymake.el (flymake-process-sentinel)
18479 (flymake-after-change-function)
18480 (flymake-create-temp-with-folder-structure)
18481 (flymake-get-include-dirs-dot): Mark unused parameters.
18482 (flymake-safe-delete-directory): Remove unused variable `err'.
18483
18484 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18485 (speedbar-timer-fn, speedbar-line-text)
18486 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18487 (speedbar-center-buffer-smartly): Declare functions.
18488 (gdb-find-watch-expression): Remove unused variable `array'.
18489 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18490 (gdb-starting): Mark unused parameters.
18491 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18492 (gdb-table-string): Remove unused variable `res'.
18493 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18494 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18495 (gdb-display-buffer): Remove unused variable `cur-size'.
18496
18497 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18498 allow lexical-binding compilation.
18499 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18500 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18501 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18502 Mark unused parameters.
18503 (gud-gdb-marker-filter): Remove unused variable `match'.
18504 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18505 lambda expressions and funcall them, instead of using `fset'.
18506
18507 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18508 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18509
18510 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18511 variable `header-beg'; use `let'.
18512
18513 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18514 `restart', `last-sexp' and `at-do'.
18515
18516 * progmodes/js.el (js--debug): Mark unused parameter.
18517 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18518 (js--splice-into-items): Remove unused variable `item'.
18519 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18520
18521 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18522 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18523 (makefile-complete): Remove unused variable `try'.
18524 (makefile-fill-paragraph, makefile-match-function-end):
18525 Mark unused parameters.
18526
18527 * progmodes/octave-inf.el (inferior-octave-complete):
18528 Remove unused variable `proc'.
18529 (inferior-octave-output-digest): Mark unused parameter.
18530
18531 * progmodes/perl-mode.el (perl-calculate-indent):
18532 Remove unused variable `err'.
18533
18534 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18535 (prolog-indent-line): Mark unused parameters.
18536 (prolog-indent-line): Remove unused variable `beg'.
18537
18538 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18539 (reporter-dont-compact-list): Declare.
18540
18541 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18542 Remove unused variable `char'.
18543 (sh-debug): Mark unused parameter.
18544 (sh-get-indent-info): Remove unused variable `start'.
18545 (sh-calculate-indent): Remove unused variable `var'.
18546
18547 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18548 (simula-electric-keyword): Remove unused variable `null'.
18549 (simula-search-backward, simula-search-forward): Remove unused
18550 variables `begin' and `end'.
18551
18552 * progmodes/vera-mode.el (vera-guess-basic-syntax):
18553 Remove unused variable `pos'.
18554 (vera-electric-tab, vera-comment-uncomment-region):
18555 Mark unused parameters.
18556 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18557
7ede3b65
CY
185582011-04-22 Chong Yidong <cyd@stupidchicken.com>
18559
18560 * emacs-lisp/package.el (package--builtins, package-alist)
18561 (package-load-descriptor, package-built-in-p, package-activate)
18562 (define-package, package-installed-p)
18563 (package-compute-transaction, package-buffer-info)
18564 (package--push): Doc fix. Distinguish more clearly between
18565 version strings and version lists.
18566
121656e9
JB
185672011-04-21 Juanma Barranquero <lekktu@gmail.com>
18568
18569 Lexical-binding cleanup.
18570
18571 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18572 (5x5-make-mutate-best):
18573 * play/fortune.el (fortune-in-buffer):
18574 * play/gomoku.el (gomoku-init-display):
18575 * play/solitaire.el (solitaire, solitaire-do-check):
18576 * play/tetris.el (tetris-default-update-speed-function):
18577 Mark unused parameters.
18578
18579 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18580 (bubbles--shift): Remove unused variable `char-org'.
18581 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
18582 (bubbles--show-images): Remove unused variable `char'.
18583
18584 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18585 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18586 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18587 (decipher-analyze-buffer): Use ?\s.
18588 (decipher-make-checkpoint): Remove unused variable `mapping'.
18589
18590 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18591
18592 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18593 Remove unused variable `result'; use `let'.
18594
18595 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18596 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18597 (gametree-children-shown-p, gametree-compute-reduced-score):
18598 Use `ignore-errors'.
18599
18600 * play/handwrite.el (ps-lpr-switches): Declare.
18601 (handwrite): Remove unused variables `pmin' and `lastp'.
18602
18603 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18604
18605 * play/landmark.el (landmark-init-display)
18606 (landmark-update-naught-weights): Mark unused parameters.
18607 (landmark-y): Remove unused variable `noise'. Simplify.
18608 (landmark-human-plays): Remove unused variable `score'.
18609
18610 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18611 (mpuz-try-proposal): Remove unused variable `game'.
18612
18613 * play/zone.el (life-patterns): Declare.
18614
80f499c7
JB
186152011-04-20 Juanma Barranquero <lekktu@gmail.com>
18616
18617 * vc/vc.el (ediff-vc-internal): Declare function.
18618
024ff170
SM
186192011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18620
c0a193ea
SM
18621 * shell.el: Use lexical-binding and std completion UI.
18622 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18623 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18624 comint-preoutput-filter-functions rather than on
18625 comint-output-filter-functions.
18626 (shell-command-completion, shell--command-completion-data)
18627 (shell-filename-completion, shell-environment-variable-completion)
18628 (shell-c-a-p-replace-by-expanded-directory): New functions.
18629 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
18630 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
18631 (shell-dynamic-complete-environment-variable): Use them.
18632 (shell-dynamic-complete-as-environment-variable)
18633 (shell-dynamic-complete-as-command): Remove.
18634 (shell-match-partial-variable): Match past point.
18635 * comint.el: Clean up use of completion-at-point-functions.
18636 (comint-completion-at-point): New function.
18637 (comint-mode): Use it completion-at-point-functions.
18638 (comint-dynamic-complete): Make it obsolete.
18639 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
18640 (comint-c-a-p-replace-by-expanded-history): New function.
18641 (comint-dynamic-complete-functions)
18642 (comint-replace-by-expanded-history): Use it.
18643 * minibuffer.el (completion-table-with-terminator): Allow dynamic
18644 termination strings. Try harder to avoid second try-completion.
18645 (completion-in-region-mode-map): Disable bindings that don't work yet.
18646
2dbaa080
SM
18647 * comint.el: Use lexical-binding. Require CL.
18648 (comint-dynamic-complete-functions): Use comint-filename-completion.
18649 (comint-completion-addsuffix): Tweak custom type.
18650 (comint-filename-completion, comint--common-suffix)
18651 (comint--common-quoted-suffix, comint--table-subvert)
18652 (comint--complete-file-name-data): New functions.
18653 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
18654 (comint-dynamic-list-filename-completions): Use them.
18655 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 18656
2dbaa080
SM
18657 * minibuffer.el (completion-in-region-mode):
18658 Keep completion-in-region-mode--predicate global.
18659 (completion-in-region--postch):
18660 Assume completion-in-region-mode--predicate is not null.
18661
c79a6f38
SM
18662 * progmodes/flymake.el (flymake-start-syntax-check-process):
18663 Obey `dir'. Simplify.
18664
024ff170
SM
18665 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
18666 we're in VC after all.
18667
1c6c854e
CS
186682011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
18669
18670 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 18671 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
18672 (vc-version-diff): Use vc-diff-build-argument-list-internal.
18673
bed7f140
SM
186742011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18675
332e62ab
SM
18676 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
18677 add sanity check.
18678
bed7f140
SM
18679 * obsolete/erc-hecomplete.el: Make obsolete.
18680 * obsolete/: Standardize obsolescence info in the header.
18681
f195c582
GM
186822011-04-20 Glenn Morris <rgm@gnu.org>
18683
18684 * calendar/solar.el (solar-horizontal-coordinates):
18685 Use the longitude argument rather than `calendar-longitude'.
18686 (solar-date-next-longitude): Remove unused locals.
18687
cb79b8c0
VJL
186882011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18689
18690 * whitespace.el: New version 13.2.1.
18691
186922011-04-20 felix <EmacsWiki> (tiny change)
18693
d8e4b68b 18694 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
18695 switching between major modes on a file.
18696
602ea69d
SM
186972011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
18698
18699 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
18700 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
18701 multi-line comments as well.
18702
06b60517
JB
187032011-04-19 Juanma Barranquero <lekktu@gmail.com>
18704
18705 Lexical-binding cleanup.
18706
18707 * arc-mode.el (archive-mode-revert):
18708 * cmuscheme.el (scheme-interactively-start-process):
18709 * custom.el (custom-initialize-delay):
18710 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
18711 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
18712 * emacs-lock.el (emacs-lock-clear-sentinel):
18713 * ezimage.el (defezimage):
18714 * follow.el (follow-avoid-tail-recenter):
18715 * fringe.el (set-fringe-mode-1):
18716 * generic-x.el (bat-generic-mode-compile):
18717 * help-mode.el (help-info-variable, help-do-xref)
18718 (help-mode-revert-buffer):
18719 * help.el (view-emacs-todo):
18720 * iswitchb.el (iswitchb-completion-help):
18721 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
18722 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
18723 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
18724 * locate.el (locate-update):
18725 * longlines.el (longlines-encode-region)
18726 (longlines-after-change-function):
18727 * outline.el (outline-isearch-open-invisible):
18728 * ps-def.el (declare-function, charset-dimension, char-width)
18729 (encode-char):
18730 * ps-mule.el (ps-mule-plot-string):
18731 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
18732 (recentf-edit-list-select, recentf-edit-list-validate)
18733 (recentf-open-files-action):
18734 * rect.el (delete-whitespace-rectangle-line)
18735 (rectangle-number-line-callback):
18736 * register.el (window-configuration-to-register)
18737 (frame-configuration-to-register):
18738 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
18739 * select.el (xselect-convert-to-string, xselect-convert-to-length)
18740 (xselect-convert-to-targets, xselect-convert-to-delete)
18741 (xselect-convert-to-filename, xselect-convert-to-charpos)
18742 (xselect-convert-to-lineno, xselect-convert-to-colno)
18743 (xselect-convert-to-os, xselect-convert-to-host)
18744 (xselect-convert-to-user, xselect-convert-to-class)
18745 (xselect-convert-to-name, xselect-convert-to-integer)
18746 (xselect-convert-to-atom, xselect-convert-to-identity):
18747 * subr.el (declare, ignore, process-kill-without-query)
18748 (text-clone-maintain):
18749 * terminal.el (te-get-char, te-tic-sentinel):
18750 * tool-bar.el (tool-bar-make-keymap):
18751 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
18752 * type-break.el (type-break-mode, type-break-noninteractive-query):
18753 * view.el (View-back-to-mark):
18754 * wid-browse.el (widget-browse-action, widget-browse-widget)
18755 (widget-browse-widgets, widget-browse-sexp):
18756 * widget.el (define-widget-keywords):
18757 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
18758 Mark unused parameters.
18759
18760 * align.el (align-adjust-col-for-rule): Mark unused parameter.
18761 (align-areas): Remove unused variable `look'.
18762 (align-region): Remove unused variables `real-end' and `pos-list'.
18763
18764 * apropos.el (apropos-score-doc): Remove unused variable `i'.
18765
18766 * bindings.el (mode-line-modified, mode-line-remote):
18767 Mark unused parameters.
18768 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
18769
18770 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
18771 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
18772
18773 * comint.el (comint-history-isearch-pop-state)
18774 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
18775 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
18776 (comint-substitute-in-file-name): Doc fix.
18777
18778 * completion.el (cmpl-statistics-block): Mark unused parameter.
18779 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
18780 (save-completions-to-file, load-completions-from-file):
18781 Remove unused local variable `e'.
18782
18783 * composite.el (compose-chars): Remove unused variable `len'.
18784 (lgstring-insert-glyph): Remove unused variable `g'.
18785 (compose-glyph-string): Remove unused variables `ascent',
18786 `descent', `lbearing' and `rbearing'.
18787 (compose-glyph-string-relative): Remove unused variables
18788 `lbearing', `rbearing' and `wadjust'.
18789 (compose-gstring-for-graphic): Remove unused variables `header',
18790 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
18791 (compose-gstring-for-terminal): Remove unused variables `header'
18792 and `nchars'. Use `let', not `let*'.
18793
18794 * cus-edit.el (Custom-set, Custom-save, custom-reset)
18795 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
18796 (Custom-buffer-done, custom-buffer-create-internal)
18797 (custom-browse-visibility-action, custom-browse-group-tag-action)
18798 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
18799 (widget-magic-mouse-down-action, custom-toggle-parent)
18800 (custom-add-parent-links, custom-toggle-hide-variable)
18801 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
18802 (custom-toggle-hide-face, face, hook, custom-group-link-action)
18803 (custom-face-menu-create, custom-variable-menu-create, get)
18804 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
18805 (custom-reset-standard-save-and-update): Remove unused variable `value'.
18806 (customize-apropos): Remove unused variable `tests'.
18807 (custom-group-value-create): Remove unused variable `hidden-p'.
18808 (sort-fold-case): Declare.
18809
18810 * cus-theme.el (custom-reset-standard-faces-list)
18811 (custom-reset-standard-variables-list): Declare.
18812 (customize-create-theme, custom-theme-revert, custom-theme-write)
18813 (custom-theme-choose-mode, customize-themes, custom-theme-save):
18814 Mark unused parameters.
18815
18816 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
18817
18818 * delim-col.el (delimit-columns-max): Move defvar before first use.
18819
18820 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 18821 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
18822
18823 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
18824 (auto-insert): Declare.
18825 (desktop-restore-file-buffer): Rename desktop-* parameters;
18826 mark unused ones.
18827 (desktop-create-buffer): Rename desktop-* parameters and bind them.
18828 (desktop-buffer): Rename desktop-* parameters.
18829
18830 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18831 (dframe-reposition-frame-xemacs, dframe-help-echo)
18832 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
18833 Mark unused parameters.
18834
18835 * dired-aux.el (backup-extract-version-start, overwrite-query)
18836 (overwrite-backup-query, rename-regexp-query)
18837 (rename-non-directory-query): Declare.
18838 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
18839 (dired-add-entry): Remove unused variable `orig-file-name'.
18840 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
18841 Use parameter PRESERVE-TIME instead of accessing dynamic variable
18842 `dired-copy-preserve-time' directly.
18843 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
18844 (dired-insert-subdir-newpos): Rename unused variable `pos'.
18845
18846 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
18847 (dired-virtual-revert, dired-make-relative-symlink):
18848 Mark unused parameters.
18849 (manual-program): Declare.
18850 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
18851 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
18852 wrapped in `with-no-warnings' to avoid replacing one warning by another.
18853
18854 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
18855
18856 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
18857
18858 * echistory.el (electric-history-in-progress, Helper-return-blurb):
18859 Declare.
18860
18861 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
18862
18863 * electric.el (Electric-command-loop): Rename parameter
18864 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
18865
18866 * expand.el (expand-in-literal): Remove unused variable `here'.
18867
18868 * facemenu.el (facemenu-add-new-color):
18869 Remove unused variable `docstring'.
18870
18871 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
18872 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
18873 (face-attr-construct): Mark unused parameter. Doc fix.
18874 (read-color): Remove unused variable `hex-string'.
18875
18876 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
18877 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
18878 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
18879 (display-buffer-other-frame): Remove unused variable `old-window'.
18880 (kill-buffer-hook): Declare.
18881 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
18882 Mark unused parameters.
18883 (after-find-file): Pass 1 to `auto-save-mode', not t.
18884
18885 * files-x.el (auto-insert): Declare.
18886 (modify-file-local-variable-prop-line): Remove unused variable `val'.
18887
18888 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 18889 variable `buf'. Mark unused parameter.
06b60517
JB
18890 (find-lisp-insert-directory): Mark unused parameter.
18891
18892 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
18893 (format-encode-region): Remove unused variables `cur-buf' and `result'.
18894 (format-common-tail): Remove, unused.
18895 (format-deannotate-region): Remove unused variable `loc'.
18896 (format-annotate-region): Remove unused variable `p'.
18897 (format-annotate-single-property-change): Remove unused variables
18898 `default' and `tail'.
18899
18900 * forms.el (read-file-filter): Declare.
18901 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
18902
18903 * frame.el (frame-creation-function-alist): Mark unused parameter.
18904 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
18905
18906 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
18907 Remove unused parameters.
18908 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
18909 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
18910
18911 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
18912 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
18913 (hfy-prepare-tag-map): Mark unused parameters.
18914 (htmlfontify-buffer): Use `called-interactively-p'.
18915
18916 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
18917 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
18918 (ibuffer-do-occur): Mark unused parameters.
18919 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
18920 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
18921
18922 * ibuffer.el: Don't quote `lambda'.
18923 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
18924 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
18925 Mark unused parameters.
18926
18927 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
18928 (ido-completing-read): Mark unused parameters.
18929 (ido-copy-current-word): Mark unused parameters;
18930 remove unused variable `name'.
18931 (ido-sort-merged-list): Remove unused parameter `dirs'.
18932
18933 * ielm.el (ielm-input-sender): Mark unused parameter.
18934 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
18935 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
18936 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
18937 `ielm-string' as a dynamic variable accessible from the IELM prompt.
18938 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
18939
18940 * image-dired.el (image-dired-display-thumbs): Remove unused
18941 variables `curr-file' and `count'.
18942 (image-dired-remove-tag): Remove unused variable `start'.
18943 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
18944 variable `curr-file'
18945 (image-dired-rotate-original): Remove unused variable `temp-file'.
18946 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
18947 Remove unused variable `file'.
18948 (image-dired-gallery-generate): Remove unused variable `curr'.
18949 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
18950
18951 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
18952
18953 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
18954
18955 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
18956
18957 * isearch.el (minibuffer-history-symbol): Declare.
18958 (isearch-edit-string): Remove unused variable `err'.
18959 (isearch-message-prefix, isearch-message-suffix):
18960 Mark unused parameters.
18961
18962 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
18963
18964 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
18965
18966 * makesum.el (double-column): Remove unused variable `cnt'.
18967
18968 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
18969 (ido-ignore-item-temp-list): Declare.
18970
18971 * mouse-drag.el (mouse-drag-throw): Remove unused variables
18972 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
18973 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
18974 (mouse-drag-drag): Remove unused variables `mouse-delta' and
18975 `mouse-col-delta'.
18976
18977 * mouse-sel.el (mouse-extend-internal):
18978 Remove unused variable `orig-window-frame'.
18979
18980 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
18981 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
18982 Move declarations before first use.
18983 (pcomplete-opt): Mark unused parameters; doc fix.
18984
18985 * proced.el (proced-revert): Mark unused parameter.
18986 (proced-send-signal): Remove unused variable `err'.
18987
18988 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
18989 Rename parameter PREFIX-ARG to ARG.
18990 (ps-basic-plot-string, ps-basic-plot-whitespace):
18991 Mark unused parameters.
18992
18993 * replace.el (replace-count): Define.
18994 (occur-revert-function): Mark unused parameters.
18995 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
18996 (isearch-case-fold-search, isearch-string): Declare.
18997 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
18998 bind `case-fold-search'. Remove unused variables `beg' and `end',
18999 and simplify.
19000 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19001 COUNT and bind `replace-count'.
19002 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19003 to COUNT.
19004
19005 * savehist.el (print-readably, print-string-length): Declare.
19006
19007 * shadowfile.el (shadow-expand-cluster-in-file-name):
19008 Remove unused variable `cluster'.
19009 (shadow-copy-file): Remove unused variable `i'.
19010 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19011 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19012 (shadow-define-literal-group, shadow-define-regexp-group)
19013 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19014
19015 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19016 (shell): Use `called-interactively-p'.
19017 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19018
19019 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19020 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19021 (delete-backward-char): Remove unused variable `ocol'.
19022 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19023 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19024 (event-apply-hyper-modifier, event-apply-shift-modifier)
19025 (event-apply-control-modifier, event-apply-meta-modifier):
19026 Mark unused parameters.
19027 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19028 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19029
19030 * speedbar.el (speedbar-ignored-directory-expressions)
19031 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19032 (speedbar-find-file, speedbar-dir-follow)
19033 (speedbar-directory-buttons-follow, speedbar-tag-find)
19034 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19035 (speedbar-buffers-line-directory, speedbar-buffer-click):
19036 Mark unused parameters.
19037 (speedbar-tag-file): Remove unused variable `mode'.
19038 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19039
19040 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19041
19042 * talk.el (talk): Remove unused variable `display'.
19043
19044 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19045 (tar-write-region-annotate): Mark unused parameter.
19046
19047 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19048 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19049 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19050 warning by another.
19051
19052 * time-stamp.el (time-stamp-string-preprocess):
19053 Remove unused variable `require-padding'.
19054
19055 * tree-widget.el (widget-glyph-enable): Declare.
19056 (tree-widget-action): Mark unused parameter.
19057
19058 * w32-fns.el (x-get-selection): Mark unused parameter.
19059 (autoload-make-program, generated-autoload-file): Declare.
19060
19061 * wdired.el (wdired-revert): Mark unused parameters.
19062 (wdired-xcase-word): Remove unused variable `err'.
19063
19064 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19065 (whitespace-help-scroll): Remove unused variable `data-help'.
19066
19067 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19068 (widget-image-insert, widget-after-change, default)
19069 (widget-default-format-handler, widget-default-notify)
19070 (widget-default-prompt-value, widget-info-link-action)
19071 (widget-url-link-action, widget-function-link-action)
19072 (widget-variable-link-action, widget-file-link-action)
19073 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19074 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19075 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19076 (widget-insert-button-action, widget-delete-button-action, visibility)
19077 (widget-documentation-link-action, widget-documentation-string-action)
19078 (widget-const-prompt-value, widget-regexp-match, symbol)
19079 (widget-coding-system-prompt-value)
19080 (widget-key-sequence-value-to-external, sexp)
19081 (widget-sexp-value-to-internal, character, vector, cons)
19082 (widget-choice-prompt-value, widget-boolean-prompt-value)
19083 (widget-color--choose-action): Mark unused parameters.
19084 (widget-item-match-inline, widget-choice-match-inline)
19085 (widget-checklist-match, widget-checklist-match-inline)
19086 (widget-group-match): Rename parameter VALUES to VALS.
19087 (widget-field-value-set): Remove unused variable `size'.
19088 (widget-color-action): Remove unused variables `value' and `start'.
19089
19090 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 19091 variable `dir'. Doc fix.
06b60517
JB
19092 (windmove-find-other-window): Don't pass it.
19093
19094 * window.el (count-windows): Mark unused parameter.
19095 (bw-adjust-window): Remove unused variable `err'.
19096
19097 * woman.el (woman-file-name): Remove unused variable `default'.
19098 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19099 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19100 (global-font-lock-mode): Declare.
19101 (woman-decode-region): Mark unused parameter.
19102 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19103
19104 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19105 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19106 (x-dnd-handle-moz-url): Remove unused variable `title'.
19107 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19108
19109 * xml.el (xml-parse-tag, xml-parse-attlist):
19110 Remove unused variable `pos'.
19111
bc4f7f3d
GM
191122011-04-19 Glenn Morris <rgm@gnu.org>
19113
19114 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19115 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19116 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19117 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19118 * calendar/cal-html.el (cal-html-insert-minical):
19119 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19120 (calendar-mark-date-pattern):
19121 Prefix "unused" locals.
19122
19123 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19124 optional argument `style'.
19125
19126 * calendar/appt.el (appt-make-list):
19127 * calendar/cal-china.el (calendar-chinese-date-string):
19128 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19129 (diary-hebrew-yahrzeit):
19130 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19131 * calendar/calendar.el (calendar-generate-window):
19132 * calendar/time-date.el (time-to-days):
19133 Remove unused local variables.
19134
16a43933
CY
191352011-04-18 Chong Yidong <cyd@stupidchicken.com>
19136
19137 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19138 glyphless-char-display table.
19139 (tabulated-list-glyphless-char-display): New var.
19140
7eed1860
SS
191412011-04-18 Sam Steingold <sds@gnu.org>
19142
19143 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19144 to acknowledgments.
19145
4d2d1ccd
GM
191462011-04-17 Glenn Morris <rgm@gnu.org>
19147
19148 * calendar/diary-lib.el (diary-sexp-entry):
19149 * calendar/holidays.el (holiday-sexp):
19150 Set debug-on-error rather than the removed stack-trace-on-error.
19151
239da61d
GM
191522011-04-16 Glenn Morris <rgm@gnu.org>
19153
19154 * progmodes/f90.el: Use lexical-binding.
19155 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19156
8b05752a
SM
191572011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19158
daca8ba5
SM
19159 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19160 (mail-mode): Setup mailalias completion here instead.
19161 * mail/mailalias.el: Use lexical-binding.
19162 (pattern, mailalias-done): Declare dynamic.
19163 (mail-completion-at-point-function): New function, from mail-complete.
19164 (mail-complete): Use it.
19165 (mail-completion-expand): New function.
19166 (mail-get-names): Use it.
19167 (mail-directory, mail-directory-process, mail-directory-stream):
19168 Don't use `pattern' for lexically bound arg.
19169
6f542485
SM
19170 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19171
037e7c3f
SM
19172 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19173 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19174 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19175
8b05752a
SM
19176 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19177 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19178 (byte-interactive-p): Define them again, for use when inlining
19179 old code.
19180
49093f60
JB
191812011-04-15 Juanma Barranquero <lekktu@gmail.com>
19182
19183 * loadup.el: Use `string-to-number', not `string-to-int'.
19184
b5b8e7de
SM
191852011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19186
19187 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19188 gud-gdb-complete-command.
19189 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19190 (gud-gdb-completion-at-point): New function.
19191 (gud-gdb-completions): Remove.
19192
f42efeb5
MA
191932011-04-14 Michael Albinus <michael.albinus@gmx.de>
19194
49093f60
JB
19195 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19196 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19197 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19198 whether `executable-find' is bound.
f42efeb5
MA
19199
19200 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19201
e240cc21
SM
192022011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19203
19204 * minibuffer.el (completion-in-region-mode-predicate)
19205 (completion-in-region-mode--predicate): New vars.
19206 (completion-in-region, completion-in-region--postch)
19207 (completion-in-region-mode): Use them.
19208 (completion--capf-wrapper): Also return the hook function.
19209 (completion-at-point, completion-help-at-point):
19210 Adjust and provide a predicate.
c2bd2ab0
SM
19211
19212 Preserve arg names for advice of subr and lexical functions (bug#8457).
19213 * help-fns.el (help-function-arglist): Consolidate the subr and
19214 new-byte-code cases. Add argument `preserve-names' to extract names
19215 from the docstring when needed.
19216 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19217 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19218 (ad-arglist): Use help-function-arglist's new arg.
19219 (ad-definition-type): Use cond.
19220
c183f693
JB
192212011-04-13 Juanma Barranquero <lekktu@gmail.com>
19222
06641a47
JB
19223 * autorevert.el (auto-revert-handler):
19224 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19225 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19226 Don't quote lambda.
19227
c183f693
JB
19228 * image-mode.el (image-transform-set-scale):
19229 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19230
1e3b6001
G
192312011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19232
19233 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 19234 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
19235 Upgrades via gnutls-cli are too slow to be done opportunistically.
19236
2d6af8dd
JB
192372011-04-12 Juanma Barranquero <lekktu@gmail.com>
19238
19239 * dframe.el (dframe-current-frame): Remove spurious quote.
19240
c0749a51
GM
192412011-04-12 Glenn Morris <rgm@gnu.org>
19242
088d0d61
GM
19243 * calendar/cal-tex.el (cal-tex-end-document):
19244 Try to automatically use latin1 input if needed.
19245
c0749a51
GM
19246 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19247 Don't try to cons a mark onto an empty element.
19248
5c90fde0
LL
192492011-04-11 Leo Liu <sdl.web@gmail.com>
19250
19251 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19252 buffers.
19253 (ido-kill-buffer-at-head): Support killing virtual buffers.
19254
369e974d
CY
192552011-04-10 Chong Yidong <cyd@stupidchicken.com>
19256
19257 * minibuffer.el (completion-show-inline-help): New var.
19258 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
19259 (minibuffer-force-complete, minibuffer-complete-word):
19260 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
19261
19262 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19263 to avoid interference from inline help (Bug#5849).
19264
37f1c930
LL
192652011-04-10 Leo Liu <sdl.web@gmail.com>
19266
099c39a4
JB
19267 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19268 Fix typo.
37f1c930 19269
a32d4040
CY
192702011-04-09 Chong Yidong <cyd@stupidchicken.com>
19271
19272 * image-mode.el (image-toggle-display-image): Signal an error if
19273 not in Image mode.
19274 (image-transform-mode, image-transform-resize)
19275 (image-transform-set-rotation): Doc fix.
daca8ba5 19276 (image-transform-set-resize): Delete.
a32d4040
CY
19277 (image-transform-set-scale, image-transform-fit-to-height)
19278 (image-transform-fit-to-width): Handle image-toggle-display-image
19279 and image-transform-resize directly.
19280
099c39a4 192812011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
19282
19283 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
19284 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19285 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
19286 (doc-view-mode-map): Add bindings for the new functions.
19287
099c39a4 192882011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 19289
4d61f28d 19290 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
19291 Fix typo in docstring.
19292
3726838a
EZ
192932011-04-08 Eli Zaretskii <eliz@gnu.org>
19294
04f33f1e
EZ
19295 * files.el (file-size-human-readable): Produce one digit after
19296 decimal, like "ls -lh" does.
19297
19298 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19299 the file size representation.
19300
3726838a
EZ
19301 * simple.el (list-processes): If async subprocesses are not
19302 available, error out with a clear error message.
19303
cbb59342
CY
193042011-04-08 Chong Yidong <cyd@stupidchicken.com>
19305
19306 * help.el (help-form-show): New function, to be called from C.
19307 Put help-form output in a buffer named differently than *Help*.
19308
e3971c44
EZ
193092011-04-08 Eli Zaretskii <eliz@gnu.org>
19310
19311 * files.el (file-size-human-readable): New function.
19312
19313 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19314 computing the representation inline. Don't require `cl'.
19315
12544bbe
GM
193162011-04-08 Glenn Morris <rgm@gnu.org>
19317
a1de6c6a
GM
19318 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19319
3c4671f4
GM
19320 * net/browse-url.el (browse-url-firefox):
19321 Test system-type, not system-configuration.
19322
b605679c
GM
19323 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19324 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19325 Use log-edit-empty-buffer-p. (Bug#7598)
19326
56442f0c
GM
19327 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19328 (rlogin-mode-map): Initialize in the defvar.
19329 (rlogin): Use ignore-errors.
19330
12544bbe
GM
19331 * replace.el (occur-mode-map): Some fixes for menu items.
19332
eb237b0f
AH
193332011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19334
19335 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19336
7d668f2c
CY
193372011-04-06 Chong Yidong <cyd@stupidchicken.com>
19338
e67a13ab
CY
19339 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19340 issuing unused warnings.
19341
19342 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19343 macro directly.
19344
7d668f2c
CY
19345 * simple.el: Lisp reimplement of list-processes. Based on an
19346 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19347 (process-menu-mode): New major mode.
19348 (list-processes--refresh, list-processes):
19349 (process-menu-visit-buffer): New functions.
19350
19351 * files.el (save-buffers-kill-emacs): Don't assume any return
19352 value of list-processes, which is undocumented anyway.
19353
a83ec3c9
CY
193542011-04-06 Chong Yidong <cyd@stupidchicken.com>
19355
19356 * emacs-lisp/tabulated-list.el: New file.
19357
e91a96fe
CY
19358 * emacs-lisp/package.el: Use Tabulated List mode.
19359 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19360 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19361 table format using Tabulated List mode variables.
19362 (package--push): New macro, replacing package-list-maybe-add.
19363 (package-menu--generate): Use package--push. Renamed from
19364 package--generate-package-list.
19365 (package-menu-refresh, list-packages): Use it.
daca8ba5 19366 (package-menu--print-info): Rename from package-print-package.
e91a96fe 19367 Return insertion data instead of inserting it directly.
099c39a4
JB
19368 (package-menu-describe-package, package-menu-execute):
19369 Use tabulated-list-get-id.
e91a96fe
CY
19370 (package-menu-mark-delete, package-menu-mark-install)
19371 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
19372 (package-menu-mark-obsolete-for-deletion):
19373 Use tabulated-list-put-tag.
e91a96fe
CY
19374 (package--list-packages, package-menu-revert)
19375 (package-menu-get-package, package-menu-get-version)
19376 (package-menu-sort-by-column): Functions deleted.
19377 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19378 (package-menu--status-predicate, package-menu--version-predicate)
19379 (package-menu--name-predicate)
19380 (package-menu--description-predicate): Handle arguments in the
19381 Tabulated List format.
19382 (package-list-packages-no-fetch): Call list-packages.
19383
3e214b50
JB
193842011-04-06 Juanma Barranquero <lekktu@gmail.com>
19385
19386 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 19387 (after-find-file): Don't bind it.
3e214b50
JB
19388 (revert-buffer-in-progress-p): New variable.
19389 (revert-buffer): Bind it.
19390 Pass nil for `after-find-file-from-revert-buffer'.
19391
19392 * saveplace.el (save-place-find-file-hook): Use new variable
19393 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19394
3f0f1700
GM
193952011-04-06 Glenn Morris <rgm@gnu.org>
19396
c0274801
GM
19397 * Makefile.in (AUTOGEN_VCS): New variable.
19398 (autoloads): Use $AUTOGEN_VCS.
19399
3f0f1700
GM
19400 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19401 * calendar/calendar.el (calendar-mode-map):
19402 Check for toolkit scroll bars. (Bug#8305)
19403
41ea9e48
CY
194042011-04-05 Chong Yidong <cyd@stupidchicken.com>
19405
19406 * minibuffer.el (completion-in-region--postch)
19407 (completion-in-region-mode): Remove unnecessary messages.
19408
6194c800
JB
194092011-04-05 Juanma Barranquero <lekktu@gmail.com>
19410
33256f14
JB
19411 * font-lock.el (font-lock-refresh-defaults):
19412 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19413 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19414
6194c800
JB
19415 * info.el (Info-directory-list, Info-read-node-name-2)
19416 (Info-split-parameter-string): Doc fixes.
19417 (Info-virtual-nodes): Reflow docstring.
19418 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19419 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19420 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19421 Fix typos in docstrings.
19422 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19423 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19424 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19425 (Info-restore-desktop-buffer): Mark unused parameters.
19426 (Info-directory-find-file, Info-directory-find-node)
19427 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19428 (Info-virtual-index-find-node, Info-apropos-find-file)
19429 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 19430 Mark unused parameters; fix typos in docstrings.
6194c800
JB
19431 (Info-virtual-index): Remove unused local variable `nodename'.
19432
b87a8200 194332011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 19434
b87a8200
DD
19435 * net/rcirc.el: Update my e-mail address.
19436 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 19437
3b2ff876
CY
194382011-04-05 Chong Yidong <cyd@stupidchicken.com>
19439
19440 * startup.el (command-line): Save the cursor's theme-face
19441 directly, instead of using face-override-spec.
19442
19443 * custom.el (load-theme): Minor optimization in assigning faces.
19444
8d17e7ca
JB
194452011-04-04 Juanma Barranquero <lekktu@gmail.com>
19446
19447 * help-fns.el (describe-variable): Complete all variables having
19448 documentation, including keywords.
19449 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19450
2fbc1934
JB
194512011-04-04 Juanma Barranquero <lekktu@gmail.com>
19452
19453 Convert to lexical-binding.
19454
19455 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19456 (bs--get-marked-string, bs--get-modified-string)
19457 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19458 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19459 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19460
19461 * ehelp.el (electric-help-execute-extended)
19462 (electric-help-ctrl-x-prefix):
19463 * hexl.el (hexl-revert-buffer-function):
19464 * linum.el (linum-after-change, linum-after-scroll):
19465 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19466
19467 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19468
74f50695
DU
194692011-04-04 Daiki Ueno <ueno@unixuser.org>
19470
19471 * epa-dired.el:
19472 * epa-mail.el:
19473 * epa-hook.el:
19474 * epa-file.el:
19475 * epa.el:
19476 * epg.el: Use lexical binding.
19477
c11325f7
CY
194782011-04-03 Chong Yidong <cyd@stupidchicken.com>
19479
0d9e9a12
CY
19480 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19481
c11325f7 19482 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
19483 dictionary case for flyspell-mark-duplications-exceptions.
19484 Use regexp matching for languages.
c11325f7
CY
19485 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19486 default dictionary (Bug#7926).
19487
da91b5f2
CY
194882011-04-02 Chong Yidong <cyd@stupidchicken.com>
19489
099c39a4
JB
19490 * emacs-lisp/package.el (package--with-work-buffer):
19491 Recognize https URLs.
da91b5f2 19492
099c39a4
JB
19493 * net/network-stream.el: Move from gnus/proto-stream.el.
19494 Change prefix to network-stream throughout.
da91b5f2
CY
19495 (open-protocol-stream): Merge into open-network-stream, leaving
19496 open-protocol-stream as an alias. Handle nil BUFFER args.
19497
19498 * subr.el (open-network-stream): Move to net/network-stream.el.
19499
afa8e9f6
GM
195002011-04-02 Glenn Morris <rgm@gnu.org>
19501
1d2e369d
GM
19502 * find-dired.el (find-exec-terminator): New option.
19503 (find-ls-option): Test for -ls support.
19504 (find-ls-subdir-switches): Test for -b in find-ls-option.
19505 (find-dired, find-grep-dired): Doc fixes.
19506 (find-dired): Use find-exec-terminator.
19507
8abb7da8 19508 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
19509 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19510 (find-name-arg): Remove purecopy.
8abb7da8 19511
f3ca7378
GM
19512 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19513 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19514 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19515 accordingly. Don't add the null-device if not needed.
19516
afa8e9f6
GM
19517 * files.el (save-some-buffers): Doc fix.
19518
35eae264
EZ
195192011-04-02 Eli Zaretskii <eliz@gnu.org>
19520
19521 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19522
26b51db5
JB
195232011-04-01 Juanma Barranquero <lekktu@gmail.com>
19524
19525 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19526 Use `dolist' rather than `mapcar'.
19527
7200d79c
SM
195282011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19529
03408648 19530 Add lexical binding.
7200d79c 19531
03408648
SM
19532 * subr.el (apply-partially): Use new closures rather than CL.
19533 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19534 (dolist, dotimes): Use slightly different expansion for lexical code.
19535 (functionp): Move to C.
19536 (letrec): New macro.
19537 (with-wrapper-hook): Use it and apply-partially instead of CL.
19538 (eval-after-load): Preserve lexical-binding.
19539 (save-window-excursion, with-output-to-temp-buffer): Turn them
19540 into macros.
7200d79c 19541
03408648
SM
19542 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19543
19544 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19545 than the arglist.
19546 (help-add-fundoc-usage): Don't add `Not documented'.
19547 (help-function-arglist): Handle closures, subroutines, and new
19548 byte-code-functions.
19549 (help-make-usage): Remove leading underscores.
19550 (describe-function-1): Handle closures.
19551 (describe-variable): Use special-variable-p for completion.
19552
19553 * files.el (lexical-binding): Declare safe.
f488fb65 19554
03408648
SM
19555 * emacs-lisp/pcase.el: Don't use destructuring-bind.
19556 (pcase--memoize): Rename from pcase-memoize. Change weakness.
19557 (pcase): Add `let' pattern.
19558 Change memoization so it actually works.
19559 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19560 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19561 <let>: New case.
f488fb65 19562
03408648
SM
19563 * emacs-lisp/macroexp.el: Use lexical binding.
19564 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
19565 Don't convert ' to #' without checking that it's indeed quoting
19566 a lambda.
19567
19568 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 19569 Use eval-sexp-add-defvars.
03408648
SM
19570 (eval-sexp-add-defvars): New fun.
19571
19572 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19573
19574 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19575 Don't autoload.
19576 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19577 than the internal `byte-compile-lambda'.
19578 (defmethod): Don't hide code under quotes.
19579 (eieio-defmethod): New `code' argument.
19580
19581 * emacs-lisp/eieio-comp.el: Remove.
19582
19583 * emacs-lisp/edebug.el (edebug-eval-defun)
19584 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19585 (edebug-toggle): Avoid `eval'.
19586
19587 * emacs-lisp/disass.el (disassemble-internal): Handle new
19588 `closure' objects.
19589 (disassemble-1): Handle new byte codes.
19590
19591 * emacs-lisp/cl.el (pushnew): Silence warning.
19592
19593 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19594 (cl-byte-compile-throw): Remove.
19595 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19596
19597 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19598 closures.
19599
19600 * emacs-lisp/cconv.el: New file.
19601
19602 * emacs-lisp/bytecomp.el: Use lexical binding instead of
19603 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
19604 (byte-compile-initial-macro-environment):
19605 Handle declare-function here.
19606 (byte-compile--lexical-environment): New var.
19607 (byte-stack-ref, byte-stack-set, byte-discardN)
19608 (byte-discardN-preserve-tos): New lap codes.
19609 (byte-interactive-p): Don't use any more.
19610 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19611 New macros.
19612 (byte-compile-lapcode): Use them and handle new lap codes.
19613 (byte-compile-obsolete): Remove.
19614 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19615 (byte-compile-arglist-warn): Check late def of inlinable funs.
19616 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19617 since they should have been expanded by now.
19618 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
19619 (byte-compile-from-buffer): Remove unused second arg.
19620 (byte-compile-preprocess): New function.
19621 (byte-compile-toplevel-file-form): New function to distinguish
19622 file-form calls from outside from file-form calls from hunk-handlers.
19623 (byte-compile-file-form): Simplify.
19624 (byte-compile-file-form-defsubst): Remove.
19625 (byte-compile-file-form-defmumble): Simplify now that
19626 byte-compile-lambda always returns a byte-code-function.
19627 (byte-compile): Preprocess.
19628 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
19629 Remove, not used any more.
19630 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
19631 (byte-compile-make-args-desc): New funs.
19632 (byte-compile-lambda): Handle lexical functions. Always return
19633 a byte-code-function.
19634 (byte-compile-reserved-constants): New var, to make up room for
19635 closed-over variables.
19636 (byte-compile-constants-vector): Obey it.
19637 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
19638 (byte-compile-macroexpand-declare-function): New function.
19639 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
19640 byte-code-functions.
19641 (byte-compile-form): Check obsolescence here.
19642 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
19643 (byte-compile-variable-ref): Remove.
19644 (byte-compile-dynamic-variable-op): New fun.
19645 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19646 (byte-compile-variable-set): New funs.
19647 (byte-compile-discard): Add 2 args.
19648 (byte-compile-stack-ref, byte-compile-stack-set)
19649 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
19650 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
19651 macroexpand-all instead.
19652 (byte-compile-quote-form): Remove.
19653 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
19654 (byte-compile-bind, byte-compile-unbind): New funs.
19655 (byte-compile-let): Handle let* and lexical binding.
19656 (byte-compile-let*): Remove.
19657 (byte-compile-catch, byte-compile-unwind-protect)
19658 (byte-compile-track-mouse, byte-compile-condition-case):
19659 Handle a new :fun-body form, used for lexical scoping.
19660 (byte-compile-save-window-excursion)
19661 (byte-compile-with-output-to-temp-buffer): Remove.
19662 (byte-compile-defun): Simplify.
19663 (byte-compile-stack-adjustment): New fun.
19664 (byte-compile-out): Use it.
19665 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
19666
19667 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
19668 handler any more.
19669
19670 * emacs-lisp/byte-opt.el: Use lexical binding.
19671 (byte-inline-lapcode): Remove (to bytecomp).
19672 (byte-compile-inline-expand): Pay attention to inlining to/from
19673 lexically bound code.
19674 (byte-compile-unfold-lambda): Don't handle byte-code-functions
19675 any more.
19676 (byte-optimize-form-code-walker): Don't handle save-window-excursion
19677 any more and don't call compiler-macros.
19678 (byte-compile-splice-in-already-compiled-code): Remove.
19679 (byte-code): Don't inline any more.
19680 (disassemble-offset): Receive `bytes' as argument rather than via
19681 dynamic scoping.
19682 (byte-compile-tag-number): Declare before first use.
19683 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
19684 `return' even if make-spliceable.
19685 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
19686 obsolete interactive-p.
19687 (byte-optimize-lapcode): Optimize new lap-codes.
19688 Don't trip up on new form of `byte-constant' lap code.
19689
19690 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
19691
19692 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
19693
19694 * custom.el (custom-initialize-default, custom-declare-variable):
19695 Use `defvar'.
19696
19697 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
19698 New variables.
19699 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
19700 (COMPILE_FIRST): Add macroexp and cconv.
19701 * makefile.w32-in: Mirror changes in Makefile.in.
19702
19703 * vc/cvs-status.el:
19704 * vc/diff-mode.el:
19705 * vc/log-edit.el:
19706 * vc/log-view.el:
19707 * vc/smerge-mode.el:
19708 * textmodes/bibtex-style.el:
090bd7cb 19709 * textmodes/css-mode.el:
03408648
SM
19710 * startup.el:
19711 * uniquify.el:
da91b5f2
CY
19712 * minibuffer.el:
19713 * newcomment.el:
19714 * reveal.el:
19715 * server.el:
19716 * mpc.el:
19717 * emacs-lisp/smie.el:
19718 * doc-view.el:
19719 * dired.el:
03408648
SM
19720 * abbrev.el: Use lexical binding.
19721
0f0c1f27
EZ
197222011-04-01 Eli Zaretskii <eliz@gnu.org>
19723
19724 * info.el (info-display-manual): New function.
19725
c82b2579
SM
197262011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
19727
19728 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
19729
221ddf68
TH
197302011-03-31 Tassilo Horn <tassilo@member.fsf.org>
19731
19732 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 19733 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 19734
cba6e77e
GM
197352011-03-31 Glenn Morris <rgm@gnu.org>
19736
e040639f
GM
19737 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
19738
cba6e77e
GM
19739 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
19740
6d0f1c9e
CS
197412011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
19742
19743 * progmodes/python.el (python-default-interpreter)
19744 (python-python-command-args, python-jython-command-args)
19745 (python-which-shell, python-which-args, python-which-bufname)
19746 (python-file-queue, python-comint-output-filter-function)
19747 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
19748 variables and functions.
19749
3e2d70fd
SM
197502011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
19751
19752 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
19753 (completion-in-region-mode): New minor mode.
19754 (completion-in-region): Use it.
19755 (completion-in-region--data, completion-in-region-mode-map): New vars.
19756 (completion-in-region--postch): New function.
19757 (completion--capf-misbehave-funs, completion--capf-safe-funs):
19758 New vars.
19759 (completion--capf-wrapper): New function.
19760 (completion-at-point): Use it to track well-behavedness of
19761 hook functions.
19762 (completion-help-at-point): New command.
19763
f3e4086c
JM
197642011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
19765
19766 * vc/add-log.el (add-change-log-entry): Don't use whitespace
19767 syntax class to search for whitespace on a single line
19768 (Message-ID: <4D938140.4030905@redhat.com>).
19769
eb7ffc14
LL
197702011-03-30 Leo Liu <sdl.web@gmail.com>
19771
19772 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
19773 New commands.
19774 (edit-abbrevs-map): Bind them here.
19775 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
19776
d806ab68
KM
197772011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
19778
19779 * allout.el (allout-hide-by-annotation, allout-flag-region):
19780 Reduce possibility of overlay leakage by making them volatile.
19781
19782 * allout-widgets.el (allout-widgets-tally): Define as nil so the
19783 hash is not shared between buffers. Mode initialization is
19784 responsible for giving it a useful starting value.
19785 (allout-item-span): Reduce possibility of overlay leakage by
19786 making them volatile.
19787 (allout-widgets-count-buttons-in-region): Add diagnostic function
19788 for tracking down button overlay leaks.
19789
ea622834
LL
197902011-03-29 Leo Liu <sdl.web@gmail.com>
19791
19792 * ido.el (ido-read-internal): Use the default history var
19793 minibuffer-history if no HISTORY is specified.
19794
b62f8267
G
197952011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
19796
03408648
SM
19797 * net/imap.el (imap-shell-open, imap-process-connection-type):
19798 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
19799 Kerberos, SSL, other subprocesses.
19800
947b6566
LL
198012011-03-28 Leo Liu <sdl.web@gmail.com>
19802
19803 * abbrev.el (abbrev-table-empty-p): New function.
19804 (prepare-abbrev-list-buffer): Place empty abbrev tables after
19805 nonempty ones. (Bug#5937)
19806
5ffb62aa
JD
198072011-03-27 Jan Djärv <jan.h.d@swipnet.se>
19808
19809 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
19810
7a097943
LL
198112011-03-27 Leo Liu <sdl.web@gmail.com>
19812
19813 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
19814 for foreground and background colors.
19815 (ansi-color-make-color-map): Adapt.
19816
c5b40130
LL
198172011-03-25 Leo Liu <sdl.web@gmail.com>
19818
1f48f7d2
LL
19819 * midnight.el (midnight-time-float): Remove. Note it calculates
19820 the microsecond component incorrectly and seconds-to-time does the
19821 same job.
625897ec 19822 Remove redundant (require 'timer).
1f48f7d2 19823
c5b40130
LL
19824 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
19825 (ido-completions): Remove unused arguments. (Bug#8329)
19826
d86d2721
SM
198272011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
19828
19829 * minibuffer.el (completion--flush-all-sorted-completions):
19830 Remove itself from hook.
19831 (completion-at-point): Let the functions perform the completion
19832 immediately and return nil or t.
19833 * comint.el (comint-dynamic-complete-functions): Now identical to
19834 completion-at-point-functions.
19835 (comint-dynamic-list-input-ring): Remove unused var `index'.
19836 (comint--match-partial-filename, comint--unquote&expand-filename):
19837 New funs, split from comint-match-partial-filename.
19838 (comint-dynamic-complete): Use completion-at-point.
19839 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
19840
e8974c48
DA
198412011-03-24 Drew Adams <drew.adams@oracle.com>
19842
19843 * thingatpt.el: Support `defun'.
19844
def71b5e
LL
198452011-03-23 Leo Liu <sdl.web@gmail.com>
19846
cb5af48e
LL
19847 * abbrevlist.el: Move to obsolete/abbrevlist.el.
19848
def71b5e
LL
19849 * help-mode.el (help-mode-finish): Tweak regexp.
19850
927c53e7
GM
198512011-03-23 Glenn Morris <rgm@gnu.org>
19852
18d05bed
GM
19853 * eshell/esh-opt.el (eshell-eval-using-options):
19854 Do not bind unused local variable `eshell-option-stub'.
19855
927c53e7
GM
19856 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
19857
9d0da923
JB
198582011-03-22 Juanma Barranquero <lekktu@gmail.com>
19859
19860 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
19861 keymap variable in `with-no-warnings' to avoid a warning when the
19862 keymap has been already `defconst'ed.
19863
4b978a67
LL
198642011-03-22 Leo Liu <sdl.web@gmail.com>
19865
19866 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
19867 encode all chars in abbrevs; otherwise use emacs-mule or
19868 utf-8-emacs. (Bug#8308)
19869
5fd62452
JB
198702011-03-22 Juanma Barranquero <lekktu@gmail.com>
19871
0b1596c6
JB
19872 * simple.el (backward-delete-char-untabify):
19873 Avoid warning about using `delete-backward-char'.
19874
5fd62452
JB
19875 * image.el (image-type-file-name-regexps): Make it variable.
19876 `imagemagick-register-types' modifies it, and the user may want
19877 to add new extensions for known image types.
19878 (imagemagick-register-types): Throw error if not using ImageMagick.
19879
0b4e93f1
LL
198802011-03-22 Leo Liu <sdl.web@gmail.com>
19881
19882 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
19883 located before rcirc-prompt-end-marker.
19884 (rcirc-complete): Error if point is not after rcirc prompt.
19885 Handle the case when table is nil.
9882e214 19886 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 19887
fccee4ab
CY
198882011-03-22 Chong Yidong <cyd@stupidchicken.com>
19889
19890 * custom.el (custom--inhibit-theme-enable): Make it affect only
19891 custom-theme-set-variables and custom-theme-set-faces.
19892 (provide-theme): Ignore custom--inhibit-theme-enable.
19893 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
19894 (custom-enabling-themes): Delete variable.
d86d2721
SM
19895 (enable-theme): Accept only loaded themes as arguments.
19896 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
19897 (custom-enabled-themes): Forbid themes from setting this.
19898 Eliminate use of custom-enabling-themes.
19899 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 19900
af896da6
LL
199012011-03-21 Leo Liu <sdl.web@gmail.com>
19902
19903 * ido.el (ido-read-internal): Add ido-selected to history instead
19904 of user input.
19905
78f64af0
SM
199062011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
19907
19908 * subr.el (deferred-action-list, deferred-action-function):
19909 Mark obsolete.
19910
b16ac1ec
LL
199112011-03-21 Leo Liu <sdl.web@gmail.com>
19912
810f7698
LL
19913 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
19914 change on 2011-02-13 (bug#8309).
19915
b16ac1ec
LL
19916 * minibuffer.el (read-file-name-function): Change default value.
19917 (read-file-name--defaults): Rename from read-file-name-defaults.
19918 (read-file-name-default): Rename from read-file-name.
19919 (read-file-name): Call read-file-name-function.
19920
4e05e67e
GM
199212011-03-21 Glenn Morris <rgm@gnu.org>
19922
19923 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
19924 Doc fixes.
19925
4359915b
CY
199262011-03-21 Chong Yidong <cyd@stupidchicken.com>
19927
19928 * cus-theme.el: Add missing provide statement.
19929 (customize-create-theme): Extract theme value correctly.
19930 (custom-theme-visit-theme): Autoload.
19931 (customize-create-theme): Prompt before inserting default faces.
19932
1fe275ee
JB
199332011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
19934
19935 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
19936 units and musical notes.
19937
cd394be1 199382011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
19939
19940 * ido.el (ido-read-internal): Use completing-read-default.
19941 (ido-completing-read): Fix compatibility with completing-read.
19942
7d476bde
CO
199432011-03-20 Christian Ohler <ohler@gnu.org>
19944
19945 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
19946 (ert-delete-all-tests): Use `called-interactively-p' rather than
19947 `interactive-p'.
19948 (ert--make-xrefs-region): Respect END.
19949
fe0fb33e
CY
199502011-03-19 Chong Yidong <cyd@stupidchicken.com>
19951
ff854b0b
CY
19952 * dired-aux.el (dired-create-directory): Signal an error if the
19953 directory already exists (Bug#8246).
19954
fe0fb33e
CY
19955 * facemenu.el (list-colors-display): Call list-faces-display
19956 inside with-help-window.
19957 (list-colors-print): Use display property to align the final
19958 column, instead of checking window-width.
19959
576bce32
EZ
199602011-03-19 Eli Zaretskii <eliz@gnu.org>
19961
4d61f28d 19962 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
19963 windows-nt systems.
19964 (emerge-protect-metachars): Quote correctly for ms-dos and
19965 windows-nt systems.
19966
89c41d68 199672011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
19968
19969 * info.el (info-initialize): Replace all uses of `:' with
19970 path-separator for compatibility with non-Unix systems.
19971 Cache quoting of path-separator. (Bug#8258)
19972
b14e3e21 199732011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
19974
19975 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
19976 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
19977 (mouse-avoidance-mode): Fix typos in docstrings.
19978
4525ce3e
CY
199792011-03-19 Chong Yidong <cyd@stupidchicken.com>
19980
19981 * startup.el (package-subdirectory-regexp): Move from package.el.
19982 Omit \\` and \\', and let callers add them.
19983
19984 * emacs-lisp/package.el (package-strip-version)
19985 (package-load-all-descriptors): Add \\` and \\' to
19986 package-subdirectory-regexp before using it.
19987 (package-untar-buffer): New arg DIR; ensure that file untars only
19988 into this expected directory. Remove superfluous delete-region.
19989 (package-unpack): Caller changed.
19990 (package-tar-file-info): Use package-subdirectory-regexp.
19991
a904a09a 199922011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 19993
a904a09a
SM
19994 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
19995 diff-mode-shared-map (bug#8284).
19996 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
19997
199982011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19999
20000 * calendar/time-date.el (format-seconds): Use assoc instead of
20001 assoc-string, since assoc-string doesn't exist in XEmacs.
20002
171fc304
JB
200032011-03-17 Juanma Barranquero <lekktu@gmail.com>
20004
20005 * custom.el (custom-known-themes): Reflow docstring.
20006 (custom-theme-load-path): Fix typo in docstring.
20007 (load-theme): Fix typo in error message.
20008 (custom-available-themes, custom-variable-theme-value):
20009 Use `let', not `let*'.
20010
d71990a1
JB
200112011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20012
20013 * calc/README: Mention inclusion of musical notes.
20014
20015 * calc/calc-units.el (calc-lu-quant): Rename from
20016 `calc-logunits-quantity'.
20017 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20018 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20019 (calc-db): Rename from `calc-dblevel'.
20020 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20021 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20022 (calc-np): Rename from `calc-nplevel'.
20023 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20024 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20025 (calc-lu-plus): Rename from `calc-logunits-add'.
20026 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20027 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20028 (calc-lu-minus): Rename from `calc-logunits-sub'.
20029 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20030 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20031 (calc-lu-times): Rename from `calc-logunits-mul'.
20032 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20033 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20034 (calc-lu-divide): Rename from `calc-logunits-div'.
20035 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20036 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20037
20038 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20039 functions being autoloaded.
20040
20041 * calc/calc.el (calc-lu-power-reference): Rename from
20042 `calc-logunits-power-reference'.
20043 (calc-lu-field-reference): Rename from
20044 `calc-logunits-field-reference'.
20045
7a71b18d
GM
20046 * calc/calc-help.el (calc-l-prefix-help):
20047 Mention musical note functions.
d71990a1 20048
40c2934b
SM
200492011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20050
20051 * minibuffer.el (completion-all-sorted-completions):
20052 Use :completion-cycle-penalty text property if present.
20053
b0911414
KM
200542011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20055
20056 * allout.el (allout-yank-processing): Adjust for new rebulleting
20057 regime so bullet being yanked is used without prompting the user
20058 for a choice.
20059
8a05b668
JB
200602011-03-16 Juanma Barranquero <lekktu@gmail.com>
20061
20062 * startup.el (command-line): Warn the user that _emacs is deprecated.
20063
5ba5fb81
JB
200642011-03-16 Juanma Barranquero <lekktu@gmail.com>
20065
20066 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20067 (delphi-verbose, delphi-comment-face, delphi-string-face)
20068 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20069 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20070 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20071 (delphi-new-comment-line, delphi-font-lock-defaults)
20072 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20073 Fix typos in docstrings.
20074
2dab465b
KM
200752011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20076
5ba5fb81 20077 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
20078 Invert the roles of character and string values for INSTEAD, so a
20079 string is used for the more common case of a defaulting prompt.
20080
0adf5618
SM
200812011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20082
20083 * progmodes/ruby-mode.el (ruby-backward-sexp):
20084 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20085 * play/gamegrid.el (gamegrid-make-face):
20086 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20087 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20088 * notifications.el (notifications-notify):
20089 * net/xesam.el (xesam-search-engines):
20090 * net/quickurl.el (quickurl-list-insert):
20091 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20092
d72700e5
CY
200932011-03-15 Chong Yidong <cyd@stupidchicken.com>
20094
20095 * startup.el (command-line): Update package subdirectory regexp.
20096
49c5410a
SM
200972011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20098
c6eee9aa
SM
20099 * allout.el (allout-abbreviate-flattened-numbering)
20100 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20101
49c5410a
SM
20102 * subr.el (read-char-choice): Only show the cursor after the prompt,
20103 not after the answer.
20104
047b2bb9
KR
201052011-03-15 Kevin Ryde <user42@zip.com.au>
20106
20107 * help-fns.el (variable-at-point): Skip leading quotes, if any
20108 (bug#8253).
20109
0a57d256
SM
201102011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20111
20112 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20113 warning message.
20114
77c992bc
MA
201152011-03-14 Michael Albinus <michael.albinus@gmx.de>
20116
20117 * shell.el (shell): When called interactively, offer to change the
20118 shell file name on remote hosts.
20119
eebc475d
TZ
201202011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20121
20122 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20123 integration for LDAP parameters. The host, base, user or binddn,
20124 and secret tokens can be specified in a netrc file, for instance.
20125 This is optional because an `auth-source' parameter must be
20126 specified in the search attributes.
20127
9d05d1ba
JB
201282011-03-13 Juanma Barranquero <lekktu@gmail.com>
20129
20130 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20131
09d9db2c
GM
201322011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20133
20134 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20135 into declaration. Remove redundant and harmful binding.
20136
201372011-03-12 Eli Zaretskii <eliz@gnu.org>
20138
20139 * files.el (file-ownership-preserved-p): Pass `integer' as an
20140 explicit 2nd argument to `file-attributes'. If the file's owner
20141 is the Administrators group on Windows, and the current user is
20142 Administrator, consider that a match.
20143
20144 * server.el (server-ensure-safe-dir): Consider server directory
20145 safe on MS-Windows if its owner is the Administrators group while
20146 the current Emacs user is Administrator. Use `=' to compare
20147 numerical UIDs, since they could be integers or floats.
20148
219bd536
JB
201492011-03-12 Juanma Barranquero <lekktu@gmail.com>
20150
20151 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20152
f3afd36b
MA
201532011-03-12 Michael Albinus <michael.albinus@gmx.de>
20154
20155 Sync with Tramp 2.2.1.
20156
20157 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20158
20159 * net/trampver.el: Update release number.
20160
3aaaa6f1
SM
201612011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20162
94642599
SM
20163 * progmodes/compile.el (compilation--previous-directory): Fix up
20164 various nil/dead-marker mismatches (bug#8014).
20165 (compilation-directory-properties, compilation-error-properties):
20166 Don't call it at a position past the one we're about to change.
20167
3aaaa6f1
SM
20168 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20169 Disable obsolescence warnings in the file that declares it.
20170
14239447
KM
201712011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20172
099c39a4
JB
20173 * allout-widgets.el (allout-widgets-tally):
20174 Initialize allout-widgets-tally as a hash table rather than nil to
20175 prevent mode-line redisplay warnings. Also, clarify the module
20176 description and fix a comment typo.
14239447 20177
135e287c
JB
201782011-03-11 Juanma Barranquero <lekktu@gmail.com>
20179
20180 * help-fns.el (describe-variable): Don't complete keywords.
20181 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20182
ffbf300e
CY
201832011-03-10 Chong Yidong <cyd@stupidchicken.com>
20184
ba08b241
CY
20185 * emacs-lisp/package.el (package-version-join): Impose a standard
20186 string representation for pre/alpha/beta version lists.
20187 (package-unpack-single): Standardize the directory name by passing
20188 it through package-version-join.
20189 (package-strip-rcs-id): Accept any version string that does not
20190 signal an error in version-to-list.
ffbf300e 20191
f346fd6b
MA
201922011-03-10 Michael Albinus <michael.albinus@gmx.de>
20193
20194 * simple.el (delete-trailing-whitespace): Return nil for the
20195 benefit of `write-file-functions'.
20196
ccb55d27
GM
201972011-03-10 Glenn Morris <rgm@gnu.org>
20198
5ceaac0c
GM
20199 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20200
02da65ff
GM
20201 * vc/vc-git.el (vc-git-program): New option.
20202 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20203 (vc-git--call): Use it.
20204
b2f603cc
GM
20205 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20206
5772caab
GM
20207 * cus-edit.el (Custom-newline): If no button at point, look
20208 for a subgroup button at start-of-line. (Bug#2298)
20209
ccb55d27
GM
20210 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20211
ec6ecaed
JD
202122011-03-10 Julien Danjou <julien@danjou.info>
20213
20214 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20215 `cursor-type' is nil.
20216
9d5aa01d
JB
202172011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20218
20219 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20220
b6a5875b
KM
202212011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20222
7a71b18d 20223 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
20224 preserves the existing header prefix, rebulleting it if necessary,
20225 rather than replacing it. This is necessary for proper operation
20226 of cooperative addons like allout-widgets.
1154d12e
JB
20227 (allout-make-topic-prefix, allout-rebullet-heading):
20228 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20229 value as alternate bullet to be used, instead of prompting the user
20230 for a bullet character.
b6a5875b 20231
ee545c35
MA
202322011-03-09 Michael Albinus <michael.albinus@gmx.de>
20233
d86d2721
SM
20234 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20235 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
20236 `tramp-default-port'.
20237
c47971d7
DD
202382011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20239
20240 * net/rcirc.el (rcirc-handler-001): Remove useless
20241 with-rcirc-process-buffer.
20242 (rcirc-check-auth-status): Swap arguments to string-match.
20243
13522cb4
GM
202442011-03-09 Glenn Morris <rgm@gnu.org>
20245
0be6f4f1
GM
20246 * shell.el (shell-mode):
20247 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20248
13522cb4
GM
20249 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20250 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20251
515de2e3
CY
202522011-03-08 Chong Yidong <cyd@stupidchicken.com>
20253
20254 * emacs-lisp/package.el (package-refresh-contents)
20255 (package-menu-execute): Use condition-case-no-debug.
20256
b511b994
MA
202572011-03-08 Michael Albinus <michael.albinus@gmx.de>
20258
20259 * simple.el (shell-command-to-string): Use `process-file'.
20260
20261 * emacs-lisp/package.el (package-tar-file-info): Handle also
20262 remote files.
20263
d86d2721
SM
20264 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20265 Use `equal' for upload base check.
b511b994 20266
25bbfb31
AM
202672011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20268
20269 * textmodes/texinfo.el (texinfo-environments):
20270 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20271
be996521
GM
202722011-03-08 Glenn Morris <rgm@gnu.org>
20273
e9c8529f
GM
20274 * cus-start.el (cursor-in-non-selected-windows):
20275 Fix :set quoting oddness. (Bug#8192)
20276
be996521
GM
20277 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20278 in some setf expressions. (Bug#2159)
20279
2bb5649e
CY
202802011-03-08 Chong Yidong <cyd@stupidchicken.com>
20281
20282 * custom.el (custom-available-themes): Return themes in
20283 alphabetical order.
20284
33383987 20285See ChangeLog.15 for earlier changes.
e3d51b27
MR
20286
20287;; Local Variables:
20288;; coding: utf-8
e3d51b27
MR
20289;; End:
20290
acaf905b 20291 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
20292
20293 This file is part of GNU Emacs.
20294
20295 GNU Emacs is free software: you can redistribute it and/or modify
20296 it under the terms of the GNU General Public License as published by
20297 the Free Software Foundation, either version 3 of the License, or
20298 (at your option) any later version.
20299
20300 GNU Emacs is distributed in the hope that it will be useful,
20301 but WITHOUT ANY WARRANTY; without even the implied warranty of
20302 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20303 GNU General Public License for more details.
20304
20305 You should have received a copy of the GNU General Public License
20306 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.