]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* lisp/progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
[gnu-emacs] / lisp / ChangeLog
1 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
4 * progmodes/cc-vars.el (bq-process): Remove, unused.
5
6 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
7
8 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
9
10 Implemented `backward-up-list'-like navigation.
11 * progmodes/python.el (python-nav-up-list)
12 (python-nav-backward-up-list): New functions.
13 (python-mode-map): Define substitute key for backward-up-list to
14 python-nav-backward-up-list.
15
16 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
17
18 * progmodes/python.el (python-fill-paragraph): Rename from
19 python-fill-paragraph-function. Fixed fill-paragraph for
20 decorators (Bug#12605).
21
22 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
23
24 * progmodes/python.el (python-shell-output-filter): Handle extra
25 carriage return in OSX (Bug#12409).
26
27 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
28
29 Fix shell handling of unbalanced quotes and parens in output.
30 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
31 (python-syntax-propertize-function): Use it.
32 (python-shell-output-syntax-table): New var.
33 (inferior-python-mode): Prevent unbalanced parens/quotes from
34 previous output mess with current input context.
35
36 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
37
38 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
39 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
40
41 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
42
43 * ffap.el (ffap-replace-file-component): Support Tramp file name
44 syntax, not only ange-ftp's one.
45
46 2012-10-08 Glenn Morris <rgm@gnu.org>
47
48 * cus-start.el (message-log-max): Set :version.
49
50 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
51
52 2012-10-08 Martin Rudalics <rudalics@gmx.at>
53
54 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
55 the minibuffer window (Bug#10851).
56
57 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
58
59 Enhancements on forward-sexp movement.
60 * progmodes/python.el (python-nav-beginning-of-statement)
61 (python-nav-end-of-statement): Return point-marker.
62 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
63 (python-info-current-symbol)
64 (python-info-statement-starts-block-p): Rename from
65 python-info-beginning-of-block-p.
66 (python-info-statement-ends-block-p): Rename from
67 python-info-end-of-block-p.
68 (python-info-beginning-of-statement-p)
69 (python-info-end-of-statement-p)
70 (python-info-beginning-of-block-p, python-info-end-of-block-p):
71 New functions.
72
73 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
74
75 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
76 frame-selected-windows.
77
78 2012-10-08 Daniel Colascione <dancol@dancol.org>
79
80 * battery.el (battery-status-function): Check for
81 w32-battery-status itself, not system-time windows-nt.
82
83 * frame.el: Require cl-lib.
84 (display-format-alist): New variable mapping frame types to
85 functions that initialize them.
86 (window-system-for-display): New function: interprets
87 display-format-alist.
88 (make-frame-on-display): Remove existing display-selection logic
89 and just forward to make-frame, which will now DTRT.
90 (make-frame): Restructure to use window-system-for-display to
91 figure out how to create a frame on a given display.
92 (display-mouse-p): Look for frame-type w32, not a particular
93 system-type.
94
95 * loadup.el: Load w32 lisp code when we have the w32 feature.
96
97 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
98 system-type windows-nt.
99
100 * server.el (server-create-window-system-frame): Look for window
101 type.
102 (server-proces-filter): Only force a window system when windows-nt
103 _and_ w32. Explain why.
104
105 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
106 of window systems we configure for the mode.
107
108 * startup.el (command-line): Mark window system is initialized
109 after we've done it.
110
111 * common-win.el (x-select-text): Look for w32, not windows-nt.
112
113 * ns-win.el: Require cl-lib. Add ourselves to
114 display-format-alist.
115 (ns-initialize-window-system): Assert we're not initialized twice.
116
117 * w32-win.el: Enable lexical binding; require cl-lib; add
118 ourselves to display-format-alist.
119 (w32-handle-dropped-file): Convert incoming dropped files from
120 Windows paths to Cygwin ones before passing them on to the rest of
121 Emacs.
122 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
123 (w32-initialize-window-system): Assert we're not initialized twice.
124
125 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
126 (x-initialize-window-system): Assert we're not initialized twice.
127
128 * w32-common-fns.el: New File.
129 (w32-version, w32-using-nt, w32-get-clipboard-data)
130 (w32-set-clipboard-data, x-set-selection, x-get-selection)
131 (w32-charset-info-alist, x-last-selected, text)
132 (x-get-selection-value, x-selection-value): Move here.
133
134 * w32-fns.el: Require w32-common-fns.
135 (w32-version, w32-using-nt, w32-get-clipboard-data)
136 (w32-set-clipboard-data, x-set-selection, x-get-selection)
137 (w32-charset-info-alist, x-last-selected, text)
138 (x-get-selection-value, x-selection-value): Move to
139 w32-common-fns.
140
141 * w32-vars.el:
142 (w32-allow-system-shell, w32-system-shells): Define only in
143 non-cygwin case.
144
145 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
146
147 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
148 (read-passwd): Remove a few more potential sources of leaks.
149
150 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
151
152 * progmodes/python.el (inferior-python-mode)
153 (python-shell-make-comint): Fix initialization of local
154 variables copied from parent buffer.
155
156 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
157
158 * term/ns-win.el (ns-read-file-name): Update declaration to match
159 nsfns.m.
160 (ns-respond-to-change-font): Change fontsize separatly so we are sure
161 it is set when font is acted upon.
162
163 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
164
165 Enhancements to indentation.
166 * progmodes/python.el (python-indent-context): Give priority to
167 inside-string context. Make comments indentation markers.
168 (python-indent-region): Do not mess with strings, unless it's the
169 enclosing set of quotes.
170
171 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
172
173 * window.el (internal--before-save-selected-window)
174 (internal--after-save-selected-window): New functions extracted from
175 save-selected-window. Make sure we return the `alist' we construct.
176 (save-selected-window): Use them.
177
178 * textmodes/tex-mode.el (tex-recenter-output-buffer):
179 Use with-selected-window.
180
181 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
182 forms that define macros (bug#12593).
183
184 2012-10-07 Kenichi Handa <handa@gnu.org>
185
186 * international/mule-conf.el (compound-text-with-extensions):
187 Add :mime-charset property as x-ctext.
188
189 2012-10-07 Stefan Merten <smerten@oekonux.de>
190
191 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
192 (rst-indent-literal-normal, rst-indent-literal-minimized)
193 (rst-indent-comment): Correct :version tag.
194 (rst-official-cvs-rev): Correct version string.
195
196 2012-10-07 Glenn Morris <rgm@gnu.org>
197
198 * mail/rmailmm.el (rmail-mime-process-multipart):
199 Do not confuse a multipart message with an epilogue
200 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
201
202 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
203
204 Fix shell output retrieval and comint-prompt-regexp init.
205 * progmodes/python.el (inferior-python-mode):
206 (python-shell-make-comint): Fix initialization of
207 comint-prompt-regexp from copied file local variables.
208 (python-shell-fetched-lines): Remove var.
209 (python-shell-output-filter-in-progress): Rename from
210 python-shell-fetch-lines-in-progress.
211 (python-shell-output-filter-buffer): Rename from
212 python-shell-fetch-lines-string.
213 (python-shell-fetch-lines-filter): Delete function.
214 (python-shell-output-filter): New function.
215 (python-shell-send-string-no-output): Use them.
216
217 2012-10-07 Glenn Morris <rgm@gnu.org>
218
219 * hi-lock.el (hi-lock-process-phrase):
220 Try to make it less fragile. (Bug#7161)
221
222 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
223
224 2012-10-06 Glenn Morris <rgm@gnu.org>
225
226 * ehelp.el (electric-help-mode): Use help-mode rather than
227 non-existent mode `help'.
228 (electric-help-map): Use button-buffer-map. (Bug#10917)
229
230 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
231 (reftex-create-bibtex-footer): Fix custom types.
232
233 * progmodes/sh-script.el (sh-indent-after-continuation):
234 Add explicit :group.
235
236 * textmodes/rst.el (rst-preferred-decorations)
237 (rst-shift-basic-offset): Clarify obsolescence versions.
238
239 * profiler.el (profiler): Add missing group :version tag.
240 * avoid.el (mouse-avoidance-banish-position):
241 * proced.el (proced-renice-command):
242 * calc/calc.el (calc-ensure-consistent-units):
243 * calendar/icalendar.el (icalendar-import-format-uid):
244 * net/tramp.el (tramp-save-ad-hoc-proxies):
245 * progmodes/bug-reference.el (bug-reference-bug-regexp):
246 * progmodes/flymake.el (flymake-error-bitmap)
247 (flymake-warning-bitmap, flymake-fringe-indicator-position):
248 * progmodes/sh-script.el (sh-indent-after-continuation):
249 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
250 (verilog-before-save-font-hook, verilog-after-save-font-hook):
251 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
252 (vhdl-array-index-record-field-in-sensitivity-list)
253 (vhdl-indent-comment-like-next-code-line):
254 * textmodes/reftex-vars.el (reftex-ref-style-alist)
255 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
256 (reftex-cite-key-separator, reftex-create-bibtex-header)
257 (reftex-create-bibtex-footer):
258 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
259 (rst-indent-literal-normal, rst-indent-literal-minimized)
260 (rst-indent-comment): Add missing custom :version tags.
261
262 * calendar/timeclock.el (timeclock-modeline-display):
263 Add missing obsolete alias for renamed user option.
264
265 * strokes.el (strokes-modeline-string):
266 * emulation/crisp.el (crisp-mode-modeline-string):
267 * eshell/esh-mode.el (eshell-status-in-modeline):
268 Aliases to defcustoms must come before the defcustom.
269
270 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
271 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
272 (cal-tex-cursor-week-monday): Doc fixes.
273 (cal-tex-cursor-week2-summary): Doc fix.
274 Rename from cal-tex-cursor-week-at-a-glance.
275
276 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
277 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
278
279 * calendar/calendar.el (calendar-mode-map):
280 Add cal-tex-cursor-week2-summary.
281
282 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
283
284 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
285
286 * subr.el (read-passwd-map): New var.
287 (read-passwd): Use `read-string' again.
288 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
289
290 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
291
292 * register.el (append-to-register, prepend-to-register):
293 Deactivate mark, as does `copy-to-register' (bug#12389).
294
295 2012-10-06 Chong Yidong <cyd@gnu.org>
296
297 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
298
299 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
300
301 * international/characters.el: Fix simple mistake ((car chars) ->
302 elt), delete duplicated code.
303
304 2012-10-06 Glenn Morris <rgm@gnu.org>
305
306 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
307
308 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
309
310 * color.el (color-hsl-to-rgb): Fix incorrect results for
311 small and large hue values. (Bug#12559)
312
313 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
314
315 Enhancements to docstring formatting when filling paragraphs.
316 * progmodes/python.el (python-fill-docstring-style): Rename from
317 python-fill-string-style. Added new style.
318 (python-fill-string): Use new style. Better checks for
319 docstrings.
320
321 2012-10-05 Glenn Morris <rgm@gnu.org>
322
323 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
324
325 * color.el (color-name-to-rgb, color-rgb-to-hex)
326 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
327 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
328 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
329 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
330
331 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
332
333 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
334
335 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
336 to get the correct size across symlinks.
337
338 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
339
340 2012-10-04 Juri Linkov <juri@jurta.org>
341
342 * replace.el (query-replace-interactive): Declare obsolete.
343 (query-replace-read-from): Add the last incremental search string
344 to the list of default values accessible via M-n.
345 (map-query-replace-regexp): Use `read-regexp'.
346 (query-replace, query-replace-regexp, query-replace-regexp-eval)
347 (map-query-replace-regexp, replace-string, replace-regexp):
348 Fix docstrings to replace mentions of `query-replace-interactive'
349 with alternatives. (Bug#12526)
350
351 2012-10-04 Juri Linkov <juri@jurta.org>
352
353 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
354 (dired-pop-to-buffer): Declare obsolete.
355 (dired-mark-pop-up): Doc fix.
356
357 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
358
359 Allow user to set docstring style for fill-paragraph.
360 * progmodes/python.el
361 (python-fill-comment-function, python-fill-string-function)
362 (python-fill-decorator-function, python-fill-paren-function):
363 Remove :safe for defcustoms.
364 (python-fill-string-style): New defcustom
365 (python-fill-paragraph-function): Enhance context detection.
366 (python-fill-string): Honor python-fill-string-style settings.
367
368 2012-10-04 Martin Rudalics <rudalics@gmx.at>
369
370 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
371 after setting its buffer (Bug#10805).
372
373 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
374
375 Fix cornercase for string syntax.
376 * progmodes/python.el (python-syntax-propertize-function):
377 Simplify and enhance the regexp for unescaped quotes. Now it also
378 matches quotes in weird situations like the single quote in
379 "something\"'".
380 (python-syntax-stringify): Simplify num-quotes detecting code.
381
382 2012-10-03 Glenn Morris <rgm@gnu.org>
383
384 * help-macro.el (three-step-help):
385 Revert 2012-09-29 change. (Bug#12567)
386
387 2012-10-03 Martin Rudalics <rudalics@gmx.at>
388
389 * menu-bar.el (kill-this-buffer): Don't do anything when
390 `menu-frame' is not alive or visible (Bug#8184).
391
392 * emacs-lisp/debug.el (debug): When quitting the debugger window
393 restore current buffer (Bug#12502).
394
395 2012-10-02 Chong Yidong <cyd@gnu.org>
396
397 * progmodes/hideif.el (hif-lookup, hif-defined):
398 Handle semantic-c-takeover-hideif.
399
400 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
401
402 Change sampling interval units from ms to ns.
403 * profiler.el (profiler-sampling-interval): Change units
404 from ms to ns, multiplying the default by 1000000 so that
405 it remains 1 ms.
406 (profiler-report-cpu-line-format): Give enough room for
407 the maximum counters on 64-bit hosts.
408 (profiler-report-render-calltree-1): Call them "CPU samples",
409 not "Time (ms)", since they are not milliseconds now (and
410 never really were).
411
412 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
413
414 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
415 Fix querying BBDB for entries without a last name (Bug#11580).
416
417 2012-10-02 Chong Yidong <cyd@gnu.org>
418
419 * emacs-lisp/eieio.el: Restore Version header.
420
421 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
422
423 * vc/diff-mode.el (diff--auto-refine-data): New var.
424 (diff-hunk): Use it to delay refinement.
425 (diff-mode): Remove overlays when we turn off font-lock.
426
427 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
428 (table-initialize-table-fixed-width-mode)
429 (table-set-table-fixed-width-mode): Remove functions.
430 (table-command-list): Move initialization into declaration.
431 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
432 (table-with-cache-buffer): Use `declare'.
433 (table-span-cell): Simplify via CSE.
434 (table-fixed-width-mode): Use define-minor-mode.
435 (table-call-interactively, table-funcall, table-apply): Remove.
436 (table-function): New function, to replace them.
437
438 * bookmark.el (bookmark-search-pattern): Remove var.
439 (bookmark-read-search-input): Remove function.
440 (bookmark-bmenu-search): Reimplement using a minibuffer.
441
442 * faces.el (modeline): Remove obsolete face name.
443
444 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
445 and give a non-nil default value.
446 (add-change-log-entry): Simplify accordingly.
447
448 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
449
450 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
451 (vc-git-log-edit-toggle-amend): New function.
452 (vc-git-log-edit-toggle-signoff): New function.
453 (vc-git-log-edit-mode): New major mode.
454 (vc-git-log-edit-mode-map): Keymap for it.
455 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
456
457 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
458 header names.
459 (log-edit-toggle-header): New function.
460 (log-edit-extract-headers): Accept function values in HEADERS alist.
461
462 2012-10-01 David Engster <deng@randomsample.de>
463
464 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
465 from symbol property and change message to be more consistent with
466 Emacs proper.
467 (eieio-describe-generic): Add filename for each implementation.
468 Fix indices for generic and normal methods.
469 (eieio-method-def, eieio-class-def): New buttons.
470 (eieio-help-find-method-definition)
471 (eieio-help-find-class-definition): New functions.
472 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
473 class, constructor and method definitions.
474
475 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
476 information in symbol property.
477 (scoped-class): Remove.
478 (eieio-slot-name-index, call-next-method): Check if it is bound.
479
480 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
481
482 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
483 (eieio-custom-mode): New major mode.
484 (eieio-customize-object): Use it.
485
486 2012-10-01 Eric Ludlam <zappo@gnu.org>
487
488 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
489 specifying the expected class, and whether subclassing is allowed.
490 (eieio-persistent-convert-list-to-object):
491 (eieio-persistent-validate/fix-slot-value)
492 (eieio-persistent-slot-type-is-class-p): New functions.
493 (eieio-named::slot-missing): Doc fix.
494
495 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
496 Stop using unused publd variable.
497
498 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
499 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
500 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
501 (eieio-speedbar-handle-click): Do not specify a class for the
502 method. Fixes method invocation order problems with EDE.
503
504 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
505
506 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
507 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
508
509 2012-10-01 Karl Fogel <kfogel@red-bean.com>
510
511 * bookmark.el (bookmark-version-control): Give tags in the
512 :type choices (Bug#12309), and improve doc string.
513 (bookmark-write-file): Bind `print-circle' to `t' to allow
514 circular custom bookmark types. (Bug#12503)
515
516 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
517
518 Revert the FOLLOW-SYMLINKS change for file-attributes.
519 * files.el (remote-file-name-inhibit-cache, after-find-file):
520 * time.el (display-time-file-nonempty-p): Undo last change.
521
522 * profiler.el (profiler-sampling-interval): Change default back to 1.
523 See Stefan Monnier in
524 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
525
526 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
527
528 Shell output catching a la gud-gdb.
529 * progmodes/python.el (python-shell-fetch-lines-in-progress)
530 (python-shell-fetch-lines-string, python-shell-fetched-lines):
531 New Vars.
532 (python-shell-fetch-lines-filter): New function.
533 (python-shell-send-string-no-output): Use them.
534
535 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
536
537 * profiler.el (profiler-sampling-interval): Rename from
538 profiler-sample-interval.
539 (profiler-sampling-interval): Default to 10.
540 (profiler-find-profile): New command (was profiler-find-log).
541 (profiler-find-profile-other-window): New command.
542 (profiler-find-profile-other-frame): New command.
543 (profiler-profile): Introduce API-level data structure.
544
545 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
546
547 file-attributes has a new optional arg FOLLOW-SYMLINKS.
548 * files.el (remote-file-name-inhibit-cache):
549 * time.el (display-time-file-nonempty-p): Use it.
550 * files.el (after-find-file): Don't chase links before calling
551 file-exists-p, as file-exists-p already does the right thing.
552
553 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
554
555 Merge from standalone RefTeX repository.
556
557 The following ChangeLog entries are shortened versions of the
558 original ones with file paths adapted. A not so strongly edited
559 version of the original ChangeLog can be found in the commit log.
560
561 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
562 (reftex-arg-cite): Use `reftex-cite-key-separator'.
563 Correctly handle new value type returned by `reftex-citation'.
564
565 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
566 that entries with whitespace at various places are found.
567 Doc fix. Include entries that are cross-referenced from cited entries.
568 Include @String definitions in the resulting bib file. Add header
569 and footer defined in `reftex-create-bibtex-header' and
570 `reftex-create-bibtex-footer'.
571 (reftex-do-citation): Make it possible again to insert
572 non-existent entries. Save match data when asking for optional
573 arguments. Return all keys, not just the first one.
574 (reftex-all-used-citation-keys): Fix regexp to correctly extract
575 all citations in the same line.
576 (reftex-parse-bibtex-entry): Accept additional optional argument
577 `raw' and keep quotes or braces if it is non-nil. Match fields
578 containing hyphens besides word constituents.
579 (reftex-get-string-refs): New function.
580 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
581 and ask if it should be reread in case it did.
582 (reftex-pop-to-bibtex-entry)
583 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
584 entries with spaces or tabs in front of arguments.
585 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
586 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
587 Match entries containing numbers and symbol constituents.
588 (reftex-do-citation, reftex-figure-out-cite-format):
589 Use `reftex-cite-key-separator'.
590
591 * textmodes/reftex-dcr.el: Move provide statement to end of file.
592 (reftex-mouse-view-crossref): Explain why point is set.
593
594 * textmodes/reftex-global.el: Whitespace changes.
595
596 * textmodes/reftex-index.el: Move provide statement to end of
597 file.
598 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
599 (reftex-index-visit-phrases-buffer): Set marker when visiting
600 buffer. This allows for returning from the phrases file to the
601 file one was just editing instead of the file where the last
602 phrases was added from.
603 (reftex-index-phrases-syntax-table): New variable. Give ?\"
604 punctuation syntax as it usually is not used as string quote in
605 TeX-related modes and may occur unmatched. The change also
606 prevents fontification of quoted content.
607 (reftex-index-phrases-mode): Use it.
608
609 * textmodes/reftex-parse.el (reftex-parse-from-file):
610 Move backward one char if a `\' was matched after a section macro.
611 (reftex-parse-from-file): Use beginning of match instead of end as
612 bound.
613
614 * textmodes/reftex-ref.el: Adapt creation of
615 `reftex-<package>-<macro>' functions to new structure of
616 `reftex-ref-style-alist'.
617 (reftex-reference): Use `reftex-ref-style-list' function.
618 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
619 reference macro if `reftex-ref-macro-prompt' is non-nil.
620 (reftex-reference): Pass refstyle to `reftex-format-special'.
621 Determine reference macro by looking at
622 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
623 Use only one special format function.
624 (reftex-varioref-vref, reftex-fancyref-fref)
625 (reftex-fancyref-Fref): Remove definitions. The functions are now
626 generated from `reftex-ref-style-alist'.
627 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
628 Remove.
629 (reftex-format-special): New function.
630
631 * textmodes/reftex-sel.el
632 (reftex-select-cycle-ref-style-internal): Adapt to new structure
633 of `reftex-ref-style-alist'. Remove code for testing macro type.
634 (reftex-select-toggle-varioref)
635 (reftex-select-toggle-fancyref): Remove.
636 (reftex-select-cycle-ref-style-internal)
637 (reftex-select-cycle-ref-style-forward)
638 (reftex-select-cycle-ref-style-backward): New functions.
639 (reftex-select-label-map): Use `v' and `V' for general cycling
640 through reference styles. Add `p' for switching between number
641 and page reference types.
642
643 * textmodes/reftex-toc.el (reftex-re-enlarge):
644 Call `enlarge-window' only if there is something to do because in Emacs
645 the horizontal version throws an error even if the parameter is 0.
646
647 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
648 (reftex-plug-into-AUCTeX): Doc fix.
649 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
650 string. Adapt to new name.
651 (reftex-ref-style-alist): Change structure so that it is not
652 possible to use multiple different package names within a style.
653 Remove the symbols for symbols for macro type distinction.
654 Add characters for macro selection.
655 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
656 (reftex-create-bibtex-footer): New variables.
657 (reftex-format-ref-function): Mention third argument of special
658 format function.
659 (reftex-ref-style-alist, reftex-ref-style-default-list):
660 New variables.
661 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
662 to new implementation. Mark as obsolete. Add compatibility code
663 for honoring the variable values in case they are set.
664 (reftex-cite-format-builtin, reftex-bibliography-commands):
665 Add support for ConTeXt.
666 (reftex-format-ref-function, reftex-format-cite-function):
667 Fix custom type.
668 (reftex-cite-key-separator): New variable.
669
670 * textmodes/reftex.el (reftex-syntax-table-for-bib)
671 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
672 `reftex-syntax-table' because parens have to retain their paren
673 syntax in order for parsing of BibTeX entries like @book(...) to
674 work.
675 (reftex-in-comment): Do not error out if `comment-start-skip' is
676 not set. Deal correctly with escaped comment characters.
677 (reftex-tie-multifile-symbols): Add doc string.
678 Initialize `reftex-ref-style-list'.
679 (reftex-untie-multifile-symbols): Add doc string.
680 (reftex-add-index-macros): Doc fix.
681 (reftex-ref-style-activate, reftex-ref-style-toggle)
682 (reftex-ref-style-list): New functions.
683 (reftex-mode-menu): Use them. Adapt to new structure of
684 `reftex-ref-style-alist'.
685 (reftex-select-with-char): Kill the RefTeX Select buffer when
686 done.
687 (reftex-remove-if): New function.
688 (reftex-erase-all-selection-and-index-buffers)
689 (reftex-mode-menu): Reference styles are now computed from
690 `reftex-ref-style-alist'. Fix typo.
691 (reftex-report-bug): New function.
692 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
693 algorithms with O(n log n). Introduce optional argument SORT (not
694 yet used).
695
696 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
697
698 Enhancements for triple-quote string syntax.
699 * progmodes/python.el (python-syntax-propertize-function):
700 Match both quote cases in one regexp.
701 (python-syntax-stringify): Handle matches properly.
702
703 2012-09-30 Juri Linkov <juri@jurta.org>
704
705 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
706 to nil around the call to `insert' to prevent
707 directory time modification by lock_file. (Bug#2295)
708 * tar-mode.el (tar-summarize-buffer): Idem.
709
710 2012-09-30 Juri Linkov <juri@jurta.org>
711
712 * facemenu.el (list-colors-sort): Add option "Luminance".
713 (list-colors-sort-key): Implement it.
714
715 * vc/diff-mode.el (diff-refine-removed):
716 * vc/ediff-init.el (ediff-fine-diff-A):
717 * vc/smerge-mode.el (smerge-refined-removed):
718 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
719
720 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
721
722 * term/ns-win.el (x-file-dialog): New function.
723
724 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
725
726 * ido.el (ido-max-directory-size): Default to nil; the current
727 default is small for POSIX systems, and impractical on Windows 7
728 now that lstat returns directory sizes for NTFS.
729
730 2012-09-30 Martin Rudalics <rudalics@gmx.at>
731
732 In buffer display functions handle window-height/window-width
733 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
734 * window.el (window--display-buffer): New argument ALIST.
735 Obey window-height and window-width alist entries.
736 (window--try-to-split-window): New argument ALIST.
737 Bind window-combination-limit to t when the window's size shall be
738 changed and window-combination-limit equals `window-size'.
739 (display-buffer-in-atom-window)
740 (display-buffer-in-major-side-window)
741 (display-buffer-in-side-window, display-buffer-same-window)
742 (display-buffer-reuse-window, display-buffer-pop-up-frame)
743 (display-buffer-pop-up-window, display-buffer-below-selected)
744 (display-buffer-at-bottom, display-buffer-in-previous-window)
745 (display-buffer-use-some-window): Adjust all callers of
746 window--display-buffer and window--try-to-split-window.
747 (fit-frame-to-buffer): New option.
748 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
749 is non-nil.
750 (display-buffer-in-major-side-window): Evaluate window-height /
751 window-width alist entries.
752
753 * help.el (temp-buffer-resize-frames)
754 (temp-buffer-resize-regexps): Remove options.
755 (temp-buffer-resize-mode): Adjust doc-string.
756 (resize-temp-buffer-window): Don't consult
757 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
758 temp-buffer-resize-frames.
759
760 * dired.el (dired-mark-pop-up):
761 Call display-buffer-below-selected with a fit-window-to-buffer alist
762 entry.
763
764 2012-09-30 Chong Yidong <cyd@gnu.org>
765
766 * server.el (server-host): Document the security implications.
767 (server-auth-key): Doc fix.
768
769 * startup.el (initial-buffer-choice): Doc fix.
770
771 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
772
773 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
774 restriction change.
775
776 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
777
778 * help-fns.el (help-fns--obsolete): Fix last change.
779
780 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
781
782 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
783 (minor-mode-map-alist): Remove redundant code.
784
785 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
786 visited in a buffer.
787 (cvs-insert-visited-file): New function.
788 (find-file-hook): Use it.
789
790 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
791
792 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
793 chose face.
794 (log-edit-empty-buffer-p): Don't require a space after a header.
795
796 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
797
798 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
799
800 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
801 a proper minor-mode.
802
803 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
804
805 2012-09-29 Glenn Morris <rgm@gnu.org>
806
807 * winner.el (winner-mode): Remove variable (let define-minor-mode
808 handle it).
809 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
810 Doc fixes.
811 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
812 (winner-mode): Use define-minor-mode.
813
814 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
815 the full definition in loaddefs, rather than duplicating it.
816
817 * help-macro.el (three-step-help): No need to autoload defcustom.
818
819 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
820 (inferior-lisp-program, inferior-lisp-load-command)
821 (inferior-lisp-prompt, inferior-lisp-mode-hook):
822 No need to autoload defcustoms.
823
824 * hippie-exp.el (hippie-expand-try-functions-list)
825 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
826 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
827 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
828 (hippie-expand-only-buffers): No need to autoload defcustoms.
829 * progmodes/vhdl-mode.el (vhdl-line-expand):
830 Explicitly load hippie-exp, so it does not get autoloaded
831 while hippie-expand-try-functions-list is let-bound.
832
833 2012-09-28 Glenn Morris <rgm@gnu.org>
834
835 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
836
837 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
838 Only "cl.el" counts as cl these days.
839
840 2012-09-28 Juri Linkov <juri@jurta.org>
841
842 Display archive errors in the echo area instead of inserting
843 to the file buffer.
844
845 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
846 to STDERR-TEST that can be a regexp matching a successful output.
847 Create a temporary file and redirect stderr to it. Search for
848 STDERR-TEST in the stderr output and display it in the echo area
849 if no match is found.
850 (archive-extract-by-file): New function like
851 `archive-extract-by-stdout' but extracting archives to files
852 and looking for successful matches in stdout. Function body is
853 mostly copied from `archive-rar-extract'.
854 (archive-rar-extract): Use `archive-extract-by-file'.
855 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
856
857 2012-09-28 Leo Liu <sdl.web@gmail.com>
858
859 * pcomplete.el (pcomplete-show-completions):
860 Use minibuffer-message to make pcomplete usable in minibuffer.
861
862 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
863
864 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
865
866 * type-break.el: Use lexical-binding.
867 (type-break-mode): Use define-minor-mode.
868
869 * emacs-lisp/pcase.el (pcase--mark-used): New.
870 (pcase--u1): Use it (bug#12512).
871
872 * custom.el (load-theme): Set buffer-file-name so the load is recorded
873 in load-history with the right file name.
874
875 2012-09-28 Tassilo Horn <tsdh@gnu.org>
876
877 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
878 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
879 (doc-view-get-bounding-box): Make bounding box slicing work for
880 ODF and DVI documents.
881
882 2012-09-28 Glenn Morris <rgm@gnu.org>
883
884 * type-break.el (type-break-mode, type-break-interval)
885 (type-break-good-rest-interval, type-break-keystroke-threshold):
886 No need to autoload.
887 (type-break-good-rest-interval, type-break-keystroke-threshold):
888 Add :set-after.
889
890 2012-09-28 Chong Yidong <cyd@gnu.org>
891
892 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
893 Add :version tag.
894
895 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
896
897 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
898
899 2012-09-27 Glenn Morris <rgm@gnu.org>
900
901 * faces.el (x-display-name): Declare (for without-x builds).
902
903 * linum.el (linum-format): Don't autoload it. Improve :type.
904
905 * progmodes/tcl.el: Don't require outline when compiling.
906 (outline-regexp, outline-level): Declare.
907 * textmodes/sgml-mode.el: Don't require outline when compiling.
908 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
909
910 * term.el (term-ansi-reset):
911 Try setting term-ansi-face-already-done to nil. (Bug#11785)
912
913 * vc/vc.el (vc-next-action): Only gripe about committing read-only
914 files for RCS and SCCS. (Bug#9781)
915
916 2012-09-27 Chong Yidong <cyd@gnu.org>
917
918 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
919 change; value should be t.
920
921 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
922
923 * image-mode.el: Use lexical-binding.
924 (image-mode-winprops): Use t to stand for the window of
925 a buffer that's not displayed.
926 * doc-view.el (doc-view-new-window-function): Handle the new
927 t in winprops.
928 (doc-view-enlarge): Make it a real nop if the size is not changed.
929 (doc-view-display): Handle the case where the buffer is not (yet?)
930 displayed in any window.
931 (doc-view-saved-settings): New var.
932 (doc-view-mode): Use it.
933 (doc-view-fallback-mode): Set it.
934
935 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
936 Set lexical-binding.
937 (minibuffer-eldef-shorten-default): New var.
938 (minibuffer-default-in-prompt-regexps): Use it for new default.
939 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
940
941 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
942
943 * international/uni-bidi.el:
944 * international/uni-category.el:
945 * international/uni-name.el:
946 * international/uni-numeric.el: Regenerate.
947
948 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
949 Stefan Monnier <monnier@iro.umontreal.ca>
950
951 * profiler.el: New file.
952
953 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
954
955 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
956 (testcover-reinstrument): Simplify with CSE.
957
958 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
959
960 * window.el (temp-buffer-window-setup): Fix typo in docstring.
961
962 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
963
964 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
965 (verilog-auto-input, verilog-auto-insert-lisp)
966 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
967 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
968 (verilog-auto-unused, verilog-auto-wire)
969 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
970 newline. Reported by Andrew Jones.
971 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
972 Reported by Brad Dobbie.
973 (verilog-batch-delete-trailing-whitespace):
974 Create verilog-batch-delete-trailing-whitespace.
975 Reported by Brad Dobbie.
976 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
977 parameters from another module. Reported by Dan Katz.
978 (verilog-auto, verilog-auto-assign-modport)
979 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
980 AUTOINOUTMODPORT for UVM interface module shell generation.
981 Reported by Brad Dobbie.
982 (verilog-auto-inst-interfaced-ports): Make default nil, as more
983 standard behavior.
984 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
985 Reported by Matt Martin.
986
987 2012-09-25 Martin Rudalics <rudalics@gmx.at>
988
989 * window.el (window--resize-child-windows): When resizing child
990 windows proportionally, process them in reverse order to
991 preserve the "when splitting a window the new one gets the odd
992 line" behavior.
993 (window--resize-root-window-vertically): When resizing the
994 minibuffer window try to affect only windows at the bottom of the
995 frame. (Bug#12419)
996
997 2012-09-25 Chong Yidong <cyd@gnu.org>
998
999 * subr.el (declare): Doc fix.
1000
1001 * help-fns.el (help-fns--obsolete): Handle macros properly.
1002
1003 2012-09-25 Chong Yidong <cyd@gnu.org>
1004
1005 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1006 this function obsolete.
1007
1008 * calendar/cal-x.el (calendar-two-frame-setup)
1009 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1010 * calendar/calendar.el (american-calendar, european-calendar)
1011 (calendar-for-loop):
1012 * comint.el (comint-dynamic-simple-complete)
1013 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1014 * desktop.el (desktop-load-default):
1015 * dired-x.el (dired-omit-here-always)
1016 (dired-hack-local-variables, dired-default-directory):
1017 * emacs-lisp/derived.el (derived-mode-class):
1018 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1019 * emacs-lock.el (toggle-emacs-lock):
1020 * epa.el (epa-display-verify-result):
1021 * epg.el (epg-sign-keys, epg-start-sign-keys)
1022 (epg-passphrase-callback-function):
1023 * eshell/esh-util.el (eshell-for):
1024 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1025 (eshell-add-to-window-buffer-names):
1026 * files.el (locate-file-completion):
1027 * imenu.el (imenu-example--create-c-index)
1028 (imenu-example--create-lisp-index)
1029 (imenu-example--lisp-extract-index-name)
1030 (imenu-example--name-and-position):
1031 * international/mule-cmds.el (princ-list):
1032 * international/mule-diag.el (decode-codepage-char):
1033 * international/mule-util.el (detect-coding-with-priority):
1034 * iswitchb.el (iswitchb-read-buffer):
1035 * mail/mailalias.el (mail-complete):
1036 * mail/sendmail.el (mail-sent-via):
1037 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1038 (mouse-major-mode-menu):
1039 * password-cache.el (password-read-and-add):
1040 * pcomplete.el (pcomplete-parse-comint-arguments):
1041 * progmodes/sh-script.el (sh-maybe-here-document):
1042 * replace.el (query-replace-regexp-eval):
1043 * savehist.el (savehist-load):
1044 * simple.el (choose-completion-delete-max-match):
1045 * term.el (term-dynamic-simple-complete):
1046 * vc/ediff-init.el (ediff-check-version):
1047 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1048 * vc/vc.el (vc-diff-switches-list):
1049 * view.el (view-return-to-alist-update): Likewise.
1050
1051 * subr.el (eval-next-after-load, makehash, insert-string)
1052 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1053 mark obsolete.
1054 (mode-line-inverse-video): Variable deleted.
1055
1056 * international/mule-util.el (string-to-sequence): Remove.
1057
1058 * calendar/calendar.el (calendar-version):
1059 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1060 (icalendar-convert-diary-to-ical):
1061 * cus-edit.el (custom-mode):
1062 * ansi-color.el (ansi-color-unfontify-region):
1063 * international/latin1-disp.el (latin1-char-displayable-p):
1064 * progmodes/cwarn.el (turn-on-cwarn-mode):
1065 * progmodes/which-func.el (which-func-update-1):
1066 Use define-obsolete-function-alias.
1067
1068 * net/newst-backend.el (newsticker-cache-filename):
1069 * net/newst-treeview.el (newsticker-groups-filename):
1070 Fix incorrect obsolescence declaration.
1071
1072 * allout.el (allout-passphrase-hint-string): Likewise.
1073 (allout-init): Use a declare form to mark obsolete.
1074
1075 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1076 this applies to functions.
1077
1078 * iswitchb.el (iswitchb-read-buffer): Move code of
1079 iswitchb-define-mode-map here, and delete that obsolete function.
1080
1081 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1082 font-lock-reference-face.
1083
1084 2012-09-25 Glenn Morris <rgm@gnu.org>
1085
1086 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1087 Doc fixes.
1088
1089 * eshell/em-term.el (eshell-term-name):
1090 Default to term-term-name. (Bug#12485)
1091
1092 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1093
1094 * progmodes/python.el (python-shell-send-buffer): Better handling
1095 of "if __name__ == '__main__':" conditionals when sending the buffer.
1096
1097 2012-09-24 Glenn Morris <rgm@gnu.org>
1098
1099 * eshell/esh-cmd.el (eshell-find-alias-function):
1100 Tighten up file-name regexp. (Bug#12499)
1101
1102 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1103
1104 Enhancements for triple-quote string syntax.
1105 * progmodes/python.el (python-quote-syntax): Remove.
1106 (python-syntax-propertize-function): New value.
1107 (python-syntax-count-quotes, python-syntax-stringify):
1108 New functions.
1109
1110 2012-09-24 Chong Yidong <cyd@gnu.org>
1111
1112 * mail/supercite.el (sc-version): Remove obsolete function.
1113 (sc-describe): Don't mark as obsolete, since it is bound.
1114 (sc-submit-bug-report): Remove.
1115
1116 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1117 (cvs-commit-buffer-require-final-newline): Remove.
1118 (log-edit-require-final-newline)
1119 (log-edit-changelog-full-paragraphs): Default to t.
1120
1121 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1122 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1123 * vc/vc.el (vc-checkout-carefully): Likewise.
1124
1125 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1126 (emerge-version): Remove.
1127
1128 * progmodes/compile.el (compile-internal): Remove.
1129 (compilation-parse-errors-function): Fix typo.
1130
1131 * international/mule.el (set-char-table-default): Remove.
1132 (set-coding-priority, make-coding-system, generic-char-p)
1133 (charset-list, charset-bytes, charset-id): Use declare to mark
1134 functions as obsolete.
1135
1136 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1137 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1138 * vc/vc-hooks.el (vc-default-registered): Don't use
1139 vc-master-templates.
1140
1141 * font-lock.el (font-lock-reference-face):
1142 Use define-obsolete-variable-alias.
1143
1144 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1145 * calendar/calendar.el (calendar-font-lock-keywords):
1146 * calendar/diary-lib.el (diary-font-lock-keywords)
1147 (diary-fancy-font-lock-keywords):
1148 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1149 * textmodes/reftex-index.el (reftex-insert-index):
1150 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1151 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1152 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1153 * progmodes/prolog.el (prolog-font-lock-keywords):
1154 * progmodes/idlwave.el (idlwave-idl-keywords):
1155 * progmodes/ada-mode.el (ada-font-lock-keywords):
1156 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1157
1158 2012-09-24 Glenn Morris <rgm@gnu.org>
1159
1160 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1161
1162 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1163
1164 * progmodes/python.el (python-indent-line): More consistent cursor
1165 movement behavior.
1166
1167 2012-09-23 Stefan Merten <smerten@oekonux.de>
1168
1169 * textmodes/rst.el: Fix compiler warning.
1170
1171 2012-09-23 Roland Winkler <winkler@gnu.org>
1172
1173 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1174 Transcribe also LaTeX hyphenation.
1175 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1176 bibtex-reformat-previous-options.
1177
1178 2012-09-23 Roland Winkler <winkler@gnu.org>
1179
1180 * proced.el (proced-renice-command): New variable.
1181 (proced-marked-processes): New function.
1182 (proced-with-processes-buffer): New macro.
1183 (proced-send-signal): Use them.
1184 (proced-renice): New command bound to r.
1185
1186 2012-09-23 Roland Winkler <winkler@gnu.org>
1187
1188 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1189 ibuffer-saved-filter-groups has one element, shortcut the call of
1190 completing-read. (Bug#12331)
1191
1192 2012-09-23 Chong Yidong <cyd@gnu.org>
1193
1194 * bindings.el (mode-line-toggle-read-only):
1195 * bs.el (bs-toggle-readonly):
1196 * buff-menu.el (Buffer-menu-toggle-read-only):
1197 * dired.el (dired-toggle-read-only):
1198 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1199
1200 2012-09-23 Chong Yidong <cyd@gnu.org>
1201
1202 * image.el (image-type-available-p): Adapt to init-image-library
1203 argument changes.
1204
1205 2012-09-22 Juri Linkov <juri@jurta.org>
1206
1207 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1208 `dired-toggle-read-only'. (Bug#12462)
1209
1210 2012-09-22 Martin Rudalics <rudalics@gmx.at>
1211
1212 * subr.el (temp-output-buffer-show): New function.
1213 (with-output-to-temp-buffer): Call temp-output-buffer-show
1214 instead of internal-temp-output-buffer-show.
1215
1216 2012-09-22 Chong Yidong <cyd@gnu.org>
1217
1218 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1219 (Bug#12462).
1220
1221 * repeat.el (repeat): Doc fix (Bug#12348).
1222
1223 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1224 (Bug#10909).
1225
1226 * simple.el (shell-command-on-region): Doc fix.
1227 (read-only-mode): Doc fix.
1228
1229 2012-09-22 Eli Zaretskii <eliz@gnu.org>
1230
1231 * emacs-lisp/timer.el (run-with-idle-timer)
1232 (timer-activate-when-idle): Warn against reinvoking an idle timer
1233 from within its own timer action. (Bug#12447)
1234
1235 2012-09-22 Martin Rudalics <rudalics@gmx.at>
1236
1237 * cus-start.el (window-combination-limit): Add new optional
1238 values.
1239 * window.el (temp-buffer-window-show)
1240 (window--try-to-split-window): Handle new values of
1241 window-combination-limit (Bug#1806).
1242 (split-window): Test window-combination-limit for t instead of
1243 non-nil.
1244 (display-buffer-at-bottom): New buffer display action function.
1245 * help.el (temp-buffer-resize-regexps): New option.
1246 (temp-buffer-resize-mode): Rewrite doc-string.
1247 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
1248 Don't resize reused window. Suggested by Glenn Morris.
1249
1250 2012-09-22 Stefan Merten <smerten@oekonux.de>
1251
1252 * textmodes/rst.el: Revamp section title faces.
1253 (rst-official-version)
1254 (rst-package-emacs-version-alist): Sync with official version
1255 V1.4.0.
1256 (rst-faces-defaults, rst-set-level-default)
1257 (rst-level-face-max, rst-level-face-base-color)
1258 (rst-level-face-base-light, rst-level-face-format-light)
1259 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1260 (rst-adornment-faces-alist): Match new setup.
1261 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1262 (rst-level-5, rst-level-6): New faces.
1263
1264 2012-09-22 Chong Yidong <cyd@gnu.org>
1265
1266 * simple.el (undo): Handle indirect buffers (Bug#8207).
1267
1268 2012-09-21 Leo Liu <sdl.web@gmail.com>
1269
1270 IDO: Disable match re-ordering for buffer switching.
1271 * ido.el (ido-buffer-disable-smart-matches): New variable.
1272 (ido-set-matches-1): Use it. (Bug#2042)
1273
1274 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
1275
1276 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1277 Fix 2011-05-17 change. (Bug#12418)
1278
1279 2012-09-21 Leo Liu <sdl.web@gmail.com>
1280
1281 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
1282
1283 2012-09-21 Glenn Morris <rgm@gnu.org>
1284
1285 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
1286 Be more robust about locating simple.el.
1287
1288 2012-09-21 Glenn Morris <rgm@gnu.org>
1289
1290 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
1291
1292 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
1293
1294 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
1295
1296 2012-09-20 Juri Linkov <juri@jurta.org>
1297
1298 * replace.el (query-replace-read-from): Use `read-regexp' instead
1299 of `read-from-minibuffer' when `regexp-flag' is non-nil.
1300 (occur-read-primary-args): Use `read-regexp' instead of
1301 `read-string'.
1302 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
1303 `read-from-minibuffer'.
1304 * isearch.el (isearch-occur): Use `read-regexp' instead of
1305 `read-string'.
1306 * dired.el (dired-read-regexp): Use `read-regexp' instead of
1307 `read-from-minibuffer'.
1308 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
1309 of `read-string'. (Bug#7567)
1310
1311 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
1312 and allow accepting a list of strings prepended to a list of
1313 standard default values. Doc fix. (Bug#12321)
1314
1315 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
1316
1317 * replace.el (read-regexp): Don't add ": " when PROMPT already
1318 ends with a colon and space. (Bug#12321)
1319
1320 2012-09-20 Tassilo Horn <tsdh@gnu.org>
1321
1322 * doc-view.el (doc-view-display): Better fix for the cl-assertion
1323 error.
1324
1325 2012-09-20 Stefan Merten <smerten@oekonux.de>
1326
1327 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
1328 Fixes feature request bug#11711.
1329 (rst-mode): Create `imenu-create-index-function'.
1330 (rst-get-stripped-line): Delete after refactoring.
1331 (rst-section-tree, rst-section-tree-rec)
1332 (rst-section-tree-point): Refactor and document properly.
1333 (rst-imenu-find-adornments-for-position)
1334 (rst-imenu-convert-cell, rst-imenu-create-index):
1335 New function.
1336
1337 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1338
1339 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
1340 (macroexp--expand-all): Use it.
1341 (macroexp--funcall-and-return): Remove by folding it into its sole
1342 caller (macroexp--warn-and-return).
1343 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
1344 Use macroexp--obsolete-warning.
1345
1346 * calc/calc.el: Fix last change by removing the whole chunk, since it
1347 was only needed back when Calc was not bundled.
1348
1349 2012-09-20 Martin Rudalics <rudalics@gmx.at>
1350
1351 * emacs-lisp/debug.el (debug): Restore assignment to
1352 debugger-old-buffer removed on 2012-09-08.
1353
1354 2012-09-20 Juri Linkov <juri@jurta.org>
1355
1356 * dired-aux.el (dired-diff): Remove (require 'diff) since
1357 `diff-latest-backup-file' is now autoloaded.
1358
1359 2012-09-20 Chong Yidong <cyd@gnu.org>
1360
1361 * vc/diff.el (diff-latest-backup-file): Autoload.
1362
1363 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1364
1365 * calc/calc.el: Remove redundant autoload shape check.
1366 (sel-mode): Don't defvar.
1367 (calc-get-stack-element): Add `sel-mode' arg instead.
1368 (calc-top, calc-top-list): Pass it this additional argument.
1369 * calc/calc-store.el (calc-store-map):
1370 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
1371 (calc-map-equation, calc-outer-product, calc-inner-product):
1372 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
1373
1374 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
1375
1376 2012-09-19 Juri Linkov <juri@jurta.org>
1377
1378 * dired-aux.el (dired-diff): Add (require 'diff) because
1379 `diff-latest-backup-file' is not autoloaded.
1380 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
1381 of `dired-get-filename' to t to not report error when there is
1382 no default file on the current line.
1383
1384 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1385
1386 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
1387 macroexp--eval-if-compile.
1388 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
1389 (macroexp--expand-all): Use them (bug#12371).
1390
1391 * doc-view.el (doc-view-guess-paper-size)
1392 (doc-view-scale-bounding-box): Fix unbound `caddr'.
1393
1394 2012-09-19 Tassilo Horn <tsdh@gnu.org>
1395
1396 New feature: set optimal slice from BoundingBox information.
1397 * doc-view.el (doc-view-mode-map): Add keybinding.
1398 (doc-view-menu): Add menu entry.
1399 (doc-view-set-slice): Adapt docstring.
1400 (doc-view-get-bounding-box, doc-view-guess-paper-size)
1401 (doc-view-scale-bounding-box)
1402 (doc-view-set-slice-from-bounding-box): New functions.
1403 (doc-view-paper-sizes): New defvar.
1404
1405 2012-09-19 Glenn Morris <rgm@gnu.org>
1406
1407 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
1408 (byte-compile-log-warning): Autoload. (Bug#12371)
1409
1410 * calendar/calendar.el (calendar-american-month-header)
1411 (calendar-european-month-header, calendar-iso-month-header)
1412 (calendar-month-header): New options.
1413 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
1414 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
1415
1416 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
1417
1418 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
1419
1420 2012-09-18 Juri Linkov <juri@jurta.org>
1421
1422 * dired-aux.el (dired-diff): Restore original functionality of
1423 getting the default value, but keep new feature of using the
1424 latest existing backup file (`diff-latest-backup-file').
1425
1426 2012-09-18 Juri Linkov <juri@jurta.org>
1427
1428 * dired.el (dired-mark): If the region is active in Transient Mark
1429 mode, mark all files in the active region. Doc fix.
1430 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
1431 Doc fix. (Bug#10624)
1432
1433 2012-09-18 Juri Linkov <juri@jurta.org>
1434
1435 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
1436 attributes for M-n are pulled from the file at point.
1437 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
1438 Suggested by Drew Adams. (Bug#10624)
1439
1440 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
1441
1442 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
1443 whitespace after "end".
1444 (ruby-do-end-to-brace): Collapse block to one line if it fits
1445 within fill-column.
1446
1447 2012-09-18 Martin Rudalics <rudalics@gmx.at>
1448
1449 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
1450 value.
1451 (debug): Don't remove debugger window when debugger is expected
1452 to be back.
1453
1454 2012-09-18 Chong Yidong <cyd@gnu.org>
1455
1456 * custom.el (defface): Doc fix.
1457
1458 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
1459
1460 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
1461
1462 * progmodes/compile.el (compilation-start): Use compilation-always-kill
1463 to initialize query-on-exit; then test that instead (bug#12288).
1464
1465 2012-09-17 Stefan Merten <smerten@oekonux.de>
1466
1467 * textmodes/rst.el: Add support for `testcover'.
1468 (rst-defcustom-testcover, rst-testcover-add-compose)
1469 (rst-testcover-add-1value): New functions.
1470 (rst-portable-mark-active-p): Replace by `use-region-p'.
1471 (rst-update-section, rst-classify-adornment)
1472 (rst-find-title-line): Mark `1value' forms.
1473 (rst-classify-adornment): Remove superfluous form.
1474 (rst-update-section, rst-get-adornments-around)
1475 (rst-adornment-complete-p, rst-get-next-adornment)
1476 (rst-adjust, rst-promote-region)
1477 (rst-display-adornments-hierarchy, rst-straighten-adornments)
1478 (rst-find-pfx-in-region, rst-section-tree-rec)
1479 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
1480 (rst-toc-node, rst-toc, rst-forward-section)
1481 (rst-iterate-leftmost-paragraphs)
1482 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
1483 (rst-bullet-list-region)
1484 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
1485 (rst-compile-find-conf, rst-compile)
1486 (rst-repeat-last-character): Fix style.
1487
1488 2012-09-17 Chong Yidong <cyd@gnu.org>
1489
1490 * comint.el (comint--complete-file-name-data): Don't add a space
1491 if the status is `sole'; that adds a gratuitous space in the
1492 completion-cycling case (Bug#12092).
1493
1494 * pcomplete.el (pcomplete-completions-at-point): Likewise.
1495
1496 2012-09-17 Richard Stallman <rms@gnu.org>
1497
1498 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
1499 only in the mime-shown mode, not in raw mode.
1500 (rmail-mime): Toggle off mime by displaying the message without
1501 mime processing. (Bug#12305)
1502
1503 * mail/rmail.el (rmail-retry-failure):
1504 Turn off mime processing first. (Bug#12037)
1505
1506 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
1507
1508 2012-09-17 Chong Yidong <cyd@gnu.org>
1509
1510 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
1511 (shell-dynamic-complete-functions): Convert to defcustom.
1512 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
1513
1514 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
1515 * comint.el (comint-prompt-read-only):
1516 * custom.el (defcustom):
1517 * hi-lock.el (hi-lock-mode):
1518 * ibuffer.el (ibuffer-formats):
1519 * ielm.el (ielm-prompt-read-only):
1520 * novice.el (disable-command):
1521 * saveplace.el (toggle-save-place):
1522 * speedbar.el (speedbar-supported-extension-expressions):
1523 * startup.el (auto-save-list-file-prefix, init-file-user)
1524 (after-init-hook, inhibit-startup-echo-area-message):
1525 * strokes.el (strokes-help):
1526 * time-stamp.el (time-stamp):
1527 * calendar/calendar.el (calendar, diary-file):
1528 * calendar/diary-lib.el (diary-mail-entries, diary)
1529 (diary-list-entries-hook):
1530 * calendar/holidays.el (holidays, calendar-holidays):
1531 * calendar/lunar.el (lunar-phases):
1532 * calendar/solar.el (sunrise-sunset):
1533 * emulation/edt.el (edt-load-keys):
1534 * emulation/viper.el (viper-mode):
1535 * eshell/em-alias.el (eshell-command-aliases-list):
1536 * eshell/esh-util.el (eshell-convert-numeric-arguments):
1537 * international/ogonek.el (ogonek-information):
1538 * net/tramp-cmds.el (tramp-bug):
1539 * net/quickurl.el (quickurl-reread-hook-postfix):
1540 * play/decipher.el (decipher-font-lock-keywords):
1541 * progmodes/cc-styles.el (c-set-style):
1542 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
1543 * progmodes/inf-lisp.el (inferior-lisp-prompt):
1544 * progmodes/octave-mod.el (octave-mode):
1545 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
1546 * progmodes/verilog-mode.el (verilog-read-defines):
1547 * textmodes/two-column.el (2C-mode): Likewise.
1548
1549 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
1550
1551 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
1552 that holds many addresses.
1553
1554 2012-09-16 Chong Yidong <cyd@gnu.org>
1555
1556 * align.el (align-areas): Call the indication function with
1557 positions instead of markers for arguments (Bug#12343).
1558
1559 * files.el (parse-colon-path): Use split-string (Bug#12351).
1560
1561 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
1562 (display-buffer-function): Mark as obsolete.
1563
1564 * progmodes/compile.el (compilation-parse-errors): Accept list
1565 values similar to font-lock-keywords (Bug#12136).
1566 Suggested by Oleksandr Manzyuk.
1567 (compilation-error-regexp-alist): Doc fix.
1568
1569 2012-09-15 Glenn Morris <rgm@gnu.org>
1570
1571 * version.el (emacs-bzr-version-bzr): New function.
1572 (emacs-bzr-get-version): Add optional EXTERNAL argument.
1573
1574 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
1575 checkouts, check the parent dirstate matches the branch.
1576 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
1577 empty string.
1578
1579 * version.el (emacs-bzr-version): Doc fix.
1580 (emacs-bzr-version-dirstate): New function.
1581 (emacs-bzr-get-version): For lightweight checkouts, if the parent
1582 is local try and check that it matches the branch. If not, just
1583 use dirstate information. (Bug#12441)
1584
1585 2012-09-14 Juri Linkov <juri@jurta.org>
1586
1587 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
1588 (Bug#12399)
1589
1590 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1591
1592 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
1593
1594 * emacs-lisp/edebug.el: Miscellaneous cleanup.
1595 Remove obsolete byte-compiler hack that tried to silence some warnings.
1596 (edebug-submit-bug-report): Remove.
1597 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
1598 Remove aliases, use the un-prefixed name instead.
1599 (edebug-pop-to-buffer): Consider other frames.
1600 (edebug-original-read):: Make it more obvious that it's always defined.
1601 (edebug--make-form-data-entry, edebug--form-data-name)
1602 (edebug--form-data-begin, edebug--form-data-end): Rename from the
1603 single-dashed name, and implement with cl-defstruct.
1604 (edebug-set-form-data-entry): Use the standard accessors.
1605 (edebug-make-top-form-data-entry): Use push.
1606 (edebug-no-match): Drop useless `funcall'.
1607 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
1608 to functions.
1609 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
1610 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
1611 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
1612 (easy-menu-define, with-custom-print): Remove redundant specs.
1613 (edebug-outside-overriding-local-map)
1614 (edebug-outside-overriding-terminal-local-map): Remove, unused.
1615 (edebug--display): Bind unread-command-events directly to nil rather
1616 than binding it to unread-command-events and later setting it to nil.
1617 (edebug--display): Kill edebug-eval-buffer here...
1618 (edebug--recursive-edit): ...rather than here.
1619 Bind standard-output and standard-input.
1620 (edebug-eval): Check cl-macroexpand-all is fboundp.
1621 (edebug-temp-display-freq-count): Fix last change.
1622
1623 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
1624 * subr.el (noreturn, 1value): Add `debug' spec.
1625 * emacs-lisp/advice.el: Require cl-lib.
1626 (ad-copy-tree): Remove, use copy-tree instead.
1627 (ad-dolist): Remove use dolist or cl-dolist instead.
1628 (ad-do-return): Remove, use cl-return instead.
1629 (defadvice): Add `debug' spec.
1630
1631 2012-09-13 Juri Linkov <juri@jurta.org>
1632
1633 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
1634 (Bug#12399)
1635
1636 2012-09-13 Glenn Morris <rgm@gnu.org>
1637
1638 * calc/calc.el (math-compose-expr):
1639 * calc/calc-ext.el (math-compose-expr):
1640 * progmodes/cc-defs.el (cl-macroexpand-all):
1641 * progmodes/cc-langs.el (delete-duplicates, mapcan)
1642 (cl-macroexpand-all): Update declarations.
1643
1644 * vc/vc.el: No need to require ediff.
1645 (ediff-load-version-control): Declare.
1646 (ediff-vc-internal): Fix declaration.
1647 (vc-version-ediff): Require ediff.
1648
1649 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1650
1651 Use a more backwards-compatible timer format (Bug#12430).
1652 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
1653 being right after USECS, as that better supports old code that
1654 inadvisedly looked directly at the timer vector.
1655
1656 2012-09-13 Kenichi Handa <handa@gnu.org>
1657
1658 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
1659 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
1660 `coding-priority' property of these language environment.
1661
1662 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1663
1664 Fix glitches caused by addition of psec to timers (Bug#12430).
1665 * image.el (image-animate-timer):
1666 * time.el (display-time-world-timer):
1667 Use timer--function and timer--args rather than raw access to
1668 timer vector.
1669
1670 2012-09-13 Glenn Morris <rgm@gnu.org>
1671
1672 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
1673 If not compiling a file, try using load-file-name.
1674
1675 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1676
1677 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
1678 Fix last change.
1679 (edebug-update-eval-list): Use `push'.
1680
1681 * emacs-lisp/edebug.el: Use lexical-binding.
1682 Remove the "edebug-" prefix from non-dynamically-scoped variables.
1683 Mark unused args with underscore.
1684 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
1685 (edebug-form-data): Use defvar-local.
1686 (edebug-make-before-and-after-form, edebug-make-after-form):
1687 Use backquote.
1688 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
1689 Not dynamically scoped any more.
1690 (edebug--enter-trace): Add arguments `function' and `args'.
1691 Rename from edebug-enter-trace.
1692 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
1693 (edebug--update-coverage): Add `after-index' and `value' args.
1694 Rename from edebug-update-coverage.
1695 (edebug-slow-after): Call it accordingly.
1696 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
1697 edebug-recursive-edit.
1698 (edebug--display): Call it accordingly. Add args `value',
1699 `offset-index', and `arg-mode'. Rename from edebug-display.
1700 (edebug-debugger, edebug): Call it accordingly.
1701 (edebug-eval-display-list): Use dolist.
1702
1703 2012-09-12 Juri Linkov <juri@jurta.org>
1704
1705 * info.el (Info-search): Don't check for isearch-mode and
1706 isearch-regexp before let-binding search-spaces-regexp to
1707 Info-search-whitespace-regexp.
1708 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
1709 search-whitespace-regexp if isearch-lax-whitespace or
1710 isearch-regexp-lax-whitespace is non-nil.
1711 (Info-mode): Don't set local variable search-whitespace-regexp.
1712 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
1713
1714 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1715
1716 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
1717 (debugger-env-macro): Remove support for unread-command-char.
1718
1719 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
1720 the temporary map re-appearing on emulation-mode-map-alists.
1721
1722 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
1723 since 22.1.
1724
1725 * ehelp.el (with-electric-help): Accept functions in
1726 electric-help-form-to-execute.
1727 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
1728 And replace unread-command-char -> unread-command-events.
1729
1730 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
1731
1732 Sync with Tramp 2.2.6.
1733
1734 * net/tramp.el (tramp-accept-process-output): Don't use
1735 JUST-THIS-ONE in the XEmacs case.
1736
1737 * net/trampver.el: Update release number.
1738
1739 2012-09-12 Martin Rudalics <rudalics@gmx.at>
1740
1741 * emacs-lisp/debug.el (debugger-previous-window-height):
1742 New variable.
1743 (debug): When debugger-jumping-flag is non-nil try to restore
1744 height of debugger window. (Bug#8789)
1745
1746 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1747
1748 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
1749 overriding-local-map and pre/post-command-hook here.
1750 (edebug-recursive-edit): Do it here instead (bug#12345).
1751 (edebug-outside-unread-command-char): Remove all uses of
1752 unread-command-char.
1753
1754 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
1755 inhibit-debugger is bound instead.
1756
1757 2012-09-11 Bastien Guerry <bzg@gnu.org>
1758
1759 * subr.el (set-temporary-overlay-map): Add a docstring.
1760 (Bug#12346)
1761
1762 2012-09-11 Bastien Guerry <bzg@gnu.org>
1763
1764 * minibuffer.el (completion-table-subvert): Fix docstring.
1765 (Bug#12347)
1766
1767 2012-09-11 Bastien Guerry <bzg@gnu.org>
1768
1769 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
1770
1771 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
1772
1773 * progmodes/sql.el: Version 3.1
1774 (sql-db2-escape-newlines): New variable.
1775 (sql-escape-newlines-filter): Use it.
1776
1777 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
1778
1779 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
1780
1781 2012-09-10 Dan Nicolaescu <dann@gnu.org>
1782
1783 * vc/diff-mode.el (diff-mode-menu):
1784 Bind diff-remove-trailing-whitespace.
1785
1786 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1787
1788 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
1789 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
1790 (emacs-lisp-byte-code-mode): New functions.
1791 (eval-sexp-add-defvars): Don't skip defvars in column >0.
1792 (eval-defun-2): Remove bogus interactive spec.
1793 (lisp-indent-line): Remove redundant whole-exp code, now done in
1794 indent-according-to-mode.
1795 (save-match-data): Remove redundant indent data.
1796
1797 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
1798 Use `declare'.
1799
1800 2012-09-09 Juri Linkov <juri@jurta.org>
1801
1802 * replace.el (replace-regexp-lax-whitespace): New defcustom.
1803 (replace-lax-whitespace, query-replace-regexp)
1804 (query-replace-regexp-eval, replace-regexp): Doc fix.
1805 (perform-replace, replace-highlight): Let-bind
1806 isearch-lax-whitespace to replace-lax-whitespace and
1807 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
1808
1809 * isearch.el (isearch-query-replace): Let-bind
1810 replace-lax-whitespace to isearch-lax-whitespace and
1811 replace-regexp-lax-whitespace to
1812 isearch-regexp-lax-whitespace. (Bug#10885)
1813
1814 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
1815
1816 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
1817
1818 2012-09-09 Alan Mackenzie <acm@muc.de>
1819
1820 * progmodes/cc-engine.el (c-state-cache-init):
1821 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
1822 (c-record-parse-state-state):
1823 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
1824
1825 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
1826
1827 * register.el (register-separator): Rename from
1828 separator-register. All uses changed. Doc fix.
1829 (register): Fix version.
1830
1831 2012-09-09 Chong Yidong <cyd@gnu.org>
1832
1833 * replace.el (query-replace-map): Bind four new symbols for
1834 requesting window scrolling.
1835
1836 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
1837 query-replace-map (Bug#8948).
1838
1839 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
1840
1841 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
1842 since they are now in query-replace-map.
1843
1844 * window.el (scroll-other-window-down): Make the arg optional.
1845
1846 2012-09-09 Chong Yidong <cyd@gnu.org>
1847
1848 * files.el (hack-local-variables-confirm): Use quit-window to kill
1849 the *Local Variables* buffer.
1850
1851 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1852
1853 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
1854 not just expect to be at its beginning. Adjust callees.
1855 Succeed when do-end block has no space before the pipe character.
1856 (ruby-brace-to-do-end): When the original block is one-liner,
1857 convert to multiline. Reindent the result.
1858
1859 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
1860
1861 * register.el (register): New group.
1862 (separator-register): New user option.
1863 (increment-register): Route it to `append-to-register', if
1864 register contains text. Implication is that `C-x r +' can now be
1865 used for appending to a text register (bug#12217).
1866 (append-to-register, prepend-to-register): Add separator based on
1867 `separator-register'.
1868
1869 2012-09-08 Alan Mackenzie <acm@muc.de>
1870
1871 AWK Mode: make auto-newline work when there's "==" in the pattern.
1872 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
1873 correctly.
1874 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
1875 Test more rigorously for "=" token.
1876
1877 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1878
1879 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
1880 Only fail when reached LIMIT.
1881
1882 2012-09-08 Chong Yidong <cyd@gnu.org>
1883
1884 * dired.el (dired-mode-map): Don't bind M-=.
1885
1886 * dired-aux.el (dired-diff): Use backup file as default.
1887
1888 2012-09-08 Drew Adams <drew.adams@oracle.com>
1889
1890 * subr.el (add-to-history): Fix delete usage (Bug#12314).
1891
1892 2012-09-08 Chong Yidong <cyd@gnu.org>
1893
1894 * subr.el (syntax-after, syntax-class): Doc fix.
1895
1896 2012-09-08 Martin Rudalics <rudalics@gmx.at>
1897
1898 * window.el (display-buffer-in-previous-window): New buffer
1899 display action function.
1900
1901 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
1902 (debugger-previous-window): New variable.
1903 (debug): Rewrite using display-buffer-in-previous-window,
1904 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
1905
1906 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1907
1908 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
1909
1910 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
1911
1912 * progmodes/python.el (python-shell-send-string):
1913 When default-directory is remote, create temp file on remote
1914 filesystem.
1915 (python-shell-send-file): When file is remote, pass local view of
1916 file paths to remote Python interpreter. (Bug#12340)
1917
1918 2012-09-07 Chong Yidong <cyd@gnu.org>
1919
1920 * window.el (switch-to-buffer): Doc fix (Bug#12181).
1921
1922 * files.el (after-find-file): Don't fail on a read-only buffer if
1923 require-final-newline is `visit' or `visit-save' (Bug#11156).
1924
1925 * subr.el (read-char-choice): Allow quitting via ESC ESC.
1926
1927 * userlock.el (ask-user-about-supersession-threat):
1928 Use read-char-choice (Bug#12093).
1929
1930 2012-09-07 Chong Yidong <cyd@gnu.org>
1931
1932 * subr.el (buffer-narrowed-p): New function.
1933
1934 * ses.el (ses-widen):
1935 * simple.el (count-words--buffer-message):
1936 * net/browse-url.el (browse-url-of-buffer): Use it
1937
1938 * simple.el (count-words-region): Don't signal an error if there
1939 is a non-nil prefix arg and the mark is not set.
1940
1941 * help.el (describe-key-briefly): Allow the message to be seen
1942 when invoked from the minibuffer (Bug#7014).
1943
1944 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1945
1946 * progmodes/ruby-mode.el (ruby-end-of-defun)
1947 (ruby-beginning-of-defun): Simplify, allow indentation before
1948 block beginning and end keywords.
1949 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
1950 (ruby-end-of-defun): Expect that the point is at the beginning of
1951 the defun.
1952
1953 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1954
1955 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
1956 (bug#12367).
1957 (cl--make-usage-args): Strip _ from argument names.
1958
1959 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1960
1961 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
1962 obsolete alias speedbar-key-map.
1963 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
1964 (vhdl-index-menu-init): Don't use obsolete variable
1965 font-lock-maximum-size.
1966
1967 2012-09-06 Chong Yidong <cyd@gnu.org>
1968
1969 * frame.el (window-system-version): Mark as obsolete.
1970
1971 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
1972 of obsolete variable speedbar-key-map.
1973
1974 2012-09-06 Juri Linkov <juri@jurta.org>
1975
1976 * replace.el (replace-lax-whitespace): New defcustom.
1977 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1978 (replace-string, replace-regexp): Mention it in docstrings.
1979 (perform-replace, replace-highlight): Let-bind
1980 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
1981 to the values of replace-lax-whitespace and regexp-flag.
1982 Don't let-bind search-whitespace-regexp. (Bug#10885)
1983
1984 * isearch.el (isearch-query-replace): Let-bind
1985 replace-lax-whitespace instead of let-binding
1986 replace-search-function and replace-re-search-function.
1987 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
1988 and isearch-regexp-lax-whitespace to lazy-highlight variables.
1989 (isearch-toggle-symbol): Set isearch-regexp to nil
1990 in isearch-word mode (like in isearch-toggle-word).
1991
1992 2012-09-06 Juri Linkov <juri@jurta.org>
1993
1994 * replace.el (replace-search-function)
1995 (replace-re-search-function): Set default values to nil.
1996 (perform-replace): Let-bind isearch-related variables based on
1997 replace-related values, call `isearch-search-fun' and let-bind
1998 the result to `search-function'. Remove code that sets
1999 `search-function' and `search-string' separately for
2000 `delimited-flag'.
2001 (replace-highlight): Add new argument `delimited-flag' and
2002 rename other arguments to the names used in `perform-replace'.
2003 Let-bind `isearch-word' to the argument `delimited-flag'.
2004 (Bug#10885, bug#10887)
2005
2006 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2007
2008 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2009 ruby-beginning-of-indent, simplify, allow all keywords to have
2010 indentation before them.
2011 (ruby-beginning-of-indent): Adjust for above. Search until the
2012 found point is not inside a string or comment.
2013 (ruby-font-lock-keywords): Allow symbols to start with "@"
2014 character, give them higher priority than variables.
2015 (ruby-syntax-propertize-function)
2016 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2017 matchers. Expression expansions are not comments when inside a
2018 string, and there comment syntax status is irrelevant.
2019 (ruby-match-expression-expansion): New function. Check that
2020 expression expansion is inside a string, and it's not escaped.
2021 (ruby-font-lock-keywords): Use it.
2022
2023 2012-09-05 Martin Rudalics <rudalics@gmx.at>
2024
2025 * help.el (temp-buffer-max-height): New default value.
2026 (temp-buffer-resize-frames): New option.
2027 (resize-temp-buffer-window): Optionally resize frame.
2028
2029 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2030 (fit-frame-to-buffer): New function.
2031
2032 2012-09-05 Glenn Morris <rgm@gnu.org>
2033
2034 * emulation/cua-rect.el (cua--init-rectangles):
2035 * textmodes/picture.el (picture-mode-map):
2036 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2037 like forward-char and backward-char. (Bug#12317)
2038
2039 2012-09-05 Leo Liu <sdl.web@gmail.com>
2040
2041 * progmodes/flymake.el (flymake-warning-re): New variable.
2042 (flymake-parse-line): Use it.
2043
2044 2012-09-05 Glenn Morris <rgm@gnu.org>
2045
2046 * calendar/holidays.el (holiday-christian-holidays):
2047 Rename an entry. (Bug#12289)
2048
2049 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2050
2051 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2052 (bug#12222).
2053
2054 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2055
2056 * loadup.el: Load macroexp. Remove hack.
2057 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2058 (macroexp--expand-all): Use it to get better warnings.
2059 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2060 (internal-macroexpand-for-load): New functions.
2061 (macroexp--pending-eager-loads): New var.
2062 (emacs-startup-hook): New hack to replace one in loadup.el.
2063 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2064 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2065 (cl-psetf): Simplify.
2066 (cl-defstruct): Add indent rule.
2067
2068 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2069
2070 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2071 over `user-mail-address' for the SMTP MAIL FROM envelope.
2072 (smtpmail-via-smtp): Ditto.
2073
2074 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2075
2076 * progmodes/ruby-mode.el: Clean up keybindings.
2077 (ruby-mode-map): Don't bind ruby-electric-brace,
2078 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2079 backward-kill-word, reindent-then-newline-and-indent.
2080 (ruby-mark-defun): Remove.
2081 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2082 (ruby-mode): Set local beginning-of-defun-function and
2083 end-of-defun-function values.
2084
2085 2012-09-03 Martin Rudalics <rudalics@gmx.at>
2086
2087 * window.el (temp-buffer-window-setup-hook)
2088 (temp-buffer-window-show-hook): New hooks.
2089 (temp-buffer-window-setup, temp-buffer-window-show)
2090 (with-temp-buffer-window): New functions.
2091 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2092 (special-display-popup-frame): Make sure the window used shows BUFFER.
2093
2094 * help.el (temp-buffer-resize-mode): Fix doc-string.
2095 (resize-temp-buffer-window): New optional argument WINDOW.
2096
2097 * files.el (recover-file, save-buffers-kill-emacs):
2098 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2099
2100 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
2101
2102 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2103 remote definition of `default-directory', ensure we can connect.
2104
2105 2012-09-02 Juri Linkov <juri@jurta.org>
2106
2107 Toggle whitespace matching mode with M-s SPC.
2108 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2109
2110 * isearch.el (search-whitespace-regexp): Doc fix.
2111 Remove cons cell customization.
2112 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2113 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2114 New variables.
2115 (isearch-forward, isearch-forward-regexp): Doc fix.
2116 (isearch-toggle-lax-whitespace): New command.
2117 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2118 (re-search-forward-lax-whitespace)
2119 (re-search-backward-lax-whitespace): New functions.
2120 (isearch-whitespace-regexp): Remove function.
2121 (isearch-query-replace): Let-bind replace-search-function and
2122 replace-re-search-function.
2123 (isearch-occur): Let-bind search-spaces-regexp according to the
2124 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2125 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2126 condition for C-q SPC.
2127 (isearch-search-fun-default): Use new functions mentioned above.
2128 (isearch-search-forward, isearch-search-backward): Remove functions.
2129 (isearch-search): Don't let-bind search-spaces-regexp.
2130 (isearch-lazy-highlight-space-regexp): Remove variable.
2131 (isearch-lazy-highlight-lax-whitespace)
2132 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2133 (isearch-lazy-highlight-new-loop): Use them.
2134 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2135
2136 2012-09-02 Chong Yidong <cyd@gnu.org>
2137
2138 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2139
2140 2012-09-02 Glenn Morris <rgm@gnu.org>
2141
2142 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2143
2144 2012-09-01 Glenn Morris <rgm@gnu.org>
2145
2146 * term.el: Tidy up menu definitions.
2147 (term-mode-map): Use easymenu for In/Out, Complete menus.
2148 (term-pager-break-map): Initialize in the defvar.
2149 (term-terminal-menu, term-signals-menu): Define with easymenu.
2150 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2151 (term-pager-menu): New, extracted from term-process-pager.
2152 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2153 (term-update-mode-line): Propertize line/char and page items.
2154 (term-process-pager): Move keymap initialization elsewhere.
2155
2156 2012-09-01 Martin Rudalics <rudalics@gmx.at>
2157
2158 * window.el (switch-to-prev-buffer): Handle additional values of
2159 BURY-OR-KILL argument. Don't switch in minibuffer window.
2160 (switch-to-next-buffer): Don't switch in minibuffer window.
2161 (quit-restore-window): New function based on quit-window.
2162 Handle additional values of former KILL argument.
2163 (quit-window): Call quit-restore-window with appropriate
2164 interpretation of KILL argument.
2165 (display-buffer-below-selected): New buffer display action
2166 function.
2167
2168 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2169
2170 * minibuffer.el (completion-at-point-functions): Complete docstring
2171 (bug#12254).
2172
2173 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2174
2175 Better seed support for (random).
2176 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2177 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2178 * play/mpuz.el, play/tetris.el, play/zone.el:
2179 * calc/calc-comb.el (math-init-random-base):
2180 * play/blackbox.el (bb-init-board):
2181 * play/life.el (life):
2182 * server.el (server-use-tcp):
2183 * type-break.el (type-break):
2184 Remove unnecessary call to (random t).
2185 * net/sasl.el (sasl-unique-id-function):
2186 Change (random t) to (random), now that the latter is more random.
2187 * play/life.el (life-initialized): Remove no-longer-needed var.
2188
2189 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2190
2191 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2192 Consider frame's buffer predicate when choosing the buffer.
2193 (Bug#12081)
2194
2195 2012-08-30 Richard Stallman <rms@gnu.org>
2196
2197 * simple.el (special-mode-map): Delete binding for `z'.
2198
2199 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2200
2201 * progmodes/compile.el (compilation-always-kill): Doc fix.
2202
2203 2012-08-30 Chong Yidong <cyd@gnu.org>
2204
2205 * window.el (display-buffer-reuse-frames): Make the obsolescence
2206 message more informative.
2207
2208 2012-08-30 Glenn Morris <rgm@gnu.org>
2209
2210 * paren.el (show-paren-delay):
2211 Add a :set function. Doc fix. (Bug#12297)
2212
2213 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2214
2215 * progmodes/compile.el (compilation-always-kill): New var.
2216 (compilation-start): Use it.
2217
2218 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2219
2220 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2221 * files.el (read-only-mode): Move to simple.el.
2222
2223 * files.el (read-only-mode): New minor mode.
2224 (toggle-read-only): Use it and mark obsolete.
2225 (find-file--read-only):
2226 * vc/vc.el (vc-next-action, vc-checkout):
2227 * vc/vc-cvs.el (vc-cvs-checkout):
2228 * obsolete/vc-mcvs.el (vc-mcvs-update):
2229 * ffap.el (ffap--toggle-read-only): Update callers.
2230
2231 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
2232
2233 * eshell/esh-ext.el (eshell-external-command): Do not examine
2234 remote shell scripts.
2235 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
2236
2237 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2238 "/usr/local/sbin".
2239
2240 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2241
2242 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2243
2244 2012-08-28 Leo Liu <sdl.web@gmail.com>
2245
2246 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2247 completion-at-point. (Bug#12220)
2248
2249 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2250
2251 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2252
2253 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2254
2255 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2256 be buffer-local; add delete-trailing-whitespace (bug#12259).
2257
2258 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
2259
2260 * progmodes/hideif.el (hif-compress-define-list):
2261 Fix typo. (Bug#11951)
2262
2263 2012-08-28 Dan Nicolaescu <dann@gnu.org>
2264
2265 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2266 buffer local setting.
2267
2268 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2269 rcirc-encode-coding-system.
2270
2271 2012-08-28 Leo Liu <sdl.web@gmail.com>
2272
2273 * net/rcirc.el (rcirc-split-message): New function.
2274 (rcirc-send-message): Use it. (Bug#12051)
2275
2276 2012-08-28 Juri Linkov <juri@jurta.org>
2277
2278 * info.el (Info-fontify-node): Hide empty lines at the end of
2279 the node. (Bug#12272)
2280
2281 2012-08-27 Drew Adams <drew.adams@oracle.com>
2282
2283 * dired.el (dired-pop-to-buffer): Make window start at beginning
2284 of buffer (Bug#12281).
2285
2286 2012-08-26 Chong Yidong <cyd@gnu.org>
2287
2288 * window.el (special-display-regexps, special-display-frame-alist)
2289 (special-display-buffer-names, special-display-function)
2290 (display-buffer-reuse-frames): Mark as obsolete.
2291
2292 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2293
2294 * help.el (help-print-return-message): Don't treat
2295 display-buffer-reuse-frames specially.
2296
2297 2012-08-26 Chong Yidong <cyd@gnu.org>
2298
2299 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2300 New variable, replacing gdb-frame-parameters.
2301 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2302 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2303 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2304 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2305 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2306 the functions directly with gdb-display-buffer-other-frame-action.
2307 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2308 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2309 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2310 (gdb-display-registers-buffer): Define directly.
2311 (def-gdb-display-buffer): Macro deleted.
2312 (gdb-display-buffer): Remove second and third args, callers don't
2313 use them. Defer to the default display-buffer behavior, apart
2314 from making windows dedicated.
2315 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2316
2317 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2318
2319 * window.el (display-buffer-pop-up-frame): Handle a
2320 pop-up-frame-parameters alist entry.
2321 (display-buffer): Document it.
2322
2323 2012-08-26 Chong Yidong <cyd@gnu.org>
2324
2325 * isearch.el (search-whitespace-regexp): Make string and nil
2326 values apply to both ordinary and regexp search. Allow a cons
2327 cell value to distinguish between the two.
2328 (isearch-whitespace-regexp, isearch-search-forward)
2329 (isearch-search-backward): New functions.
2330 (isearch-occur, isearch-search-fun-default, isearch-search)
2331 (isearch-lazy-highlight-new-loop): Use them.
2332 (isearch-forward, isearch-forward-regexp): Doc fix.
2333
2334 2012-08-26 Chong Yidong <cyd@gnu.org>
2335
2336 * faces.el (help-argument-name): Always inherit from italic
2337 (Bug#12213).
2338
2339 2012-08-25 Martin Rudalics <rudalics@gmx.at>
2340
2341 * window.el (window--even-window-heights): Even heights when
2342 WINDOW and the selected window form a vertical combination.
2343 (display-buffer-use-some-window): Provide that window used gets
2344 sized back by quit-window. (Bug#11880) and (Bug#12091)
2345
2346 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2347
2348 Fix file time stamp problem with bzr and CVS (Bug#12001).
2349 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2350 in the file's time stamp, since the version control system loses
2351 that information.
2352
2353 2012-08-22 Juri Linkov <juri@jurta.org>
2354
2355 * info.el (Info-fontify-node): Hide the suffix of the
2356 Info file name in the header line. (Bug#12187)
2357
2358 2012-08-22 Glenn Morris <rgm@gnu.org>
2359
2360 * calendar/cal-tex.el (cal-tex-weekly-common):
2361 Restore leading blank page.
2362
2363 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
2364
2365 * misc.el (forward-to-word, backward-to-word): Activate or extend
2366 the region under `shift-select-mode'. (Bug#12231)
2367
2368 2012-08-22 Bastien Guerry <bzg@gnu.org>
2369
2370 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2371 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2372 gives details on why the space is never needed.
2373
2374 2012-08-22 Martin Rudalics <rudalics@gmx.at>
2375
2376 * window.el (walk-window-tree, window-with-parameter):
2377 New optional argument MINIBUF to control whether these functions
2378 should run on the minibuffer window.
2379 (window-at-side-list): Don't operate on minibuffer window.
2380 (window-in-direction): Simplify and rewrite doc-string.
2381 (window--size-ignore): Rename to window--size-ignore-p.
2382 Update callers.
2383 (display-buffer-in-atom-window, window--major-non-side-window)
2384 (window--major-side-window, display-buffer-in-major-side-window)
2385 (delete-side-window, display-buffer-in-side-window):
2386 New functions.
2387 (window--side-check, window-deletable-p, delete-window)
2388 (delete-other-windows, split-window): Handle side windows and
2389 atomic windows appropriately.
2390 (window--display-buffer): Call display-buffer-record-window also
2391 when the window buffer did not change.
2392
2393 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2394
2395 * help-fns.el (help-fns--key-bindings):
2396 Abbreviate non-symbol remap targets. (Bug#12174)
2397
2398 2012-08-22 Martin Rudalics <rudalics@gmx.at>
2399
2400 * dired.el (dired-mark-remembered): Don't clobber point.
2401 (Bug#11795)
2402
2403 2012-08-22 Glenn Morris <rgm@gnu.org>
2404
2405 * progmodes/bug-reference.el (bug-reference): New custom group.
2406 (bug-reference-bug-regexp): Make it a defcustom.
2407
2408 2012-08-22 Daiki Ueno <ueno@unixuser.org>
2409
2410 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2411 (js-paren-indent-offset, js-square-indent-offset)
2412 (js-curly-indent-offset): Add :safe (Bug#12257).
2413
2414 2012-08-22 Edward O'Connor <hober0@gmail.com>
2415
2416 * json.el (json-key-format): Add error properties.
2417 (json-encode-key): New function.
2418 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2419 Use json-encode-key.
2420
2421 2012-08-22 Glenn Morris <rgm@gnu.org>
2422
2423 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2424 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2425 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2426 Update for above change.
2427
2428 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2429
2430 * cus-face.el (custom-face-attributes): Fix customize type for the
2431 :underline attribute. (Bug#11805)
2432
2433 2012-08-21 Martin Rudalics <rudalics@gmx.at>
2434
2435 * window.el (window-point-1, set-window-point-1): Remove.
2436 (window-in-direction, record-window-buffer)
2437 (set-window-buffer-start-and-point, split-window-below)
2438 (window--state-get-1, display-buffer-record-window):
2439 Replace calls to window-point-1 and set-window-point-1 by calls to
2440 window-point and set-window-point respectively.
2441
2442 2012-08-21 Glenn Morris <rgm@gnu.org>
2443
2444 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2445 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2446 Use it.
2447
2448 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2449 (cal-tex-shortday): New function.
2450 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2451 (cal-tex-cursor-filofax-daily): Use the above.
2452
2453 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2454 New functions.
2455 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2456 (cal-tex-cursor-filofax-week): Use them.
2457
2458 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2459 New constants.
2460 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2461 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2462
2463 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2464 (cal-tex-end-document): Don't rely on buffer name.
2465
2466 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2467 Use cal-tex-vspace.
2468 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2469 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2470 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2471 Use cal-tex-arg.
2472
2473 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2474 (cal-tex-cursor-week, cal-tex-cursor-week2)
2475 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2476 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2477 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2478 (cal-tex-insert-preamble, cal-tex-b-document)
2479 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2480 Improve cal-tex-cmd usage.
2481
2482 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2483 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2484 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2485 (cal-tex-weekly-paper): New function.
2486 (cal-tex-cursor-week, cal-tex-cursor-week2)
2487 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2488 (cal-tex-cursor-day): Use it.
2489
2490 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2491 (cal-tex-cursor-filofax-week): Remove leading blank page.
2492
2493 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2494 Add autoload cookie. For now at least, don't use color, since
2495 no other cal-tex function does.
2496
2497 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2498 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2499 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2500
2501 2012-08-21 Juri Linkov <juri@jurta.org>
2502
2503 * info.el (Info-file-attributes): New variable.
2504 (info-insert-file-contents): Add file attributes to
2505 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2506 `Info-toc-nodes' when previous modtime of the Info file is less
2507 than new modtime.
2508 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2509 of info.el. (Bug#12230)
2510
2511 2012-08-20 Glenn Morris <rgm@gnu.org>
2512
2513 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2514 * calendar/holidays.el (calendar-holiday-list):
2515 Report errors with display-warning rather than beep'n'sleep.
2516
2517 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
2518
2519 * net/tramp.el (tramp-accept-process-output): Accept only output
2520 from PROC. Otherwise, process filters and sentinels might be
2521 confused. (Bug#12145)
2522
2523 2012-08-20 Chong Yidong <cyd@gnu.org>
2524
2525 * descr-text.el (describe-text-properties-1): Use overlays-in to
2526 report on empty overlays (Bug#3322).
2527
2528 2012-08-20 Glenn Morris <rgm@gnu.org>
2529
2530 * mail/rmailout.el (rmail-output-read-file-name):
2531 Trap and report errors in rmail-output-file-alist elements.
2532
2533 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2534 since most non-font-lock faces are not also variables).
2535
2536 2012-08-20 Edward Reingold <reingold@iit.edu>
2537
2538 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2539 New function. (Bug12160)
2540
2541 2012-08-19 Glenn Morris <rgm@gnu.org>
2542
2543 * mail/rmailout.el (rmail-output-read-file-name):
2544 Fix previous change (when the alist is nil or does not match).
2545
2546 2012-08-19 Chong Yidong <cyd@gnu.org>
2547
2548 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2549 (Bug#12228).
2550
2551 2012-08-18 Chong Yidong <cyd@gnu.org>
2552
2553 * simple.el (yank-handled-properties): New defcustom.
2554 (yank-excluded-properties): Add font-lock-face and category.
2555 (yank): Doc fix.
2556
2557 * subr.el (remove-yank-excluded-properties):
2558 Obey yank-handled-properties. The special handling of font-lock-face
2559 and category is now done this way, instead of being hard-coded.
2560 (insert-for-yank-1): Remove font-lock-face handling.
2561 (yank-handle-font-lock-face-property)
2562 (yank-handle-category-property): New function.
2563
2564 2012-08-17 Glenn Morris <rgm@gnu.org>
2565
2566 * mail/rmailout.el (rmail-output-read-file-name):
2567 Check rmail-output-file-alist against the full message body
2568 in the correct rmail buffer. (Bug#12214)
2569
2570 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
2571
2572 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2573 Eliminate superfluous prompt. (Bug#12203)
2574
2575 2012-08-17 Chong Yidong <cyd@gnu.org>
2576
2577 * mouse.el (mouse-appearance-menu): If x-select-font returns a
2578 font spec, set the font directly (Bug#3228).
2579
2580 2012-08-17 Martin Rudalics <rudalics@gmx.at>
2581
2582 * window.el (delete-window): Fix last fix.
2583
2584 2012-08-16 Martin Rudalics <rudalics@gmx.at>
2585
2586 * window.el (window-valid-p): Move to window.c.
2587 (window-child, window-child-count, window-last-child)
2588 (window-normalize-window, window-combined-p)
2589 (window-combinations, window-atom-root, window-min-size)
2590 (window-sizable, window-sizable-p, window-size-fixed-p)
2591 (window-min-delta, window-max-delta, window--resizable)
2592 (window--resizable-p, window-resizable, window-total-size)
2593 (window-full-height-p, window-full-width-p, window-body-size)
2594 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2595 (minimize-window, window-deletable-p, delete-window)
2596 (delete-other-windows, set-window-buffer-start-and-point)
2597 (next-buffer, previous-buffer, split-window, balance-windows-2)
2598 (set-window-text-height, window-buffer-height)
2599 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
2600 (truncated-partial-width-window-p): Minor code adjustments.
2601 In doc-strings state whether the argument window has to denote a
2602 live, valid or any window.
2603
2604 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
2605
2606 * progmodes/subword.el (subword-forward-function)
2607 (subword-backward-function, subword-forward-regexp)
2608 (subword-backward-regexp): New variables.
2609 (subword-forward, subword-forward-internal, subword-backward-internal):
2610 Use new variables, eg so that different "word" definitions
2611 can be easily used. (Bug#11411)
2612
2613 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2614
2615 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2616 for composite selectors.
2617 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2618 operation just because we can't find a previous revision.
2619
2620 2012-08-15 Chong Yidong <cyd@gnu.org>
2621
2622 * frame.el (set-frame-font): Accept font objects.
2623
2624 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2625
2626 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2627
2628 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
2629
2630 * man.el (Man-overstrike-face, Man-underline-face)
2631 (Man-reverse-face): Remove variables.
2632 (Man-overstrike, Man-underline, Man-reverse): New faces.
2633 (Man-fontify-manpage): Use them instead of the variables.
2634 (Man-cleanup-manpage): Comment change.
2635 (Man-ansi-color-map): New variable.
2636 (Man-fontify-manpage): Use it.
2637 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
2638
2639 Implement ANSI SGR parameters 22-27 (bug#12146).
2640 * ansi-color.el (ansi-colors): Doc fix.
2641 (ansi-color-context, ansi-color-context-region): Doc fix.
2642 (ansi-color--find-face): New function.
2643 (ansi-color-apply, ansi-color-apply-on-region): Use it.
2644 Rename the local variable `face' to `codes' since it is now a list of
2645 ansi codes. Doc fix.
2646 (ansi-color-get-face): Remove.
2647 (ansi-color-parse-sequence): New function, derived from
2648 ansi-color-get-face.
2649 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
2650 codes 22-27.
2651
2652 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
2653
2654 * subr.el (read-passwd): Allow use from a minibuffer.
2655
2656 2012-08-14 Eli Zaretskii <eliz@gnu.org>
2657
2658 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
2659 inside comments and strings as identifiers.
2660
2661 * progmodes/gud.el (gud-tooltip-print-command): Quote the
2662 expression to evaluate. This allows to evaluate expressions with
2663 embedded whitespace.
2664 (gud-tooltip-tips): Add a blank before the newline in the
2665 message-box text, for the benefit of message-box emulation on
2666 MS-Windows.
2667
2668 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
2669 messages from GDB, pop them up in a tooltip to give feedback to
2670 user.
2671 (gdb-tooltip-print-1): Quote the expression to evaluate.
2672 This allows to evaluate expressions with embedded whitespace.
2673 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
2674 if the TTY name is nil or empty (which happens when communicating
2675 with the inferior via pipes, e.g. on MS-Windows).
2676 (gdb-internals): If GDB sends a "&\n" empty debugging message,
2677 don't send that to the GUD buffer.
2678
2679 2012-08-14 Glenn Morris <rgm@gnu.org>
2680
2681 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
2682 Optimize away setq-default with no args, as for setq. (Bug#12195)
2683
2684 2012-08-14 Chong Yidong <cyd@gnu.org>
2685
2686 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
2687
2688 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
2689 (Bug#12085).
2690
2691 2012-08-14 Glenn Morris <rgm@gnu.org>
2692
2693 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
2694
2695 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
2696
2697 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
2698 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2699 Use cached shell name.
2700
2701 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2702
2703 * progmodes/python.el (python-shell-send-string):
2704 (python-shell-send-setup-code): Do not use `format' with `message'.
2705
2706 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
2707
2708 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
2709 (ruby-percent-literal-beg-re): New constant.
2710 (ruby-syntax-general-delimiters-goto-beg): Rename to
2711 `ruby-syntax-enclosing-percent-literal', improve literal type check.
2712 (ruby-syntax-propertize-general-delimiters): Rename to
2713 `ruby-syntax-propertize-percent-literal', it's a shorter and more
2714 popular term. Adjust comments everywhere.
2715 (ruby-syntax-propertize-percent-literal): Only propertize when not
2716 inside a simple string or comment. When the literal is unclosed,
2717 leave the text after it unpropertized.
2718 (ruby-syntax-methods-before-regexp): New constant.
2719 (ruby-syntax-propertize-function): Use it to recognize regexps.
2720 Don't look at the text after regexp, just use the whitelist.
2721
2722 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
2723
2724 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
2725 non-nil always load the compiled file if it exists. (Bug#12197)
2726
2727 2012-08-14 Chong Yidong <cyd@gnu.org>
2728
2729 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
2730 (hi-lock-set-pattern): When deciding whether to use font lock or
2731 overlays, look at font-lock-mode instead of font-lock-fontified
2732 (Bug#12168).
2733 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
2734 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
2735
2736 2012-08-14 Daiki Ueno <ueno@unixuser.org>
2737
2738 * subr.el (internal--after-with-selected-window): Fix typo
2739 (Bug#12193).
2740
2741 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2742
2743 Use `completion-table-dynamic' for completion functions.
2744 * progmodes/python.el
2745 (python-shell-completion--do-completion-at-point)
2746 (python-shell-completion--get-completions):
2747 Remove functions.
2748 (python-shell-completion-complete-at-point): New function.
2749 (python-completion-complete-at-point): Use it.
2750
2751 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
2752
2753 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
2754 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
2755
2756 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2757
2758 * subr.el (function-get): Refine `autoload' arg so it can also
2759 autoload functions for gv.el (bug#12191).
2760 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
2761 autoloads macros.
2762
2763 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
2764 Prefer pcase-let over destructuring-bind.
2765 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
2766 Also, remove whitespace as we go, rather than after accumulating the
2767 various places.
2768
2769 * subr.el (internal--before-with-selected-window)
2770 (internal--after-with-selected-window): Fix typo seleted->selected.
2771 (with-selected-window): Adjust callers.
2772 Reported by Dmitry Gutov <dgutov@yandex.ru>.
2773
2774 2012-08-13 Bastien Guerry <bzg@gnu.org>
2775
2776 * window.el (special-display-popup-frame): Minor docstring
2777 enhancement. (Bug#12172)
2778
2779 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
2780
2781 * tar-mode.el (tar-header-data-end): Only ignore size for files of
2782 type 1-6.
2783 (tar-header-block-summarize, tar-get-descriptor): Handle pax
2784 extended headers.
2785
2786 * files.el (hack-local-variables-filter): Remove useless eval.
2787
2788 2012-08-13 Martin Rudalics <rudalics@gmx.at>
2789
2790 * subr.el (with-selected-window): Fix last change.
2791
2792 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2793
2794 * subr.el (internal--before-with-seleted-window)
2795 (internal--after-with-seleted-window): New functions.
2796 (with-selected-window): Use them, to replace dependency on
2797 tty-top-frame.
2798
2799 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
2800
2801 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
2802 binding for `newline'.
2803 (ruby-move-to-block): When moving backward, stop at block opening,
2804 not indentation.
2805 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
2806 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
2807 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2808 `ruby-toggle-block'.
2809
2810 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2811
2812 * ibuffer.el (ibuffer-do-toggle-read-only):
2813 * dired.el (dired-toggle-read-only):
2814 * buff-menu.el (Buffer-menu-toggle-read-only):
2815 * bindings.el (mode-line-toggle-read-only):
2816 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
2817
2818 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
2819
2820 * descr-text.el (describe-char): Put the overlays over the
2821 "displayed as" character.
2822
2823 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
2824
2825 * calc/calc-units.el (math-default-units-table): Give an
2826 initial value.
2827 (math-put-default-units): Add options to put composite units and
2828 unit systems in the default units table.
2829 (calc-convert-units): Send composite units to
2830 `math-put-default-units' when appropriate.
2831
2832 2012-08-11 Glenn Morris <rgm@gnu.org>
2833
2834 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
2835
2836 * tutorial.el (help-with-tutorial):
2837 * emacs-lisp/copyright.el (copyright-update-directory):
2838 * emacs-lisp/autoload.el (autoload-find-generated-file)
2839 (autoload-find-file): Disable local eval: (for insurance).
2840
2841 * files.el (hack-local-variables-filter): If an eval: form is not
2842 known to be safe, and enable-local-variables is :safe, then ignore
2843 the form totally, as is done for non-eval forms. (Bug#12155)
2844 This is CVE-2012-3479.
2845
2846 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2847
2848 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
2849 (rx-form): Simplify.
2850
2851 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
2852
2853 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
2854 ?, _, and : are symbol constituents, ! is not (but kinda should be).
2855 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
2856 (ruby-syntax-propertize-function): Adjust for changes in
2857 `ruby-syntax-propertize-heredoc'.
2858
2859 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
2860
2861 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
2862 binding (use `M-;' instead).
2863 (ruby-singleton-class-p): New function.
2864 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
2865
2866 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2867
2868 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
2869
2870 2012-08-10 Chong Yidong <cyd@gnu.org>
2871
2872 * progmodes/python.el (python-shell-get-process-name): Don't mess
2873 with same-window-buffer-names.
2874
2875 * eshell/eshell.el (eshell-add-to-window-buffer-names)
2876 (eshell-remove-from-window-buffer-names): Make obsolete.
2877 (eshell-buffer-name, eshell-unload-hook): Don't use them.
2878 (eshell): Just use pop-to-buffer-same-window instead.
2879
2880 2012-08-10 Chong Yidong <cyd@gnu.org>
2881
2882 * bindings.el: Bind M-= back to count-words-region.
2883
2884 * simple.el (count-words-region): Accept a prefix arg for acting
2885 on the entire buffer.
2886 (count-words--buffer-message): New helper function.
2887
2888 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2889
2890 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
2891 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
2892 (event-start, event-end): Use posn-at-point to return a more
2893 informative posn.
2894 (posnp): New function.
2895 * mouse.el (popup-menu-normalize-position): Use it.
2896
2897 2012-08-10 Masatake YAMATO <yamato@redhat.com>
2898
2899 * mouse.el (popup-menu-normalize-position): New function.
2900 (popup-menu): Use `popup-menu-normalize-position' to normalize
2901 the form for POSITION argument.
2902
2903 * term/x-win.el (x-menu-bar-open):
2904 Use the value returend from (posn-at-point) as position
2905 passed to `popup-menu'.
2906
2907 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2908
2909 * calc/calccomp.el (math-compose-expr): Add extra argument
2910 indicating that parentheses should be put around products in
2911 denominators. Give multiplication precedence over division during
2912 composition.
2913
2914 2012-08-09 Chong Yidong <cyd@gnu.org>
2915
2916 * man.el (Man-switches, Man-sed-command, Man-awk-command)
2917 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
2918 (Man-untabify-command, manual-program): Convert to defcustom
2919 (Bug#10429).
2920
2921 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
2922
2923 * descr-text.el (describe-char): Don't insert extra newlines
2924 (Bug#10127).
2925
2926 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
2927 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
2928
2929 * align.el (align-region): Delete temporary markers (Bug#10047).
2930 Plus some code cleanups.
2931
2932 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2933
2934 * progmodes/python.el (python-pdbtrack-tracked-buffer)
2935 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
2936 (python-shell-internal-last-output): Use make-local-variable
2937 instead of make-variable-buffer-local.
2938
2939 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2940
2941 * progmodes/python.el: Enhancements to forward-sexp.
2942 (python-nav-forward-sexp): Rename from
2943 python-nav-forward-sexp-function.
2944 (python-nav--forward-sexp, python-nav--backward-sexp):
2945 New functions.
2946
2947 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2948
2949 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
2950 modes and simplification modes.
2951
2952 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2953
2954 * delsel.el (delete-selection-pre-hook): Don't propagate the
2955 file-supersession signals (bug#12161).
2956
2957 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2958
2959 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
2960 (cl-map-extents): Add compatibility aliases (bug#12135).
2961
2962 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
2963
2964 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
2965 tests by `ignore-error'.
2966 (tramp-find-shell): Open also a new shell, when cache is already
2967 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
2968
2969 2012-08-08 Juri Linkov <juri@jurta.org>
2970
2971 * bookmark.el: Add `defaults' property to the bookmark record.
2972 (bookmark-current-buffer): Doc fix.
2973 (bookmark-make-record): Add `defaults' property with default values
2974 to the bookmark record.
2975 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
2976 with `bookmark-insert-current-bookmark'.
2977 (bookmark-set): Get `defaults' property from the bookmark record
2978 and use it in `read-from-minibuffer'.
2979 (bookmark-insert-current-bookmark): Remove function.
2980
2981 * info.el (Info-bookmark-make-record): Add `defaults' property
2982 with values of canonical Info node name, the current Info file
2983 name and the current Info node name. (Bug#12107)
2984
2985 2012-08-08 Juri Linkov <juri@jurta.org>
2986
2987 * files.el (basic-save-buffer): Use `buffer-name' as the default
2988 of `read-file-name' when buffer is not visiting a file (bug#12128).
2989
2990 2012-08-08 Juri Linkov <juri@jurta.org>
2991
2992 * info.el (Info-isearch-search): Doc fix.
2993 (Info-search): Change search-failed message from "initial node" to
2994 "end of node" (bug#12078).
2995 (Info-isearch-search): Change `isearch-string-state' to
2996 `isearch--state-string'.
2997
2998 2012-08-08 Glenn Morris <rgm@gnu.org>
2999
3000 * language/persian.el: Remove file.
3001 * language/misc-lang.el: Move unique part of persian.el here.
3002 * loadup.el: Remove language/persian.
3003
3004 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3005
3006 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3007
3008 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3009
3010 * progmodes/python.el Fixed defsubst warning.
3011 (python-syntax-context) Rename from python-info-ppss-context.
3012 (python-syntax-context-type): Rename from
3013 python-info-ppss-context-type.
3014 (python-syntax-comment-or-string-p): Rename from
3015 python-info-ppss-comment-or-string-p.
3016
3017 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3018
3019 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3020
3021 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3022
3023 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3024 a defcustom that is quoted with backquote.
3025
3026 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3027 Fix handling of interactive spec when the body uses return.
3028 (math-do-arg-check, math-define-function-body): Use backquote forms.
3029 * calc/calc-ext.el (math-defcache): Likewise.
3030 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3031 * allout.el (allout-new-exposure): Likewise.
3032 * calc/calcalg2.el (math-tracing-integral): Likewise.
3033 * info.el (Info-last-menu-item): Likewise.
3034 * emulation/vip.el (vip-loop): Likewise.
3035 * textmodes/artist.el (artist-funcall): Likewise.
3036 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3037 Construct menu-item directly.
3038
3039 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3040 Don't declare.
3041
3042 2012-08-07 Chong Yidong <cyd@gnu.org>
3043
3044 * simple.el (deactivate-mark): Preserve text properties when
3045 saving the primary selection (Bug#8384).
3046
3047 2012-08-07 Kevin Ryde <user42@zip.com.au>
3048
3049 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3050 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3051 and continue processing (Bug#12110).
3052
3053 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3054
3055 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3056 syntax-propertize-function (bug#10095).
3057
3058 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3059
3060 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3061 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3062 describe-function-1.
3063 (describe-function-1): Use them. Move compiler macro after sig.
3064 (help-fns--compiler-macro): Use function-get. Assume we're already in
3065 standard-output. Adjust layout to new call order.
3066
3067 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3068 re-binding a symbol that has a symbol-macro (bug#12119).
3069
3070 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3071
3072 * language/persian.el: New file. (Bug#11812)
3073 * loadup.el: Add language/persian.el.
3074
3075 2012-08-06 Chong Yidong <cyd@gnu.org>
3076
3077 * window.el (window--maybe-raise-frame): New function.
3078 (window--display-buffer): Split off from here.
3079 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3080 (display-buffer-pop-up-window, display-buffer-use-some-window):
3081 Obey an inhibit-switch-frame action alist entry.
3082 (display-buffer): Update doc.
3083
3084 * replace.el (occur-after-change-function): Avoid losing focus by
3085 using the inhibit-switch-frame display parameter (Bug#12139).
3086
3087 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3088
3089 Make internal shell process buffer names start with space.
3090 * progmodes/python.el (python-shell-make-comint): Add optional
3091 argument INTERNAL.
3092 (run-python-internal): Use it.
3093 (python-shell-internal-get-or-create-process): Check for new
3094 internal buffer names.
3095
3096 2012-08-06 Glenn Morris <rgm@gnu.org>
3097
3098 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
3099 Do less getting and setting of environment variables.
3100
3101 2012-08-05 Chong Yidong <cyd@gnu.org>
3102
3103 * proced.el (proced): Add substitution string to docstring to
3104 trigger autoloading of the proced library on C-h f (Bug#1768).
3105
3106 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3107 Don't show defvars which have no second argument (Bug#8638).
3108
3109 * imenu.el (imenu-generic-expression): Move documentation here
3110 from imenu--generic-function.
3111 (imenu--generic-function): Refer to imenu-generic-expression.
3112
3113 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
3114
3115 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3116 indentation declaration.
3117 (viper-loop): Add indentation declaration (Bug#7025).
3118
3119 2012-08-05 Chong Yidong <cyd@gnu.org>
3120
3121 * help-fns.el (describe-variable): Add hyperlink for
3122 directory-local variables files. Improve buffer-local and
3123 permanent-local reporting; suggested by MON KEY (Bug#6644).
3124
3125 * help-mode.el (help-dir-local-var-def): New button type.
3126
3127 * files.el (kill-buffer-hook): Provide a defvar.
3128
3129 2012-08-05 Glenn Morris <rgm@gnu.org>
3130
3131 * eshell/esh-ext.el (eshell/addpath):
3132 Also update eshell-path-env. (Bug#12013)
3133
3134 2012-08-05 Chong Yidong <cyd@gnu.org>
3135
3136 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
3137
3138 * fringe.el (fringe-styles): Add docstring.
3139 (fringe--check-mode): New function.
3140 (set-fringe-mode, set-fringe-style): Use it.
3141 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3142
3143 * files.el (set-auto-mode): Fix invalid setq call.
3144
3145 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3146
3147 * isearch.el: Misc simplification; use defstruct.
3148 (isearch-mode-map): Dense maps now work like sparse ones.
3149 (isearch--state): New defstruct.
3150 (isearch-string-state, isearch-message-state, isearch-point-state)
3151 (isearch-success-state, isearch-forward-state)
3152 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3153 (isearch-wrapped-state, isearch-barrier-state)
3154 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3155 replaced by defstruct's accessors.
3156 (isearch--set-state): Rename from isearch-top-state and change
3157 calling convention.
3158 (isearch-push-state): Use new isearch--get-state.
3159 (isearch-toggle-word): Disable regexp when enabling word.
3160 (isearch-message-prefix): Remove unused arg _c-q-hack.
3161 (isearch-message-suffix): Remove unused arg _ellipsis.
3162
3163 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3164
3165 * simple.el (list-processes--refresh): For a server use :host or
3166 :local as the address.
3167 (list-processes): Doc fix.
3168
3169 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
3170
3171 * lisp/mpc.el: Support password in host argument.
3172 (mpc--proc-connect): Parse and use new password element.
3173 Set mpc-proc variable instead of returning process.
3174 (mpc-proc): Adjust accordingly.
3175
3176 2012-08-03 Eli Zaretskii <eliz@gnu.org>
3177
3178 * whitespace.el (whitespace-display-mappings): Use Unicode
3179 codepoints, instead of emacs-mule codepoints. See
3180 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3181 for the details.
3182
3183 * files.el (file-truename): Don't skip symlink-chasing part on
3184 windows-nt. Incorporate the resolution of 8+3 short aliases on
3185 Windows into the loop that recursively chases symlinks.
3186 Compare directory and its parent case-insensitively on MS-Windows and
3187 MS-DOS.
3188
3189 2012-08-03 Chong Yidong <cyd@gnu.org>
3190
3191 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3192
3193 * sort.el (sort-regexp-fields): Doc fix.
3194
3195 2012-08-03 Tassilo Horn <tsdh@gnu.org>
3196
3197 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3198 labels regex position point at the expected place.
3199
3200 2012-08-03 MON KEY <monkey@sandpframing.com>
3201
3202 * net/imap.el (imap-interactive-login, imap-authenticate)
3203 (imap-mailbox-lsub, imap-mailbox-list)
3204 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3205 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3206 (imap-parse-response): Doc fix.
3207
3208 2012-08-03 João Távora <joaotavora@gmail.com>
3209
3210 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3211 if sexp scanning does not move point (Bug#5734).
3212
3213 2012-08-02 Tassilo Horn <tsdh@gnu.org>
3214
3215 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3216 Add listings, minted, and ctable packages.
3217 (reftex-label-alist-builtin): Move listings, minted, and ctable
3218 entries before LaTeX.
3219 (reftex-label-alist): Docfix.
3220
3221 2012-08-02 Bastien Guerry <bzg@gnu.org>
3222
3223 * replace.el (occur): Fix docstring (bug#12122).
3224
3225 2012-08-02 Glenn Morris <rgm@gnu.org>
3226
3227 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3228
3229 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3230
3231 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3232 * international/mule-cmds.el: Create
3233 inactivate-current-input-method-function as an obsolete alias for
3234 deactivate-current-input-method-function. See Katsumi Yamaoka in
3235 <http://bugs.gnu.org/10150#46>.
3236
3237 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3238
3239 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3240 of nested `if's.
3241
3242 2012-08-01 Glenn Morris <rgm@gnu.org>
3243
3244 * progmodes/autoconf.el (autoconf-definition-regexp):
3245 Add AH_TEMPLATE, adjust submatch numbering.
3246 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3247 (autoconf-current-defun-function): Update for above change.
3248 (autoconf-current-defun-function): First skip to end of current word.
3249
3250 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3251
3252 * calendar/cal-html.el (cal-html-insert-agenda-days):
3253 Fix typo. (Bug#12018)
3254
3255 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3256
3257 Shell processes: enhancements to startup and CEDET compatibility.
3258 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3259 (python-shell-make-comint): accept-process-output at startup.
3260 (run-python-internal): Set inferior-python-mode-hook to nil.
3261 (python-shell-internal-get-or-create-process): call sit-for.
3262 (python-preoutput-result): Add obsolete alias.
3263 (python-shell-internal-send-string): Use it.
3264 (python-shell-send-setup-code): Remove call to
3265 accept-process-output.
3266
3267 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3268
3269 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3270 (Bug#12108)
3271
3272 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3273
3274 * calc-mode.el (calc-basic-simplification-mode): Rename from
3275 `calc-limited-simplification-mode'.
3276 (calc-alg-simplification-mode): New function.
3277 (calc-set-simplify-mode): Adjust message.
3278
3279 * calc.el (calc-set-mode-line): Adjust mode line display for
3280 basic simplification mode.
3281
3282 * calc-help.el (calc-m-prefix-help): Update help message.
3283
3284 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3285 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3286
3287 2012-07-31 Bastien Guerry <bzg@gnu.org>
3288
3289 * man.el (man): Fix comment. (bug#12101)
3290
3291 2012-07-31 Martin Rudalics <rudalics@gmx.at>
3292
3293 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3294 Don't return a non-nil value when no suitable buffer was found.
3295
3296 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3297
3298 * progmodes/python.el (run-python-internal): Disable font lock for
3299 internal shells.
3300
3301 2012-07-30 Stefan Merten <smerten@oekonux.de>
3302
3303 * textmodes/rst.el: Silence `checkdoc-ispell'.
3304 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3305 (rst-official-version, rst-official-cvs-rev)
3306 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3307 (rst-mode-map): New key binding.
3308
3309 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3310
3311 Update .PHONY listings in makefiles.
3312 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3313 autoloads, update-subdirs, updates, bzr-update, update-authors,
3314 compile-onefile, compile-calc, backup-compiled-files,
3315 compile-after-backup, compile-one-process, mh-autoloads,
3316 bootstrap-clean, distclean, maintainer-clean.
3317
3318 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3319
3320 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3321 (calc-set-mode-line): Don't display "AlgSimp ".
3322
3323 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3324 (calc-lim-simplify-mode): New function.
3325 (calc-set-simplify-mode): Default to 'alg.
3326 (calc-default-simplify-mode): Make algebraic simplifications
3327 the default.
3328
3329 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3330 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3331
3332 * calc/calc-help.el (calc-m-prefix-help): Change messages to
3333 indicate new simplification modes.
3334
3335 * calc/README: Mention new default simplification mode.
3336
3337 * calc/calc.el (math-normalize-error): New variable.
3338 (math-normalize): Set `math-normalize-error' to t
3339 when there's an error.
3340
3341 * calc/calc-alg.el (math-simplify): Don't simplify when
3342 `math-normalize' returns an error.
3343
3344 2012-07-29 Eli Zaretskii <eliz@gnu.org>
3345
3346 * international/mule-cmds.el (set-locale-environment): Revert last
3347 change, since display-graphic-p returns nil when this function is
3348 called during startup. Instead...
3349
3350 * term/w32console.el (terminal-init-w32console): ...setup the
3351 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3352
3353 2012-07-29 Juri Linkov <juri@jurta.org>
3354
3355 * simple.el (goto-line): Don't display default line number in the
3356 prompt because it should be displayed by `read-number' (bug#9952).
3357 Add the current line number to the defaults of `goto-line' to
3358 allow its easier modification by users with `M-n' (bug#9201).
3359
3360 * subr.el (read-number): Support multiple default values like in
3361 other minibuffer reading functions. Replace `read' with
3362 `string-to-number' for consistency with `number-to-string'.
3363
3364 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3365
3366 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3367 * emulation/viper-init.el (viper-deactivate-input-method-action):
3368 Rename from viper-inactivate-input-method-action.
3369 (viper-deactivate-input-method):
3370 Rename from viper-inactivate-input-method.
3371 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3372 * international/mule-cmds.el (deactivate-input-method):
3373 Rename from inactivate-input-method.
3374 Also run input-method-deactivate-hook.
3375 (deactivate-current-input-method-function):
3376 Rename from inactivate-current-input-method-function.
3377 (input-method-deactivate-hook): New hook.
3378 (input-method-inactivate-hook): Mark obsolete.
3379 (inactivate-input-method): Mark obsolete.
3380
3381 * international/quail.el (quail-activate):
3382 Also run quail-deactivate-hook.
3383 (quail-deactivate): Rename from quail-inactivate.
3384 * international/robin.el (robin-activate):
3385 Also run robin-deactivate-hook.
3386 (robin-deactivate): Rename from robin-inactivate.
3387
3388 2012-07-29 Chong Yidong <cyd@gnu.org>
3389
3390 * simple.el (indicate-copied-region): New function.
3391 (kill-ring-save): Split off from here.
3392
3393 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3394 (kill-rectangle): Set deactivate-mark to t on read-only error.
3395
3396 * register.el (copy-to-register, copy-rectangle-to-register):
3397 Deactivate the mark, and use indicate-copied-region (Bug#10056).
3398 (append-to-register, prepend-to-register): Call indicate-copied-region.
3399
3400 2012-07-29 Juri Linkov <juri@jurta.org>
3401
3402 * simple.el (async-shell-command-buffer): New defcustom.
3403 (shell-command): Use it. (Bug#4719)
3404
3405 2012-07-28 Eli Zaretskii <eliz@gnu.org>
3406
3407 * international/mule-cmds.el (set-locale-environment): In a
3408 console session on MS-Windows, set up keyboard and terminal
3409 encoding from the OEM codepage, not the ANSI codepage.
3410 (Bug#12055)
3411
3412 2012-07-28 Chong Yidong <cyd@gnu.org>
3413
3414 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3415 gdb-get-location.
3416
3417 2012-07-28 Leo Liu <sdl.web@gmail.com>
3418
3419 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3420 the alist (bug#12029).
3421
3422 2012-07-28 Eli Zaretskii <eliz@gnu.org>
3423
3424 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3425 (compile-always, compile-first)
3426 ($(lisp)/calendar/cal-loaddefs.el)
3427 ($(lisp)/calendar/diary-loaddefs.el)
3428 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3429 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3430 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3431 instead of on update-subdirs.
3432 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3433
3434 2012-07-28 Chong Yidong <cyd@gnu.org>
3435
3436 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3437 directory if vc-deduce-backend returns nil (Bug#7350).
3438
3439 * simple.el (delete-trailing-lines): New option.
3440 (delete-trailing-whitespace): Obey it (Bug#11879).
3441
3442 2012-07-28 David Engster <deng@randomsample.de>
3443
3444 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3445 Explanation of new 'symbol-qnames feature in doc-strings.
3446 (xml-maybe-do-ns): Return expanded names as plain symbols if
3447 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3448 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3449
3450 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3451
3452 Consistent completion in inferior python with emacs -nw.
3453 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3454 binding in inferior-python-mode-map with "\t".
3455 (python-shell-completion-complete-at-point)
3456 (python-completion-complete-at-point): Remove interactive spec.
3457
3458 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3459
3460 * calc/calccomp.el (math-compose-expr): Undo previous change.
3461
3462 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3463
3464 * progmodes/python.el (python-mode-map): Add keybinding for
3465 run-python.
3466 (python-shell-make-comint): Fix pop-to-buffer call.
3467 (run-python): Autoload. New arg SHOW.
3468 (python-shell-get-or-create-process): Do not pop python process
3469 buffer.
3470
3471 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
3472
3473 * notifications.el (notifications-on-action-signal)
3474 (notifications-on-closed-signal): Use also the bus address for the map.
3475 (notifications-notify, notifications-close-notification)
3476 (notifications-get-capabilities): Add optional argument BUS.
3477
3478 2012-07-27 Tassilo Horn <tsdh@gnu.org>
3479
3480 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3481 Add support for the lstlisting and minted environments, and for the
3482 ctable macro.
3483 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3484 labels written in keyvals syntax.
3485
3486 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3487
3488 * calc/calccomp.el (math-compose-expr): Use parentheses when
3489 there is a product in the denominator of a fraction.
3490
3491 2012-07-26 Eli Zaretskii <eliz@gnu.org>
3492
3493 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3494 ($(lisp)/calendar/diary-loaddefs.el)
3495 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3496 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3497 Fixes failures in parallel bootstrap because subdirs.el is being
3498 rewritten while the autoload files are built at the same time,
3499 which needs to load subdirs.el.
3500
3501 2012-07-26 Martin Rudalics <rudalics@gmx.at>
3502
3503 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3504 (mouse-drag-line): Don't exit tracking when a switch-frame or
3505 switch-window event occurs (Bug#12006).
3506
3507 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3508
3509 * mouse.el (popup-menu): Fix last change.
3510
3511 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3512
3513 Autoload from Lisp with more care. Follow aliases when looking for
3514 function properties.
3515 * subr.el (autoloadp): New function.
3516 (symbol-file): Use it.
3517 (function-get): New function.
3518 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3519 autoload-do-load.
3520 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3521 (lisp-indent-function):
3522 * emacs-lisp/gv.el (gv-get):
3523 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3524 * emacs-lisp/byte-opt.el (byte-optimize-form):
3525 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3526 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3527 Use function-get.
3528 * emacs-lisp/cl.el: Don't propagate function properties any more.
3529
3530 * speedbar.el (speedbar-add-localized-speedbar-support):
3531 * emacs-lisp/disass.el (disassemble-internal):
3532 * desktop.el (desktop-load-file):
3533 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3534 (describe-function-1):
3535 * emacs-lisp/find-func.el (find-function-noselect):
3536 * emacs-lisp/elp.el (elp-instrument-function):
3537 * emacs-lisp/advice.el (ad-has-proper-definition):
3538 * apropos.el (apropos-safe-documentation, apropos-macrop):
3539 * emacs-lisp/debug.el (debug-on-entry):
3540 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3541 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3542 * calc/calc.el (name): Use autoloadp & autoload-do-load.
3543
3544 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
3545
3546 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3547 function, not an obsolete variable (Bug#12046).
3548
3549 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3550
3551 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
3552
3553 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
3554
3555 * emacs-lisp/pp.el (pp-display-expression): Select old selected
3556 window only if it is still live (Bug#12034).
3557
3558 2012-07-25 Martin Rudalics <rudalics@gmx.at>
3559
3560 * subr.el (redirect-frame-focus): Add advertised calling
3561 convention (Bug#12030).
3562
3563 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
3564
3565 Prefer typical American spelling for "acknowledgment".
3566 * vc/add-log.el (change-log-acknowledgment): Rename from
3567 change-log-acknowledgement, with an alias for the old name.
3568
3569 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
3570
3571 * calc-alg.el (math-simplify-divide): Don't cross multiply
3572 in an equation when the lhs is a variable.
3573
3574 2012-07-24 Julien Danjou <julien@danjou.info>
3575
3576 * net/netrc.el (netrc-find-service-number, netrc-store-data):
3577 Remove, unused.
3578
3579 2012-07-23 Eli Zaretskii <eliz@gnu.org>
3580
3581 * startup.el (command-line): Don't display an empty user name in
3582 the error message about non-existent home directory, when
3583 init-file-user was set to an empty string. See
3584 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3585 for the details and context.
3586
3587 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
3588
3589 * ses.el (ses-cell-formula-aset): New macro.
3590 (ses-cell-references-aset): New macro.
3591 (ses-cell-p): New function.
3592 (ses-rename-cell): Do no longer rely on complex operations like
3593 ses-cell-set-formula or ses-set-cell to change the cell and handle
3594 the undo at the same time, but rather use lower level new macros
3595 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
3596 the undo directly. Refresh the mode line.
3597
3598 2012-07-21 Leo Liu <sdl.web@gmail.com>
3599
3600 * progmodes/cc-cmds.el (c-defun-name):
3601 Use match-string-no-properties instead for consistency.
3602
3603 2012-07-20 Leo Liu <sdl.web@gmail.com>
3604
3605 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3606 (Bug#7879)
3607
3608 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3609
3610 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3611
3612 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3613 * progmodes/bug-reference.el, misearch.el: Provide themselves
3614 (bug#11915).
3615
3616 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3617 of narrowed buffer (bug#11966).
3618
3619 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
3620
3621 * ses.el (ses-rename-cell): Set new name also in reference list of
3622 cells of which the renamed cell depends.
3623
3624 2012-07-20 Masatake YAMATO <yamato@redhat.com>
3625
3626 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3627 to check whether menu-bar is shown or not. If not shown,
3628 show the menu-bar as a popup menu instead of using tmm.
3629 * mouse.el (popup-menu): Accept `point' as `position' argument.
3630
3631 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
3632
3633 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
3634 up inside string symbol literal (bug#11923).
3635
3636 2012-07-20 Eli Zaretskii <eliz@gnu.org>
3637
3638 * startup.el (fancy-startup-text): Read the whole tutorial, not
3639 just its first 256 bytes. Prevents gibberish in display of the
3640 tutorial title.
3641
3642 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
3643
3644 Drop idle buffer compaction due to an absence of the
3645 proved efficiency.
3646 * compact.el: Remove.
3647
3648 2012-07-19 Sam Steingold <sds@gnu.org>
3649
3650 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
3651 vc-bzr-pull & vc-bzr-merge-branch.
3652 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
3653 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
3654 for consistency with compilation-error-regexp-alist.
3655 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
3656 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
3657 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
3658 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
3659
3660 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3661
3662 * emacs-lisp/chart.el: Use lexical-binding.
3663 (chart-emacs-storage): Don't hardcode the list of entries.
3664
3665 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3666
3667 Next round of tweaks caused by Fgarbage_collect changes.
3668 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
3669
3670 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3671
3672 Compact buffers when idle.
3673 * compact.el: New file.
3674
3675 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3676
3677 * subr.el (eventp): Presume that if it looks vaguely like an event,
3678 it's an event (bug#10190).
3679
3680 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
3681
3682 Enhancements to ppss related code (thanks Stefan).
3683 * progmodes/python.el (python-indent-context)
3684 (python-indent-calculate-indentation, python-indent-dedent-line)
3685 (python-indent-electric-colon, python-nav-forward-block)
3686 (python-mode-abbrev-table)
3687 (python-info-assignment-continuation-line-p): Simplify checks
3688 for ppss context.
3689 (python-info-continuation-line-p): Cleanup.
3690 (python-info-ppss-context): Do not catch 'quote.
3691 (python-info-ppss-context-type)
3692 (python-info-ppss-comment-or-string-p): Simplify.
3693
3694 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
3695
3696 * progmodes/python.el: Enhancements to eldoc support.
3697 (python-info-current-symbol): New function.
3698 (python-eldoc-at-point): Use python-info-current-symbol.
3699 (python-info-current-defun): Fix cornercase on first defun scan.
3700 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
3701 and signal error when no inferior python process is available.
3702
3703 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
3704
3705 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
3706 assume it's always t.
3707 (vc-git-registered): Remove caching, the function is only called
3708 once.
3709 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
3710
3711 2012-07-18 Chong Yidong <cyd@gnu.org>
3712
3713 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
3714
3715 * simple.el (count-words): Report on narrowing (Bug#9959).
3716
3717 * bindings.el: Bind M-= to count-words.
3718
3719 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
3720
3721 2012-07-18 Masatake YAMATO <yamato@redhat.com>
3722
3723 * progmodes/sh-script.el (sh-imenu-generic-expression):
3724 Capture a function with `function' keyword and without parentheses
3725 like "function FOO" (bug#11856).
3726
3727 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
3728
3729 * window.el (split-window-sensibly): Make WINDOW argument
3730 optional.
3731
3732 2012-07-18 Chong Yidong <cyd@gnu.org>
3733
3734 * subr.el (keyboard-translate): Doc fix (Bug#7261).
3735
3736 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
3737 and make C-x 8 RET exit isearch (Bug#11439).
3738
3739 * international/iso-transl.el: Move isearch-mode-map key
3740 definitions to isearch.el.
3741
3742 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
3743
3744 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
3745 (eieio-defclass): Use gv-define-setter when possible.
3746
3747 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
3748
3749 Reflect recent changes in Fgarbage_collect.
3750 * emacs-lisp/chart.el (chart-emacs-storage): Change to
3751 reflect new format of data returned by Fgarbage_collect.
3752
3753 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3754
3755 New utility functions + python-info-ppss-context fix (Bug#11910).
3756 * progmodes/python.el (python-info-beginning-of-block-statement-p)
3757 (python-info-ppss-comment-or-string-p): New functions.
3758 (python-info-ppss-context): Small fix for string check.
3759
3760 2012-07-17 Juri Linkov <juri@jurta.org>
3761
3762 * dired-aux.el (dired-do-async-shell-command): Doc fix.
3763 (dired-do-async-shell-command): Don't add `*' at the end of the
3764 command (Bug#11815).
3765 (dired-do-shell-command): Doc fix.
3766 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
3767 Join the individual commands using either "&" or ";" as the
3768 separator depending on the values of these trailing characters.
3769 At the end re-add the trailing "&". (Bug#10598)
3770
3771 * simple.el (async-shell-command): Sync the interactive spec with
3772 `shell-command'. Doc fix.
3773 (shell-command): Doc fix.
3774
3775 2012-07-17 Juri Linkov <juri@jurta.org>
3776
3777 * descr-text.el (describe-char): Fix format args. (Bug#10129)
3778
3779 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3780
3781 Final renames and doc fixes for movement commands (bug#11899).
3782 * progmodes/python.el (python-nav-beginning-of-statement):
3783 Rename from python-nav-statement-start.
3784 (python-nav-end-of-statement): Rename from
3785 python-nav-statement-end.
3786 (python-nav-beginning-of-block): Rename from
3787 python-nav-block-start.
3788 (python-nav-end-of-block): Rename from python-nav-block-end.
3789
3790 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3791
3792 * progmodes/python.el (python-shell-send-string-no-output):
3793 Allow accept-process-output to quit, keeping shell process ready for
3794 future interactions (Bug#11868).
3795
3796 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3797
3798 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
3799
3800 * emacs-lisp/elint.el (elint-find-args-in-code):
3801 Use help-function-arglist, so as to handle lexical byte-code.
3802
3803 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
3804 change (bug#11826).
3805
3806 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3807
3808 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
3809 Avoid spuriously marking the buffer as modified because of c-is-sws.
3810
3811 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
3812 as not-a-comment (bug#11946).
3813
3814 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
3815 for uninterned vars.
3816
3817 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
3818 Use read-event since we don't really want to read chars but bytes.
3819
3820 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
3821 $$..$$ but also $..$ using regexps (bug#11953).
3822 Use tex-verbatim for \url and \path.
3823 (tex-font-lock-keywords): Define as defconst like the others.
3824 (tex-common-initialization): Don't use font-lock-syntax-table any more.
3825
3826 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
3827
3828 * international/mule-cmds.el (ucs-insert): Make it an obsolete
3829 alias for insert-char.
3830
3831 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3832
3833 * progmodes/python.el: Simplified imenu implementation.
3834 (python-nav-jump-to-defun): Remove command.
3835 (python-mode-map): Use `imenu' instead.
3836 (python-nav-list-defun-positions-cache)
3837 (python-imenu-include-defun-type, python-imenu-make-tree)
3838 (python-imenu-subtree-root-label, python-imenu-index-alist):
3839 Remove vars.
3840 (python-nav-list-defun-positions, python-nav-read-defun)
3841 (python-imenu-tree-assoc, python-imenu-make-element-tree)
3842 (python-imenu-make-tree, python-imenu-create-index):
3843 Remove functions.
3844 (python-mode): Update to interact with imenu by setting
3845 `imenu-extract-index-name-function' only.
3846
3847 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3848
3849 * progmodes/python.el: Enhancements to navigation commands.
3850 (python-nav-backward-sentence)
3851 (python-nav-forward-sentence): Remove.
3852 (python-nav-backward-statement, python-nav-forward-statement)
3853 (python-nav-statement-start, python-nav-statement-end)
3854 (python-nav-backward-block, python-nav-forward-block)
3855 (python-nav-block-start, python-nav-block-end)
3856 (python-nav-forward-sexp-function)
3857 (python-info-current-line-comment-p)
3858 (python-info-current-line-empty-p): New functions.
3859 (python-indent-context): Use `python-nav-statement-start'.
3860
3861 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
3862
3863 * eshell/em-ls.el (eshell/ls): Use `apply'.
3864
3865 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
3866 multi-hops, instead of Tramp internals.
3867
3868 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
3869
3870 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
3871 when F1 and F2 are located on different hosts.
3872
3873 2012-07-14 Chong Yidong <cyd@gnu.org>
3874
3875 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
3876 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
3877 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
3878 (xterm-mouse--read-event-sequence-1000)
3879 (xterm-mouse--read-event-sequence-1006): New functions. For old
3880 mouse protocol, handle M-mouse-X events correctly.
3881 (xterm-mouse-event): New arg specifying mouse protocol.
3882 (turn-on-xterm-mouse-tracking-on-terminal)
3883 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
3884 sequence to toggle extended coordinates on newer XTerms.
3885 This appears to be harmless on terminals which do not support this.
3886
3887 2012-07-14 Leo Liu <sdl.web@gmail.com>
3888
3889 Add fringe bitmap indicators for flymake. (Bug#11253)
3890 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
3891 (flymake-make-overlay): New arg BITMAP.
3892 (flymake-error-bitmap, flymake-warning-bitmap)
3893 (flymake-fringe-indicator-position): New user variables.
3894
3895 * fringe.el: New bitmap exclamation-mark.
3896
3897 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
3898
3899 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
3900 also (Bug#7879).
3901
3902 2012-07-14 Chong Yidong <cyd@gnu.org>
3903
3904 * electric.el (electric-pair-post-self-insert-function): Fix pair
3905 insertion in empty-region case (Bug#11520).
3906
3907 2012-07-14 Chong Yidong <cyd@gnu.org>
3908
3909 * bindings.el: Consolidate ctl-x-r-map bindings.
3910 Bind copy-rectangle-as-kill to C-x r w.
3911
3912 * rect.el, register.el: Move bindings to bindings.el.
3913
3914 2012-07-14 Reuben Thomas <rrt@sc3d.org>
3915
3916 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
3917
3918 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
3919
3920 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
3921
3922 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
3923
3924 * bindings.el (top): Use `mapc' instead of `mapcar'.
3925
3926 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
3927
3928 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
3929
3930 * progmodes/sql.el (sql-comint): Suppress the check for program on
3931 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
3932 (Bug#11908)
3933
3934 2012-07-13 Chong Yidong <cyd@gnu.org>
3935
3936 * bindings.el: Assign a non-nil permanent-local property to
3937 per-buffer variables which lack a default value (Bug#11930).
3938
3939 * help-fns.el (describe-variable): In the "automatically becomes
3940 local" notice, take note of permanent-local variables.
3941
3942 2012-07-13 Chong Yidong <cyd@gnu.org>
3943
3944 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
3945 to allow printing the message when called from Lisp.
3946
3947 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3948 Remove toggle-read-only.
3949
3950 * bs.el (bs-toggle-readonly):
3951 * buff-menu.el (Buffer-menu-toggle-read-only):
3952 Remove with-no-warnings around toggle-read-only.
3953
3954 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
3955 Remove with-no-warnings around toggle-read-only.
3956 (ffap-read-only, ffap-read-only-other-window)
3957 (ffap-read-only-other-frame): Callers changed.
3958
3959 * help-mode.el: Don't require view package.
3960 (help-mode-finish): Set buffer-read-only instead of calling
3961 toggle-read-only.
3962
3963 * bindings.el (mode-line-toggle-read-only):
3964 * dired.el (dired-toggle-read-only):
3965 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
3966 with non-nil second arg.
3967
3968 * emacs-lisp/eieio-custom.el (eieio-customize-object):
3969 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
3970 directly.
3971
3972 2012-07-12 Eli Zaretskii <eliz@gnu.org>
3973
3974 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
3975 not incf.
3976
3977 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
3978
3979 More CL cleanups and reduction of use of cl.el.
3980 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
3981 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
3982 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
3983 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
3984 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
3985 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
3986 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
3987 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
3988 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
3989 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
3990 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
3991 * eshell/em-cmpl.el, eshell/em-banner.el:
3992 * calendar/parse-time.el: Use cl-lib.
3993 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
3994 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
3995 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
3996 * term/ns-win.el, term.el, shell.el, ps-samp.el:
3997 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
3998 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
3999 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4000 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4001 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4002 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4003 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4004 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4005 `lambda' rather than with `quote'.
4006 (eshell-do-opt): Adjust accordingly.
4007 (eshell-process-option): Simplify.
4008 * eshell/esh-var.el:
4009 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4010 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4011 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4012 to `pcase--dontcare'.
4013 * emacs-lisp/cl.el (labels): Mark obsolete.
4014 (cl--letf, letf): Move to cl-lib.
4015 (cl--letf*, letf*): Remove.
4016 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4017 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4018 (cl-progv): Rewrite.
4019 (cl--letf, cl-letf): Move from cl.el.
4020 (cl-letf*): New macro.
4021 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4022
4023 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
4024
4025 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4026
4027 2012-07-11 Chong Yidong <cyd@gnu.org>
4028
4029 * vc/log-edit.el (log-edit-vc-backend): New variable.
4030 (log-edit): Doc fix.
4031
4032 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4033 argument of log-edit to set up all local variables.
4034 (vc-start-logentry): New optional arg specifying VC backend.
4035
4036 * vc/vc.el (vc-checkin): Use it.
4037 (vc-deduce-fileset): Handle Log Edit buffers.
4038 (vc-diff): Make first argument optional too.
4039
4040 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4041
4042 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
4043
4044 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4045 command, just in case. The function is not needed anymore.
4046 (eshell-external-command): Do not call `eshell-remote-command'.
4047
4048 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4049
4050 Reduce use of (require 'cl).
4051 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4052 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4053 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4054 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4055 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4056 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4057 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4058 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4059 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4060 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4061 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4062 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4063 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4064 (byte-compile-unfold-bcf, byte-compile-check-variable):
4065 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4066 (byte-compile-nilconstp):
4067 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4068 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4069
4070 * emacs-lisp/gv.el (cond): Make it a valid place.
4071 (if): Simplify slightly.
4072
4073 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4074 (pcase--self-quoting-p): New function.
4075 (pcase--u1): Use it.
4076
4077 2012-07-10 Glenn Morris <rgm@gnu.org>
4078
4079 * emacs-lisp/authors.el (authors-fixed-entries):
4080 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4081
4082 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4083
4084 Rename configure.in to configure.ac (Bug#11603).
4085 * emacs-lisp/authors.el (authors-canonical-file-name):
4086 * progmodes/autoconf.el (autoconf-mode):
4087 Prefer configure.ac to configure.in.
4088
4089 2012-07-08 Chong Yidong <cyd@gnu.org>
4090
4091 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4092 Implement the mouse-1-click-follows-link handling properly.
4093
4094 * info.el (Info-link-keymap): Use follow-link mechanism for
4095 header-line links (Bug#374).
4096
4097 * simple.el (deactivate-mark): Do not set the primary selection
4098 if another program has acquired it (Bug#11772).
4099
4100 2012-07-07 Kevin Ryde <user42@zip.com.au>
4101
4102 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4103 (woman-decode-region): Replace escaped-escapes without destroying
4104 bold or underline (Bug#11552).
4105 (woman2-process-escapes): Handle nofill regions (Bug#11591).
4106
4107 2012-07-07 Chong Yidong <cyd@gnu.org>
4108
4109 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
4110 (interprogram-cut-function, interprogram-paste-function):
4111 Mention that we typically mean the clipboard.
4112
4113 2012-07-06 Glenn Morris <rgm@gnu.org>
4114
4115 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4116
4117 * files.el (toggle-read-only): Restrict message to interactive use.
4118
4119 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
4120
4121 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4122
4123 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4124
4125 2012-07-06 Glenn Morris <rgm@gnu.org>
4126
4127 * Makefile.in (compile-one-process): Rename from "recompile".
4128
4129 * Makefile.in (bzr-update): "compile" is the same as "recompile
4130 autoloads", but parallelizable, so use that instead.
4131
4132 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4133
4134 * window.el (quit-window): Always restore window height when
4135 it's saved in quit-restore parameter (Bug#11810).
4136
4137 2012-07-06 Glenn Morris <rgm@gnu.org>
4138
4139 * simple.el (kill-whole-line): Doc tweak.
4140
4141 2012-07-06 Eli Zaretskii <eliz@gnu.org>
4142
4143 * files.el (file-relative-name): Compare file names
4144 case-insensitively if on MS-Windows or MS-DOS, or if
4145 read-file-name-completion-ignore-case is non-nil. Don't use
4146 case-fold-search for this purpose. (Bug#11827)
4147
4148 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4149
4150 * calendar/cal-dst.el (calendar-current-time-zone):
4151 Return calendar-current-time-zone-cache if non-nil.
4152
4153 2012-07-17 Masatake YAMATO <yamato@redhat.com>
4154 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
4155
4156 * calendar/cal-dst.el (calendar-current-time-zone):
4157 Return calendar-current-time-zone-cache if non-nil.
4158
4159 2012-07-06 Glenn Morris <rgm@gnu.org>
4160
4161 * Makefile.in (cvs-update): Remove old alias.
4162
4163 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
4164
4165 Sync with Tramp 2.2.6-pre.
4166
4167 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4168 compatible declaration.
4169
4170 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4171 Protect `list-load-path-shadows' call.
4172
4173 * net/tramp-compat.el (top): Require packages, which aren't
4174 autoloaded anymore for XEmacs. Protect call of
4175 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4176 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4177 it hurts at least for SXEmacs.
4178 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4179 standard-value for `temporary-file-directory'.
4180
4181 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4182 Redirect stderr to /dev/null.
4183 (tramp-sh-handle-write-region): uid and gid can be floats.
4184 Reported by Russell Sim <russell.sim@gmail.com>.
4185 (tramp-sh-handle-vc-registered): Hide errors.
4186 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4187 and `start-file-process'.
4188 (tramp-maybe-open-connection): Check also whether `non-essential'
4189 is bound.
4190
4191 2012-07-04 Chong Yidong <cyd@gnu.org>
4192
4193 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4194 (xml-parse-tag): Likewise, and avoid changing entity tables.
4195 (xml-syntax-table): Define from scratch, making sure not to give
4196 x2000 and other Unicode spaces whitespace syntax, since those are
4197 not spaces in XML.
4198 (xml-parse-fragment): Delete unused function.
4199 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4200 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4201 (xml-entity-ref, xml-pe-reference-re)
4202 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4203 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4204 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4205 (xml-entity-value-re): Use syntax references in regexps where
4206 possible; no need to define inside a let-binding.
4207 (xml-parse-dtd): Use xml-pe-reference-re.
4208 (xml-entity-or-char-ref-re): New defconst.
4209 (xml-parse-string, xml-substitute-special): Use it.
4210
4211 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4212
4213 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4214 (find-file--read-only): New function.
4215 (find-file-read-only, find-file-read-only-other-window)
4216 (find-file-read-only-other-frame): Use it.
4217 (insert-file-contents-literally): Don't `fset'.
4218 (get-free-disk-space): Use locate-dominating-file.
4219
4220 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4221 function is already compiled.
4222
4223 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4224
4225 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
4226
4227 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4228 files on the same host.
4229
4230 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4231
4232 * help-fns.el (describe-function-1): Only call
4233 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4234
4235 2012-07-03 Chong Yidong <cyd@gnu.org>
4236
4237 * xml.el: Protect parser against XML bombs.
4238 (xml-entity-expansion-limit): New variable.
4239 (xml-parse-string, xml-substitute-special): Use it.
4240 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4241
4242 2012-07-03 Glenn Morris <rgm@gnu.org>
4243
4244 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4245 Allow linking to specific messages in debbugs reports (eg 123#5).
4246
4247 2012-07-02 Chong Yidong <cyd@gnu.org>
4248
4249 * xml.el: Fix entity and character reference expansion, allowing
4250 them to expand into markup as per XML spec.
4251 (xml-default-ns): New variable.
4252 (xml-entity-alist): Use XML spec definitions for lt and amp.
4253 (xml-parse-region): Make first two arguments optional.
4254 Discard text properties.
4255 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4256 All callers changed.
4257 (xml-parse-tag): Call xml-parse-tag-1. For backward
4258 compatibility, this function should not modify buffer contents.
4259 (xml-parse-tag-1): Fix opening-tag regexp.
4260 (xml-parse-string): Rewrite, handling entity and character
4261 references properly.
4262 (xml--entity-replacement-text): Signal an error if a parameter
4263 entity is undefined.
4264
4265 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4266
4267 * comint.el (comint-output-filter): Filter out repeated prompts.
4268
4269 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4270 and file-name-absolute-p.
4271 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4272 internal calls.
4273
4274 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4275
4276 Spelling fixes.
4277 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4278 Rename from byte-compile--refiy-function. All uses changed.
4279
4280 2012-07-01 Chong Yidong <cyd@gnu.org>
4281
4282 * xml.el (xml--parse-buffer): New function. Move most of
4283 xml-parse-region here.
4284 (xml-parse-region): Copy region into a temporary buffer, since
4285 parameter entity substitution requires changing buffer contents.
4286 Use xml--parse-buffer.
4287 (xml-parse-file): Use xml--parse-buffer.
4288 (xml-parse-dtd): Make parameter entity substitution work right.
4289 Use proper regexps for ELEMENT declarations (Bug#7172).
4290
4291 2012-06-30 Glenn Morris <rgm@gnu.org>
4292
4293 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4294
4295 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4296 Remove outdated and unnecessary dbus declarations.
4297
4298 2012-06-30 Eli Zaretskii <eliz@gnu.org>
4299
4300 * emacs-lisp/timer.el (timer-until): Subtract results of
4301 float-time, instead of taking float-time of the result of
4302 time-subtract, since float-time signals an error for negative time
4303 arguments.
4304
4305 2012-06-30 Chong Yidong <cyd@gnu.org>
4306
4307 * xml.el (xml-*-re): Convert defvars into defconsts, and
4308 eval-and-compile them so eval-and-compile works on derivatives.
4309 (xml--entity-replacement-text): Use eval-and-comple.
4310
4311 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
4312
4313 * vc/vc-git.el (vc-git-registered): Use cache property
4314 `git-registered'.
4315 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4316 `vc-git-working-revision' in order to benefit from the cache.
4317 (vc-git-root): Use cache property `git-root'. (Bug#11757)
4318
4319 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4320
4321 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
4322 removed (likely outside Emacs). (Bug#11757)
4323
4324 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4325
4326 * emacs-lisp/cl-lib.el: Require macroexp.
4327
4328 2012-06-30 Chong Yidong <cyd@gnu.org>
4329
4330 * xml.el: Implement XML parameter entities.
4331 (xml-parameter-entity-alist): New variable.
4332 (xml-parse-region, xml-parse-fragment): Preserve previous values
4333 of xml-entity-alist and xml-parameter-entity-alist, so that
4334 repeated calls on different documents do not change them.
4335 (xml-parse-tag): Fix doctype regexp.
4336 (xml--entity-replacement-text): New function.
4337 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4338 properly requires url retrieval which is unimplemented.
4339 (xml-escape-string): Doc fix.
4340
4341 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4342
4343 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4344
4345 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4346
4347 * fringe.el (fringe-mode): Doc fix.
4348
4349 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
4350
4351 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4352 is non-nil.
4353 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4354 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4355
4356 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
4357
4358 * calendar/cal-dst.el (calendar-current-time-zone):
4359 Return calendar-current-time-zone-cache if non-nil.
4360
4361 2012-06-29 Masatake YAMATO <yamato@redhat.com>
4362
4363 * progmodes/which-func.el (which-func-format):
4364 Add mouse-face. (Bug#11698)
4365
4366 2012-06-29 Leo Liu <sdl.web@gmail.com>
4367
4368 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4369
4370 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4371
4372 * minibuffer.el (minibuffer-confirm-exit-commands):
4373 Add completion-at-point (bug#11725).
4374
4375 2012-06-29 Glenn Morris <rgm@gnu.org>
4376
4377 * progmodes/f90.el (f90-font-lock-keywords-2):
4378 Add some preprocessor elements. (Bug#10499)
4379
4380 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4381
4382 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4383 Use syntax-propertize (bug#11739).
4384
4385 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
4386
4387 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4388
4389 2012-06-28 Julien Danjou <julien@danjou.info>
4390
4391 * term.el (term-handle-colors-array): Use a set of new faces to
4392 color the terminal. Also uses :inverse-video property.
4393 (term-default-fg-color): Set to nil by default, deprecate in favor
4394 of `term-face'.
4395 (term-default-bg-color): Set to nil by default, deprecate in favor
4396 of `term-face'.
4397 (term-current-face): Use `term-face' by default.
4398 (term-bold-attribute): Variable deleted.
4399
4400 2012-06-28 Glenn Morris <rgm@gnu.org>
4401
4402 * simple.el (completion-list-mode-finish):
4403 Don't use toggle-read-only. (Since completion-list-mode has
4404 a special mode-class, it wasn't doing anything extra anyway.)
4405
4406 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4407
4408 Make inlining of other-mode interpreted functions work (bug#11799).
4409 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4410 (byte-compile): Use it to fix compilation of lexical-binding closures.
4411 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4412 function, if needed.
4413
4414 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4415
4416 * help-mode.el (help-make-xrefs): Don't just withstand
4417 cyclic-variable-indirection but any error in documentation-property.
4418
4419 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4420 memory use.
4421 * bindings.el (bindings--define-key): New function.
4422 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4423 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4424 * bindings.el: Use it to purecopy define-key bindings.
4425
4426 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4427
4428 * emacs-lisp/cl.el (flet): Mark obsolete.
4429 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4430 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4431 * progmodes/js.el (js-c-fill-paragraph):
4432 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4433 (ebrowse-switch-member-buffer-to-derived-class):
4434 * play/5x5.el (5x5-solver): Use cl-flet.
4435
4436 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4437 (cl--symbol-function): New macro.
4438 (cl--letf, cl--letf*): Use it.
4439
4440 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4441 Strip "toggle-" if any.
4442
4443 2012-06-27 Glenn Morris <rgm@gnu.org>
4444
4445 * info.el (Info-default-directory-list): Move here from paths.el.
4446 * paths.el: Remove file, which is now empty.
4447 * loadup.el: No longer load "paths".
4448
4449 * custom.el (custom-initialize-delay): Doc fix.
4450
4451 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4452 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4453 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4454 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4455 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4456 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4457 * eshell/eshell.el (eshell-defgroup): Remove alias.
4458
4459 2012-06-27 Chong Yidong <cyd@gnu.org>
4460
4461 * help.el (help-enable-auto-load): New variable.
4462
4463 * help-fns.el (help-fns--autoloaded-p): New function.
4464 (describe-function-1): Refer to a function as "autoloaded" if it
4465 was autoloaded at any time in the past. Perform autoloading if
4466 help-enable-auto-load is non-nil.
4467
4468 2012-06-26 Eli Zaretskii <eliz@gnu.org>
4469
4470 * makefile.w32-in (compile, compile-always): Depend on
4471 update-subdirs, not on subdirs.el. Otherwise, several different
4472 sub-targets of 'bootstrap' running in parallel could
4473 simultaneously write to subdirs.el, producing a garbled file.
4474
4475 2012-06-26 Sam Steingold <sds@gnu.org>
4476
4477 * files.el (file-name-base): New convenience function.
4478 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4479 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4480 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4481 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4482 * textmodes/ispell.el, textmodes/reftex-ref.el:
4483 * textmodes/tex-mode.el: Use it.
4484 Did not touch cedet and org because they are maintained elsewhere.
4485
4486 2012-06-26 Martin Rudalics <rudalics@gmx.at>
4487
4488 * calendar/calendar.el (calendar-exit): Don't try to delete or
4489 iconify last frame. See:
4490 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4491
4492 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
4493
4494 * server.el (server-process-filter): Remember dir in the
4495 process's `server-client-directory' properties.
4496
4497 2012-06-24 Chong Yidong <cyd@gnu.org>
4498
4499 * xml.el (xml-parse-tag): Correctly handle comment embedded in
4500 non-tag text.
4501
4502 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
4503
4504 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4505
4506 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4507
4508 * help-fns.el (describe-variable): Don't croak when doc is not found.
4509 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4510 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4511 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4512 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4513 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4514 ((lambda ..) ..).
4515 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4516
4517 2012-06-23 Chong Yidong <cyd@gnu.org>
4518
4519 * info.el (Info-mouse-follow-link): Accept symbol values of
4520 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
4521 (Info-fontify-node): Use Info-link-keymap for all navigation
4522 buttons, with link-args property to perform the desired action.
4523 (Info-link-keymap): Doc fix.
4524 (Info-next-link-keymap, Info-prev-link-keymap)
4525 (Info-up-link-keymap): Delete now-unused keymaps.
4526
4527 2012-06-23 Chong Yidong <cyd@gnu.org>
4528
4529 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4530
4531 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4532 system abbrevs.
4533
4534 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4535
4536 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4537
4538 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4539 (bug#11719).
4540
4541 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4542 the requote function doesn't work properly (bug#11714).
4543
4544 2012-06-23 Glenn Morris <rgm@gnu.org>
4545
4546 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4547
4548 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4549
4550 Further GV/CL cleanups.
4551 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4552 gv-expander.
4553 (gv--defun-declaration): New function.
4554 (defun-declarations-alist): Use it.
4555 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4556 (gv-place): Autoload.
4557 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4558 original definition of dotimes and dolist.
4559 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4560 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4561 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4562 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4563 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4564 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4565 to the function's definition.
4566 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4567 * window.el:
4568 * files.el:
4569 * faces.el:
4570 * env.el: Don't use CL.
4571
4572 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
4573
4574 Support higher-resolution time stamps (Bug#9000).
4575
4576 * calendar/time-date.el (with-decoded-time-value): New arg
4577 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
4578 (encode-time-value): New optional arg PICO. New type 3.
4579 (time-to-seconds) [!float-time]: Support the new picoseconds
4580 component if it's used.
4581 (seconds-to-time, time-subtract, time-add):
4582 Support ps-resolution time stamps as well.
4583
4584 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
4585 (timerp): Timer vectors now have length 9, not 8.
4586 (timer--time): Support new-style (4-part) time stamps.
4587 (timer-next-integral-multiple-of-time): Time stamps now have
4588 picosecond resolution, so take a bit more care about rounding.
4589 (timer-relative-time, timer-inc-time): New optional arg psecs.
4590 (timer-set-time-with-usecs): Set psecs to 0.
4591 (timer--activate): Check psecs component, too.
4592
4593 * proced.el (proced-time-lessp): Support ps-resolution stamps.
4594
4595 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4596
4597 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4598 Move the non-essential binding to the post/pre-command-hook where it is
4599 more obviously correct.
4600
4601 * subr.el (read-passwd): Don't use a history at all.
4602 * savehist.el (savehist-save): Remove password saved accidentally
4603 because of the above bug.
4604
4605 2012-06-22 Bastien Guerry <bzg@gnu.org>
4606
4607 * files.el (toggle-read-only): Display a message telling whether
4608 the buffer is read-only or not (bug#11726).
4609
4610 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4611
4612 * emacs-lisp/gv.el: New file.
4613 * subr.el (push, pop): Extend to generalized variables.
4614 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4615 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4616 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
4617 gv-define-simple-setter, and gv-define-expander.
4618 Remove setf-methods defined in gv. Rename cl-setf -> setf.
4619 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4620 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4621 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
4622 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
4623 gv-letplace.
4624 (cl-defstruct): Don't define setf-method any more.
4625 * emacs-lisp/cl.el (flet): Don't autoload.
4626 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4627 (define-setf-expander, defsetf, define-modify-macro)
4628 (cl-struct-setf-expander): Move from cl-lib.el.
4629 * emacs-lisp/syntax.el:
4630 * emacs-lisp/ewoc.el:
4631 * emacs-lisp/smie.el:
4632 * emacs-lisp/cconv.el:
4633 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
4634 (timer--time): Use gv-define-simple-setter.
4635 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
4636 to avoid coding-system problems in subr.el. Adjust all users.
4637 (macroexp--maxsize, macroexp-small-p): New functions.
4638 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
4639 * scroll-bar.el (scroll-bar-mode):
4640 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4641 (normal-erase-is-backspace-mode): Don't use the `eq' place.
4642 * winner.el (winner-configuration, winner-make-point-alist)
4643 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
4644 * files.el (locate-file-completion-table): Avoid list*.
4645
4646 2012-06-22 Chong Yidong <cyd@gnu.org>
4647
4648 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
4649 (dired-create-files): Doc fix (Bug#11329).
4650 (dired-do-copy): Doc fix (Bug#11334).
4651 (dired-mark-read-string): Doc fix (Bug#11553).
4652
4653 * dired.el (dired-recursive-copies, dired-recursive-deletes):
4654 Doc fix (Bug#11326).
4655 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
4656 (dired-dwim-target): Doc fix.
4657
4658 * wdired.el (wdired-mode): Doc fix.
4659
4660 2012-06-22 Glenn Morris <rgm@gnu.org>
4661
4662 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
4663 (pcmpl-rpm-cache-stamp-file): New constant.
4664 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
4665 (pcmpl-rpm-packages): Optionally cache list of packages.
4666
4667 * pcmpl-rpm.el (pcmpl-rpm): New group.
4668 (pcmpl-rpm-query-options): New option.
4669 (pcmpl-rpm-packages): No need to inline it.
4670 Use pcmpl-rpm-query-options.
4671
4672 * calendar/calendar.el (calendar-in-read-only-buffer):
4673 Avoid some needless mode changes.
4674
4675 2012-06-21 Chong Yidong <cyd@gnu.org>
4676
4677 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
4678 (desktop-path): Remove . from the default value (Bug#10977).
4679 (desktop-read): Use user-emacs-directory if desktop-path is nil.
4680
4681 2012-06-20 Chong Yidong <cyd@gnu.org>
4682
4683 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
4684
4685 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
4686
4687 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
4688 (bug#11201).
4689
4690 2012-06-20 Chong Yidong <cyd@gnu.org>
4691
4692 * term.el (term-window-width): Handle the case of a missing right
4693 fringe (Bug#8837).
4694 (term-check-size): Use window-text-height (Bug#5445).
4695 (term-mode): Use define-derived-mode. Minor cleanups.
4696 Set font-lock-defaults (Bug#7692).
4697 (term-move-columns, term-insert-char, term-emulate-terminal)
4698 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
4699
4700 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
4701
4702 * net/ange-ftp.el (ange-ftp-get-passwd):
4703 Bind `enable-recursive-minibuffers'.
4704 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
4705
4706 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
4707
4708 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
4709
4710 2012-06-19 Glenn Morris <rgm@gnu.org>
4711
4712 * progmodes/python.el (python-mode): Derive from prog-mode.
4713
4714 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
4715
4716 * emulation/edt.el (edt-default-menu-bar-update-buffers)
4717 (edt-user-menu-bar-update-buffers): New functions.
4718 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
4719
4720 2012-06-19 Chong Yidong <cyd@gnu.org>
4721
4722 * subr.el (with-selected-window): Preserve the selected window's
4723 terminal's top-frame (Bug#4702).
4724
4725 * window.el (save-selected-window): Likewise.
4726
4727 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4728
4729 * progmodes/python.el (python-rx-constituents): Move backquote.
4730 (python-skeleton-define, python-define-auxiliary-skeleton):
4731 Use `declare'.
4732
4733 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
4734
4735 * minibuffer.el (read-file-name-default): Revert the patch from
4736 2012-06-17.
4737
4738 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4739
4740 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
4741 (pcase--u1, pcase--q1): Don't use apply-partially.
4742
4743 2012-06-18 Glenn Morris <rgm@gnu.org>
4744
4745 * progmodes/python.el (python-proc, python-buffer)
4746 (python-send-receive, python-send-string): Fix obsolete versions.
4747
4748 2012-06-18 Martin Rudalics <rudalics@gmx.at>
4749
4750 * window.el (special-display-p): Completely remove stringp
4751 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
4752
4753 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
4754
4755 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
4756
4757 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
4758
4759 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
4760 * net/tramp-sh.el (tramp-maybe-open-connection):
4761 Throw if `non-essential' is non-nil.
4762
4763 2012-06-17 Martin Rudalics <rudalics@gmx.at>
4764
4765 * window.el (special-display-p): Signal an error if BUFFER-NAME
4766 is not a string (Bug#11713).
4767
4768 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
4769
4770 * progmodes/python.el (python-info-beginning-of-backslash):
4771 Rename from python-info-beginning-of-backlash, as a spelling fix.
4772
4773 2012-06-17 Chong Yidong <cyd@gnu.org>
4774
4775 * term.el (term-emulate-terminal): If term-check-size is called,
4776 move point to the process mark without resetting point (Bug#4635).
4777
4778 2012-06-17 Glenn Morris <rgm@gnu.org>
4779
4780 * international/mule-cmds.el (mule-menu-keymap)
4781 (set-language-environment, set-locale-environment): Doc tweaks.
4782
4783 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
4784
4785 * cus-face.el (custom-face-attributes): Add wave-style underline
4786 attribute.
4787 * faces.el (set-face-attribute): Update docstring to describe
4788 wave-style underline attribute.
4789
4790 2012-06-16 Chong Yidong <cyd@gnu.org>
4791
4792 * term/xterm.el (terminal-init-xterm): Discard input before
4793 querying background mode (Bug#10959).
4794
4795 2012-06-16 Stefan Merten <smerten@oekonux.de>
4796
4797 * textmodes/rst.el: Added and corrected some comments.
4798 (rst-re-alist-def): Improve symbol syntax.
4799 (rst-mode-syntax-table): Correct syntax entries.
4800 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4801 (rst-official-version, rst-official-cvs-rev): Update version
4802 information.
4803
4804 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
4805
4806 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
4807 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
4808
4809 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
4810
4811 * progmodes/python.el: New python.el merge.
4812 (python-guess-indent): Obsolete var.
4813 (python-indent-guess-indent-offset): New defcustom.
4814 (python-indent): Obsolete var.
4815 (python-indent-offset): New defcustom.
4816 (python-python-command, python-jython-command): Delete var.
4817 (python-shell-interpreter): New defcustom.
4818 (python-pdbtrack-do-tracking-p): Delete var.
4819 (python-pdbtrack-activate): New defcustom.
4820 (python-use-skeletons): Obsolete var.
4821 (python-skeleton-autoinsert): New defcustom.
4822 (inferior-python-filter-regexp, python-continuation-offset)
4823 (python-honour-comment-indentation, python-indent-string-contents)
4824 (python-jython-packages, python-mode-hook)
4825 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
4826 (python-shell-prompt-alist)
4827 (python-source-modes): Delete defcustoms.
4828 (python-check-buffer-name, python-eldoc-setup-code)
4829 (python-eldoc-string-code, python-ffap-setup-code)
4830 (python-ffap-string-code, python-fill-comment-function)
4831 (python-fill-decorator-function, python-fill-paren-function)
4832 (python-fill-string-function, python-imenu-include-defun-type)
4833 (python-imenu-make-tree, python-imenu-subtree-root-label)
4834 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
4835 (python-shell-compilation-regexp-alist)
4836 (python-shell-completion-module-string-code)
4837 (python-shell-completion-pdb-string-code)
4838 (python-shell-completion-setup-code)
4839 (python-shell-completion-string-code)
4840 (python-shell-enable-font-lock, python-shell-exec-path)
4841 (python-shell-extra-pythonpaths)
4842 (python-shell-internal-buffer-name, python-shell-interpreter-args)
4843 (python-shell-process-environment)
4844 (python-shell-prompt-block-regexp)
4845 (python-shell-prompt-output-regexp)
4846 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
4847 (python-shell-send-setup-max-wait, python-shell-setup-codes)
4848 (python-shell-virtualenv-path): New defcustoms.
4849 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
4850 (inferior-python-mode-syntax-table, python--prompt-regexp)
4851 (python-buffer, python-command python-python-command)
4852 (python-default-template, python-imports, python-indent-index)
4853 (python-indent-list, python-indent-list-length)
4854 (python-mode-running, python-pdbtrack-is-tracking-p)
4855 (python-preoutput-continuation, python-preoutput-leftover)
4856 (python-preoutput-result, python-preoutput-skip-next-prompt)
4857 (python-prev-dir/file, python-recursing)
4858 (python-saved-check-command, python-version-checked)
4859 (python-which-func-length-limit)
4860 (view-return-to-alist): Delete vars.
4861 (python-check-custom-command, python-dotty-syntax-table)
4862 (python-imenu-index-alist, python-indent-current-level)
4863 (python-indent-dedenters, python-indent-levels)
4864 (python-nav-beginning-of-defun-regexp)
4865 (python-nav-list-defun-positions-cache)
4866 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
4867 (python-shell-internal-buffer)
4868 (python-skeleton-available): New vars.
4869 (def-python-skeleton): Delete macro.
4870 (python-skeleton-define): New macro.
4871 (python-define-auxiliary-skeleton, python-rx): New macros.
4872 (python-insert-class): Delete command.
4873 (python-skeleton-class): New command.
4874 (python-insert-def): Delete command.
4875 (python-skeleton-def): New command.
4876 (python-insert-for): Delete command.
4877 (python-skeleton-for): New command.
4878 (python-insert-if): Delete command.
4879 (python-skeleton-if): New command.
4880 (python-insert-try/except, python-insert-try/finally): Delete commands.
4881 (python-skeleton-try): New command.
4882 (python-insert-while): Delete command.
4883 (python-skeleton-while): New command.
4884 (python-backspace): Delete command.
4885 (python-indent-dedent-line-backspace): New command.
4886 (python-electric-colon): Delete command.
4887 (python-indent-electric-colon): New command.
4888 (python-guess-indent): Delete command.
4889 (python-indent-guess-indent-offset): New command.
4890 (python-shift-left): Delete command.
4891 (python-indent-shift-left): New command.
4892 (python-shift-right): Delete command.
4893 (python-indent-shift-right): New command.
4894 (python-find-function): Delete command.
4895 (python-nav-jump-to-defun): New command.
4896 (python-next-statement): Delete command.
4897 (python-nav-forward-sentence): New command.
4898 (python-previous-statement): Delete command.
4899 (python-nav-backward-sentence): New command.
4900 (python-fill-paragraph): Delete command.
4901 (python-fill-paragraph-function): New command.
4902 (python-send-buffer): Delete command.
4903 (python-shell-send-buffer): New command.
4904 (python-send-defun): Delete command.
4905 (python-shell-send-defun): New command.
4906 (python-send-region, python-send-region-and-go): Delete commands.
4907 (python-shell-send-region)
4908 (python-shell-switch-to-shell): New commands.
4909 (python-send-string): Delete command.
4910 (python-shell-send-string): New command.
4911 (python-switch-to-python): Delete command.
4912 (python-shell-switch-to-shell): New command.
4913 (python-describe-symbol): Delete command.
4914 (python-eldoc-at-point): New command.
4915 (python--set-prompt-regexp, python-args-to-list)
4916 (python-after-info-look, python-check-version)
4917 (python-check-comint-prompt, python-find-imports)
4918 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
4919 (python-unload-function, python-expand-template)
4920 (python-maybe-jython, python-preoutput-filter)
4921 (python-pdbtrack-get-source-buffer)
4922 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
4923 (python-pdbtrack-toggle-stack-tracking)
4924 (python-pdbtrack-track-stack-file, python-initial-text)
4925 (python-first-word, python-comment-line-p, python-send-command)
4926 (python-setup-brm, python-sentinel, python-set-proc)
4927 (python-skip-out, python-input-filter, python-outdent-p)
4928 (python-outline-level, python-backslash-continuation-line-p)
4929 (python-end-of-block, python-end-of-statement, python-mark-block)
4930 (python-beginning-of-block, python-beginning-of-statement)
4931 (python-blank-line-p, python-beginning-of-string)
4932 (python-open-block-statement-p): Delete functions.
4933 (python-indent-line, python-indent-line-1): Delete functions.
4934 (python-indent-line): New function.
4935 (python-indentation-levels): Delete function.
4936 (python-indent-calculate-levels): New function.
4937 (python-proc): Delete function.
4938 (python-shell-get-process): New function.
4939 (python-send-receive): Delete function.
4940 (python-shell-send-string-no-output): New function.
4941 (python-module-path): Delete function.
4942 (python-ffap-module-path): New function.
4943 (python-completion-at-point)
4944 (python-symbol-completions): Delete functions.
4945 (python-completion-complete-at-point): New function.
4946 (python-load-file): Delete function.
4947 (python-shell-send-file): New function.
4948 (python-calculate-indentation): Delete function.
4949 (python-indent-calculate-indentation): New function.
4950 (python-skip-comments/blanks): Delete function.
4951 (python-util-forward-comment): New function.
4952 (python-continuation-line-p): Delete function.
4953 (python-info-continuation-line-p): New function.
4954 (python-which-func, python-current-defun): Delete function.
4955 (python-info-current-defun): New function.
4956 (python-beginning-of-defun): Delete function.
4957 (python-nav-beginning-of-defun): New function.
4958 (python-close-block-statement-p)
4959 (python-block-end-p): Delete function.
4960 (python-info-closing-block): New function.
4961 (python-comint-output-filter-function)
4962 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
4963 (python-fill-comment, python-fill-decorator, python-fill-paren)
4964 (python-fill-string, python-imenu-make-element-tree)
4965 (python-imenu-make-tree, python-imenu-tree-assoc)
4966 (python-indent-context, python-indent-dedent-line)
4967 (python-indent-line-function)
4968 (python-indent-post-self-insert-function)
4969 (python-indent-toggle-levels)
4970 (python-info-assignment-continuation-line-p)
4971 (python-info-beginning-of-backlash)
4972 (python-info-block-continuation-line-p)
4973 (python-info-closing-block-message)
4974 (python-info-line-ends-backslash-p)
4975 (python-info-looking-at-beginning-of-defun)
4976 (python-info-ppss-context, python-info-ppss-context-type)
4977 (python-nav-list-defun-positions, python-nav-read-defun)
4978 (python-nav-sentence-end, python-nav-sentence-start)
4979 (python-pdbtrack-comint-output-filter-function)
4980 (python-pdbtrack-set-tracked-buffer)
4981 (python-shell-calculate-exec-path)
4982 (python-shell-calculate-process-environment)
4983 (python-shell-completion--do-completion-at-point)
4984 (python-shell-completion--get-completions)
4985 (python-shell-completion-complete-at-point)
4986 (python-shell-completion-complete-or-indent)
4987 (python-shell-get-or-create-process)
4988 (python-shell-get-process-name)
4989 (python-shell-internal-get-or-create-process)
4990 (python-shell-internal-get-process-name)
4991 (python-shell-internal-send-string, python-shell-make-comint)
4992 (python-shell-parse-command, python-shell-send-setup-code)
4993 (python-skeleton-add-menu-items)
4994 (python-util-clone-local-variables, python-util-position)
4995 (run-python-internal, python-indentation-levels)
4996 (python-nav-beginning-of-defun)
4997 (python-completion-complete-at-point): New functions.
4998 (run-python): Change arguments. New API requirements.
4999
5000 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5001
5002 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5003 (bug#11649).
5004
5005 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5006 (macroexp--expand-all): Use it.
5007
5008 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5009 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5010 Use `cl-function' instead.
5011
5012 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
5013
5014 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5015 Suggested by Stefan Monnier while discussing bug#11657.
5016
5017 2012-06-14 Sam Steingold <sds@gnu.org>
5018
5019 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5020
5021 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5022
5023 * play/doctor.el (doctor-doc): Remove parameter and use
5024 doctor-sent instead of sent.
5025 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5026
5027 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5028
5029 * files.el: Require cl-lib.
5030 (file-name-non-special): Replace case -> cl-case.
5031
5032 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5033
5034 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5035 mapping from #' to function*.
5036
5037 2012-06-13 Chong Yidong <cyd@gnu.org>
5038
5039 * mouse.el (mouse-drag-track): Do not set the mark if the user
5040 releases the mouse without selecting anything (Bug#11588).
5041
5042 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5043
5044 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5045 as well (bug#11646).
5046
5047 * loadup.el: Count byte-code functions as well.
5048
5049 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5050 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5051
5052 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5053 (bug#11649). Add cl-defun and cl-defmacro.
5054
5055 2012-06-13 Drew Adams <drew.adams@oracle.com>
5056
5057 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5058 Fix last change.
5059
5060 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
5061
5062 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5063 Otherwise, it blocks in batch mode.
5064
5065 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
5066
5067 * help-mode.el (bookmark-make-record-default): Declare.
5068
5069 2012-06-13 Chong Yidong <cyd@gnu.org>
5070
5071 * emacs-lisp/package.el (list-packages): Compute a list of
5072 packages that are newly-available since the last list-packages
5073 invocation.
5074 (package-menu--new-package-list): New var.
5075 (package-menu--generate, package-menu--print-info)
5076 (package-menu--status-predicate, package-menu-mark-install):
5077 Handle new status label "new".
5078
5079 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5080
5081 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5082 conversion to backquotes.
5083
5084 2012-06-12 Chong Yidong <cyd@gnu.org>
5085
5086 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5087 Rename from gud-inhibit-global-bindings.
5088
5089 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5090
5091 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5092 hook from nxml-glyph-set-hook.
5093
5094 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5095 declaration.
5096
5097 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5098
5099 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5100 Convert to defcustom.
5101
5102 2012-06-12 Drew Adams <drew.adams@oracle.com>
5103
5104 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5105 New functions.
5106 (help-mode): Use them.
5107
5108 2012-06-11 Glenn Morris <rgm@gnu.org>
5109
5110 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5111 Use preprocessor face for directives.
5112 (fortran-directive-re): Doc fix.
5113
5114 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5115
5116 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5117 conversion to backquotes (bug#11652).
5118
5119 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5120 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5121 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5122 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5123 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5124 (cl-ninth, cl-tenth): Mark them as inlinable.
5125 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5126 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5127 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5128 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5129 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5130 (cl-list*, cl-adjoin): Don't put an autoload manually.
5131 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5132 (cl--compiler-macro-list*): Add autoload cookie.
5133 (cl--compiler-macro-cXXr): New function.
5134
5135 * help-fns.el (help-fns--compiler-macro): New function extracted from
5136 describe-function-1; follow aliases and use `compiler-macro' property.
5137 (describe-function-1): Use it.
5138
5139 2012-06-11 Chong Yidong <cyd@gnu.org>
5140
5141 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5142 is uninstalled, if imagemagick is installed.
5143
5144 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5145
5146 * emacs-lisp/cl-lib.el: Use lexical-binding.
5147 (cl-map-extents, cl-maclisp-member): Remove.
5148 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5149 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5150 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5151 * emacs-lisp/cl-extra.el: Use lexical-binding.
5152 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5153 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5154 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5155 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5156 * emacs-lisp/cl-seq.el: Use lexical-binding.
5157 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5158 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5159 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5160 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5161 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5162 CL's internals.
5163
5164 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
5165
5166 Sync with Tramp 2.2.6-pre.
5167
5168 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5169 `print-length' and `print-level' to nil, in order to avoid
5170 truncation. Reported by Christopher Schmidt
5171 <christopher@ristopher.com>.
5172
5173 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5174
5175 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5176 New defmacro.
5177 (tramp-compat-copy-directory): Add optional argument
5178 COPY-CONTENTS. It is not handled yet.
5179
5180 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5181 (tramp-ftp-file-name-p): Simplify.
5182
5183 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5184 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5185 connection vector.
5186
5187 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5188 (tramp-methods): Do not use `tramp-password-end-of-line'.
5189 (tramp-completion-function-alist-putty): Handle UNIX case.
5190 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5191 (tramp-do-file-attributes-with-stat)
5192 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5193 gid as real numbers. They could run out of integer range on cygwin.
5194 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5195 (tramp-sh-handle-expand-file-name): Handle hops.
5196 (tramp-open-connection-setup-interactive-shell):
5197 Use `tramp-cleanup'. Move check for busyboxes ...
5198 (tramp-find-shell): ... here. Simplify implementation.
5199 Set "remote-shell" property also for alternative shells.
5200 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5201 If failing, a regular file would be written otherwise.
5202 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
5203 (tramp-find-inline-encoding): Cache the coding commands in the
5204 process cache. Apply test command on the remote side, if defined.
5205 (tramp-find-inline-compress): Cache the compress commands in the
5206 process cache.
5207 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5208 when requested. Handle hops.
5209 (tramp-current-connection): New defvar.
5210 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5211 Throw `suppress', if there was a failed connection shortly before.
5212 Handle user interrupt. (Bug#10187)
5213 (tramp-get-inline-compress, tramp-get-inline-coding):
5214 Read connection properties from the process cache.
5215
5216 * net/tramp-smb.el (tramp-smb-server-version)
5217 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5218 New defconsts.
5219 (tramp-smb-prompt): Extend for powershell prompt.
5220 (tramp-smb-file-name-handler-alist): Add handlers for
5221 `process-file', `shell-command' and `start-file-process'.
5222 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5223 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5224 (tramp-smb-file-name-p): Simplify.
5225 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5226 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5227 (tramp-smb-shell-quote-argument): New defuns.
5228 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5229 Implement using "tar". By this, time-stamps are preserved.
5230 (tramp-smb-handle-copy-file): Handle also the case of directories.
5231 (tramp-smb-do-file-attributes-with-stat)
5232 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5233 Use `tramp-get-connection-buffer').
5234 (tramp-smb-handle-rename-file): Use "rename", when source and
5235 target are on the same share.
5236 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5237 Use `tramp-smb-server-version'.
5238 (tramp-smb-wait-for-output): Remove prompt.
5239
5240 * net/tramp.el (top): Require 'cl.
5241 (tramp-methods, tramp-rsh-end-of-line):
5242 Remove `tramp-password-end-of-line' from docstring.
5243 (tramp-save-ad-hoc-proxies): New defcustom.
5244 (tramp-completion-function-alist): Adapt docstring.
5245 (tramp-default-password-end-of-line): Remove defcustom.
5246 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5247 (tramp-user-regexp, tramp-file-name-regexp-unified)
5248 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5249 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5250 (tramp-remote-file-name-spec-regexp): New defconst.
5251 (tramp-file-name-structure): Extend structure for hops.
5252 (tramp-get-method-parameter): Move up.
5253 (tramp-file-name-p, tramp-dissect-file-name)
5254 (with-parsed-tramp-file-name): Handle hops.
5255 (tramp-file-name-hop): New defun.
5256 (tramp-make-tramp-file-name): New optional arg HOP.
5257 (tramp-message-show-progress-reporter-message): New defvar.
5258 (tramp-with-progress-reporter): Use it. We cannot use
5259 `tramp-message-show-message' here, because this suppresses also
5260 error buffers.
5261 (tramp-error-with-buffer): Suppress buffer view, if
5262 `tramp-message-show-message' is nil.
5263 Use `tramp-get-connection-buffer'.
5264 (tramp-cleanup): New defun.
5265 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5266 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5267 an error unchanged.
5268 (tramp-completion-handle-file-name-all-completions): Handle hops.
5269 Fix an error when called from ido.
5270 (tramp-completion-dissect-file-name): Use better local variable
5271 name. Add hop to the vector.
5272 (tramp-handle-insert-file-contents): Use progress-reporter for the
5273 whole scenario.
5274 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5275 to `t'.
5276 (tramp-check-for-regexp): Simplify search.
5277 (tramp-enter-password): Remove it. Move implementation ...
5278 (tramp-action-password): ... here.
5279 (tramp-mode-string-to-int, tramp-local-host-p)
5280 (tramp-make-tramp-temp-file, tramp-read-passwd)
5281 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5282 Set tramp-autoload cookie.
5283
5284 * net/trampver.el: Update release number.
5285
5286 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5287 Michael Albinus <michael.albinus@gmx.de>
5288
5289 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5290 (tramp-parse-group, tramp-parse-file)
5291 (tramp-parse-shostkeys-sknownhosts): New defuns.
5292 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5293 (tramp-parse-shosts-group, tramp-parse-sconfig)
5294 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5295 (tramp-parse-sknownhosts, tramp-parse-hosts)
5296 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5297 Use them.
5298 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5299 (tramp-parse-putty-group): Don't narrow.
5300 (tramp-parse-putty): Make a loop.
5301 (tramp-file-name-handler): Catch the `suppress' signal.
5302
5303 2012-06-11 Chong Yidong <cyd@gnu.org>
5304
5305 * image.el (imagemagick-register-types): Put the ImageMagick entry
5306 at the end of image-type-file-name-regexps.
5307
5308 2012-06-11 Johan Bockgård <bojohan@gnu.org>
5309
5310 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5311 (pcase, pcase-let*, pcase-dolist): Use them.
5312
5313 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5314
5315 * emacs-lisp/pcase.el (pcase--let*): New function.
5316 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5317 (pcase--expand): Use macroexp-let².
5318
5319 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5320
5321 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5322 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5323 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5324 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5325 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5326 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5327
5328 2012-06-10 Glenn Morris <rgm@gnu.org>
5329
5330 * mail/rmail.el (rmail-yank-current-message): Leave point at
5331 correct position. (Bug#11660)
5332
5333 2012-06-10 Chong Yidong <cyd@gnu.org>
5334
5335 * allout-widgets.el: Fix code header.
5336
5337 2012-06-10 Chong Yidong <cyd@gnu.org>
5338
5339 * cus-edit.el (customize-changed-options-previous-release):
5340 Bump to 24.1.
5341
5342 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5343
5344 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5345
5346 2012-06-09 Chong Yidong <cyd@gnu.org>
5347
5348 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5349
5350 2012-06-09 Martin Rudalics <rudalics@gmx.at>
5351
5352 * window.el (special-display-popup-frame): Don't use
5353 window--display-buffer (Bug#11651).
5354
5355 2012-06-09 Eli Zaretskii <eliz@gnu.org>
5356
5357 Fix parallel builds: make sure loaddefs.el is not being written
5358 while Lisp files are compiled.
5359 (compile): Don't depend on 'mh-autoloads'.
5360 (compile-CMD, compile-SH): Depend on 'autoloads'.
5361 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5362
5363 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5364
5365 2012-06-09 Chong Yidong <cyd@gnu.org>
5366
5367 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5368 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5369 Doc fixes (Bug#11225).
5370
5371 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5372
5373 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5374 a function if there's a clear indication that it has a compiler-macro.
5375 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5376 (macro-declarations-alist): Add arglist to declaration functions.
5377 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5378 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5379 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5380 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5381 Also add autoload to find the compiler macro.
5382 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5383 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5384 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5385 (cl--compiler-macro-get): New functions, replacing calls to
5386 cl-define-compiler-macro.
5387 (cl-typep) [compiler-macro]: Use macroexp-let².
5388
5389 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
5390
5391 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5392 string properly, fixes Bug#11473.
5393
5394 2012-06-08 Chong Yidong <cyd@gnu.org>
5395
5396 * faces.el (set-face-attribute): Doc fix.
5397 (modify-face): Don't use :bold and :italic.
5398 (error, warning, success): Tweak definitions.
5399
5400 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5401 (custom-modified, custom-set, custom-changed, custom-themed)
5402 (custom-saved, custom-button, custom-button-mouse)
5403 (custom-button-pressed, custom-state, custom-comment-tag)
5404 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5405 (custom-group-subtitle): Use new-style face specs.
5406 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5407 (custom-set-face, custom-changed-face, custom-saved-face)
5408 (custom-button-face, custom-button-pressed-face)
5409 (custom-documentation-face, custom-state-face)
5410 (custom-comment-face, custom-comment-tag-face)
5411 (custom-variable-tag-face, custom-variable-button-face)
5412 (custom-face-tag-face, custom-group-tag-face-1)
5413 (custom-group-tag-face): Remove obsolete face alias.
5414
5415 * epa.el (epa-validity-high, epa-validity-medium)
5416 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5417 (epa-field-name, epa-field-body):
5418 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5419 (font-lock-keyword-face, font-lock-builtin-face)
5420 (font-lock-function-name-face, font-lock-variable-name-face)
5421 (font-lock-type-face, font-lock-constant-face):
5422 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5423 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5424 * speedbar.el (speedbar-button-face, speedbar-file-face)
5425 (speedbar-directory-face, speedbar-tag-face)
5426 (speedbar-selected-face, speedbar-highlight-face)
5427 (speedbar-separator-face):
5428 * whitespace.el (whitespace-newline, whitespace-space)
5429 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5430 (whitespace-line, whitespace-space-before-tab)
5431 (whitespace-space-after-tab, whitespace-indentation)
5432 (whitespace-empty):
5433 * emulation/cua-base.el (cua-global-mark):
5434 * eshell/em-prompt.el (eshell-prompt):
5435 * net/newst-plainview.el (newsticker-new-item-face)
5436 (newsticker-old-item-face, newsticker-immortal-item-face)
5437 (newsticker-obsolete-item-face, newsticker-date-face)
5438 (newsticker-statistics-face, newsticker-default-face):
5439 * net/newst-reader.el (newsticker-feed-face)
5440 (newsticker-extra-face, newsticker-enclosure-face):
5441 * net/newst-treeview.el (newsticker-treeview-face)
5442 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5443 (newsticker-treeview-immortal-face)
5444 (newsticker-treeview-obsolete-face)
5445 (newsticker-treeview-selection-face):
5446 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5447 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5448 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5449 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5450 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5451 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5452 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5453 (mpuz-text):
5454 * progmodes/vera-mode.el (vera-font-lock-number)
5455 (vera-font-lock-function, vera-font-lock-interface):
5456 * textmodes/table.el (table-cell): Use new-style face specs, and
5457 don't use the old :bold and :italic attributes.
5458
5459 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5460 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5461 (ebrowse-member-class, ebrowse-progress): Likewise.
5462 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5463 (ebrowse-file-name-face, ebrowse-default-face)
5464 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5465 (ebrowse-progress-face): Remove obsolete faces.
5466
5467 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5468 Inherit from error and warning faces respectively.
5469
5470 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5471 Likewise.
5472 (flyspell-incorrect-face, flyspell-duplicate-face):
5473 Remove obsolete aliases.
5474
5475 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
5476
5477 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5478 Avoid infloop.
5479
5480 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5481
5482 * startup.el (argv, argi): Make lexically scoped.
5483 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5484 * emacs-lisp/cl-macs.el: Use lexical-binding.
5485 Rename cl-bind-* to cl--bind-*.
5486 * files.el: Don't require `cl' since it doesn't use it.
5487 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5488
5489 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
5490
5491 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5492 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5493 instead of calling external sort utility.
5494 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5495
5496 2012-06-08 Eli Zaretskii <eliz@gnu.org>
5497
5498 * descr-text.el (describe-char): Mention how to insert the
5499 character, if the current input method doesn't support it.
5500 See the discussion in this thread for the details:
5501 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5502
5503 2012-06-08 Sam Steingold <sds@gnu.org>
5504
5505 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5506 XF86Back to previous-buffer.
5507 (minibuffer-local-map): Bind them to next-history-element and
5508 previous-history-element respectively.
5509 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5510 help-go-back respectively.
5511 * info.el (Info-mode-map): Bind them to Info-history-forward and
5512 Info-history-back respectively.
5513 These are the keys next to Up on the ThinkPad keyboard.
5514
5515 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5516
5517 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5518 * emacs-lisp/cl-macs.el: Provide itself.
5519 (cl--labels-convert-cache): New var.
5520 (cl--labels-convert): New function.
5521 (cl-flet, cl-labels): New implementation with new semantics, relying on
5522 lexical-binding.
5523 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5524 (cl-closure-vars, cl--function-convert-cache)
5525 (cl--function-convert): Move from cl-macs.el.
5526 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5527 rename by removing the "cl-" prefix.
5528 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5529
5530 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5531
5532 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5533 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5534 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5535 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5536 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5537 (cl-hash-table-count): Add old compatibility aliases.
5538
5539 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5540 Use macroexpand-all-environment instead.
5541 (cl--old-macroexpand): New var.
5542 (cl--sm-macroexpand): New function.
5543 (cl-symbol-macrolet): Use it during macro expansion.
5544 (cl--function-convert-cache): New var.
5545 (cl--function-convert): New function, extracted from
5546 cl-macroexpand-all.
5547 (cl-lexical-let): Use it.
5548
5549 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5550 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5551 (cl-member): Remove old alias.
5552
5553 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5554 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5555 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5556 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5557 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5558 (cl-macroexpand-cmacs): Remove var.
5559 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5560 Use macroexpand-all instead.
5561
5562 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5563
5564 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5565 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5566 (macroexp-copyable-p): New functions and macros.
5567 * emacs-lisp/edebug.el (edebug-unwrap):
5568 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5569 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5570 (pcase--let*): Remove.
5571 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5572 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
5573 macroexp-const-p instead.
5574 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5575
5576 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5577 instead of "cl-" for internal definitions. Use macroexp-const-p.
5578 (cl-old-bc-file-form): Remove var.
5579 (cl-const-exprs-p): Remove fun.
5580 (cl-labels, cl-macrolet): Use backquote.
5581 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
5582 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5583 (cl-define-setf-expander): Rename from cl-define-setf-method.
5584 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5585
5586 * international/mule-cmds.el: Don't require CL.
5587 (view-hello-file): Don't use `letf'.
5588
5589 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5590
5591 * tmm.el (tmm-prompt): Use string-prefix-p.
5592 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5593 (tmm-add-prompt): Use minibuffer-completion-help.
5594 (tmm-delete-map): Remove.
5595
5596 * subr.el (kbd): Make it its own function.
5597
5598 2012-06-07 Stefan Merten <smerten@oekonux.de>
5599
5600 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5601 Silence compiler warnings. Fix versions.
5602 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
5603 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
5604 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
5605 (rst-package-emacs-version-alist): Correct Emacs version to
5606 represent major merge with upstream.
5607 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
5608
5609 2012-06-06 Glenn Morris <rgm@gnu.org>
5610
5611 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5612 Only print environment variables if set.
5613
5614 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5615
5616 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5617 (macroexp--cons): Rename from maybe-cons.
5618 (macroexp--accumulate): Rename from macroexp-accumulate.
5619 (macroexp--all-forms): Rename from macroexpand-all-forms.
5620 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5621 (macroexp--expand-all): Rename from macroexpand-all-1.
5622
5623 2012-06-06 Sam Steingold <sds@gnu.org>
5624
5625 * calendar/calendar.el (calendar-in-read-only-buffer):
5626 Call `special-mode' to enable the standard read-only keybindings.
5627
5628 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5629
5630 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
5631 with "loading" messages (bug#11635).
5632
5633 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
5634
5635 * files.el (enable-remote-dir-locals): New option.
5636 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
5637
5638 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5639 Ensure, that the temp directory is local.
5640
5641 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
5642 `temporary-file-directory'.
5643
5644 * progmodes/python.el (python-send-region): Ensure, that the
5645 temporary file is created also in the remote case.
5646
5647 2012-06-06 Glenn Morris <rgm@gnu.org>
5648
5649 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
5650 (vc-rcs-update-changelog): Use it.
5651
5652 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
5653
5654 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
5655 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
5656 (vc-sccs-diff): Replace use of the external vcdiff script.
5657
5658 2012-06-05 Glenn Morris <rgm@gnu.org>
5659
5660 * ledit.el: Move to obsolete/.
5661
5662 2012-06-05 Sam Steingold <sds@gnu.org>
5663
5664 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
5665 patch (Bug#11140).
5666
5667 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5668
5669 * emacs-lisp/cust-print.el: Move to obsolete.
5670
5671 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
5672 compiler-macro expansion.
5673
5674 Add native compiler-macro support.
5675 * emacs-lisp/macroexp.el (macroexpand-all-1):
5676 Support compiler-macros directly. Properly follow aliases and apply
5677 the compiler macros more thoroughly.
5678 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
5679 macroexpand now properly follows aliases.
5680 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
5681 (cl-compiler-macroexpand): Use new prop.
5682 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
5683
5684 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
5685
5686 2012-06-05 Martin Rudalics <rudalics@gmx.at>
5687
5688 * window.el (get-lru-window, get-mru-window, get-largest-window):
5689 New argument NOT-SELECTED to avoid picking the selected window.
5690 (window--display-buffer-1, window--display-buffer-2): Replace by
5691 new function window--display-buffer
5692 (display-buffer-same-window, display-buffer-reuse-window)
5693 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5694 Use window--display-buffer.
5695 (display-buffer-use-some-window): Remove temporary dedication
5696 hack by calling get-lru-window and get-largest-window with
5697 NOT-SELECTED argument non-nil. Call window--display-buffer.
5698
5699 2012-06-05 Glenn Morris <rgm@gnu.org>
5700
5701 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
5702 Replace external vcdiff script.
5703
5704 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5705
5706 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
5707
5708 2012-06-04 Chong Yidong <cyd@gnu.org>
5709
5710 * image.el (imagemagick-types-inhibit): Revert last change.
5711 Add INFO and M.
5712 (imagemagick-enabled-types): Remove CIN and EPS*.
5713
5714 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5715
5716 * emacs-lisp/cl-lib.el: Rename from cl.el.
5717 * emacs-lisp/cl.el: New compatibility file.
5718 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
5719 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
5720 to obey the "cl-" prefix.
5721 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
5722
5723 2012-06-03 Glenn Morris <rgm@gnu.org>
5724
5725 * emacs-lisp/authors.el (authors-aliases): Addition.
5726
5727 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
5728 Fix :version.
5729
5730 2012-06-03 Stefan Merten <smerten@oekonux.de>
5731
5732 * textmodes/rst.el: Add comments.
5733 (rst-transition, rst-adornment): New faces.
5734 (rst-adornment-faces-alist): Make default safe to reevaluate.
5735 Fixes
5736 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
5737 Improve customization tags.
5738 (rst-define-level-faces): Clarify meaning.
5739
5740 2012-06-03 Chong Yidong <cyd@gnu.org>
5741
5742 * progmodes/compile.el (compilation-mode-line-fail)
5743 (compilation-mode-line-run, compilation-mode-line-exit):
5744 New faces.
5745 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
5746
5747 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
5748
5749 * progmodes/which-func.el (which-func-update-ediff-windows):
5750 New function. Use it in ediff-select-hook (Bug#11478).
5751
5752 2012-06-03 Chong Yidong <cyd@gnu.org>
5753
5754 * bindings.el: Remove explicit help text from format-mode-line.
5755 It is now supplied by mode-line-default-help-echo.
5756 (mode-line-front-space, mode-line-end-spaces)
5757 (mode-line-misc-info): New variables.
5758 (mode-line-modes, mode-line-position): Move the default value to
5759 the variable definition.
5760 (mode-line-default-help-echo): New defcustom.
5761 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
5762 (mode-line-modified-help-echo): New functions.
5763 (mode-line-mule-info, mode-line-modified): Use them.
5764 (mode-line-eol-desc, propertized-buffer-identification):
5765 Consistency fixes for help text.
5766 (mode-line-coding-system-map): Allow using mouse-3 to invoke
5767 set-buffer-file-coding-system (Bug#289).
5768 (mode-line-mule-info-help-echo): Update help text.
5769
5770 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5771
5772 * simple.el (execute-extended-command): Set real-this-command
5773 (bug#11506).
5774
5775 2012-06-02 Chong Yidong <cyd@gnu.org>
5776
5777 Remove incorrect uses of "modeline" in comments, docstrings, and
5778 function/variable names (Bug#10329).
5779
5780 * cus-edit.el (mode-line):
5781 * dframe.el (dframe-mouse-hscroll):
5782 * emacs-lisp/re-builder.el:
5783 * emacs-lisp/easy-mmode.el (define-minor-mode):
5784 * frame.el (set-frame-name):
5785 * help.el (lookup-minor-mode-from-indicator):
5786 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
5787 * progmodes/cc-cmds.el (c-toggle-auto-newline)
5788 (c-toggle-hungry-state):
5789 * progmodes/antlr-mode.el (antlr-language-alist):
5790 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
5791 * progmodes/vhdl-mode.el (vhdl-mode):
5792 * progmodes/which-func.el (which-func, which-func-cleanup-function):
5793 * term/ns-win.el (ns-face-at-pos):
5794 * term/sup-mouse.el (sup-mouse-report):
5795 * textmodes/flyspell.el (flyspell-mode-line-string):
5796 * textmodes/ispell.el (ispell-highlight-face):
5797 * textmodes/reftex-global.el:
5798 * vc/vc-arch.el (vc-arch-mode-line-string):
5799 * vc/vc-cvs.el (vc-cvs-mode-line-string):
5800 * vc/vc-git.el (vc-git-mode-line-string):
5801 * vc/vc-hooks.el (vc-display-status)
5802 (vc-default-mode-line-string):
5803 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
5804
5805 * ansi-color.el (ansi-color-faces-vector): Change default faces.
5806
5807 * dired.el (dired-sort-set-mode-line): Rename from
5808 dired-sort-set-modeline. All callers changed.
5809
5810 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
5811 eshell-status-in-modeline.
5812
5813 * foldout.el (foldout-mode-line-string): Rename from
5814 foldout-modeline-string. All callers changed.
5815 (foldout-update-mode-line): Rename from foldout-update-modeline.
5816
5817 * subr.el (redraw-modeline): Make into obsolete alias.
5818
5819 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
5820 timeclock-modeline-display. Make old name an alias.
5821 (timeclock-update-mode-line): Likewise. All callers changed.
5822 (timeclock-mode-line-display): No need to check before using
5823 add-hook.
5824 (timeclock-relative, timeclock-day-over-hook)
5825 (timeclock-use-elapsed, timeclock-mode-string)
5826 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
5827
5828 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
5829 crisp-mode-modeline-string.
5830
5831 * play/solitaire.el (solitaire-build-mode-line): Rename from
5832 solitaire-build-modeline. All callers changed.
5833
5834 * play/zone.el (zone-hiding-mode-line): Rename from
5835 zone-hiding-modeline. All callers changed.
5836 (zone): Remove unusued `modeline-hidden-level' property.
5837
5838 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
5839 xscheme-modeline-initialize. All callers changed.
5840
5841 * strokes.el (strokes-lighter): Rename from
5842 strokes-modeline-string.
5843
5844 * textmodes/sgml-mode.el (html-face-tag-alist)
5845 (html-tag-face-alist): Use mode-line face instead of obsolete
5846 alias modeline.
5847
5848 2012-06-02 Stefan Merten <smerten@oekonux.de>
5849
5850 * textmodes/rst.el: Always require `cl'.
5851 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
5852
5853 2012-06-02 Chong Yidong <cyd@gnu.org>
5854
5855 * image.el (imagemagick-enabled-types): Rename from
5856 imagemagick-types-enable. Add many more types.
5857 (imagemagick-types-inhibit): Change default to nil.
5858 (imagemagick-filter-types): Caller changed.
5859
5860 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5861
5862 * emacs-lisp/cl-macs.el: Use backquotes.
5863 (cl-transform-function-property): Use eval-and-compile rather than
5864 abusing `require'.
5865 (defstruct): Use declare-function instead of with-no-warnings.
5866
5867 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
5868 (byte-compile-output-docform): Re-add the print-circle bindings.
5869 (byte-compile-fix-header): Use #$ just because it's shorter.
5870 (byte-compile-output-file-form): Remove defun/defmacro.
5871
5872 2012-06-01 Martin Rudalics <rudalics@gmx.at>
5873
5874 * simple.el (choose-completion): Remove now obsolete binding for
5875 owindow.
5876
5877 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
5878
5879 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
5880 in order to avoid "Stack overflow in regexp matcher".
5881
5882 2012-05-31 Glenn Morris <rgm@gnu.org>
5883
5884 * image.el: For clarity, call imagemagick-register-types at
5885 top-level, rather than relying on a custom :initialize.
5886 (imagemagick-types-enable): New option. (Bug#11557)
5887 (imagemagick-filter-types): New function. (Bug#7406)
5888 (imagemagick-register-types): Use imagemagick-filter-types.
5889 If disabling support, remove elements altogether rather
5890 than using an impossible regexp.
5891 (imagemagick-types-inhibit): Give it the default init function.
5892
5893 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5894
5895 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
5896 Handle arbitrary file name lengths (Bug#11585).
5897
5898 2012-05-31 Martin Rudalics <rudalics@gmx.at>
5899
5900 * desktop.el (desktop-read): Clear previous and next buffers for
5901 all windows and bury *Messages* buffer (bug#11556).
5902
5903 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5904
5905 Add `declare' for `defun'. Align `defmacro's with it.
5906 * emacs-lisp/easy-mmode.el (define-minor-mode)
5907 (define-globalized-minor-mode): Don't autoload the var definitions.
5908 * emacs-lisp/byte-run.el: Use lexical-binding.
5909 (defun-declarations-alist, macro-declarations-alist): New vars.
5910 (defmacro, defun): Use them.
5911 (make-obsolete, define-obsolete-function-alias)
5912 (make-obsolete-variable, define-obsolete-variable-alias):
5913 Use `declare'.
5914 (macro-declaration-function): Mark obsolete.
5915 * emacs-lisp/autoload.el: Use lexical-binding.
5916 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
5917
5918 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5919
5920 * textmodes/ispell.el (ispell-with-no-warnings):
5921 Define as a macro.
5922 (ispell-kill-ispell, ispell-change-dictionary):
5923 Use `called-interactively-p' for Emacs instead of obsolete
5924 `interactive-p'.
5925
5926 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5927
5928 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
5929 (macro-declaration-function): Move var from C code.
5930 (macro-declaration-function): Define function with defalias.
5931 * emacs-lisp/macroexp.el (macroexpand-all-1):
5932 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
5933 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
5934 defun/defmacro any more.
5935 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
5936 Provide fallback for unknown arglist.
5937 (byte-compile-arglist-warn): Change calling convention.
5938 (byte-compile-output-file-form): Move print-vars binding.
5939 (byte-compile-output-docform): Simplify accordingly.
5940 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
5941 (byte-compile-defmacro-declaration): Remove.
5942 (byte-compile-file-form-defmumble): Generalize to defalias.
5943 (byte-compile-output-as-comment): Return byte-positions.
5944 Simplify callers accordingly.
5945 (byte-compile-lambda): Use `assert'.
5946 (byte-compile-defun, byte-compile-defmacro): Remove.
5947 (byte-compile-file-form-defalias):
5948 Use byte-compile-file-form-defmumble.
5949 (byte-compile-defalias-warn): Remove.
5950
5951 2012-05-29 Stefan Merten <smerten@oekonux.de>
5952
5953 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
5954 possible. Fix authors. Improve comments. Improve loading of `cl'.
5955
5956 (rst-mode-abbrev-table): Merge definition.
5957 (rst-mode): Make sure `font-lock-defaults' is buffer local.
5958 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
5959
5960 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
5961
5962 * calendar/icalendar.el
5963 (icalendar-export-region): Export UID properly.
5964
5965 2012-05-29 Leo Liu <sdl.web@gmail.com>
5966 * calendar/icalendar.el (icalendar-import-format):
5967 Add `icalendar-import-format-uid' (Bug#11525).
5968 (icalendar-import-format-uid): New.
5969 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
5970 Export UID.
5971
5972 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5973
5974 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
5975 different alternative patterns.
5976 (pcase-codegen): Be more careful to preserve identity.
5977 (pcase--u1): Don't forget to mark vars as used.
5978
5979 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
5980 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
5981 (byte-compile-from-buffer): ...rather than here.
5982
5983 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
5984 functions from byte-compile-function-environment.
5985
5986 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
5987
5988 * window.el (window-deletable-p): Avoid deleting the root window
5989 of a frame with an active minibuffer.
5990
5991 2012-05-29 Martin Rudalics <rudalics@gmx.at>
5992
5993 * simple.el (choose-completion): Use quit-window (Bug#11567).
5994
5995 2012-05-29 Chong Yidong <cyd@gnu.org>
5996
5997 * whitespace.el (whitespace-cleanup): Fix usage of
5998 whitespace-empty-at-bob-regexp (Bug#11492).
5999
6000 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6001
6002 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6003 revert (Bug#11488).
6004
6005 2012-05-29 Juri Linkov <juri@jurta.org>
6006
6007 * isearch.el (isearch-mode-map): Bind `M-s _' to
6008 `isearch-toggle-symbol'. Bind `M-s c' to
6009 `isearch-toggle-case-fold'.
6010 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6011 (isearch-forward): Add `M-s _' to the docstring.
6012 (isearch-forward-symbol, isearch-toggle-case-fold)
6013 (isearch-symbol-regexp): New functions. (Bug#11381)
6014
6015 2012-05-29 Juri Linkov <juri@jurta.org>
6016
6017 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6018 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6019 a function, call it to get the regexp.
6020 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6021 property `isearch-message-prefix' instead of the string "word ".
6022 (isearch-search-fun-default): For the case of `isearch-word',
6023 return a lambda that calls re-search-forward/re-search-backward
6024 with a regexp returned by `word-search-regexp' or by the function
6025 in `isearch-word'.
6026
6027 2012-05-29 Juri Linkov <juri@jurta.org>
6028
6029 * isearch.el (isearch-search-fun-default): New function.
6030 (isearch-search-fun): Move default part to the new function
6031 `isearch-search-fun-default'.
6032 (isearch-search-fun-function): Set the default value to
6033 `isearch-search-fun-default'. (Bug#11381)
6034
6035 * comint.el (comint-history-isearch-end):
6036 Use `isearch-search-fun-default'.
6037 (comint-history-isearch-search): Use `isearch-search-fun-default'
6038 and remove spacial case for `isearch-word'.
6039 (comint-history-isearch-wrap): Remove spacial case for
6040 `isearch-word'.
6041
6042 * hexl.el (hexl-isearch-search-function):
6043 Use `isearch-search-fun-default'.
6044
6045 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6046 Use `word-search-regexp' for `isearch-word'.
6047
6048 * misearch.el (multi-isearch-search-fun):
6049 Use `isearch-search-fun-default'.
6050
6051 * simple.el (minibuffer-history-isearch-search):
6052 Use `isearch-search-fun-default' and remove spacial case for
6053 `isearch-word'.
6054 (minibuffer-history-isearch-wrap): Remove spacial case for
6055 `isearch-word'.
6056
6057 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6058 Remove spacial case for `isearch-word'.
6059 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6060
6061 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6062
6063 Decrease XEmacs incompatibilities.
6064 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6065 Use `string-match'.
6066 (flyspell-delete-region-overlays): Use alternative definition for
6067 XEmacs.
6068 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6069 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6070 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6071 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6072 `define-obsolete-face-alias' under XEmacs, but old method.
6073
6074 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6075 `with-no-warnings' definition or Emacs alias.
6076 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6077 (ispell-word): Do not use `region-p' if XEmacs.
6078
6079 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6080
6081 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6082 Check for `ispell-dictionary-base-alist' instead of full
6083 `ispell-dictionary-alist'.
6084 (ispell-init-process): Show spellchecker when starting new Ispell
6085 process.
6086
6087 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6088
6089 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6090 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6091
6092 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
6093
6094 * version.el (motif-version-string, gtk-version-string)
6095 (ns-version-string): Declare.
6096
6097 2012-05-27 Juri Linkov <juri@jurta.org>
6098
6099 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6100 after the `eval-defun-1' specialcaseing
6101 like in `edebug-eval-defun' (bug#10181).
6102
6103 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6104 like in `eval-defun-1'.
6105
6106 2012-05-27 Eli Zaretskii <eliz@gnu.org>
6107
6108 * mail/sendmail.el (mail-yank-region):
6109 Recognize rmail-yank-current-message in addition to insert-buffer.
6110 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
6111 a *mail* buffer created through rmail-start-mail with sendmail as
6112 mail-user-agent.
6113
6114 2012-05-27 Chong Yidong <cyd@gnu.org>
6115
6116 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6117 Default to 256 (Bug#11267).
6118
6119 * help.el (describe-mode): Doc fix.
6120
6121 2012-05-26 Glenn Morris <rgm@gnu.org>
6122
6123 * w32-fns.el (w32-init-info): Remove.
6124 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6125
6126 * info.el (info-initialize): For self-contained NS builds, put the
6127 included info/ directory at the front. (Bug#2791)
6128
6129 * paths.el (Info-default-directory-list): Make it a defcustom,
6130 mainly so that we can use custom-initialize-delay.
6131
6132 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6133
6134 * subr.el (buffer-has-markers-at): Mark obsolete.
6135
6136 * subr.el (lambda): Use declare.
6137
6138 * emacs-lisp/lisp-mode.el (lambda):
6139 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6140
6141 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6142
6143 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6144
6145 2012-05-26 Glenn Morris <rgm@gnu.org>
6146
6147 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6148
6149 2012-05-25 Glenn Morris <rgm@gnu.org>
6150
6151 * paths.el: Remove no-byte-compile.
6152 * loadup.el: No need to load paths.el uncompiled.
6153
6154 * image.el (imagemagick-types-inhibit): Doc fix.
6155
6156 * version.el: Remove no-byte-compile and associated formatting.
6157 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6158 is ancient code from when there was an "inc-vers.el".
6159
6160 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6161
6162 * progmodes/gdb-mi.el: Minor style changes.
6163 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6164 Turn into minor modes.
6165 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6166 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6167 (gdb-shell): Remove unneeded let-binding.
6168 (gdb-get-many-fields): Eliminate O(n²) behavior.
6169
6170 2012-05-25 Eli Zaretskii <eliz@gnu.org>
6171
6172 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6173 platforms that don't link in fontset.c.
6174
6175 2012-05-25 Juri Linkov <juri@jurta.org>
6176
6177 Use the same diff color scheme as in modern VCSes (bug#10181).
6178
6179 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6180 to avoid confusion with `diff-added' that now uses green colors.
6181 (diff-removed): Use shades of red.
6182 (diff-added): Use shades of green.
6183 (diff-changed): Leave just the yellow color.
6184 (diff-use-changed-face): New variable.
6185 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6186 how to highlight context diff changes.
6187 (diff-refine-change): Use shades of yellow.
6188 (diff-refine-removed): New face that uses shades of red.
6189 (diff-refine-added): New face that uses shades of green.
6190 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6191 `diff-refine-removed' in the call to `smerge-refine-subst'
6192 depending on the value of `diff-use-changed-face'.
6193
6194 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6195 (smerge-other): Use shades of green.
6196 (smerge-base): Use shades of yellow.
6197 (smerge-refined-change): Empty face.
6198 (smerge-refined-removed): New face that uses shades of red.
6199 (smerge-refined-added): New face that uses shades of green.
6200 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6201 args `props-r' and `props-a', and use them. Doc fix.
6202 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6203 on its value use different faces `smerge-refined-change',
6204 `smerge-refined-removed', `smerge-refined-added' in the call to
6205 `smerge-refine-subst'.
6206
6207 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6208 Add face condition `min-colors 88' with shades of red.
6209 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6210 `min-colors 88' with shades of green.
6211 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6212 `min-colors 88' with shades of yellow.
6213
6214 2012-05-24 Glenn Morris <rgm@gnu.org>
6215
6216 * paths.el (prune-directory-list, remote-shell-program): Move to...
6217 * files.el (prune-directory-list, remote-shell-program): ...here.
6218 For the latter, delay initialization, prefer ssh, just search PATH.
6219
6220 * paths.el (term-file-prefix): Move to faces.el (the only user).
6221 * faces.el (term-file-prefix): Move here, make it a defcustom.
6222
6223 * paths.el (news-directory, news-path, news-inews-program):
6224 Move to gnus/nnspool.el.
6225
6226 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6227
6228 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6229 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6230 Make the latter a defcustom, with a delayed initialization.
6231
6232 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6233 These were deleted from Gnus itself late 2010.
6234
6235 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
6236
6237 * progmodes/which-func.el (which-func-ff-hook):
6238 Check against user-error, not error.
6239
6240 * emacs-lisp/edebug.el (top): Do not load or set up loading of
6241 cl-specs.el, which no longer exists.
6242
6243 2012-05-22 Glenn Morris <rgm@gnu.org>
6244
6245 * info.el (info-emacs-bug): New command.
6246 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6247 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6248
6249 2012-05-21 Glenn Morris <rgm@gnu.org>
6250
6251 * makefile.w32-in (update-subdirs-SH):
6252 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6253
6254 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6255
6256 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6257
6258 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6259 Simplify Maven regexp, and make sure the file can't start with a space
6260 (bug#11517).
6261
6262 2012-05-21 Glenn Morris <rgm@gnu.org>
6263
6264 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6265 Scrap superfluous subshells.
6266
6267 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6268
6269 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6270 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6271
6272 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6273
6274 * calc/calc.el (calc-ensure-consistent-units): New variable.
6275
6276 * calc/calc-units.el (math-consistent-units-p)
6277 (math-check-unit-consistency): New functions.
6278 (calc-quick-units, calc-convert-units):
6279 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6280 is non-nil.
6281 (calc-extract-units): Fix typo.
6282
6283 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6284
6285 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6286
6287 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6288 (flyspell-default-deplacement-commands): Don't spell check after
6289 repeated window/frame switches (e.g. triggered by mouse-movement).
6290 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6291 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6292 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6293 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6294 Remove unused vars.
6295 (flyspell-get-casechars, flyspell-get-not-casechars):
6296 Simplify; Don't bother removing a ] just to add it back.
6297 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6298
6299 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6300
6301 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6302 New functions.
6303 (math-function-table): Add support for more C functions.
6304
6305 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6306
6307 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6308 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6309 Protect delay handling for otherchars against empty otherchars.
6310
6311 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6312
6313 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6314 their respective macro declarations.
6315 * skeleton.el (define-skeleton):
6316 * progmodes/compile.el (define-compilation-mode):
6317 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6318 (define-ibuffer-filter):
6319 * emacs-lisp/generic.el (define-generic-mode):
6320 * emacs-lisp/easy-mmode.el (define-minor-mode)
6321 (define-globalized-minor-mode):
6322 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6323 * emacs-lisp/byte-run.el (defsubst):
6324 * custom.el (deftheme): Add doc-string metadata.
6325
6326 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6327
6328 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6329
6330 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6331
6332 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6333
6334 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6335 * emacs-lisp/cl-macs.el: Idem.
6336 * emacs-lisp/cl-specs.el: Remove.
6337
6338 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6339
6340 Minor renaming of internal CL functions and variables.
6341 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6342 (cl--position): Rename from cl-position.
6343 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6344 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6345 (cl--random-state): Rename from *random-state*.
6346
6347 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6348
6349 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6350 parens around the arg list (bug#11499).
6351
6352 2012-05-17 Juri Linkov <juri@jurta.org>
6353
6354 * isearch.el (word-search-regexp, word-search-backward)
6355 (word-search-forward, word-search-backward-lax)
6356 (word-search-forward-lax): Move functions from search.c
6357 (bug#10145, bug#11381).
6358
6359 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6360
6361 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6362 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6363 Delay for otherchars as for normal word components.
6364
6365 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6366
6367 * minibuffer.el (completion--sifn-requote): Fix last change.
6368 (minibuffer-local-must-match-filename-map):
6369 Move define-obsolete-variable-alias before its var.
6370
6371 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6372
6373 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6374
6375 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6376 behavior.
6377 (completion--string-equal-p): New function.
6378 (completion--twq-all): Use it to get better assertion failure data.
6379
6380 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6381 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6382 (shell--requote-argument): New functions.
6383 (shell-completion-vars): Use them.
6384 (shell--parse-pcomplete-arguments): Rename from
6385 shell-parse-pcomplete-arguments.
6386 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6387 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6388 Obey comint-file-name-quote-list.
6389
6390 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6391 (smie-indent-keyword): Use it.
6392
6393 2012-05-14 Stefan Merten <smerten@oekonux.de>
6394
6395 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6396
6397 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
6398
6399 * net/rlogin.el (rlogin-mode-map): Fix last change.
6400
6401 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
6402
6403 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6404 the following \r\n using a single `process-send-string', since the
6405 Lotus SMTP server refuses to accept any commands if they are sent
6406 with two `process-send-string's (Bug#11444).
6407
6408 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
6409
6410 * shell.el (shell-parse-pcomplete-arguments):
6411 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
6412
6413 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6414
6415 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
6416 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6417 (image-transform-width, image-transform-fit-width): New functions.
6418 (image-transform-properties): Use them.
6419 (image-transform-check-size): New function.
6420 (image-toggle-display-image): Use it (for testing).
6421 (image-transform-set-rotation): Reduce angle mod 360.
6422 Delete obsolete comment.
6423
6424 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6425
6426 * image-mode.el: Fix scaling (bug#11399).
6427 (image-transform-resize): Doc fix.
6428 (image-transform-properties): Default scale is 1 and height should
6429 be an integer.
6430
6431 2012-05-13 Johan Bockgård <bojohan@gnu.org>
6432
6433 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6434 than hard-coding `car', to fix misbehavior when moving forward.
6435
6436 2012-05-13 Chong Yidong <cyd@gnu.org>
6437
6438 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6439 (tabulated-list-entries, tabulated-list-padding)
6440 (tabulated-list-sort-key): Make permanent-local.
6441
6442 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6443 (electric-buffer-list): Put electric buffer menu
6444 command descriptions in this docstring, instead of the docstring
6445 of electric-buffer-menu-mode. Code cleanups.
6446 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6447 Electric-buffer-menu-mode.
6448 (electric-buffer-update-highlight): Minor code cleanup.
6449
6450 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
6451
6452 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6453 (Bug#11447)
6454
6455 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6456
6457 Move define-obsolete-variable-alias before the var's definition.
6458 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6459 * tooltip.el (tooltip-hook):
6460 * textmodes/reftex-toc.el (reftex-toc-map):
6461 * textmodes/reftex-sel.el (reftex-select-label-map)
6462 (reftex-select-bib-map):
6463 * textmodes/reftex-index.el (reftex-index-map)
6464 (reftex-index-phrases-map):
6465 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6466 * progmodes/meta-mode.el (meta-mode-map):
6467 * novice.el (disabled-command-hook):
6468 * loadhist.el (unload-hook-features-list):
6469 * frame.el (blink-cursor):
6470 * files.el (find-file-not-found-hooks, write-file-hooks)
6471 (write-contents-hooks):
6472 * emulation/tpu-edt.el (GOLD-map):
6473 * emacs-lock.el (emacs-lock-from-exiting):
6474 * emacs-lisp/generic.el (generic-font-lock-defaults):
6475 * emacs-lisp/chart.el (chart-map):
6476 * dos-fns.el (register-name-alist):
6477 * dired-x.el (dired-omit-files-p):
6478 * desktop.el (desktop-enable):
6479 * cus-edit.el (custom-mode-hook):
6480 * buff-menu.el (buffer-menu-mode-hook):
6481 * bookmark.el (bookmark-read-annotation-text-func)
6482 (bookmark-exit-hooks):
6483 * allout.el (allout-mode-deactivate-hook)
6484 (allout-exposure-change-hook, allout-structure-added-hook)
6485 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6486 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6487 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6488 comes before the corresponding variable's definition.
6489
6490 2012-05-12 Chong Yidong <cyd@gnu.org>
6491
6492 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
6493 (Buffer-menu-mouse-select): Restore function (Bug#11459).
6494 (Buffer-menu-mode-map): Bind it.
6495 (Buffer-menu--pretty-name): Add a mouse-face property.
6496
6497 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6498
6499 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
6500 (prolog-upper-case-string, prolog-lower-case-string)
6501 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6502 (prolog-use-smie, prolog-smie-grammar): New vars.
6503 (prolog-smie-forward-token, prolog-smie-backward-token)
6504 (prolog-smie-rules): New funs.
6505 (prolog-comment-indent): Remove.
6506 (prolog-mode-variables): Use default comment indentation instead.
6507 Setup SMIE.
6508 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6509 (prolog-mode): Don't call them any more.
6510 (prolog-electric-colon, prolog-electric-dash)
6511 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6512
6513 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6514
6515 * minibuffer.el (completion--twq-all): Again, allow case differences.
6516
6517 * term.el: Move keymap initialization code to be more idiomatic.
6518 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6519 (term-terminal-menu): Move initialization into declaration.
6520 (term-escape-char): Let the user set it in her .emacs.
6521
6522 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6523 Provide SMIE-based indentation (not enabled by default yet).
6524 (sh-mode-map): Don't bind electric keys.
6525 Use electric-pair-mode instead of skeleton-pair.
6526 (sh-assignment-regexp): Fit within 80 columns.
6527 (sh-indent-supported): Specify actual shell name instead of boolean.
6528 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6529 (sh-maybe-here-document): Use it. Make obsolete.
6530 (sh-electric-here-document-mode) New minor mode.
6531 (sh-mode): Use it. Don't set sh-indent-supported-here here.
6532 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6533 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6534 (sh-smie-rc-grammar, sh-use-smie): New vars.
6535 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6536 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6537 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6538 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6539 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6540 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6541 (sh-set-shell): Use smie-setup if requested.
6542
6543 * term.el (term-set-escape-char): Properly set term-escape-char.
6544 See http://stackoverflow.com/questions/10524656.
6545
6546 2012-05-10 Chong Yidong <cyd@gnu.org>
6547
6548 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6549 Use url-generic-parse-url, and handle host names and Windows
6550 filenames properly.
6551 (ffap-url-unwrap-remote): Use url-generic-parse-url.
6552 (ffap-url-unwrap-remote): Accept list values, specifying a list of
6553 URL schemes to work on.
6554 (ffap--toggle-read-only): New function.
6555 (ffap-read-only, ffap-read-only-other-window)
6556 (ffap-read-only-other-frame): Use it.
6557 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6558 necessary for ffap-url-unwrap-remote.
6559
6560 2012-05-10 Dave Abrahams <dave@boostpro.com>
6561
6562 * cus-start.el (create-lockfiles): Add it.
6563
6564 2012-05-09 Chong Yidong <cyd@gnu.org>
6565
6566 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6567 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6568
6569 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6570
6571 * shell.el (shell-completion-vars): Fix last change (bug#11348).
6572
6573 2012-05-09 Chong Yidong <cyd@gnu.org>
6574
6575 * ansi-color.el (ansi-color-process-output): Check for validity of
6576 comint-last-output-start before using it. This avoids a bad
6577 interaction with gdb-mi's input/output buffer.
6578
6579 2012-05-09 Glenn Morris <rgm@gnu.org>
6580
6581 * files.el (dir-locals-read-from-file):
6582 Mention dir-locals in any error message.
6583
6584 2012-05-09 Chong Yidong <cyd@gnu.org>
6585
6586 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6587 package (Bug#11410).
6588
6589 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6590 variables into description.
6591
6592 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6593
6594 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6595 shell-delimiter-argument-list (bug#11348).
6596 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6597
6598 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
6599
6600 * textmodes/rst.el: Silence byte-compiler warnings.
6601 (rst-re-alist, rst-reset-section-caches): Move around.
6602 (rst-re): Use `characterp', not `char-valid-p'.
6603 (font-lock-beg, font-lock-end): Declare.
6604
6605 * progmodes/idlw-shell.el (specs): Remove reference to deleted
6606 variable `idlwave-shell-activate-alt-keybindings' and simplify.
6607
6608 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6609
6610 2012-05-08 Glenn Morris <rgm@gnu.org>
6611
6612 * files.el (auto-mode-alist): Treat ".make" like ".mk".
6613
6614 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6615
6616 * vc/log-edit.el: Add GNU coding standards highlighting.
6617 (log-edit-font-lock-gnu-style)
6618 (log-edit-font-lock-gnu-keywords): New vars.
6619 (log-edit-font-lock-keywords): New fun.
6620 (log-edit-mode): Don't fold case in font-lock.
6621 (log-edit-font-lock-keywords): Do not assume case-folding.
6622
6623 * imenu.el: Misc cleanup. Make docstrings out of comments.
6624 Use lexical-binding.
6625 (imenu--index-alist, imenu--last-menubar-index-alist)
6626 (imenu-menubar-modified-tick): Use defvar-local.
6627 (imenu--split-menu): Remove unused var.
6628 (imenu--cleanup-seen): Declare as global.
6629 (imenu--cleanup): Use dolist.
6630
6631 * subr.el (defvar-local): Add debug spec and doc-string position.
6632
6633 2012-05-08 Glenn Morris <rgm@gnu.org>
6634
6635 * language/burmese.el, language/cham.el, language/czech.el:
6636 * language/english.el, language/georgian.el, language/greek.el:
6637 * language/japanese.el, language/khmer.el, language/korean.el:
6638 * language/lao.el, language/misc-lang.el, language/romanian.el:
6639 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
6640 * language/thai.el, language/utf-8-lang.el:
6641 Remove no-byte-compile setting.
6642
6643 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
6644
6645 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6646
6647 * progmodes/make-mode.el (makefile-browse):
6648 Remove unnecessary interactive. (Bug#11324)
6649
6650 2012-05-07 Glenn Morris <rgm@gnu.org>
6651
6652 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
6653
6654 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
6655
6656 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6657
6658 * loadup.el: Preload newcomment.el.
6659 * newcomment.el: Move autoload-only code to toplevel.
6660
6661 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
6662 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6663 Handle new :right-align column property.
6664 (tabulated-list-print-col): Idem, plus use `display' text-property to
6665 try and preserve alignment for variable pitch fonts.
6666
6667 2012-05-07 Chong Yidong <cyd@gnu.org>
6668
6669 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
6670 (tabulated-list-use-header-line): New var.
6671 (tabulated-list-init-header): Use it.
6672 (tabulated-list-print-fake-header): New function.
6673 (tabulated-list-print): Use it.
6674 (tabulated-list-sort-button-map): Add non-header-line commands.
6675 (tabulated-list-init-header): Add column name property to basic
6676 labels as well.
6677 (tabulated-list-col-sort): Handle non-header-line button case.
6678 (tabulated-list--sort-by-column-name): Fix a corner case.
6679
6680 * buff-menu.el (list-buffers--refresh):
6681 Handle Buffer-menu-use-header-line.
6682
6683 2012-05-06 Chong Yidong <cyd@gnu.org>
6684
6685 * buff-menu.el: Convert to Tabulated List mode.
6686 (Buffer-menu-buffer+size-width): Make obsolete.
6687 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
6688 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
6689 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
6690 documentation into docstring of buffer-menu.
6691 (Buffer-menu-toggle-files-only): Add an informative message.
6692 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
6693 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
6694 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
6695 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
6696 (Buffer-menu-execute, Buffer-menu-select)
6697 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
6698 (Buffer-menu-bury): Use Tabulated List machinery.
6699 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
6700 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
6701 Delete.
6702 (list-buffers--refresh): New function.
6703 (list-buffers-noselect): Use it.
6704 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
6705 (Buffer-menu--pretty-file-name): New helper functions.
6706
6707 * loadup.el: Preload tabulated-list.
6708
6709 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
6710 tabulated-list-sort-column.
6711 (tabulated-list-init-header): Add the initial aligning space even
6712 if tabulated-list-padding is zero.
6713
6714 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
6715
6716 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
6717 whose cdr is not a cons cell correctly (bug#11038).
6718
6719 2012-05-06 Chong Yidong <cyd@gnu.org>
6720
6721 * emacs-lisp/tabulated-list.el (tabulated-list-format):
6722 Accept additional plist in column descriptors.
6723 (tabulated-list-init-header): Obey it.
6724 (tabulated-list-get-entry): New function.
6725 (tabulated-list-put-tag): Use it. Use string-width instead of
6726 length.
6727 (tabulated-list--column-number): New function.
6728 (tabulated-list-print): Use it.
6729 (tabulated-list-print-col): New function.
6730 Set `tabulated-list-column-name' property on each column's text.
6731 (tabulated-list-print-entry): Use it.
6732 (tabulated-list-delete-entry, tabulated-list-set-col):
6733 New functions.
6734 (tabulated-list-sort-column): New command (Bug#11337).
6735
6736 * buff-menu.el (list-buffers): Move C-x C-b binding from
6737 buff-menu.el to bindings.el.
6738
6739 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
6740 :advertised-binding feature.
6741
6742 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
6743
6744 * progmodes/compile.el (compilation-internal-error-properties):
6745 Calculate start position correctly when end-col is set but
6746 end-line is not (Bug#11382).
6747
6748 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
6749
6750 * man.el (Man-unindent): Use text-property-default-nonsticky to
6751 prevent untabify from inheriting face properties (Bug#11408).
6752
6753 2012-05-05 Stefan Merten <smerten@oekonux.de>
6754
6755 * textmodes/rst.el: Major merge with upstream development up to
6756 Docutils SVN r7399 / rst.el V1.2.1.
6757
6758 Clarify maintainership and authors.
6759
6760 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
6761 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
6762 (rst-official-version, rst-official-cvs-rev, rst-version)
6763 (rst-package-emacs-version-alist): New functions and variables
6764 for version information.
6765
6766 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
6767 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
6768 (rst-mode-syntax-table, rst-mode): New and corrected functions
6769 and variables representing reStructuredText features.
6770
6771 (rst-re): New function for reStructuredText regexes. Use in
6772 many places.
6773
6774 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
6775 (rst-mode-map): Rebind keys.
6776
6777 (rst-mode-lazy, rst-font-lock-keywords)
6778 (rst-font-lock-extend-region)
6779 (rst-font-lock-extend-region-internal)
6780 (rst-font-lock-extend-region-extend)
6781 (rst-font-lock-find-unindented-line-limit)
6782 (rst-font-lock-find-unindented-line-match)
6783 (rst-adornment-level, rst-font-lock-adornment-level)
6784 (rst-font-lock-adornment-match)
6785 (rst-font-lock-handle-adornment-pre-match-form)
6786 (rst-font-lock-handle-adornment-matcher): Major revision of
6787 font-locking. Integrate with other code. Use `jit-lock-mode'.
6788
6789 (rst-preferred-adornments, rst-adjust-hook)
6790 (rst-new-adornment-down, rst-preferred-bullets)
6791 (rst-preferred-bullets, rst-indent, rst-indent-width)
6792 (rst-indent-field, rst-indent-literal-normal)
6793 (rst-indent-literal-minimized, rst-indent-comment): Change,
6794 extend and improve customization.
6795
6796 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
6797 (rst-normalize-cursor-position, rst-get-decoration)
6798 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
6799 (rst-rstrip, rst-toc-insert-find-delete-contents)
6800 (rst-shift-fill-region, rst-compute-bullet-tabs)
6801 (rst-debug-print-tabs, rst-debug-mark-found)
6802 (rst-shift-region-guts, rst-shift-region-right)
6803 (rst-shift-region-left, rst-use-char-classes)
6804 (rst-font-lock-keywords-function)
6805 (rst-font-lock-indentation-point)
6806 (rst-font-lock-find-unindented-line-begin)
6807 (rst-font-lock-find-unindented-line-end)
6808 (rst-font-lock-find-unindented-line)
6809 (rst-font-lock-adornment-point, rst-font-lock-level)
6810 (rst-adornment-level-alist): Remove functions and variables.
6811
6812 (rst-compare-adornments, rst-get-adornment-match)
6813 (rst-suggest-new-adornment, rst-get-adornments-around)
6814 (rst-adornment-complete-p, rst-get-next-adornment)
6815 (rst-adjust-adornment, rst-display-adornments-hierarchy)
6816 (rst-straighten-adornments): Standardize function names to
6817 use "adornment" instead of "decoration". Correct callers.
6818 Similar standardizing in many places.
6819
6820 (rst-update-section, rst-adjust, rst-promote-region)
6821 (rst-enumerate-region, rst-bullet-list-region)
6822 (rst-repeat-last-character): Correct use of `interactive'.
6823
6824 (rst-classify-adornment, rst-find-all-adornments)
6825 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
6826 (rst-find-leftmost-column, rst-repeat-last-character):
6827 Refactor functions.
6828
6829 (rst-find-title-line, rst-reset-section-caches)
6830 (rst-get-adornments-around, rst-adjust-adornment-work)
6831 (rst-arabic-to-roman, rst-roman-to-arabic)
6832 (rst-insert-list-pos, rst-insert-list-new-item)
6833 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
6834 New functions.
6835
6836 (rst-all-sections, rst-section-hierarchy)
6837 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
6838 New variables.
6839
6840 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
6841 configuration instead of only buffer. Change where necessary.
6842
6843 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
6844 (rst-shift-region, rst-adaptive-fill): New functions for
6845 indentation and filling.
6846
6847 (rst-comment-line-break, rst-comment-indent)
6848 (rst-comment-insert-comment, rst-comment-region)
6849 (rst-uncomment-region): New functions for handling comments.
6850
6851 (rst-compile): Quote shell arguments.
6852
6853 (rst-compile-pdf-preview, rst-compile-slides-preview):
6854 Delete temporary files after use.
6855
6856 2012-05-05 Glenn Morris <rgm@gnu.org>
6857
6858 * calendar/cal-html.el: Optionally include holidays in the output.
6859 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
6860 (cal-html-holidays): New option.
6861 (cal-html-css-default): Add holiday entry.
6862 (holiday-in-range): Autoload it.
6863 (cal-html-htmlify-entry): Add optional class argument.
6864 (cal-html-htmlify-list): Add optional holidays argument.
6865 (cal-html-insert-agenda-days): Include holidays in the output.
6866 (cal-html-one-month): Maybe include holidays.
6867
6868 * calendar/holidays.el (holiday-in-range):
6869 Move here from cal-tex-list-holidays.
6870 * calendar/cal-tex.el (cal-tex-list-holidays):
6871 Make it an obsolete alias for holiday-in-range. Update all callers.
6872
6873 2012-05-05 Chong Yidong <cyd@gnu.org>
6874
6875 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
6876 Nextstep.
6877
6878 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
6879
6880 * files.el (file-auto-mode-skip): New var.
6881 (set-auto-mode-1): Use it.
6882
6883 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6884
6885 * repeat.el: Use lexical-binding.
6886 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
6887 (repeat-undo-count): Remove.
6888 (repeat):
6889 * progmodes/octave-mod.el (octave-abbrev-start):
6890 * progmodes/f90.el (f90-abbrev-start):
6891 * face-remap.el (text-scale-adjust):
6892 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
6893
6894 * emacs-lisp/pcase.el (pcase--let*): New function.
6895 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
6896 a bit more.
6897 (pcase--split-pred): Be more clever about ruling out overlap between
6898 a predicate and some constant pattern.
6899 (pcase--q1): Use `null' instead of (eq foo nil).
6900
6901 * subr.el (setq-local, defvar-local): New macros.
6902 (kbd): Redefine as an alias.
6903 (with-selected-window): Leave unrelated frames alone.
6904 (set-temporary-overlay-map): New function.
6905
6906 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6907
6908 * subr.el (user-error): New function.
6909 * window.el (switch-to-buffer):
6910 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
6911 (smerge-match-conflict):
6912 * simple.el (previous-matching-history-element)
6913 (next-matching-history-element, goto-history-element, undo-more)
6914 (undo-start):
6915 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
6916 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
6917 (next-file, tags-loop-scan, list-tags, complete-tag):
6918 * progmodes/compile.el (compilation-loop):
6919 * mouse.el (mouse-minibuffer-check):
6920 * man.el (Man-bgproc-sentinel, Man-goto-page):
6921 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
6922 (Info-history-forward, Info-follow-reference, Info-menu)
6923 (Info-extract-menu-item, Info-extract-menu-counting)
6924 (Info-forward-node, Info-backward-node, Info-next-menu-item)
6925 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
6926 (Info-next-reference, Info-prev-reference, Info-index)
6927 (Info-index-next, Info-follow-nearest-node)
6928 (Info-copy-current-node-name):
6929 * imenu.el (imenu--make-index-alist)
6930 (imenu-default-create-index-function, imenu-add-to-menubar):
6931 * files.el (basic-save-buffer, recover-file):
6932 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6933 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
6934 (checkdoc-message-text, checkdoc-defun):
6935 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
6936 * cus-edit.el (customize-changed-options, customize-rogue)
6937 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
6938 (custom-variable-mark-to-reset-standard)
6939 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
6940 (custom-file):
6941 * completion.el (check-completion-length):
6942 * comint.el (comint-search-arg)
6943 (comint-previous-matching-input-string-position)
6944 (comint-previous-matching-input)
6945 (comint-replace-by-expanded-history-before-point, comint-send-input)
6946 (comint-copy-old-input, comint-backward-matching-input)
6947 (comint-goto-process-mark, comint-set-process-mark):
6948 * calendar/calendar.el (calendar-cursor-to-date): Use it.
6949 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
6950
6951 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6952
6953 * dabbrev.el (dabbrev--ignore-case-p): New function.
6954 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
6955 Use it.
6956
6957 * files.el (automount-dir-prefix): Mark as obsolete.
6958
6959 2012-05-04 Glenn Morris <rgm@gnu.org>
6960
6961 * patcomp.el, play/bruce.el: Move to obsolete/.
6962
6963 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
6964
6965 Fix minor Y10k bugs.
6966 * arc-mode.el (archive-unixdate):
6967 * autoinsert.el (auto-insert-alist):
6968 * calc/calc-forms.el (math-this-year):
6969 * emacs-lisp/copyright.el (copyright-current-year)
6970 (copyright-update-year, copyright):
6971 * tar-mode.el (tar-clip-time-string):
6972 * time.el (display-time-update):
6973 Don't assume years have 4 digits.
6974
6975 2012-05-04 Chong Yidong <cyd@gnu.org>
6976
6977 * dos-w32.el (file-name-buffer-file-type-alist)
6978 (direct-print-region-use-command-dot-com):
6979 * ffap.el (ffap-menu-regexp):
6980 * find-file.el (ff-special-constructs):
6981 * follow.el (follow-debug):
6982 * forms.el (forms--debug):
6983 * iswitchb.el (iswitchb-all-frames):
6984 * ido.el (ido-all-frames):
6985 * emacs-lisp/timer.el (timer-max-repeats):
6986 * mail/feedmail.el (feedmail-mail-send-hook)
6987 (feedmail-mail-send-hook-queued):
6988 * mail/footnote.el (footnote-signature-separator):
6989 * mail/mailabbrev.el (mail-alias-separator-string)
6990 (mail-abbrev-mode-regexp):
6991 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
6992 * progmodes/idlwave.el (idlwave-libinfo-file)
6993 (idlwave-default-completion-case-is-down)
6994 (idlwave-library-routines): Convert defvars to defcustoms.
6995
6996 * mail/rmail.el (rmail-decode-mime-charset):
6997 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
6998 (idlwave-shell-fix-inserted-breaks)
6999 (idlwave-shell-activate-alt-keybindings)
7000 (idlwave-shell-use-breakpoint-glyph):
7001 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7002
7003 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7004
7005 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7006
7007 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7008
7009 * progmodes/verilog-mode.el (font-lock-keywords):
7010 Fix mis-highligting auto. Reported by Craig Barner.
7011 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
7012 defines from global name space. Reported by Dan Dever.
7013 (verilog-auto-reset, verilog-auto-reset-widths)
7014 (verilog-auto-tieoff): Support using unbased numbers for
7015 AUTORESET and AUTOTIEOFF.
7016 (verilog-submit-bug-report): Update variable list.
7017 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
7018 parenthesis from not matching. Reported by Michael Rytting.
7019 (verilog-auto-template-lint): Fix hash error when linting modules
7020 with no used templates.
7021 (verilog-warn, verilog-warn-error)
7022 (verilog-warn-fatal): When non-interactive report multiple
7023 warnings before exiting. Suggested by Brad Dobbie.
7024 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7025 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7026 to report unused template errors. Reported by Brad Dobbie.
7027 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
7028 nets, bug438. Reported by Vns Blore.
7029 (verilog-auto-inout-module, verilog-auto-reg)
7030 (verilog-read-decls, verilog-read-sub-decls-sig)
7031 (verilog-signals-edit-wire-reg, verilog-signals-with):
7032 Fix passing of Verilog data types in ANSI input/output ports
7033 such as "output logic" into the AUTOs. Special case "wire" and
7034 "reg" for backwards compatibility presuming Verilog 2001.
7035 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7036 (verilog-preprocess): Fix replication of preprocess output.
7037 Reported by Brad Dobbie.
7038 (verilog-auto-inst-interfaced-ports):
7039 Create verilog-auto-inst-interfaced-ports, bug429.
7040 Reported by Julian Gorfajn.
7041 (verilog-after-save-font-hook)
7042 (verilog-before-save-font-hook): New variable.
7043 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7044 (verilog-save-font-mods): Wrap disabling fontification, reported
7045 by David Rogoff.
7046 (verilog-do-indent, verilog-pretty-declarations-auto)
7047 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7048 Reported by Pierre-David Pfister.
7049 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7050 of class declarations, bug292. Reported by Kevin Heilman.
7051 (verilog-read-decls): Fix 'parameter type' not appearing in
7052 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7053 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
7054 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
7055 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7056 Reported by David Kravitz.
7057
7058 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
7059
7060 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7061 assignment with tests in ifs and for loops.
7062 (verilog-extended-complete-re, verilog-complete-reg): Change so
7063 that DPI inport functions don't look like fuction declarations.
7064 (verilog-pretty-expr): Don't line up assignment
7065 operations to the test and increment in if and for loops
7066 (verilog-extended-complete-re, verilog-complete-reg): Change so
7067 that DPI inport functions don't look like fuction declarations.
7068
7069 2012-05-03 Kenichi Handa <handa@m17n.org>
7070
7071 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
7072 decoding, and show a warning message without signaling an error
7073 (Bug#11282).
7074
7075 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7076
7077 * emacs-lisp/bytecomp.el
7078 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7079 since cconv.el might have introduced :fun-body, internal-make-closure,
7080 and friends for bytecomp to handle (bug#11391).
7081 * custom.el (defcustom): Avoid ((λ ..) ..).
7082
7083 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7084
7085 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7086
7087 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
7088
7089 * notifications.el (dbus-debug):
7090 * term/linux.el (gpm-mouse-enable):
7091 * term/screen.el (xterm-register-default-colors): Declare.
7092
7093 2012-05-02 Chong Yidong <cyd@gnu.org>
7094
7095 * cus-start.el (gc-cons-percentage, exec-suffixes)
7096 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7097 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7098 (make-cursor-line-fully-visible, void-text-area-pointer)
7099 (font-list-limit): Add customization data.
7100
7101 * allout.el (allout-exposure-change-functions)
7102 (allout-structure-added-functions)
7103 (allout-structure-deleted-functions)
7104 (allout-structure-shifted-functions): Rename abnormal hooks from
7105 *-hook, and convert to defcustoms.
7106 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7107 Convert to defcustoms.
7108 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7109
7110 * allout-widgets.el: Hook callers changed.
7111
7112 2012-05-02 Eli Zaretskii <eliz@gnu.org>
7113
7114 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7115 the yanked message in preference to the default value of
7116 buffer-file-coding-system.
7117
7118 2012-05-02 Martin Rudalics <rudalics@gmx.at>
7119
7120 * window.el (display-buffer--action-function-custom-type):
7121 Fix entry.
7122
7123 2012-05-02 Alan Mackenzie <acm@muc.de>
7124
7125 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7126
7127 2012-05-01 Glenn Morris <rgm@gnu.org>
7128
7129 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7130
7131 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7132
7133 * cus-edit.el (custom-variable-documentation): Simplify with format.
7134
7135 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7136 Stefan Monnier <monnier@iro.umontreal.ca>
7137
7138 * simple.el (suggest-key-bindings, execute-extended-command):
7139 Move from keyboard.c.
7140
7141 2012-05-01 Chong Yidong <cyd@gnu.org>
7142
7143 * follow.el: Eliminate advice.
7144 (set-process-filter, process-filter, sit-for): Advice deleted.
7145 (follow-mode-off-hook): Obsolete hook removed.
7146 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7147 Vars deleted.
7148 (follow-auto): Use a :set function.
7149 (follow-mode): Rewritten. Don't advise process filters.
7150 (follow-switch-to-current-buffer-all, follow-scroll-up)
7151 (follow-scroll-down): Assume follow-mode is bound.
7152 (follow-comint-scroll-to-bottom)
7153 (follow-align-compilation-windows): New functions.
7154 (follow--window-sorter): New function.
7155 (follow-all-followers): Use it to explicitly sort windows by their
7156 positions; don't make assumptions about next-window order.
7157 (follow-windows-start-end, follow-delete-other-windows-and-split)
7158 (follow-calc-win-start): Doc fix.
7159 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7160 vertical-motion unnecessarily.
7161 (follow-adjust-window): New function.
7162 (follow-post-command-hook): Use it.
7163 (follow-call-set-process-filter, follow-call-process-filter)
7164 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7165 (follow-stop-intercept-process-output, follow-generic-filter):
7166 Functions deleted.
7167 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
7168 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7169 New functions, replacing advice on scroll-bar-* commands.
7170 (follow-mwheel-scroll): New function (Bug#4112).
7171
7172 * comint.el (comint-adjust-point): New function.
7173 (comint-postoutput-scroll-to-bottom): Use it.
7174 Call follow-comint-scroll-to-bottom for Follow mode buffers.
7175
7176 2012-05-01 Glenn Morris <rgm@gnu.org>
7177
7178 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7179 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7180 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7181 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7182 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7183 Remove no-byte-compile setting.
7184
7185 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7186
7187 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7188 all-completions code to not return a number in the last cdr.
7189
7190 2012-04-30 Leo Liu <sdl.web@gmail.com>
7191
7192 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7193 read-only error.
7194
7195 2012-04-29 Chong Yidong <cyd@gnu.org>
7196
7197 * follow.el (follow-calc-win-end): Rewrite to handle partial
7198 screen lines correctly (Bug#8390).
7199 (follow-avoid-tail-recenter): Minor cleanup.
7200
7201 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7202
7203 Avoid the obsolete `assoc' package.
7204 * speedbar.el (speedbar-refresh): Avoid adelete.
7205 (speedbar-file-lists): Simplify and avoid aput.
7206 * man.el (Man--sections, Man--refpages): New vars, replacing
7207 Man-sections-alist and Man-refpages-alist.
7208 (Man-build-section-alist, Man-build-references-alist):
7209 Use them; avoid aput.
7210 (Man--last-section, Man--last-refpage): New vars.
7211 (Man-follow-manual-reference): Use them.
7212 Use the `default' arg of completing-read.
7213 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7214
7215 2012-04-27 Chong Yidong <cyd@gnu.org>
7216
7217 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7218
7219 * startup.el (x-apply-session-resources): New function.
7220
7221 * term/ns-win.el (ns-initialize-window-system):
7222 * term/w32-win.el (w32-initialize-window-system):
7223 * term/x-win.el (x-initialize-window-system): Use it to properly
7224 set menu-bar-mode and other vars from X resources, even if the
7225 initial frame is not a window-system frame (Bug#2299).
7226
7227 * subr.el (read-key): Avoid running filter function when setting
7228 up temporary tool bar entries (Bug#9922).
7229
7230 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
7231
7232 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7233 (Bug#11344)
7234
7235 2012-04-27 Chong Yidong <cyd@gnu.org>
7236
7237 * select.el (xselect--encode-string): New function, split from
7238 xselect-convert-to-string.
7239 (xselect-convert-to-string): Use it.
7240 (xselect-convert-to-filename, xselect-convert-to-os)
7241 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7242 returned strings are properly encoded (Bug#11315).
7243
7244 2012-04-27 Chong Yidong <cyd@gnu.org>
7245
7246 * simple.el (delete-active-region): Move to killing custom group.
7247
7248 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
7249
7250 * progmodes/which-func.el (which-func-current): Quote %
7251 characters for mode-line processing.
7252
7253 2012-04-27 Chong Yidong <cyd@gnu.org>
7254
7255 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7256 reaching eob (Bug#11286).
7257
7258 2012-04-27 Eli Zaretskii <eliz@gnu.org>
7259
7260 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7261 (gdb): Make it buffer-local and init to zero.
7262 (gdb-control-commands-regexp): New variable.
7263 (gdb-send): Don't wrap in "-interpreter-exec console" if
7264 gdb-control-level is positive. Increment gdb-control-level
7265 whenever the command matches gdb-control-commands-regexp, and
7266 decrement it each time the command is "end". (Bug#11279)
7267
7268 2012-04-27 Martin Rudalics <rudalics@gmx.at>
7269
7270 * window.el (adjust-window-trailing-edge, enlarge-window)
7271 (shrink-window, window-resize):
7272 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7273 windows (Bug#11276).
7274
7275 2012-04-27 Chong Yidong <cyd@gnu.org>
7276
7277 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
7278 fix "missing prefix" warning. All callers changed.
7279
7280 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7281
7282 * emacs-lisp/assoc.el: Move to obsolete/.
7283
7284 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7285
7286 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
7287
7288 * term/ns-win.el (ns-define-service):
7289 * progmodes/pascal.el (pascal-goto-defun):
7290 * progmodes/js.el (js--read-tab):
7291 * progmodes/etags.el (tags-lazy-completion-table):
7292 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7293 * emacs-lisp/ewoc.el (ewoc--wrap):
7294 * emacs-lisp/assoc.el (aput, adelete, amake):
7295 * doc-view.el (doc-view-convert-current-doc):
7296 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7297
7298 2012-04-26 Chong Yidong <cyd@gnu.org>
7299
7300 * image.el (image-type-from-buffer): Only return supported image
7301 type (Bug#9045).
7302
7303 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7304 value, for symmetry with diff-end-of-hunk.
7305 (diff-split-hunk, diff-find-source-location)
7306 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7307 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7308 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7309 compute the relevant hunk or file properly (Bug#6005).
7310 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7311
7312 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7313
7314 * vc/vc-mtn.el:
7315 * vc/vc-hg.el:
7316 * vc/vc-git.el:
7317 * vc/vc-dir.el:
7318 * vc/vc-cvs.el:
7319 * vc/vc-bzr.el:
7320 * vc/vc-arch.el:
7321 * vc/vc.el: Replace lexical-let by lexical-binding.
7322 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7323 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7324 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7325
7326 2012-04-26 Chong Yidong <cyd@gnu.org>
7327
7328 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7329 (diff-mode-shared-map): Bind it to / and [remap undo].
7330
7331 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7332 (ediff-window-setup-function): Use it as the default, to set up
7333 windows based on whether the current frame is graphical (Bug#2138).
7334 (ediff-choose-window-setup-function-automatically): Make obsolete.
7335
7336 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7337
7338 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7339
7340 * ffap.el: Remove old code for obsolete package.
7341 (ffap-complete-as-file-p): Remove.
7342
7343 Use completion-table-with-quoting for comint and pcomplete.
7344 * comint.el (comint--unquote&requote-argument)
7345 (comint--unquote-argument, comint--requote-argument): New functions.
7346 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7347 (comint-quote-filename): Use regexp-opt-charset.
7348 (comint--common-suffix, comint--common-quoted-suffix)
7349 (comint--table-subvert): Remove.
7350 (comint-unquote-function, comint-requote-function): New vars.
7351 (comint--complete-file-name-data): Use them with
7352 completion-table-with-quoting.
7353 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7354 * pcomplete.el (pcomplete-arg-quote-list)
7355 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7356 (pcomplete-unquote-argument-function): Default to non-nil.
7357 (pcomplete-unquote-argument): Simplify.
7358 (pcomplete--common-quoted-suffix): Remove.
7359 (pcomplete-requote-argument-function): New var.
7360 (pcomplete--common-suffix): New function.
7361 (pcomplete-completions-at-point): Use completion-table-with-quoting
7362 and completion-table-subvert.
7363
7364 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7365 (minibuffer--double-dollars): Preserve properties.
7366 (completion--sifn-requote): New function.
7367 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7368
7369 * minibuffer.el: Add support for completion of quoted/escaped data.
7370 (completion-table-with-quoting, completion-table-subvert): New funs.
7371 (completion--twq-try, completion--twq-all): New functions.
7372 (completion--nth-completion): New function.
7373 (completion-try-completion, completion-all-completions): Use it.
7374
7375 2012-04-25 Leo Liu <sdl.web@gmail.com>
7376
7377 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7378 Use compilation-message if available to find real filename.
7379
7380 2012-04-25 Chong Yidong <cyd@gnu.org>
7381
7382 * vc/diff-mode.el (diff-setup-whitespace): New function.
7383 (diff-mode): Use it.
7384
7385 * vc/diff.el (diff-sentinel):
7386 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7387 Whitespace mode variables based on diff style (Bug#8612).
7388
7389 2012-04-25 Leo Liu <sdl.web@gmail.com>
7390
7391 * progmodes/python.el (python-send-region): Add suffix .py to the
7392 temp file.
7393
7394 * files.el (auto-mode-alist): Use javascript-mode instead.
7395
7396 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7397
7398 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
7399
7400 * net/soap-client.el (soap-resolve-references-for-sequence-type)
7401 (soap-resolve-references-for-array-type): Hack to prevent self
7402 references, see Bug#9.
7403 (soap-parse-envelope): Report the contents of the 'detail' node
7404 when receiving a fault reply.
7405 (soap-parse-envelope): Report the contents of the entire 'detail' node.
7406
7407 * net/soap-inspect.el (soap-sample-value-for-simple-type)
7408 (soap-inspect-simple-type): New function.
7409
7410 * net/soap-client.el (soap-simple-type): New struct.
7411 (soap-default-xsd-types, soap-default-soapenc-types)
7412 (soap-decode-basic-type, soap-encode-basic-type):
7413 support unsignedInt and double basic types.
7414 (soap-resolve-references-for-simple-type)
7415 (soap-parse-simple-type, soap-encode-simple-type): New function.
7416 (soap-parse-schema): Parse xsd:simpleType declarations.
7417
7418 * net/soap-client.el (soap-default-xsd-types)
7419 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7420 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7421 the local name of "soapenc:Array".
7422 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
7423 decoding integer, byte and anyURI xsd types.
7424
7425 2012-04-25 Chong Yidong <cyd@gnu.org>
7426
7427 * cus-edit.el (custom-buffer-create-internal): Update header text.
7428
7429 2012-04-25 Eli Zaretskii <eliz@gnu.org>
7430
7431 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7432 settings on 'system-type', not on 'window-system'. On MS-Windows,
7433 set interactive-mode on in GDB.
7434
7435 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7436
7437 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7438 (ruby-syntax-propertize-regexp): Remove.
7439 (ruby-syntax-propertize-function): Split regexp into chunks.
7440 Match following code directly.
7441
7442 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7443
7444 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7445 (ruby-syntax-propertize-regexp): New function.
7446 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7447 by a special keyword.
7448
7449 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7450 (ruby-syntax-general-delimiters-goto-beg)
7451 (ruby-syntax-propertize-general-delimiters): New functions.
7452 (ruby-syntax-propertize-function): Use them to handle GDL.
7453 (ruby-font-lock-keywords): Move old handling of GDL...
7454 (ruby-font-lock-syntactic-keywords): .. to here.
7455 (ruby-calculate-indent): Adjust indentation for GDL.
7456
7457 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
7458
7459 * notifications.el (top): Remove unneeded declarations.
7460 (notifications-specification-version): Change to "1.2".
7461 (notifications-interface, notifications-notify-method)
7462 (notifications-close-notification-method): Fix docstring.
7463 (notifications-get-capabilities-method): New defconst.
7464 (notifications-notify): Add :action-items, :resident and
7465 :transient hints. Change "image_data" to "image-data" and
7466 "image_path" to "image-path".
7467 (notifications-get-capabilities): New defun.
7468
7469 2012-04-24 Leo Liu <sdl.web@gmail.com>
7470
7471 * progmodes/python.el: Move hideshow setup to the end.
7472
7473 2012-04-24 Martin Rudalics <rudalics@gmx.at>
7474
7475 * window.el (handle-select-window): Clear echo area since this is
7476 no more done by read_char (Bug#11304).
7477
7478 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7479
7480 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7481 and `/ M' to filter-derived-mode.
7482 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7483 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7484 (ibuffer-mark-by-mode): Use default rather than initial-input.
7485 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7486
7487 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7488
7489 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7490 (ibuffer-filter-by-derived-mode): New filter.
7491 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7492
7493 2012-04-23 Andreas Politz <politza@fh-trier.de>
7494
7495 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7496
7497 2012-04-23 Chong Yidong <cyd@gnu.org>
7498
7499 * cus-edit.el (customize-apropos, customize-apropos-options):
7500 Disable matching of non-option variables (Bug#11176).
7501 (customize-option, customize-option-other-window)
7502 (customize-changed-options): Doc fix.
7503 (customize-apropos-options, customize-apropos-faces)
7504 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7505
7506 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
7507 Fix word list splitting (Bug#11132).
7508 (apropos-symbol, apropos-keybinding, apropos-label)
7509 (apropos-property, apropos-function-button)
7510 (apropos-variable-button, apropos-misc-button): New faces.
7511 (apropos-symbol-face, apropos-keybinding-face)
7512 (apropos-label-face, apropos-property-face, apropos-match-face):
7513 Variables removed (Bug#8396).
7514 (apropos-library-button, apropos-format-plist, apropos-print)
7515 (apropos-print-doc, apropos-describe-plist): Callers changed.
7516
7517 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
7518
7519 * net/xesam.el (xesam-mode-map): Use let-bound map in
7520 initialization. (Bug#11292)
7521
7522 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7523
7524 Preserve ispell session localwords when switching back to
7525 original buffer.
7526
7527 * textmodes/ispell.el (ispell-buffer-session-localwords):
7528 New buffer-local variable to hold buffer session localwords.
7529 (ispell-kill-ispell): Add option 'clear to delete session
7530 localwords.
7531 (ispell-command-loop, ispell-change-dictionary)
7532 (ispell-buffer-local-words): Preserve session localwords when
7533 needed.
7534
7535 * textmodes/flyspell.el (flyspell-process-localwords)
7536 (flyspell-do-correct): Preserve session localwords when needed.
7537
7538 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7539
7540 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7541 using obsolete `translation-table-for-input'.
7542 (ispell-word, ispell-process-line, ispell-complete-word):
7543 Use plain `insert' instead of removed `ispell-insert-word'.
7544
7545 2012-04-22 Chong Yidong <cyd@gnu.org>
7546
7547 * cus-edit.el (custom-variable-menu)
7548 (custom-variable-reset-saved, custom-face-menu)
7549 (custom-face-reset-saved): If there is no saved value, make the
7550 "reset-saved" operation bring back the default (Bug#9509).
7551 (custom-face-state): Properly detect themed faces.
7552
7553 * faces.el (face-spec-set): Stop supporting deprecated form of
7554 third arg.
7555
7556 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
7557
7558 Move functions from C to Lisp. Make non-blocking method calls
7559 the default. Implement further D-Bus standard interfaces.
7560
7561 * net/dbus.el (dbus-message-internal): Declare function.
7562 Remove unneeded function declarations.
7563 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7564 (dbus-message-type-method-return, dbus-message-type-error)
7565 (dbus-message-type-signal): Declare variables. Remove local
7566 definitions.
7567 (dbus-interface-dbus, dbus-interface-peer)
7568 (dbus-interface-introspectable, dbus-interface-properties)
7569 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7570 Adapt docstring.
7571 (dbus-interface-objectmanager): New defconst.
7572 (dbus-call-method, dbus-call-method-asynchronously)
7573 (dbus-send-signal, dbus-method-return-internal)
7574 (dbus-method-error-internal, dbus-register-service)
7575 (dbus-register-signal, dbus-register-method): New defuns, moved
7576 from dbusbind.c
7577 (dbus-call-method-handler, dbus-setenv)
7578 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7579 New defuns.
7580 (dbus-call-method-non-blocking): Make it an obsolete function.
7581 (dbus-unregister-object, dbus-unregister-service)
7582 (dbus-handle-event, dbus-register-property)
7583 (dbus-property-handler): Obey the new structure of
7584 `bus-registered-objects'.
7585 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
7586 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7587 Use `dbus-call-method'.
7588
7589 2012-04-22 Chong Yidong <cyd@gnu.org>
7590
7591 * cus-edit.el (custom-commands, custom-reset-menu)
7592 (Custom-reset-standard): Tweak labels.
7593 (custom-reset-button-menu): Change default to t.
7594 (custom-buffer-create-internal): For the custom-reset-button-menu
7595 case, put the revert button first.
7596 (custom-group-subtitle): New face.
7597 (custom-group-value-create): Align docstring to a specific column.
7598
7599 * wid-edit.el (widget-documentation-link-add): Don't handle
7600 indentation in this function.
7601 (widget-documentation-string-indent-to): New function.
7602 (widget-documentation-string-value-create): Use it.
7603
7604 * autorevert.el (auto-revert):
7605 * epg-config.el (epg):
7606 * ibuffer.el (ibuffer):
7607 * mpc.el (mpc):
7608 * ses.el (ses):
7609 * eshell/eshell.el (eshell):
7610 * net/ange-ftp.el (ange-ftp):
7611 * progmodes/ebnf2ps.el (postscript):
7612 * progmodes/flymake.el (flymake):
7613 * progmodes/prolog.el (prolog):
7614 * progmodes/verilog-mode.el (verilog-mode):
7615 * progmodes/which-func.el (which-func):
7616 * term/xterm.el (xterm):
7617 * textmodes/picture.el (picture):
7618 * textmodes/tildify.el (tildify):
7619 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7620 customization buffers.
7621
7622 2012-04-22 Alan Mackenzie <acm@muc.de>
7623
7624 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7625 Adding a ) can hide the resulting (..) from searches. Fix it.
7626 Bound the backward search to the position of the existing (.
7627
7628 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
7629
7630 * progmodes/verilog-mode.el (verilog-mode): Check whether
7631 which-func-modes is t before adding verilog-mode.
7632 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7633
7634 2012-04-21 Leo Liu <sdl.web@gmail.com>
7635
7636 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
7637
7638 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
7639
7640 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
7641 filling of the last column of a table (Bug#5635).
7642 (woman-find-next-control-line): New arg, specifying an additional
7643 regexp component for the control line.
7644 (woman2-roff-buffer): Use it.
7645 (woman-break-table): New function.
7646 (woman2-TS): Use it.
7647
7648 2012-04-21 Chong Yidong <cyd@gnu.org>
7649
7650 * woman.el (woman-set-buffer-display-table, woman-decode-region)
7651 (woman-horizontal-escapes, woman-negative-vertical-space)
7652 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
7653 (WoMan-warn-ignored): Use ?\s instead of ?\ .
7654
7655 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7656
7657 * minibuffer.el (completion-file-name-table): Complete user names.
7658
7659 2012-04-20 Leo Liu <sdl.web@gmail.com>
7660
7661 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
7662 and pcase-let*.
7663
7664 2012-04-20 Chong Yidong <cyd@gnu.org>
7665
7666 * server.el (server-execute): Respect initial-buffer-choice if it
7667 is a string and there are no files to open (Bug#2825).
7668 (server-create-window-system-frame, server-create-tty-frame):
7669 Don't switch buffers here.
7670 (server-process-filter): Only try to open a window system frame if
7671 compiled with graphical support (Bug#8314).
7672
7673 2012-04-20 Dan Nicolaescu <dann@gnu.org>
7674
7675 * battery.el (battery-echo-area-format): Display remaining time
7676 for sysfs backend too (Bug#11269).
7677 (battery-linux-sysfs): Fix conditional for the charge.
7678
7679 2012-04-20 Chong Yidong <cyd@gnu.org>
7680
7681 * progmodes/gdb-mi.el (gdb): Revert previous change.
7682 (gdb-inferior-io--init-proc): New function.
7683 (gdb-init-1): Use it.
7684 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
7685 responsible for allocating a new pty and hooking it to gdb when
7686 the old pty gets an EIO due to process exit.
7687 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
7688 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
7689 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
7690
7691 2012-04-20 Eli Zaretskii <eliz@gnu.org>
7692
7693 * window.el (window-min-size, window-sizable, window-min-delta)
7694 (window-max-delta, window--resizable, window-resizable)
7695 (window-total-size, window-full-height-p, window-full-width-p)
7696 (window-in-direction, window--resize-mini-window, window-resize)
7697 (window--resize-child-windows-normal)
7698 (window--resize-child-windows, window--resize-siblings)
7699 (window--resize-this-window, adjust-window-trailing-edge)
7700 (enlarge-window, shrink-window): Doc fixes.
7701
7702 2012-04-20 Chong Yidong <cyd@gnu.org>
7703
7704 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
7705 New function to call delete-process on the gdb-inferior buffer's pty.
7706 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
7707 pty process (Bug#11273).
7708 (gdb-update): New arg to suppress talking to the gdb process.
7709 (gdb-done-or-error): Use it.
7710 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
7711 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
7712 sentinel not being called.
7713
7714 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
7715
7716 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
7717
7718 2012-04-20 Glenn Morris <rgm@gnu.org>
7719
7720 * net/network-stream.el (open-network-stream): Doc fix.
7721
7722 2012-04-20 Chong Yidong <cyd@gnu.org>
7723
7724 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
7725
7726 2012-04-20 Alan Mackenzie <acm@muc.de>
7727
7728 Ensure searching for keywords is case sensitive.
7729
7730 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
7731 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
7732 (c-defun-name, c-mark-function, c-cpp-define-name)
7733 (c-comment-indent, c-scan-conditionals, c-indent-defun)
7734 (c-context-line-break): Bind case-fold-search to nil.
7735
7736 * progmodes/cc-mode.el (c-font-lock-fontify-region):
7737 Bind case-fold-search to nil.
7738
7739 2012-04-20 Chong Yidong <cyd@gnu.org>
7740
7741 * mail/sendmail.el (mail-bury): Call return action with the right
7742 Rmail buffer (Bug#11242).
7743
7744 * server.el (server-process-filter): Handle corner case where both
7745 tty and nowait options are present (Bug#11102).
7746
7747 2012-04-20 Eli Zaretskii <eliz@gnu.org>
7748
7749 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
7750 (top level): Put into the executable the ident-style '$Id:' tag on
7751 windows-nt as well.
7752
7753 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7754
7755 * electric.el (electric-indent-post-self-insert-function): Check that
7756 electric-indent-mode is enabled in current buffer.
7757
7758 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
7759
7760 * imenu.el (imenu-progress-message): Restore; it is "used" in
7761 erc/erc-imenu.el and net/snmp-mode.el.
7762
7763 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
7764
7765 * avoid.el (mouse-avoidance-mode): Mark unused arg.
7766 (mouse-avoidance-nudge-mouse): Remove unused binding.
7767
7768 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
7769
7770 * descr-text.el (describe-char):
7771 * progmodes/python.el (python-describe-symbol):
7772 Don't call `toggle-read-only', set `buffer-read-only'.
7773
7774 * imenu.el (imenu-default-goto-function): Mark unused args.
7775 (imenu-progress-message): Remove obsolete macro; all callers changed.
7776
7777 * subr.el (keymap-canonicalize): Remove unused binding.
7778 (read-passwd): Mark unused arg.
7779
7780 * tutorial.el (tutorial--display-changes): Remove unused binding.
7781 (tutorial--save-tutorial-to): Remove unused variable.
7782
7783 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
7784 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
7785 (package-generate-autoloads, package-menu--generate)
7786 (package-menu--find-upgrades): Remove unused bindings.
7787
7788 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
7789 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
7790 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
7791 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
7792 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
7793 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
7794 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
7795 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
7796 (cua-delete-char-rectangle): Mark unused args.
7797 (cua-align-rectangle): Remove unused binding.
7798
7799 * mail/rmail.el (compilation--message->loc)
7800 (epa--find-coding-system-for-mime-charset): Declare.
7801
7802 * net/dbus.el (dbus-register-service): Declare.
7803 (dbus-name-owner-changed-handler): Remove unused binding.
7804
7805 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
7806 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
7807 (nxml-scan-backward-within): Mark unused arg.
7808 (nxml-dynamic-markup-word): Remove unused binding.
7809
7810 * mouse.el (mouse-menu-major-mode-map):
7811 * emacs-lisp/authors.el (authors-scan-change-log)
7812 (authors-add-to-author-list):
7813 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
7814 * emacs-lisp/smie.el (smie-auto-fill):
7815 * mail/sendmail.el (mail-bury):
7816 * mail/unrmail.el (unrmail):
7817 * net/tls.el (open-tls-stream):
7818 * textmodes/picture.el (picture-mouse-set-point):
7819 Remove unused bindings.
7820
7821 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
7822
7823 * net/tramp.el (tramp-action-password): Let-bind
7824 `enable-recursive-minibuffers' to t.
7825
7826 2012-04-18 Sam Steingold <sds@gnu.org>
7827
7828 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
7829 instead of 'string to accommodate values like [f11].
7830 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
7831 * progmodes/gdb-mi.el: Likewise.
7832
7833 2012-04-18 Leo Liu <sdl.web@gmail.com>
7834
7835 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
7836 current buffer.
7837 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
7838 LOCAL is nil.
7839
7840 2012-04-18 Chong Yidong <cyd@gnu.org>
7841
7842 * simple.el (line-move): Use forward-line if in batch mode
7843 (Bug#11053).
7844
7845 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
7846
7847 * files.el (after-find-file): Do not try to add a final newline if
7848 the buffer is read-only (Bug#11156).
7849
7850 2012-04-17 Richard Stallman <rms@gnu.org>
7851
7852 * mail/rmail.el (rmail-start-mail):
7853 Pass (rmail-mail-return...) for the return-action.
7854 Pass (rmail-yank-current-message...) for the yank-action.
7855 (rmail-yank-current-message): New function.
7856 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
7857 (rmail-reply): Likewise.
7858 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
7859
7860 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
7861 buffer, not the last. Reject temp buffers. Use the rmail-mode
7862 buffer, not newbuf.
7863
7864 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
7865
7866 * server.el (server-ensure-safe-dir): Simplify.
7867
7868 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7869
7870 * emacs-lisp/smie.el: Provide smarter auto-filling.
7871 (smie-auto-fill): New function.
7872 (smie-setup): Use it.
7873
7874 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
7875
7876 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
7877
7878 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
7879 (comment-indent): Use it.
7880
7881 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
7882
7883 * ses.el: The overall change is to add cell renaming, that is
7884 setting fancy names for cell symbols other than name matching
7885 "\\`[A-Z]+[0-9]+\\'" regexp .
7886 (ses-localvars): Add ses--renamed-cell-symb-list.
7887 (ses-create-cell-variable): New defun.
7888 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
7889 (ses-relocate-formula): Relocate formulas only for cells the
7890 symbols of which are not renamed, i.e. symbols whose names do not
7891 match regexp "\\`[A-Z]+[0-9]+\\'".
7892 (ses-relocate-all): Relocate values only for cells the symbols of
7893 which are not renamed.
7894 (ses-load): Create cells variables as the (ses-cell ...) are read,
7895 in order to check row col consistency with cell symbol name only
7896 for cells that are not renamed.
7897 (ses-replace-name-in-formula): New defun.
7898 (ses-rename-cell): New defun.
7899
7900 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
7901
7902 * progmodes/perl-mode.el (perl-indent-parens-as-block):
7903 New option (bug#11118).
7904 (perl-calculate-indent): Respect it.
7905
7906 2012-04-17 Glenn Morris <rgm@gnu.org>
7907
7908 * dired-aux.el (dired-mark-read-string): Doc fix.
7909
7910 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
7911
7912 * dired-aux.el (dired-mark-read-string): Offer optional completion.
7913 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
7914
7915 2012-04-17 Glenn Morris <rgm@gnu.org>
7916
7917 * mouse.el (mouse-drag-track):
7918 * speedbar.el (speedbar-frame-mode):
7919 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
7920
7921 2012-04-16 Leo Liu <sdl.web@gmail.com>
7922
7923 * progmodes/python.el: Trivial cleanup.
7924
7925 2012-04-16 Glenn Morris <rgm@gnu.org>
7926
7927 * vc/vc.el (vc-string-prefix-p):
7928 * vc/pcvs-util.el (cvs-string-prefix-p):
7929 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
7930 * mpc.el (mpc-string-prefix-p):
7931 Make all of these into obsolete aliases for string-prefix-p.
7932 Update callers.
7933 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
7934
7935 * textmodes/two-column.el: Move custom options to the start.
7936 (frame-width): Remove compat definition.
7937 (2C-associate-buffer, 2C-dissociate):
7938 Use with-current-buffer rather than save-excursion.
7939 (2C-dissociate): Force a mode-line update.
7940 (2C-autoscroll): Use ignore-errors.
7941
7942 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
7943 Autoload trivia.
7944
7945 * emacs-lisp/cl-extra.el (*random-state*):
7946 Remove unnecessary declaration.
7947
7948 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
7949
7950 * play/cookie1.el (cookie-snarf):
7951 Give an explicit error if input file cannot be read.
7952
7953 * play/yow.el (yow-file): Use expand-file-name rather than concat.
7954
7955 * progmodes/perl-mode.el (c-macro-expand):
7956 Remove unnecessary autoload (it is in loaddefs.el).
7957
7958 * textmodes/picture.el (picture-desired-column)
7959 (picture-update-desired-column): Convert comments to doc-strings.
7960 (picture-substitute): Remove function.
7961 (picture-mode-map): Initialize in the defvar.
7962
7963 * woman.el: Remove eval-after-load for tar-mode.
7964 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
7965 (woman-tar-extract-file): Autoload it.
7966
7967 * frame.el (automatic-hscrolling): Make this alias obsolete.
7968
7969 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7970
7971 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
7972 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
7973 (ispell-dictionary-base-alist): Revert to original XEmacs
7974 friendly version for default. [:alpha:] will be added in
7975 `ispell-set-spellchecker-params' if needed.
7976
7977 2012-04-16 Chong Yidong <cyd@gnu.org>
7978
7979 * image.el (imagemagick--file-regexp): New variable.
7980 (imagemagick-register-types): Use it.
7981 (imagemagick-types-inhibit): Add :set function. Allow new value
7982 of t to inhibit all types.
7983
7984 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
7985 so we can preload it.
7986
7987 * loadup.el (fboundp): Preload regexp-opt, needed by
7988 imagemagick-register-types.
7989
7990 2012-04-15 Chong Yidong <cyd@gnu.org>
7991
7992 * frame.el (scrolling): Remove nearly unused customization group.
7993
7994 * scroll-all.el (scroll-all-mode): Move to windows group.
7995
7996 2012-04-15 Chong Yidong <cyd@gnu.org>
7997
7998 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
7999
8000 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8001
8002 Avoid the use of ((lambda ...) ...) in lexical-binding code.
8003 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
8004
8005 2012-04-15 Glenn Morris <rgm@gnu.org>
8006
8007 * simple.el (process-file-side-effects): Doc fix.
8008
8009 2012-04-15 Glenn Morris <rgm@gnu.org>
8010
8011 * international/mule-cmds.el (set-language-environment): Doc fix.
8012
8013 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
8014
8015 * server.el (server-auth-key, server-generate-key): Doc fixes.
8016 (server-get-auth-key): Doc fix. Use `string-match-p'.
8017 (server-start): Reflow docstring.
8018
8019 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8020
8021 * server.el (server-generate-key): `called-interactively-p'
8022 requires a parameter.
8023
8024 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
8025
8026 * server.el (server-auth-key): New variable.
8027 (server-generate-key, server-get-auth-key): New function.
8028 (server-start): Use the new variable and functions to allow
8029 setting a permanent server key (bug#9423).
8030
8031 2012-04-14 Leo Liu <sdl.web@gmail.com>
8032
8033 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8034
8035 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8036
8037 Spelling fixes.
8038 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8039 Emacs uses American spelling.
8040
8041 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
8042
8043 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8044 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8045 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8046 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8047
8048 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8049
8050 * progmodes/which-func.el (which-func-modes): Change default.
8051
8052 2012-04-14 Kim F. Storm <storm@cua.dk>
8053
8054 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8055 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8056
8057 2012-04-14 Chong Yidong <cyd@gnu.org>
8058
8059 * custom.el (custom-theme-set-variables): Doc fix.
8060
8061 2012-04-14 Glenn Morris <rgm@gnu.org>
8062
8063 * international/mule.el (set-auto-coding-for-load): Doc fix.
8064
8065 2012-04-14 Alan Mackenzie <acm@muc.de>
8066
8067 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8068 imenu work again for Objective C Mode. Correct the *-index values,
8069 these having been disturbed by a previous change in 2011-08.
8070
8071 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8072 Correct two search limits.
8073
8074 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8075
8076 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8077
8078 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
8079
8080 * international/characters.el: Fix sorting.
8081
8082 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8083
8084 * international/characters.el: Add more missing Latin case pairs.
8085
8086 2012-04-14 Glenn Morris <rgm@gnu.org>
8087
8088 * files.el (dir-locals-set-class-variables): Doc fix.
8089
8090 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8091
8092 * international/characters.el: Add set-case-syntax-pair call for
8093 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8094 counterpart. (Bug#11209)
8095
8096 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8097
8098 2012-04-14 Glenn Morris <rgm@gnu.org>
8099
8100 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8101
8102 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8103
8104 * textmodes/ispell.el (ispell-dictionary-base-alist):
8105 Add data for Hebrew.
8106
8107 2012-04-14 Chong Yidong <cyd@gnu.org>
8108
8109 * net/rcirc.el (rcirc-cmd-quit):
8110 Revert 2012-03-18 change (Bug#11192).
8111
8112 2012-04-14 Glenn Morris <rgm@gnu.org>
8113
8114 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8115
8116 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8117
8118 * minibuffer.el (completion-in-region-mode-map):
8119 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
8120
8121 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8122
8123 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8124
8125 2012-04-13 Masatake YAMATO <yamato@redhat.com>
8126
8127 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8128 to allow `C-M-f' and `C-M-b' to move to the nearest path
8129 separator (bug#9511).
8130
8131 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8132
8133 * avoid.el: Require cl when compiling. And also move the
8134 `provide' to the end.
8135
8136 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8137
8138 * avoid.el (mouse-avoidance-banish-position): New variable.
8139 (mouse-avoidance-banish-destination): Use it (bug#10165).
8140
8141 2012-04-13 Leo Liu <sdl.web@gmail.com>
8142
8143 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8144
8145 2012-04-13 Ken Brown <kbrown@cornell.edu>
8146
8147 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
8148 this is no longer needed now that cygstart understands file:// URLs.
8149 (browse-url-filename-alist): For the same reason, don't modify
8150 file:// URLs on Cygwin.
8151
8152 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8153
8154 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8155 the region on shift if the binding is already shifted (bug#11221).
8156
8157 2012-04-12 Glenn Morris <rgm@gnu.org>
8158
8159 * mail/mailpost.el: Move to obsolete/.
8160
8161 2012-04-12 Drew Adams <drew.adams@oracle.com>
8162
8163 * imenu.el (imenu--generic-function): Ignore invisible definitions
8164 (bug#10123).
8165
8166 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8167
8168 * hexl.el (hexl-bits): New variable.
8169 (hexl-options): Mention the variable in the doc string.
8170 (hexl-rulerise, hexl-line-displen): New functions.
8171 (hexl-mode): Mention the new variable.
8172 (hexl-mode, hexl-current-address, hexl-current-address):
8173 Use the displen.
8174 (hexl-ascii-start-column): New function.
8175 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8176 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8177
8178 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8179
8180 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8181 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8182 the encoding, as expected by hunspell.
8183
8184 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8185
8186 * battery.el (battery--linux-sysfs-regexp): New const.
8187 (battery-status-function): Use it. Remove yeeloong special case.
8188 (battery-yeeloong-sysfs): Remove.
8189 (battery-echo-area-format): Remove yeeloong special case.
8190
8191 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8192
8193 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8194 Reported by Noah Friedman.
8195
8196 * subr.el (read-passwd): Use read-string.
8197
8198 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8199
8200 * vcursor.el (vcursor-move): Increase the priority of the overlay
8201 (bug#9663).
8202
8203 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8204
8205 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8206 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8207
8208 2012-04-11 William Stevenson <yhvh2000@gmail.com>
8209
8210 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8211 define-minor-mode (bug#10760).
8212
8213 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8214
8215 * progmodes/grep.el (rgrep): Tweak the find command line so
8216 that directories matching `grep-find-ignored-files' won't be
8217 pruned (bug#10351).
8218
8219 2012-04-11 Chong Yidong <cyd@gnu.org>
8220
8221 * startup.el (command-line): Remove support for long-obsolete
8222 variable font-lock-face-attributes.
8223
8224 2012-04-11 Glenn Morris <rgm@gnu.org>
8225
8226 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8227
8228 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8229
8230 * window.el (window--state-get-1): Obey window-point-insertion-type.
8231
8232 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8233
8234 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8235 to previous function when point is on the first character of a
8236 function. Take care of that in `narrow-to-defun' (bug#6157).
8237
8238 2012-04-11 Glenn Morris <rgm@gnu.org>
8239
8240 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8241 not just file-errors.
8242
8243 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8244 (vc-bzr-sha1): Use internal sha1.
8245
8246 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8247
8248 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8249
8250 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8251
8252 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8253 that start in the middle of the line (bug#10496).
8254
8255 2012-04-10 Dan Nicolaescu <dann@gnu.org>
8256
8257 * battery.el (battery-linux-proc-acpi): Only one battery is
8258 discharged at a time, but that seems to confuse battery.el when
8259 computing `rate-type' for the battery not being discharged
8260 (bug#10332).
8261
8262 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8263
8264 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8265
8266 * international/quail.el: Use dolist and simplify.
8267 (quail-define-package, quail-update-keyboard-layout)
8268 (quail-define-rules): Use dolist.
8269 (quail-insert-kbd-layout, quail-get-translation): CSE.
8270
8271 * tmm.el: Use dolist, remove left over hook.
8272 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8273 Use dolist.
8274 (calendar-load-hook): Don't mess with it.
8275
8276 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8277 Use derived-mode-p. Run the diff asynchronously.
8278
8279 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8280
8281 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8282
8283 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
8284
8285 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8286 (list-dynamic-libraries--loaded): New function.
8287 (list-dynamic-libraries--refresh): Use it.
8288
8289 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
8290
8291 * progmodes/python.el (python-fill-paragraph):
8292 Make python-fill-region in a multiline string work when font-lock is
8293 disabled (bug#7018).
8294
8295 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
8296
8297 * language/european.el (cp775): Add oem/legacy (en)coding on
8298 DOS/MS Windows for the Baltic languages. There are still plenty
8299 of texts written in this encoding/codepage (bug#6519).
8300
8301 2012-04-10 Glenn Morris <rgm@gnu.org>
8302
8303 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8304 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8305
8306 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8307
8308 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
8309 next-line "n" and previous-line "p" in order to make recentf more
8310 consistent with ibuffer, dired or org-mode (bug#9387).
8311
8312 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8313
8314 * image.el (put-image): Return the overlay created instead of the
8315 optional input string (bug#7834). Note that this may break code
8316 that is (for some reason or other) depending on `put-image'
8317 returning the string.
8318
8319 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8320
8321 * simple.el (zap-to-char): Allow zapping using input methods
8322 (bug#1580).
8323
8324 * textmodes/fill.el (fill-region): Leave point and mark where they
8325 were before filling (bug#5399).
8326
8327 2012-04-09 Glenn Morris <rgm@gnu.org>
8328
8329 * version.el (emacs-bzr-get-version):
8330 Handle lightweight checkouts of local branches.
8331
8332 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8333
8334 * international/characters.el: Recover lost case pairs. (Bug#11209)
8335
8336 2012-04-09 Chong Yidong <cyd@gnu.org>
8337
8338 * custom.el (custom-variable-p): Return nil for non-symbol
8339 arguments instead of signaling an error.
8340 (user-variable-p): Obsolete alias for custom-variable-p.
8341
8342 * apropos.el (apropos-variable):
8343 * files-x.el (read-file-local-variable):
8344 * simple.el (set-variable):
8345 * woman.el (woman-mini-help):
8346 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8347
8348 2012-04-09 Glenn Morris <rgm@gnu.org>
8349
8350 * startup.el (normal-top-level): Don't look for leim-list.el
8351 in places where it will not be found. (Bug#910)
8352
8353 * international/mule-cmds.el (set-default-coding-systems):
8354 * files.el (normal-mode):
8355 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8356 This function was removed with ucs-tables.el in 2008.
8357
8358 2012-04-08 Eli Zaretskii <eliz@gnu.org>
8359
8360 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8361 ispell-encoding8-command to "-i", without a trailing space.
8362 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8363 separate command-line arguments, to specify the encoding, since
8364 that's how hunspell expects it.
8365
8366 2012-04-08 Glenn Morris <rgm@gnu.org>
8367
8368 * loadup.el: Load bindings before cus-start.
8369 This reduces somewhat the number of "rogue" settings in emacs -Q.
8370
8371 2012-04-07 Glenn Morris <rgm@gnu.org>
8372
8373 * version.el (emacs-bzr-get-version): New function.
8374 (emacs-bzr-version): New variable.
8375 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8376 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8377
8378 2012-04-07 Eli Zaretskii <eliz@gnu.org>
8379
8380 * international/uni-bidi.el, international/uni-category.el:
8381 * international/uni-combining.el, international/uni-decimal.el:
8382 * international/uni-decomposition.el, international/uni-digit.el:
8383 * international/uni-lowercase.el, international/uni-mirrored.el:
8384 * international/uni-name.el, international/uni-numeric.el:
8385 * international/uni-titlecase.el, international/uni-uppercase.el:
8386 Update for Unicode 6.1.
8387
8388 2012-04-07 Eli Zaretskii <eliz@gnu.org>
8389
8390 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8391
8392 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8393
8394 * window.el (shrink-window): Mention the `window-min-height'
8395 variable in the doc string.
8396
8397 2012-04-05 Bastien Guerry <bzg@altern.org>
8398
8399 * color.el (color-lighten-name): Fix typo.
8400
8401 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8402
8403 * server.el (server--on-display-p): New function.
8404 (server--on-display-p): Use it.
8405
8406 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8407
8408 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8409 (bug#11145).
8410
8411 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8412
8413 * comint.el (comint--common-quoted-suffix): Check string boundary
8414 before comparing (bug#11158).
8415 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8416
8417 2012-04-04 Chong Yidong <cyd@gnu.org>
8418
8419 * minibuffer.el (completion-extra-properties): Doc fix.
8420
8421 * subr.el (delayed-warnings-hook): Doc fix.
8422
8423 2012-04-04 Daiki Ueno <ueno@unixuser.org>
8424
8425 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8426 selection (Bug#11159).
8427 (epa-insert-keys): Inform that the default public key will be
8428 exported if no key is selected.
8429
8430 2012-04-04 Richard Stallman <rms@gnu.org>
8431
8432 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8433
8434 2012-04-03 Chong Yidong <cyd@gnu.org>
8435
8436 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8437 mail-insert-file, not its obsolete alias mail-attach-file.
8438
8439 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
8440
8441 * notifications.el (notifications-notify): Fix docstring.
8442
8443 2012-04-02 Glenn Morris <rgm@gnu.org>
8444
8445 * emacs-lisp/authors.el (authors-aliases): Another addition.
8446
8447 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
8448
8449 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8450 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8451 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8452
8453 2012-04-01 Chong Yidong <cyd@gnu.org>
8454
8455 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8456 Handle root directory properly.
8457 (copy-directory): Caller changed.
8458
8459 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8460 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8461
8462 2012-03-31 Glenn Morris <rgm@gnu.org>
8463
8464 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8465
8466 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8467
8468 * calendar/calendar.el (calendar-window-list)
8469 (calendar-hide-window): Restore. (Bug#11140)
8470 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8471
8472 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8473
8474 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8475
8476 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8477 Check if file is a symlink (Bug#10489).
8478
8479 * files.el (copy-directory): Likewise.
8480
8481 2012-03-30 Chong Yidong <cyd@gnu.org>
8482
8483 * image.el (imagemagick-types-inhibit)
8484 (imagemagick-register-types): Doc fix.
8485
8486 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8487
8488 * textmodes/ispell.el (ispell-get-extended-character-mode):
8489 Disable extended-char-mode for hunspell. hunspell does not support it
8490 and treats ~word as ordinary words in pipe mode.
8491
8492 2012-03-30 Glenn Morris <rgm@gnu.org>
8493
8494 * tutorial.el (help-with-tutorial): Ensure local variables don't
8495 happen to make the buffer read-only. (Bug#11127)
8496
8497 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8498
8499 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8500 (perl-calculate-indent): Return `noindent' in strings.
8501
8502 2012-03-28 Sam Steingold <sds@gnu.org>
8503
8504 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8505 instead of the broken adhockery which does not prevent calendar
8506 buffers from being displayed at random after exit.
8507 (calendar-window-list, calendar-hide-window): Remove the broken
8508 adhockery.
8509
8510 2012-03-28 Glenn Morris <rgm@gnu.org>
8511
8512 * replace.el (query-replace-map): Doc fix.
8513
8514 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8515
8516 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8517 contents. (Bug#11109)
8518
8519 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8520
8521 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8522 (bug#11077).
8523 (avl-tree--check, avl-tree--check-node): New funs.
8524
8525 2012-03-27 Martin Rudalics <rudalics@gmx.at>
8526
8527 * window.el (switch-to-visible-buffer): New option.
8528 (switch-to-prev-buffer, switch-to-next-buffer):
8529 Observe switch-to-visible-buffer. Make sure that checking for a window
8530 showing a buffer already is done on the same frame.
8531
8532 2012-03-27 Glenn Morris <rgm@gnu.org>
8533
8534 * startup.el (mail-host-address): Doc fix.
8535
8536 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8537
8538 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8539 than 197 variables.
8540
8541 2012-03-26 Ami Fischman <ami@fischman.org>
8542
8543 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8544
8545 2012-03-26 Glenn Morris <rgm@gnu.org>
8546
8547 * files.el (save-buffers-kill-emacs): Doc fix.
8548
8549 * startup.el (normal-top-level, command-line, command-line-1):
8550 Give them doc strings.
8551
8552 2012-03-25 Eli Zaretskii <eliz@gnu.org>
8553
8554 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
8555 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
8556
8557 2012-03-25 Chong Yidong <cyd@gnu.org>
8558
8559 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8560 theme if it was previously enabled before (Bug#11031).
8561
8562 * cus-theme.el (custom-theme-write-faces): Retrieve current face
8563 spec with custom-face-get-current-spec if its :shown-value is not
8564 determined yet (Bug#9337).
8565 (customize-create-theme, custom-theme-revert): Doc fixes.
8566
8567 * button.el (button-at): Minor addition to docstring.
8568
8569 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
8570
8571 * vc/vc.el (vc-merge): Fix a prompt.
8572
8573 2012-03-24 Chong Yidong <cyd@gnu.org>
8574
8575 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8576 point (Bug#9623).
8577
8578 * button.el (button-at): Minor addition to docstring.
8579
8580 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8581
8582 * newcomment.el (comment-choose-indent): No space after BOL.
8583
8584 2012-03-22 Sam Steingold <sds@gnu.org>
8585
8586 * window.el (switch-to-prev-buffer): Revert last patch because the
8587 bug turned out to be an advertised feature (Elisp manual 28.14).
8588
8589 2012-03-22 Glenn Morris <rgm@gnu.org>
8590
8591 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
8592 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8593
8594 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8595
8596 * net/network-stream.el (network-stream-open-starttls): Make error
8597 message under Windows be less misleading.
8598
8599 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
8600
8601 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8602 understands (bug#9942).
8603
8604 2012-03-22 Chong Yidong <cyd@gnu.org>
8605
8606 * simple.el (end-of-visible-line): Handle return value of
8607 next-single-property-change properly (Bug#9371).
8608
8609 2012-03-22 Kenichi Handa <handa@m17n.org>
8610
8611 * international/quail.el (quail-insert-kbd-layout): Fix previous
8612 change. To avoid unwanted bidi reordering, use
8613 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8614
8615 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
8616
8617 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8618 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8619 (ruby-beginning-of-indent): Be more careful with the difference
8620 between word-boundary and symbol boundary.
8621 (ruby-mode-syntax-table): Make : a symbol constituent.
8622
8623 2012-03-21 Andreas Politz <politza@fh-trier.de>
8624
8625 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8626
8627 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8628
8629 * progmodes/etags.el (tags-completion-at-point-function):
8630 Improve last fix.
8631
8632 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
8633
8634 2012-03-21 Sam Steingold <sds@gnu.org>
8635
8636 * progmodes/etags.el (tags-completion-at-point-function):
8637 Avoid the error when point is inside the pattern.
8638
8639 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
8640
8641 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
8642 line (Bug#10855).
8643
8644 2012-03-21 Drew Adams <drew.adams@oracle.com>
8645
8646 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
8647
8648 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
8649
8650 * ido.el (ido-set-current-directory, ido-read-internal)
8651 (ido-choose-completion-string, ido-completion-help): Handle nil
8652 value of ido-completion-buffer (Bug#11008).
8653
8654 2012-03-21 Sam Steingold <sds@gnu.org>
8655
8656 * window.el (switch-to-prev-buffer): Do not switch to a visible
8657 window previous buffer, just like with the frame previous buffers.
8658
8659 2012-03-21 Chong Yidong <cyd@gnu.org>
8660
8661 * faces.el (make-face, make-empty-face, copy-face):
8662 * face-remap.el (face-remap-add-relative, face-remap-set-base):
8663 Doc fixes.
8664
8665 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8666
8667 * wid-edit.el (widget-complete-field): Remove (bug#11051).
8668 (widget-complete): Remove broken use of it.
8669
8670 2012-03-20 Chong Yidong <cyd@gnu.org>
8671
8672 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8673 Use string-width and truncate-string-width to handle arbitrary
8674 characters.
8675
8676 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
8677
8678 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
8679 to draw rectangles, not squares. (Regression introduced by revno
8680 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
8681
8682 2012-03-18 Chong Yidong <cyd@gnu.org>
8683
8684 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
8685 it is not yet defined (for temacs).
8686
8687 2012-03-18 Leo Liu <sdl.web@gmail.com>
8688
8689 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
8690 prefix.
8691
8692 2012-03-17 Eli Zaretskii <eliz@gnu.org>
8693
8694 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
8695 (ispell-choices-win-default-height, ispell-silently-savep)
8696 (ispell-dictionary-alist, ispell-encoding8-command)
8697 (ispell-check-version, ispell-aspell-find-dictionary)
8698 (ispell-valid-dictionary-list, ispell-words-keyword)
8699 (ispell-get-word, ispell-internal-change-dictionary)
8700 (ispell-region, ispell-skip-region-list)
8701 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
8702 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
8703 (ispell-message-text-end, ispell-message)
8704 (ispell-buffer-local-parsing): Doc fix.
8705
8706 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
8707
8708 * htmlfontify.el: Add support for code block fontification for ODT
8709 export (Bug #9914).
8710 (hfy-optimisations): Define new option
8711 `body-text-only'
8712 (hfy-fontify-buffer): Honor above setting.
8713 (hfy-begin-span, hfy-end-span): New routines factored out form
8714 `hfy-fontify-buffer'.
8715 (hfy-begin-span-handler, hfy-end-span-handler): New variables
8716 that permit insertion of custom tags.
8717 (hfy-fontify-buffer): Use above handlers.
8718 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
8719 (hfy-face-to-css): Re-defined to be a variable.
8720 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
8721 over multiple runs. This is made possible by having the caller let
8722 bind a special variable `hfy-user-sheet-assoc'.
8723 (htmlfontify-string): New defun.
8724 (hfy-compile-face-map): Make sure that the last char in the
8725 buffer is correctly fontified.
8726 (hfy-face-resolve-face): Whitespace only change.
8727
8728 2012-03-17 Eli Zaretskii <eliz@gnu.org>
8729
8730 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
8731 message more clear.
8732
8733 2012-03-16 Leo Liu <sdl.web@gmail.com>
8734
8735 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
8736
8737 2012-03-16 Alan Mackenzie <acm@muc.de>
8738
8739 Further optimise the handling of large macros.
8740
8741 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
8742 limit to a call of `c-literal-limits'.
8743 (c-determine-+ve-limit): New function.
8744 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
8745 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
8746 In CASE 5B, restrict a search limit to 500.
8747 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
8748
8749 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
8750 Restrict macro bounds to +-500 from after-change's BEG END.
8751
8752 2012-03-16 Leo Liu <sdl.web@gmail.com>
8753
8754 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
8755
8756 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
8757
8758 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
8759 `special-mode' setting of `buffer-read-only'. (Bug#11010)
8760
8761 2012-03-16 Glenn Morris <rgm@gnu.org>
8762
8763 * view.el (view-buffer, view-buffer-other-window)
8764 (view-buffer-other-frame): Doc fixes re special mode-class.
8765
8766 * subr.el (eval-after-load): If named feature is provided not from
8767 a file, run after-load forms. (Bug#10946)
8768
8769 * calendar/calendar.el (calendar-insert-at-column):
8770 Handle non-unit-width characters a bit better. (Bug#10978)
8771
8772 2012-03-15 Chong Yidong <cyd@gnu.org>
8773
8774 * emacs-lisp/ring.el (ring-extend): New function.
8775 (ring-insert+extend): Extend the ring correctly (Bug#11019).
8776
8777 * comint.el (comint-read-input-ring)
8778 (comint-add-to-input-history): Grow comint-input-ring lazily.
8779
8780 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8781
8782 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
8783 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
8784
8785 * imenu.el: Fix multiple inheritance breakage (bug#9199).
8786 (imenu-add-to-menubar): Don't add a redundant index.
8787 (imenu-update-menubar): Handle a dynamically composed keymap.
8788
8789 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
8790
8791 * mail/sendmail.el (mail-encode-header):
8792 Bind rfc2047-encode-encoded-words to nil.
8793
8794 2012-03-13 Glenn Morris <rgm@gnu.org>
8795
8796 * calendar/calendar.el (calendar-string-spread):
8797 Handle non-unit-width characters a bit better. (Bug#10978)
8798
8799 2012-03-13 Leo Liu <sdl.web@gmail.com>
8800
8801 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
8802 directory and file as argument (Bug#10822).
8803
8804 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8805
8806 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
8807 For dynamically generated code, follow $PC.
8808 (gdb-disassembly-handler-custom): Handle no function name case.
8809
8810 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
8811
8812 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
8813 * emulation/ws-mode.el (ws-query-replace):
8814 * sort.el (sort-regexp-fields):
8815 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
8816
8817 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8818
8819 * dabbrev.el: Fix cycle completion order (bug#10963).
8820 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
8821 (dabbrev-completion): Don't use an obarray; provide
8822 a cycle-sort-function.
8823
8824 2012-03-12 Leo Liu <sdl.web@gmail.com>
8825
8826 * simple.el (kill-new): Use equal-including-properties for comparison.
8827 (kill-do-not-save-duplicates): Doc fix.
8828
8829 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8830
8831 * dabbrev.el: Fix cycle completion (bug#10963).
8832 Use lexical binding and wrap to 80 columns.
8833 (dabbrev-completion): Delay computing the list of completions.
8834
8835 2012-03-12 Kenichi Handa <handa@m17n.org>
8836
8837 * international/quail.el (quail-insert-kbd-layout): Surround each
8838 row by LRO and PDF instead of inserting many LRMs. Pad the left
8839 and right of each non-spacing marks. Insert invisible space
8840 between lower and upper characters to prevent composition.
8841
8842 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8843
8844 * minibuffer.el (minibuffer-complete): Don't get confused when the
8845 function is run twice via different commands (bug#10958).
8846 (complete-with-action): Fix docstring.
8847
8848 2012-03-12 Chong Yidong <cyd@gnu.org>
8849
8850 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
8851 (nxml-completion-at-point-function): New function.
8852 (nxml-mode): Use it.
8853 (nxml-bind-meta-tab-to-complete-flag): Default to t.
8854
8855 * emacs-lisp/package.el (package-unpack, package-unpack-single):
8856 Load generated autoloads file before byte compiling (Bug#10970).
8857 (package--make-autoloads-and-compile): New helper fun.
8858
8859 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
8860
8861 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
8862
8863 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
8864
8865 * autorevert.el (auto-revert-handler): Ensure, that
8866 file-readable-p is applied only for local files or in
8867 auto-revert-tail-mode.
8868
8869 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
8870
8871 * server.el (server-eval-at): Handle non-tcp connections.
8872 Decode result string.
8873
8874 * server.el (server-msg-size): New constant.
8875 (server-reply-print): New function.
8876 (server-eval-and-print): Use it.
8877 (server-eval-at): Use server-quote-arg and server-unquote-arg.
8878 Handle -print-nonl.
8879
8880 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
8881
8882 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
8883 (Bug#10987).
8884
8885 2012-03-11 Chong Yidong <cyd@gnu.org>
8886
8887 * simple.el (goto-line): Doc fix (Bug#9938).
8888
8889 * subr.el (save-window-excursion): Doc fix (Bug#9979).
8890
8891 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
8892 when finished (Bug#10963).
8893
8894 2012-03-11 Martin Rudalics <rudalics@gmx.at>
8895
8896 * window.el (split-window-below): Fix bug in case where
8897 split-window-keep-point is nil (Bug#10971).
8898
8899 2012-03-11 Juri Linkov <juri@jurta.org>
8900
8901 * replace.el (replace-highlight): Set isearch-word to nil
8902 unconditionally. (Bug#10887)
8903
8904 2012-03-10 Eli Zaretskii <eliz@gnu.org>
8905
8906 * net/mairix.el (mairix-replace-invalid-chars): Rename from
8907 mairix-replace-illegal-chars; all callers changed. Don't remove
8908 ^, ~, and = characters: they are meaningful in mairix search specs.
8909 (mairix-widget-create-query): Add usage information about mairix
8910 search forms: negating words, searching for substrings, etc.
8911
8912 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
8913
8914 * international/fontset.el (font-encoding-alist): Add an entry for
8915 ksx1001 (Bug#5667).
8916
8917 2012-03-10 Richard Stallman <rms@gnu.org>
8918
8919 * mail/sendmail.el (mail-encode-header):
8920 Set rfc2047-encode-encoded-words.
8921
8922 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
8923
8924 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
8925 view buffer means not swapped.
8926 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
8927 (rmail-write-region-annotate): Error if real text has disappeared.
8928
8929 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
8930
8931 2012-03-10 Chong Yidong <cyd@gnu.org>
8932
8933 * emulation/cua-rect.el (cua--init-rectangles):
8934 * emulation/cua-base.el (cua--init-keymaps):
8935 Add delete-forward-char to remappings (Bug#9666).
8936
8937 2012-03-10 Martin Rudalics <rudalics@gmx.at>
8938
8939 * speedbar.el (speedbar-unhighlight-one-tag-line):
8940 Avoid unhighlighting due to frame switching (Bug#10275).
8941
8942 2012-03-10 Chong Yidong <cyd@gnu.org>
8943
8944 * minibuffer.el (completion-in-region, completion-help-at-point):
8945 Give the completion field overlay a high priority (Bug#6830).
8946
8947 * dired.el (dired-goto-file): Recognize absolute file name
8948 listings (Bug#7126).
8949 (dired-goto-file-1): New helper function.
8950 (dired-toggle-read-only): Inhibit warnings.
8951
8952 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
8953
8954 * net/dbus.el (dbus-property-handler): Return empty array if
8955 there are no properties.
8956
8957 2012-03-09 Leo Liu <sdl.web@gmail.com>
8958
8959 * savehist.el (savehist-printable): Stricter check for string
8960 value (Bug#10937).
8961
8962 2012-03-09 Eli Zaretskii <eliz@gnu.org>
8963
8964 * mail/smtpmail.el (smtpmail-send-it):
8965 Bind coding-system-for-write to *-unix, so that FCC files are kept in
8966 valid mbox format.
8967
8968 2012-03-09 Glenn Morris <rgm@gnu.org>
8969
8970 * files.el (dir-locals-find-file):
8971 Don't check result is regular, readable.
8972 (dir-locals-read-from-file): Demote errors.
8973
8974 2012-03-08 Eli Zaretskii <eliz@gnu.org>
8975
8976 * international/quail.el (quail-insert-kbd-layout):
8977 Insert invisible LRM characters before each character in a keyboard
8978 layout cell, to prevent their reordering by bidi display engine.
8979 For details, see the discussion in
8980 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
8981
8982 2012-03-08 Alan Mackenzie <acm@muc.de>
8983
8984 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
8985 the starting position; make it extend the marked region when
8986 invoked repeatedly - all under appropriate circumstances.
8987 Fixes bugs #5525, #10906.
8988
8989 2012-03-08 Glenn Morris <rgm@gnu.org>
8990
8991 * files.el (locate-dominating-file, dir-locals-find-file):
8992 Undo 2012-03-06 change.
8993
8994 2012-03-07 Eli Zaretskii <eliz@gnu.org>
8995
8996 * international/quail.el (quail-help):
8997 Force bidi-paragraph-direction be left-to-right. See discussion in
8998 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
8999 for the reason.
9000
9001 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
9002
9003 Avoid superfluous registering of signals. (Bug#10807)
9004
9005 * notifications.el (notifications-on-action-object)
9006 (notifications-on-close-object): New defvars.
9007 (notifications-on-action-signal, notifications-on-closed-signal):
9008 Unregister the signal if not needed any longer.
9009 (notifications-notify): Register `notifications-action-signal' or
9010 `notifications-closed-signal', if :on-action or :on-close has been
9011 passed as argument.
9012
9013 2012-03-07 Chong Yidong <cyd@gnu.org>
9014
9015 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9016 non-X platforms.
9017
9018 2012-03-06 Glenn Morris <rgm@gnu.org>
9019
9020 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9021 (x-disown-selection-internal, x-get-selection-internal):
9022 Doc fix (add arglist signatures). (Bug#10783)
9023
9024 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9025
9026 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9027 Handle breakpoints with no "type".
9028
9029 2012-03-06 Glenn Morris <rgm@gnu.org>
9030
9031 * files.el (locate-dominating-file): Add optional predicate argument.
9032 (dir-locals-find-file): Make use of above change.
9033
9034 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9035
9036 * info.el (Info-insert-dir): Also try "dir.gz".
9037
9038 2012-03-06 Glenn Morris <rgm@gnu.org>
9039
9040 * files.el (dir-locals-find-file):
9041 Ignore non-readable or non-regular files. (Bug#10928)
9042
9043 * files.el (locate-dominating-file): Doc fix.
9044
9045 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9046
9047 * calendar/calendar.el (calendar-set-mode-line):
9048 `getenv' returns a string. (Bug#10951)
9049
9050 2012-03-05 Leo Liu <sdl.web@gmail.com>
9051
9052 * simple.el (backward-delete-char-untabify): Constrain point to
9053 field (Bug#10939).
9054
9055 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9056
9057 2012-03-05 Chong Yidong <cyd@gnu.org>
9058
9059 * simple.el (count-words): If called from Lisp, return the word
9060 count, for symmetry with `count-lines'. Arglist changed.
9061 (count-words--message): Args changed. Consolidate counting code
9062 from count-words and count-words-region.
9063 (count-words-region): Caller changed.
9064 (count-lines-region): Make it an obsolete alias.
9065
9066 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9067
9068 * saveplace.el (save-place-to-alist)
9069 (save-place-ignore-files-regexp): Allow value nil to disable this
9070 feature.
9071
9072 2012-03-04 Chong Yidong <cyd@gnu.org>
9073
9074 * faces.el (face-spec-reset-face): For the default face, reset the
9075 attributes to default values (Bug#10748).
9076
9077 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9078
9079 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9080 previous patch: Check `message-send-mail-function', and not the
9081 default function (bug#10897).
9082
9083 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
9084
9085 * notifications.el (notifications-on-action-signal)
9086 (notifications-on-closed-signal): Check for unique service name of
9087 incoming event. Fix error in removing entry.
9088 (top): Register for signals with wildcard service name.
9089 (notifications-notify): Use daemon unique service name for map entries.
9090
9091 2012-03-04 Chong Yidong <cyd@gnu.org>
9092
9093 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
9094
9095 2012-03-04 Glenn Morris <rgm@gnu.org>
9096
9097 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9098 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9099 (expand-abbrev, define-abbrev-table): Doc fixes.
9100
9101 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9102
9103 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9104 `message-default-send-mail-function' and not `send-mail-function'
9105 when doing the prompting for `sendmail-query-once' before sending
9106 in Message buffers (bug#10897).
9107
9108 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9109 This is inconsistent with all the other stream functions, which leave
9110 the setting up to the higher levels (if so wanted) (bug#10931).
9111
9112 2012-03-02 Alan Mackenzie <acm@muc.de>
9113
9114 Depessimize the handling of very large macros.
9115
9116 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9117 (c-macro-cache-syntactic): New variables to implement a one
9118 element macro cache.
9119 (c-invalidate-macro-cache): New function.
9120 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9121 Adapt to use the new cache.
9122 (c-state-safe-place): Use better the cache of safe positions.
9123 (c-state-semi-nonlit-pos-cache)
9124 (c-state-semi-nonlit-pos-cache-limit):
9125 New variables for...
9126 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9127 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
9128 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9129 Use c-state-semi-safe-place.
9130
9131 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9132 Add c-invalidate-macro-cache to the C, C++, Obj entries.
9133
9134 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
9135
9136 * jka-compr.el (jka-compr-call-process):
9137 Apply `file-accessible-directory-p' only when the default directory is
9138 not remote.
9139
9140 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
9141
9142 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9143 access of FILE2, if FILE1 does not exist.
9144
9145 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9146 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9147
9148 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9149 Add "PAGER=" to `process-environment'.
9150
9151 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9152
9153 * progmodes/sql.el: Bug fix
9154 (sql-get-login-ext): Save login values in globals.
9155 (sql-get-login): Use new version of `sql-get-login-ext'.
9156 (sql-interactive-mode): Set global `sql-connection' to nil.
9157 (sql-connect): Set global values for connection.
9158 (sql-product-interactive): Save global values as buffer local.
9159
9160 2012-02-29 Leo Liu <sdl.web@gmail.com>
9161
9162 * abbrev.el (define-abbrevs): Reset sys to nil.
9163
9164 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9165
9166 * files.el (file-equal-p): Rename from `files-equal-p'.
9167 Return nil when one or both files don't exist.
9168 (file-subdir-of-p): Now only top directory must exists,
9169 return nil if it doesn't.
9170 (copy-directory): No need to test with `file-subdir-of-p' after
9171 creating dir.
9172 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9173 to `file-equal-p'.
9174
9175 2012-02-28 Glenn Morris <rgm@gnu.org>
9176
9177 * shell.el (shell-mode):
9178 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9179 * play/landmark.el (landmark-font-lock-face-O):
9180 * play/handwrite.el (handwrite):
9181 * play/gomoku.el (gomoku-O):
9182 * net/browse-url.el (browse-url-browser-display):
9183 * international/mule.el (define-charset):
9184 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9185 * filesets.el (filesets-find-file-delay):
9186 * eshell/em-xtra.el (eshell-xtra):
9187 * eshell/em-unix.el (eshell-grep):
9188 * emulation/viper.el (viper-mode):
9189 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9190 * emacs-lisp/easymenu.el (easy-menu-define):
9191 * calendar/timeclock.el (timeclock-use-display-time):
9192 * bs.el (bs-mode):
9193 * bookmark.el (bookmark-save-flag):
9194 Doc fix (standardize possessive apostrophe usage).
9195
9196 2012-02-27 Chong Yidong <cyd@gnu.org>
9197
9198 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9199 Fix key-binding lookup for ESC key (Bug#9146).
9200
9201 * font-lock.el (font-lock-specified-p): Rename from
9202 font-lock-spec-present. Callers changed.
9203
9204 2012-02-27 Daniel Hackney <dan@haxney.org>
9205
9206 * emacs-lisp/package.el (package-compute-transaction):
9207 Handle holding a package version to t in package-load-list.
9208
9209 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
9210
9211 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9212 (tramp-get-inode, tramp-get-device): Use cached values.
9213
9214 2012-02-26 Alan Mackenzie <acm@muc.de>
9215
9216 Check there is a font-lock specification before doing initial
9217 fontification.
9218
9219 * font-core.el (font-lock-mode): Move the conditional from
9220 :after-hook to font-lock-initial-fontify.
9221 (font-lock-default-function): Move the check for a specification
9222 to font-lock-spec-present.
9223
9224 * font-lock.el (font-lock-initial-fontify): Call ...
9225 (font-lock-spec-present): New function.
9226
9227 2012-02-26 Jim Blandy <jimb@red-bean.com>
9228
9229 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9230 (gdb-send): Apply it to the operand of the '-interpreter-exec
9231 console' command, so that we can pass arguments with (say) quotes
9232 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9233
9234 2012-02-26 Chong Yidong <cyd@gnu.org>
9235
9236 * help-fns.el (describe-function-1): Clarify description of
9237 remapping (Bug#10844).
9238
9239 * files.el (files-equal-p): Doc fix.
9240 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9241 and quit the loop once a mismatch is found.
9242
9243 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
9244
9245 * bs.el (bs--show-with-configuration): Don't throw an error
9246 if the window cannot be split; otherwise, subsequent calls to
9247 bs-show fail, restoring a stale window config. (Bug#10882)
9248
9249 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9250
9251 * term/ns-win.el (global-map): Bind ns-drag-file to
9252 ns-find-file (Bug#5855, Bug#10050).
9253
9254 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9255
9256 * calendar/parse-time.el (parse-time-string): Allow extractor to
9257 return nil.
9258
9259 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
9260
9261 * net/tramp.el (tramp-file-name-for-operation):
9262 Add `files-equal-p' and `file-subdir-of-p'.
9263
9264 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
9265 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9266 Add COPY-CONTENTS argument.
9267
9268 2012-02-25 Chong Yidong <cyd@gnu.org>
9269
9270 Add custom groups for VC backends, for consistency with vc-bzr.
9271
9272 * vc/vc-arch.el (vc-arch):
9273 * vc/vc-cvs.el (vc-cvs):
9274 * vc/vc-git.el (vc-git):
9275 * vc/vc-hg.el (vc-hg):
9276 * vc/vc-mtn.el (vc-mtn):
9277 * vc/vc-rcs.el (vc-rcs):
9278 * vc/vc-sccs.el (vc-sccs):
9279 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9280 All relevant defcustoms reassigned.
9281
9282 2012-02-25 Chong Yidong <cyd@gnu.org>
9283
9284 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9285
9286 * term/x-win.el (x-initialize-window-system): Reduce default for
9287 x-selection-timeout to 5 seconds (Bug#8869).
9288
9289 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9290
9291 * files.el (files-equal-p, file-subdir-of-p): New functions.
9292 (copy-directory): Error when trying to copy a directory on itself.
9293 Add missing copy-contents arg to tramp handler.
9294 * dired-aux.el (dired-copy-file-recursive): Same.
9295 (dired-create-files): Modify destination when source is equal to
9296 dest when copying files.
9297 Return also when dest is a subdir of source. (Bug#10489)
9298
9299 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
9300
9301 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9302 (Bug#10874)
9303
9304 2012-02-23 Alan Mackenzie <acm@muc.de>
9305
9306 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9307 parameter "after-hook:" to allow the expansion to run code after
9308 the execution of the mode hooks.
9309
9310 * font-lock.el (font-lock-initial-fontify): New function extracted
9311 from font-lock-mode-internal.
9312
9313 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
9314 :after-hook.
9315
9316 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9317
9318 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9319 (completion--cache-all-sorted-completions): New function.
9320 (completion-all-sorted-completions): Use it.
9321 (completion--do-completion, minibuffer-force-complete):
9322 Use it to re-instate the flush hook.
9323
9324 * icomplete.el (icomplete-completions): Replace last fix with a better
9325 one (bug#10850).
9326
9327 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9328
9329 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9330 when it might call us back infinitely (bug#10797).
9331
9332 2012-02-23 Glenn Morris <rgm@gnu.org>
9333
9334 * minibuffer.el (completion-category-overrides): Doc fix.
9335
9336 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9337
9338 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9339 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9340
9341 2012-02-23 Glenn Morris <rgm@gnu.org>
9342
9343 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
9344 (authors-obsolete-files-regexps, authors-ignored-files)
9345 (authors-ambiguous-files, authors-renamed-files-alist):
9346 Add more entries.
9347
9348 2012-02-23 Juri Linkov <juri@jurta.org>
9349
9350 * isearch.el (isearch-occur): Sync interactive spec with occur's
9351 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9352
9353 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9354
9355 2012-02-22 Juri Linkov <juri@jurta.org>
9356
9357 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9358 (ucs-insert): Doc fix. Check for hex digits in the string.
9359 Don't display `nil' in the error message. (Bug#10857)
9360
9361 2012-02-22 Alan Mackenzie <acm@muc.de>
9362
9363 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
9364
9365 2012-02-22 Glenn Morris <rgm@gnu.org>
9366
9367 * ffap.el (ffap-c-path):
9368 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9369
9370 2012-02-22 Chong Yidong <cyd@gnu.org>
9371
9372 * custom.el (load-theme): Doc fix.
9373
9374 2012-02-22 Glenn Morris <rgm@gnu.org>
9375
9376 * dired-x.el (dired-guess-shell-alist-default):
9377 Remove escape sequences from nroff output. (Bug#172)
9378
9379 2012-02-21 Glenn Morris <rgm@gnu.org>
9380
9381 * vc/emerge.el (emerge-defvar-local):
9382 Set `permanent-local' property rather than unused `preserved'.
9383
9384 * textmodes/picture.el (picture-delete-char): New alias.
9385 (picture-mode-map): Use it. (Bug#10860)
9386 (picture-mode): Doc fix.
9387
9388 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
9389
9390 * newcomment.el (uncomment-region-default): Remove unused binding.
9391
9392 2012-02-21 Glenn Morris <rgm@gnu.org>
9393
9394 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9395 (picture-self-insert, picture-tab-chars): Doc fix.
9396 (picture-mode-map): Fix C-a, C-e.
9397
9398 2012-02-20 Glenn Morris <rgm@gnu.org>
9399
9400 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9401
9402 2012-02-20 Leo Liu <sdl.web@gmail.com>
9403
9404 * icomplete.el (icomplete-completions): Check FROM arg before
9405 passing to substring (Bug#10850).
9406
9407 2012-02-19 Chong Yidong <cyd@gnu.org>
9408
9409 * comint.el: Require ansi-color.
9410 (comint-output-filter-functions): Add ansi-color-process-output.
9411
9412 * ansi-color.el: Don't set comint-output-filter-functions; it is
9413 now in the initial value defined in comint.el.
9414 (ansi-color-apply-face-function): New variable.
9415 (ansi-color-apply-on-region): Use it.
9416 (ansi-color-apply-overlay-face): New function.
9417
9418 * shell.el (shell): No need to require ansi-color.
9419 (shell-mode): Use ansi-color-apply-face-function to highlight
9420 color escapes using font-lock-face property (Bug#10835).
9421
9422 2012-02-19 Chong Yidong <cyd@gnu.org>
9423
9424 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9425 mode-line formats (Bug#10839).
9426
9427 2012-02-18 Glenn Morris <rgm@gnu.org>
9428
9429 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9430
9431 * mail/undigest.el (unforward-rmail-message): Doc fix.
9432
9433 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9434
9435 2012-02-18 Eli Zaretskii <eliz@gnu.org>
9436
9437 * international/characters.el (script-list): Sync with the latest
9438 Unicode Character Database.
9439
9440 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9441
9442 * international/titdic-cnv.el: Remove duplicate coding tag.
9443 * language/cham.el: Likewise.
9444 * language/tai-viet.el: Likewise.
9445
9446 2012-02-18 Glenn Morris <rgm@gnu.org>
9447
9448 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9449 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9450 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9451 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9452 * calendar/holidays.el (holiday-bahai-holidays)
9453 (calendar-holidays, list-holidays):
9454 Use utf-8 Bahá'í in doc-strings, menus, etc.
9455
9456 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9457
9458 * saveplace.el (save-place-ignore-files-regexp): New variable
9459 allowing for excluding files from saving their location of point.
9460 The default value matches the temporary commit message editing
9461 files from Git, SVN, Bazaar, and Mercurial.
9462 (save-place-to-alist): Use it.
9463
9464 2012-02-17 Lawrence Mitchell <wence@gmx.li>
9465 Stefan Monnier <monnier@iro.umontreal.ca>
9466
9467 * newcomment.el (uncomment-region-default): Don't leave extra space
9468 when an arg is provided (bug#8150).
9469
9470 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9471
9472 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
9473
9474 2012-02-17 Glenn Morris <rgm@gnu.org>
9475
9476 * net/socks.el: Require network-stream. (Bug#10599)
9477
9478 2012-02-17 Kenichi Handa <handa@m17n.org>
9479
9480 * international/charprop.el:
9481 * international/uni-name.el:
9482 * international/uni-old-name.el:
9483 * international/uni-comment.el: Regenerate.
9484
9485 2012-02-16 Glenn Morris <rgm@gnu.org>
9486
9487 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9488 Interactively in calendar buffer, give an error if not on a date.
9489
9490 2012-02-15 Glenn Morris <rgm@gnu.org>
9491
9492 * shell.el (shell-delimiter-argument-list):
9493 Revert 2011-02-17 change. (Bug#8027)
9494
9495 2012-02-15 Chong Yidong <cyd@gnu.org>
9496
9497 * minibuffer.el (completion-at-point-functions): Doc fix.
9498
9499 * custom.el (defcustom): Doc fix; note use of defvar.
9500
9501 2012-02-15 Glenn Morris <rgm@gnu.org>
9502
9503 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9504 Doc fixes.
9505
9506 2012-02-14 Glenn Morris <rgm@gnu.org>
9507
9508 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9509
9510 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9511
9512 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9513 way the ports list is computed.
9514 (smtpmail-query-smtp-server): Prompt the user for a port number if
9515 we can't connect to any of the standard ports (bug#10810).
9516
9517 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9518
9519 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9520
9521 2012-02-13 Glenn Morris <rgm@gnu.org>
9522
9523 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9524
9525 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9526
9527 * net/gnutls.el (gnutls-trustfiles): New variable.
9528 (gnutls-negotiate): Use it.
9529
9530 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
9531
9532 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9533 does its stuff if Gnus is running.
9534
9535 2012-02-13 Alan Mackenzie <acm@muc.de>
9536
9537 Fix a loop in c-set-fl-decl-start.
9538
9539 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
9540 c-backward-syntactic-ws actually moves backwards.
9541
9542 2012-02-13 Leo Liu <sdl.web@gmail.com>
9543
9544 * net/rcirc.el (rcirc-markup-attributes): Move point to the
9545 beginning so that all \C-o chars are removed.
9546
9547 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
9548
9549 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
9550
9551 2012-02-12 Alan Mackenzie <acm@muc.de>
9552
9553 Fix infinite loop with long macros.
9554 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
9555
9556 2012-02-12 Chong Yidong <cyd@gnu.org>
9557
9558 * window.el (display-buffer): Doc fix (Bug#10785).
9559
9560 2012-02-12 Glenn Morris <rgm@gnu.org>
9561
9562 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9563 (x-disown-selection-internal, x-get-selection-internal):
9564 Sync docs with the xselect.c versions.
9565
9566 * allout-widgets.el: Add missing license notice.
9567
9568 2012-02-11 Glenn Morris <rgm@gnu.org>
9569
9570 * select.el (x-get-selection-internal, x-own-selection-internal)
9571 (x-disown-selection-internal):
9572 * x-dnd.el (x-get-selection-internal): Update declarations.
9573
9574 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9575
9576 * window.el (window-sides-slots):
9577 * tool-bar.el (tool-bar-position):
9578 * term/xterm.el (xterm-extra-capabilities):
9579 * ses.el (ses-self-reference-early-detection):
9580 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9581 (verilog-auto-wire-type)
9582 (verilog-auto-delete-trailing-whitespace)
9583 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9584 (verilog-auto-tieoff-declaration):
9585 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9586 (sql-oracle-statement-starters, sql-oracle-scan-on):
9587 * progmodes/prolog.el (prolog-align-comments-flag)
9588 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9589 (prolog-left-indent-regexp, prolog-paren-indent-p)
9590 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9591 (prolog-types, prolog-mode-specificators)
9592 (prolog-determinism-specificators, prolog-directives)
9593 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9594 (prolog-electric-dot-flag)
9595 (prolog-electric-dot-full-predicate-template)
9596 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9597 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9598 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9599 (prolog-program-switches, prolog-prompt-regexp)
9600 (prolog-debug-on-string, prolog-debug-off-string)
9601 (prolog-trace-on-string, prolog-trace-off-string)
9602 (prolog-zip-on-string, prolog-zip-off-string)
9603 (prolog-use-standard-consult-compile-method-flag)
9604 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9605 (prolog-imenu-max-lines, prolog-info-predicate-index)
9606 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9607 (prolog-char-quote-workaround):
9608 * progmodes/cc-vars.el (c-defun-tactic):
9609 * net/tramp.el (tramp-encoding-command-interactive)
9610 (tramp-local-end-of-line):
9611 * net/soap-client.el (soap-client):
9612 * net/netrc.el (netrc-file):
9613 * net/gnutls.el (gnutls):
9614 * minibuffer.el (completion-category-overrides)
9615 (completion-cycle-threshold)
9616 (completion-pcm-complete-word-inserts-delimiters):
9617 * man.el (Man-name-local-regexp):
9618 * mail/feedmail.el (feedmail-display-full-frame):
9619 * international/characters.el (glyphless-char-display-control):
9620 * eshell/em-ls.el (eshell-ls-date-format):
9621 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
9622 (lisp-lambda-list-keyword-parameter-indentation)
9623 (lisp-lambda-list-keyword-parameter-alignment):
9624 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
9625 * dired-x.el (dired-omit-verbose):
9626 * cus-theme.el (custom-theme-allow-multiple-selections):
9627 * calc/calc.el (calc-highlight-selections-with-faces)
9628 (calc-lu-field-reference, calc-lu-power-reference)
9629 (calc-note-threshold):
9630 * battery.el (battery-mode-line-limit):
9631 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9632 (archive-7z-update):
9633 * allout.el (allout-prefixed-keybindings)
9634 (allout-unprefixed-keybindings)
9635 (allout-inhibit-auto-fill-on-headline)
9636 (allout-flattened-numbering-abbreviation):
9637 * allout-widgets.el (allout-widgets-auto-activation)
9638 (allout-widgets-icons-dark-subdir)
9639 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
9640 (allout-widgets-theme-dark-background)
9641 (allout-widgets-theme-light-background)
9642 (allout-widgets-item-image-properties-emacs)
9643 (allout-widgets-item-image-properties-xemacs)
9644 (allout-widgets-run-unit-tests-on-load)
9645 (allout-widgets-time-decoration-activity)
9646 (allout-widgets-hook-error-post-time)
9647 (allout-widgets-track-decoration):
9648 Add missing :version tags to new defcustoms and defgroups.
9649
9650 * progmodes/sql.el (sql-ansi-statement-starters)
9651 (sql-oracle-statement-starters): Add custom type.
9652
9653 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
9654 (prolog-system-version): Give it a type.
9655
9656 2012-02-11 Eli Zaretskii <eliz@gnu.org>
9657
9658 * term/pc-win.el (x-select-text, x-selection-owner-p)
9659 (x-own-selection-internal, x-disown-selection-internal)
9660 (x-get-selection-internal): Sync doc strings and argument lists
9661 with xselect.c, common-win.el and x-win.el. (Bug#10783)
9662
9663 2012-02-11 Leo Liu <sdl.web@gmail.com>
9664
9665 * progmodes/python.el (python-end-of-statement): Fix infinite
9666 loop. (Bug#10788)
9667
9668 2012-02-10 Glenn Morris <rgm@gnu.org>
9669
9670 * international/mule-cmds.el (unify-8859-on-encoding-mode)
9671 (unify-8859-on-decoding-mode): Properly mark as obsolete.
9672
9673 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
9674
9675 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
9676 about SMTP before checking the From header.
9677
9678 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
9679 into own function for reuse by emacsbug.el.
9680
9681 2012-02-10 Leo Liu <sdl.web@gmail.com>
9682
9683 * subr.el (condition-case-unless-debug): Rename from
9684 condition-case-no-debug. All callers changed.
9685 (with-demoted-errors): Fix caller.
9686
9687 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
9688 * nxml/rng-valid.el (rng-do-some-validation):
9689 * emacs-lisp/package.el (package-refresh-contents)
9690 (package-menu-execute):
9691 * desktop.el (desktop-create-buffer):
9692 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
9693
9694 2012-02-10 Glenn Morris <rgm@gnu.org>
9695
9696 * textmodes/bibtex.el:
9697 Add missing :version tags for new/changed defcustoms.
9698
9699 * files.el (remote-file-name-inhibit-cache): Doc fixes.
9700
9701 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
9702
9703 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
9704 (smtpmail-via-smtp): Use it, or fall back on the From address.
9705 (smtpmail-send-it): Ditto.
9706
9707 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
9708
9709 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
9710 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
9711 (byte-compile-tmp-var): New const.
9712 (byte-compile-defvar): Use it to minimize .elc size.
9713 Just use `defvar' rather than simulate it (bug#10761).
9714
9715 2012-02-09 Glenn Morris <rgm@gnu.org>
9716
9717 * files.el (rename-uniquely): Doc fix. (Bug#3806)
9718
9719 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
9720 Add :version tags.
9721
9722 * progmodes/compile.el (compilation-error-screen-columns)
9723 (compilation-first-column, compilation-filter-start): Doc fixes.
9724
9725 * vc/log-view.el (log-view-toggle-entry-display):
9726 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
9727
9728 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
9729 (report-emacs-bug-can-use-xdg-email):
9730 (report-emacs-bug-insert-to-mailer): Doc fixes.
9731 (report-emacs-bug): Message fix.
9732
9733 * net/browse-url.el (browse-url-can-use-xdg-open)
9734 (browse-url-xdg-open): Doc fixes.
9735
9736 * electric.el (electric-indent-mode, electric-pair-mode)
9737 (electric-layout-rules, electric-layout-mode): Doc fixes.
9738 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
9739
9740 2012-02-08 Martin Rudalics <rudalics@gmx.at>
9741
9742 * server.el (server-unselect-display): Don't inadvertently kill
9743 the current buffer. (Bug#10729)
9744
9745 2012-02-08 Glenn Morris <rgm@gnu.org>
9746
9747 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
9748 (sql-list-table): Doc fixes.
9749
9750 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
9751 Comment out (does nothing).
9752
9753 * completion.el (dynamic-completion-mode):
9754 * dirtrack.el (dirtrack-debug-mode):
9755 * electric.el (electric-layout-mode):
9756 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
9757 * face-remap.el (text-scale-mode, buffer-face-mode):
9758 * iimage.el (iimage-mode):
9759 * image-mode.el (image-transform-mode):
9760 * minibuffer.el (completion-in-region-mode):
9761 * scroll-lock.el (scroll-lock-mode):
9762 * simple.el (next-error-follow-minor-mode):
9763 * tar-mode.el (tar-subfile-mode):
9764 * tooltip.el (tooltip-mode):
9765 * vcursor.el (vcursor-use-vcursor-map):
9766 * wid-browse.el (widget-minor-mode):
9767 * emulation/tpu-edt.el (tpu-edt-mode):
9768 * emulation/tpu-extras.el (tpu-cursor-free-mode):
9769 * international/iso-ascii.el (iso-ascii-mode):
9770 * language/thai-util.el (thai-word-mode):
9771 * mail/supercite.el (sc-minor-mode):
9772 * net/goto-addr.el (goto-address-mode):
9773 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
9774 * progmodes/cwarn.el (cwarn-mode):
9775 * progmodes/flymake.el (flymake-mode):
9776 * progmodes/glasses.el (glasses-mode):
9777 * progmodes/hideshow.el (hs-minor-mode):
9778 * progmodes/pascal.el (pascal-outline-mode):
9779 * textmodes/enriched.el (enriched-mode):
9780 * vc/smerge-mode.el (smerge-mode):
9781 Doc fixes (minor mode argument).
9782
9783 2012-02-07 Eli Zaretskii <eliz@gnu.org>
9784
9785 * ls-lisp.el (ls-lisp-sanitize): New function.
9786 (ls-lisp-insert-directory): Use it to fix or remove any elements
9787 in file-alist with missing attributes. (Bug#4673)
9788
9789 2012-02-07 Alan Mackenzie <acm@muc.de>
9790
9791 Fix spurious recognition of c-in-knr-argdecl.
9792
9793 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
9794 putative K&R region.
9795
9796 2012-02-07 Alan Mackenzie <acm@muc.de>
9797
9798 * progmodes/cc-engine.el (c-forward-objc-directive):
9799 Prevent looping in "#pragma mark @implementation".
9800
9801 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
9802
9803 * notifications.el (notifications-on-closed-signal): Make `reason'
9804 optional. (Bug#10744)
9805
9806 2012-02-07 Glenn Morris <rgm@gnu.org>
9807
9808 * emacs-lisp/easy-mmode.el (define-minor-mode):
9809 Doc fixes for the macro and the mode it defines.
9810
9811 * image.el (imagemagick-types-inhibit): Doc fix.
9812
9813 * cus-start.el (imagemagick-render-type): Add it.
9814
9815 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
9816
9817 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
9818 Set the default at load time, too, so that `font-lock-fontify-buffer'
9819 can be called without setting up the entire mode first. This fixes
9820 a bug in `mm-inline-text' with C MIME parts.
9821
9822 2012-02-06 Chong Yidong <cyd@gnu.org>
9823
9824 * simple.el (list-processes--refresh): Delete exited processes
9825 (Bug#8094).
9826
9827 * comint.el (comint-next-prompt): next-single-char-property-change
9828 and prev-single-char-property-change never return nil (Bug#8657).
9829
9830 * custom.el (defcustom): Doc fix (Bug#9711).
9831
9832 2012-02-05 Chong Yidong <cyd@gnu.org>
9833
9834 * cus-edit.el (custom-variable-reset-backup): Quote the value
9835 before storing it in the customized-value property (Bug#6712).
9836 (custom-display): Add a customization type tag.
9837 (custom-buffer-create-internal): Improve tooltip message.
9838
9839 * wid-edit.el (widget-field-value-get): New optional arg to
9840 suppress trailing whitespace truncation.
9841 (character): Use it (Bug#2689).
9842
9843 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
9844
9845 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
9846 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
9847
9848 2012-02-05 Chong Yidong <cyd@gnu.org>
9849
9850 * cus-edit.el (custom-variable-value-create): For mismatched
9851 types, show the current value (Bug#7600).
9852
9853 * custom.el (defcustom): Doc fix.
9854
9855 2012-02-05 Glenn Morris <rgm@gnu.org>
9856
9857 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
9858
9859 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
9860
9861 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
9862 (pp-buffer): Use `ignore-errors', `looking-at-p'.
9863 (pp-last-sexp): Use `looking-at-p'.
9864
9865 2012-02-04 Glenn Morris <rgm@gnu.org>
9866
9867 * files.el (revert-buffer):
9868 Doc fix (mention revert-buffer-in-progress-p).
9869
9870 * emacs-lisp/ert-x.el (ert-simulate-command):
9871 Check deferred-action-list (which is obsolete) is bound.
9872
9873 * subr.el (with-wrapper-hook): Doc fixes.
9874
9875 * simple.el (filter-buffer-substring-functions)
9876 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
9877
9878 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
9879
9880 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
9881 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
9882
9883 2012-02-04 Leo Liu <sdl.web@gmail.com>
9884
9885 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
9886
9887 2012-02-04 Glenn Morris <rgm@gnu.org>
9888
9889 * image.el (image-extension-data): Add obsolete alias.
9890
9891 * isearch.el (isearch-update): Doc fix.
9892
9893 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
9894
9895 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
9896
9897 2012-02-03 Glenn Morris <rgm@gnu.org>
9898
9899 * image.el (image-animated-p): Doc fix. Use image-animated-types.
9900 (image-animate-timeout): Doc fix.
9901
9902 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
9903
9904 2012-02-02 Glenn Morris <rgm@gnu.org>
9905
9906 * server.el (server-auth-dir): Doc fix.
9907 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
9908
9909 * subr.el (run-mode-hooks): Doc fix.
9910
9911 2012-02-02 Juri Linkov <juri@jurta.org>
9912
9913 * image-mode.el (image-toggle-display-image): Remove tautological
9914 `major-mode' from the `derived-mode-p' test.
9915
9916 2012-02-02 Kenichi Handa <handa@m17n.org>
9917
9918 * composite.el (compose-region): Cancel previous change.
9919
9920 2012-02-02 Kenichi Handa <handa@m17n.org>
9921
9922 * composite.el (compose-region, compose-string): Signal error for
9923 a null string component (Bug#6988).
9924
9925 2012-02-01 Chong Yidong <cyd@gnu.org>
9926
9927 * view.el (view-buffer-other-window, view-buffer-other-frame):
9928 Handle special modes like view-buffer (Bug#10650).
9929 (view-buffer): Simplify.
9930
9931 * frame.el (set-frame-font): Tweak meaning of third argument.
9932
9933 * dynamic-setting.el (font-setting-change-default-font):
9934 Use set-frame-font (Bug#9982).
9935
9936 2012-02-01 Glenn Morris <rgm@gnu.org>
9937
9938 * progmodes/compile.el (compilation-internal-error-properties):
9939 Respect compilation-first-column in the "*compilation*" buffer.
9940
9941 * emacs-lisp/easy-mmode.el (define-minor-mode):
9942 Relax :variable's test for a named function.
9943
9944 2012-01-31 Alan Mackenzie <acm@muc.de>
9945
9946 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
9947 off by one error.
9948
9949 2012-01-31 Chong Yidong <cyd@gnu.org>
9950
9951 * frame.el (set-frame-font): New arg ALL-FRAMES.
9952
9953 * menu-bar.el (menu-set-font): Use set-frame-font.
9954
9955 * faces.el (face-spec-reset-face): Don't apply unspecified
9956 attribute values to the default face.
9957
9958 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
9959
9960 * progmodes/cwarn.el (cwarn): Remove dead link.
9961 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
9962 Remove * from defcustom docstrings.
9963 (turn-on-cwarn-mode): Make obsolete.
9964 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
9965 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
9966
9967 2012-01-31 Glenn Morris <rgm@gnu.org>
9968
9969 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
9970 Fix :variable handling of mode a symbol not equal to modefun.
9971 Allow named functions to be used as the cdr of :variable.
9972
9973 2012-01-30 Glenn Morris <rgm@gnu.org>
9974
9975 * emacs-lisp/authors.el (authors-fixed-entries):
9976 Remove reference to deleted file rnewspost.el.
9977
9978 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
9979
9980 * window.el (window-with-parameter): Remove unused variable `windows'.
9981 (window--side-check): Remove unused variable `code'.
9982 (window--resize-siblings): Remove unused variable `first'.
9983 (adjust-window-trailing-edge): Remove unused variable `failed'.
9984 (window-deletable-p, window--delete): Remove unused variable `buffer'.
9985 Use `let', not `let*'.
9986 (balance-windows-2): Remove unused variable `found'.
9987 (window--state-put-2): Remove unused variable `splits'.
9988 (window-state-put): Remove unused variable `selected'.
9989 (same-window-p): Use `string-match-p'.
9990 (display-buffer-assq-regexp): Remove unused variable `value'.
9991 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9992 Mark argument ALIST as ignored.
9993 (pop-to-buffer): Remove unused variable `old-window'.
9994
9995 2012-01-29 Eli Zaretskii <eliz@gnu.org>
9996
9997 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
9998 and .lzma compressed files.
9999
10000 2012-01-29 Chong Yidong <cyd@gnu.org>
10001
10002 * frame.el (window-system-default-frame-alist): Doc fix.
10003
10004 * dynamic-setting.el (font-setting-change-default-font): Don't
10005 change the default face if SET-FONT argument is non-nil (Bug#9982).
10006
10007 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10008
10009 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10010
10011 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
10012
10013 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10014 breakpoints in files outside current directory (Bug#6098).
10015
10016 2012-01-29 Chong Yidong <cyd@gnu.org>
10017
10018 * progmodes/python.el: Require ansi-color at top-level.
10019
10020 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10021 Define and use in Emacs Lisp mode (Bug#9360).
10022 (lisp-mode-abbrev-table): Add doc.
10023 (lisp-mode-variables): Don't set local-abbrev-table.
10024 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10025
10026 2012-01-28 Roland Winkler <winkler@gnu.org>
10027
10028 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10029
10030 2012-01-28 Roland Winkler <winkler@gnu.org>
10031
10032 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10033 (bibtex-set-dialect): Use it. Either set global values of
10034 dialect-dependent variables or bind these variables buffer-locally
10035 (Bug#10254).
10036 (bibtex-mode): Call bibtex-set-dialect via
10037 hack-local-variables-hook.
10038 (bibtex-dialect): Update docstring.
10039 Add safe-local-variable predicate.
10040 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10041 bibtex-set-dialect.
10042 (bibtex-mode-map): Define menu for each dialect.
10043 (bibtex-entry): Fix docstring.
10044
10045 2012-01-28 Chong Yidong <cyd@gnu.org>
10046
10047 * eshell/esh-arg.el (eshell-quote-argument): New function.
10048
10049 * eshell/esh-ext.el (eshell-invoke-batch-file):
10050 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10051 first arg to eshell-parse-command (Bug#10523).
10052
10053 2012-01-28 Drew Adams <drew.adams@oracle.com>
10054
10055 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10056 `default-directory' is non-nil.
10057
10058 2012-01-28 Eli Zaretskii <eliz@gnu.org>
10059
10060 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10061 line that displays system-configuration-options. (Bug#9924)
10062
10063 2012-01-28 Drew Adams <drew.adams@oracle.com>
10064
10065 * descr-text.el (describe-char): Show information about POS, in
10066 addition to information about the character at POS. Improve and
10067 update the doc string. Change "code point" to "code point in
10068 charset", to avoid confusion with the character's Unicode code
10069 point shown above that. (Bug#10129)
10070
10071 2012-01-28 Eli Zaretskii <eliz@gnu.org>
10072
10073 * descr-text.el (describe-char): Show the raw character, not only
10074 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10075 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10076 for the reasons.
10077
10078 2012-01-28 Phil Hagelberg <phil@hagelb.org>
10079
10080 * emacs-lisp/package.el (package-install):
10081 Run package-refresh-contents if there is no archive yet (Bug#9798).
10082
10083 2012-01-28 Chong Yidong <cyd@gnu.org>
10084
10085 * emacs-lisp/package.el (package-maybe-load-descriptor):
10086 New function, split from package-maybe-load-descriptor.
10087 (package-maybe-load-descriptor): Use it.
10088 (package-download-transaction): Fully load required packages
10089 inside the loop, so that `require' calls work (Bug#10593).
10090 (package-install): No need to call package-initialize now.
10091
10092 2012-01-28 Chong Yidong <cyd@gnu.org>
10093
10094 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10095
10096 * tooltip.el (tooltip-mode): Doc fix.
10097 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10098
10099 * frame.el (set-cursor-color): Doc fix (Bug#352).
10100
10101 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10102 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10103
10104 * cus-edit.el (custom-buffer-create-internal): Fix search button
10105 action (Bug#10542).
10106 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
10107
10108 2012-01-27 Eduard Wiebe <usenet@pusto.de>
10109
10110 * dired.el (dired-mark-files-regexp):
10111 Include any subdirectory components. (Bug#10445)
10112
10113 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10114
10115 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10116 Handle [host]:port syntax. (Bug#10533)
10117
10118 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
10119
10120 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10121
10122 2012-01-26 Glenn Morris <rgm@gnu.org>
10123
10124 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10125 * term.el (term-raw-escape-map): Use Control-X-prefix.
10126 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10127
10128 2012-01-25 Martin Rudalics <rudalics@gmx.at>
10129
10130 * window.el (window-state-get, window--state-get-1): Don't deal
10131 with fixed-sizeness of windows. Simplify code.
10132
10133 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10134
10135 * window.el (window--state-get-1, window--state-put-2):
10136 Don't save and restore the mark.
10137
10138 2012-01-25 Chong Yidong <cyd@gnu.org>
10139
10140 * custom.el (custom-variable-p): Doc fix.
10141
10142 2012-01-25 Glenn Morris <rgm@gnu.org>
10143
10144 * dired.el (dired-goto-file): Handle some of the more common
10145 characters that `ls -b' escapes. (Bug#10596)
10146
10147 * progmodes/compile.el (compilation-next-error-function):
10148 Respect compilation-first-column in the "*compilation*" buffer.
10149 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10150
10151 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10152
10153 2012-01-24 Glenn Morris <rgm@gnu.org>
10154
10155 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10156
10157 2012-01-24 Julien Danjou <julien@danjou.info>
10158
10159 * color.el (color-rgb-to-hsl): Fix value computing.
10160 (color-hue-to-rgb): New function.
10161 (color-hsl-to-rgb): New function.
10162 (color-clamp, color-saturate-hsl, color-saturate-name)
10163 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10164 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10165
10166 2012-01-24 Glenn Morris <rgm@gnu.org>
10167
10168 * vc/vc-rcs.el (vc-rcs-create-tag):
10169 * vc/vc-sccs.el (vc-sccs-create-tag):
10170 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10171
10172 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10173
10174 * eshell/esh-util.el (eshell-read-hosts-file):
10175 Skip comment lines. (Bug#10549)
10176
10177 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10178
10179 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
10180
10181 * subr.el (display-delayed-warnings): Doc fix.
10182 (collapse-delayed-warnings): New function to collapse identical
10183 adjacent warnings.
10184 (delayed-warnings-hook): Add it.
10185
10186 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
10187
10188 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10189
10190 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10191 (tramp-default-user-alist): Don't add "pscp".
10192 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10193 property "login-as", if set. (Bug#10530)
10194
10195 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
10196
10197 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10198 "plink1" and "psftp". (Bug#10530)
10199
10200 2012-01-21 Kenichi Handa <handa@m17n.org>
10201
10202 * international/mule-cmds.el (prefer-coding-system): Show a
10203 warning message if the default value of file-name-coding-system
10204 was not changed.
10205
10206 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10207
10208 * windmove.el (windmove-reference-loc):
10209 Fix windmove-reference-loc miscalculation.
10210
10211 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10212
10213 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10214 default unit.
10215
10216 2012-01-21 Glenn Morris <rgm@gnu.org>
10217
10218 * international/mule.el (auto-coding-alist): Add .tbz.
10219
10220 * files.el (local-enable-local-variables): Doc fix.
10221 (inhibit-local-variables-regexps): Rename from
10222 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10223 Doc fix. Add some extensions from auto-coding-alist.
10224 (inhibit-local-variables-suffixes):
10225 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10226 (inhibit-local-variables-p):
10227 New function, extracted from set-auto-mode-1.
10228 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10229 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10230 (hack-local-variables): Doc fix. Make the mode-only case
10231 respect enable-local-variables and friends.
10232 Respect inhibit-local-variables-regexps for file-locals, but
10233 not for directory-locals.
10234 (set-visited-file-name):
10235 Take account of inhibit-local-variables-regexps.
10236 Whether it applies may change as the file name is changed.
10237 * jka-cmpr-hook.el (jka-compr-install):
10238 * jka-compr.el (jka-compr-uninstall):
10239 Update for inhibit-first-line-modes-suffixes name change.
10240
10241 2012-01-20 Martin Rudalics <rudalics@gmx.at>
10242
10243 * help-macro.el (make-help-screen): Temporarily restore original
10244 binding for minor-mode-map-alist (Bug#10454).
10245
10246 2012-01-19 Julien Danjou <julien@danjou.info>
10247
10248 * color.el (color-name-to-rgb): Use the white color to find the max
10249 color component value and return correctly computed values.
10250 (color-name-to-rgb): Add missing float conversion for max value.
10251
10252 2012-01-19 Martin Rudalics <rudalics@gmx.at>
10253
10254 * window.el (window--state-get-1, window-state-get): Do not use
10255 special state value for window-persistent-parameters.
10256 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
10257 (window--state-put-2): Reset all window parameters to nil before
10258 assigning values of persistent parameters.
10259
10260 2012-01-18 Alan Mackenzie <acm@muc.de>
10261
10262 Eliminate sluggishness and hangs in fontification of "semicolon
10263 deserts".
10264
10265 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10266 Change value 10000 -> 3000.
10267 (c-state-safe-place): Reformulate so it doesn't stack up an
10268 infinite number of wrong entries in c-state-nonlit-pos-cache.
10269 (c-determine-limit-get-base, c-determine-limit): New functions to
10270 determine backward search limits disregarding literals.
10271 (c-find-decl-spots): Amend commenting.
10272 (c-cheap-inside-bracelist-p): New function which detects "={".
10273
10274 * progmodes/cc-fonts.el
10275 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10276 backward search.
10277 (c-font-lock-declarations): Fix an occurrence of point being
10278 undefined. Check additionally for point being in a bracelist or
10279 near a macro invocation without a semicolon so as to avoid a
10280 fruitless time consuming search for a declarator. Give a more
10281 precise search limit for declarators using the new
10282 c-determine-limit.
10283
10284 2012-01-18 Glenn Morris <rgm@gnu.org>
10285
10286 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10287 (set-auto-mode): Doc fixes.
10288
10289 2012-01-17 Glenn Morris <rgm@gnu.org>
10290
10291 * isearch.el (search-nonincremental-instead): Fix doc typo.
10292
10293 * dired.el (dired-insert-directory): Handle newlines in directory name.
10294 (dired-build-subdir-alist): Unescape newlines in directory name.
10295
10296 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
10297
10298 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10299 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10300 (tramp-action-terminal): Use it. (Bug#10530)
10301
10302 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10303
10304 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10305
10306 2012-01-16 Martin Rudalics <rudalics@gmx.at>
10307
10308 * window.el (window-state-ignored-parameters): Remove variable.
10309 (window--state-get-1): Rename argument MARKERS to IGNORE.
10310 Handle persistent window parameters. Make copy of clone-of
10311 parameter only if requested. (Bug#10348)
10312 (window--state-put-2): Install a window parameter only if it has
10313 a non-nil value or an existing parameter shall be overwritten.
10314
10315 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
10316
10317 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10318
10319 2012-01-14 Eli Zaretskii <eliz@gnu.org>
10320
10321 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10322 don't pass the (nil) value of `upnode' to string-match.
10323
10324 2012-01-14 Chong Yidong <cyd@gnu.org>
10325
10326 * startup.el (command-line): Fix X resource class for cursorColor.
10327 Fix values recognized by the cursorBlink resource.
10328
10329 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10330
10331 * epg.el (epg--make-temp-file): Avoid permission race condition
10332 when running on old Emacs versions (bug#10403).
10333
10334 2012-01-14 Glenn Morris <rgm@gnu.org>
10335
10336 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10337
10338 2012-01-13 Alan Mackenzie <acm@muc.de>
10339
10340 Fix filling for when filladapt mode is enabled.
10341
10342 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10343 c-mask-paragraph, pass in `fill-paragraph' rather than
10344 `fill-region-as-paragraph'. (This is a reversion of a previous
10345 change.)
10346 * progmodes/cc-mode.el (c-basic-common-init):
10347 Make fill-paragraph-handle-comment buffer local and set it to nil.
10348
10349 2012-01-13 Glenn Morris <rgm@gnu.org>
10350
10351 * dired.el (dired-switches-escape-p): New function.
10352 (dired-insert-directory): Use dired-switches-escape-p.
10353 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10354
10355 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10356
10357 2012-01-12 Glenn Morris <rgm@gnu.org>
10358
10359 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10360 changes in adaptive-fill-regexp. (Bug#10276)
10361
10362 2012-01-11 Alan Mackenzie <acm@muc.de>
10363
10364 Fix Emacs bug #10463 - put `widen's around the critical spots.
10365
10366 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
10367 widen around each invocation of c-state-pp-to-literal. Remove an
10368 unused let variable.
10369
10370 2012-01-11 Glenn Morris <rgm@gnu.org>
10371
10372 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
10373 Doc fix.
10374
10375 2012-01-10 Chong Yidong <cyd@gnu.org>
10376
10377 * net/network-stream.el (network-stream-open-starttls):
10378 Avoid emitting a confusing error message when the server gives a bad
10379 response to the capability command.
10380
10381 2012-01-10 Glenn Morris <rgm@gnu.org>
10382
10383 * mail/unrmail.el (unrmail): Tweak previous change.
10384
10385 2012-01-09 Chong Yidong <cyd@gnu.org>
10386
10387 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10388
10389 2012-01-08 Alan Mackenzie <acm@muc.de>
10390
10391 Optimise font locking in long enum definitions.
10392
10393 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10394 arm to a cond form to handle enums.
10395 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10396 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10397
10398 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
10399
10400 * files.el (move-file-to-trash): Preserve default file modes on error.
10401 (Bug#10401)
10402
10403 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10404
10405 * faces.el (set-face-attribute): Clarify the meaning of the nil
10406 frame (bug#10294).
10407
10408 * subr.el (with-selected-frame): Mention that the selected frame
10409 is restored (bug#9980).
10410
10411 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10412 (bug#9759).
10413
10414 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
10415 (password-read): Don't autoload unused function.
10416
10417 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
10418
10419 * progmodes/which-func.el (which-func-mode): Turn into a
10420 non-interactive function and mark as obsolete (bug#10428).
10421
10422 2012-01-06 Chong Yidong <cyd@gnu.org>
10423
10424 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10425 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10426 functions, along with 1 and -1.
10427
10428 2012-01-06 Eli Zaretskii <eliz@gnu.org>
10429
10430 * time.el (display-time-load-average)
10431 (display-time-default-load-average): Doc fixes. See the thread
10432 starting at
10433 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10434 for the details.
10435
10436 2012-01-06 Glenn Morris <rgm@gnu.org>
10437
10438 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10439 has no messages. (Bug#10377)
10440
10441 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10442 than Info-edit. (Bug#10385)
10443
10444 * time.el (display-time-load-average, display-time-next-load-average):
10445 Doc fixes.
10446
10447 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10448 local setting of buffer-read-only to the input buffer. (Bug#10419)
10449
10450 * calendar/calendar.el (calendar-mode):
10451 Locally set scroll-margin to 0. (Bug#10379)
10452
10453 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
10454
10455 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10456
10457 2012-01-05 Glenn Morris <rgm@gnu.org>
10458
10459 * eshell/em-unix.el (diff-no-select): Autoload it.
10460 (eshell/diff): Use diff-no-select. (Bug#10420)
10461
10462 2012-01-05 Chong Yidong <cyd@gnu.org>
10463
10464 * shell.el (shell-dynamic-complete-functions): Revert last change.
10465 (shell-command-completion-function): New function.
10466 (shell-completion-vars): Use it to implement
10467 shell-completion-execonly (Bug#10417).
10468
10469 * custom.el (enable-theme): Don't set custom-safe-themes.
10470
10471 * cus-theme.el (custom-theme-merge-theme):
10472 Ignore custom-enabled-themes and custom-safe-themes.
10473
10474 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10475
10476 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10477 first prompt in `sql-interacive-mode'.
10478 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
10479 keywords.
10480 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
10481 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10482 context of original buffer. Invoke `sql-login-hook'.
10483
10484 2012-01-04 Eli Zaretskii <eliz@gnu.org>
10485
10486 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10487 letters in cite-prefix.
10488
10489 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10490
10491 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10492
10493 2012-01-03 Chong Yidong <cyd@gnu.org>
10494
10495 * shell.el (shell-dynamic-complete-functions):
10496 Put pcomplete-completions-at-point, so as to try
10497 comint-filename-completion first (Bug#10417).
10498
10499 2012-01-02 Richard Stallman <rms@gnu.org>
10500
10501 * battery.el (battery-status-function):
10502 Detect when to use battery-yeeloong-sysfs.
10503 (battery-echo-area-format): Add string for Yeeloong.
10504 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10505 (battery-yeeloong-sysfs): New function.
10506
10507 2012-01-02 Chong Yidong <cyd@gnu.org>
10508
10509 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10510 (dirtrack): Merge code for handling relative filenames in prompt
10511 from shell-dir-cookie-watcher.
10512 (dirtrack-debug-message): New arg to avoid excess format calls.
10513
10514 * shell.el (shell-dir-cookie-re): Variable deleted.
10515 (shell-dir-cookie-watcher): Function deleted.
10516 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10517 with dirtrack-mode.
10518
10519 2012-01-01 Eli Zaretskii <eliz@gnu.org>
10520
10521 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10522 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
10523 libgnutls-26.dll.
10524
10525 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10526
10527 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10528
10529 2011-12-31 Eli Zaretskii <eliz@gnu.org>
10530
10531 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10532 headers of non-MIME messages, when rmail-enable-mime is non-nil.
10533
10534 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
10535
10536 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10537 also for alternative shells.
10538 (tramp-open-connection-setup-interactive-shell): Check, whether
10539 the shell is a busybox.
10540 (tramp-send-command): Don't suppress multiple prompts for
10541 busyboxes, it hurts.
10542
10543 2011-12-28 Chong Yidong <cyd@gnu.org>
10544
10545 * progmodes/gdb-mi.el (gdb-get-source-file-list)
10546 (gdb-get-source-file): Move mode line update to
10547 gdb-get-source-file (Bug#10087).
10548
10549 2011-12-25 Chong Yidong <cyd@gnu.org>
10550
10551 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10552 gud-gdb-marker-filter without taking it as an argument.
10553 (gud-gdb-run-command-fetch-lines): Caller changed.
10554 (gud-gdb-completion-function): New variable.
10555 (gud-gdb-completion-at-point): Use it.
10556 (gud-gdb-completions-1): Split from gud-gdb-completions.
10557
10558 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10559 function as separate arguments.
10560 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10561 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10562 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10563 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10564 (gdb-stopped, def-gdb-auto-update-trigger)
10565 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
10566 (gdb-get-changed-registers, gdb-get-main-selected-frame):
10567 Callers changed.
10568 (gud-gdbmi-completions): New function.
10569 (gdb): Use it for generating the completion table.
10570
10571 2011-12-24 Alan Mackenzie <acm@muc.de>
10572
10573 Introduce a mechanism to widen the region used in context font
10574 locking. Use this to protect declarations from losing their contexts.
10575
10576 * progmodes/cc-langs.el (c-before-font-lock-functions):
10577 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
10578 (c-before-context-fontification-functions): New defvar, a list of
10579 functions to be run just before context (etc.) font locking.
10580
10581 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
10582 New, functionality extracted from
10583 c-neutralize-syntax-in-and-mark-CPP.
10584 (c-in-after-change-fontification): New variable.
10585 (c-after-change): Set c-in-after-change-fontification.
10586 (c-set-fl-decl-start): Rejig its interface, so it can be called
10587 from both after-change and context fontifying.
10588 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10589 New functions.
10590 (c-standard-font-lock-fontify-region-function): New variable.
10591 (c-font-lock-fontify-region): New function.
10592
10593 2011-12-24 Juri Linkov <juri@jurta.org>
10594
10595 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10596 (Bug#10348)
10597
10598 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
10599
10600 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10601 existence of source file. (Bug#10325)
10602
10603 2011-12-23 Alan Mackenzie <acm@muc.de>
10604
10605 Fix unstable fontification inside templates.
10606
10607 * progmodes/cc-langs.el (c-before-font-lock-functions):
10608 Newly created from the singular version. The (c c++ objc) entry now
10609 additionally has c-set-fl-decl-start. The other languages (apart
10610 from AWK) have that as a single entry.
10611
10612 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10613 The functionality for "local" declarations has been extracted to
10614 c-set-fl-decl-start.
10615
10616 * progmodes/cc-mode.el (c-common-init, c-after-change):
10617 Changes due to pluralisation of c-before-font-lock-functions.
10618 (c-set-fl-decl-start): New function, extracted from
10619 c-font-lock-enclosing-decls and enhanced.
10620
10621 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
10622
10623 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
10624
10625 2011-12-22 Juri Linkov <juri@jurta.org>
10626
10627 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
10628
10629 2011-12-22 Chong Yidong <cyd@gnu.org>
10630
10631 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
10632
10633 2011-12-21 Drew Adams <drew.adams@oracle.com>
10634
10635 * files.el (file-remote-p): Fix docstring. (Bug#10319)
10636
10637 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10638
10639 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
10640
10641 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
10642
10643 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
10644 highlighting and support. Fix up comments for capitalization.
10645 (cfengine-mode-debug): New var.
10646 (cfengine3-mode): Change the modeline indicator to "CFE3".
10647 (cfengine3-font-lock-keywords): Improve defun highlighting.
10648 (cfengine2-actions): Rename from `cfengine-actions'.
10649 (cfengine2-font-lock-keywords): Rename from
10650 `cfengine-font-lock-keywords'.
10651 (cfengine2-imenu-expression): Rename from
10652 `cfengine-imenu-expression'.
10653 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
10654 (cfengine2-beginning-of-defun): Rename from
10655 `cfengine-beginning-of-defun'.
10656 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
10657 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
10658 (cfengine2-mode): Rename from `cfengine-mode'. Change the
10659 modeline indicator to "CFE2".
10660 (cfengine-mode): Defalias to `cfengine-auto-mode'.
10661 (cfengine-mode-abbrevs): Mark obsolete.
10662
10663 2011-12-21 Chong Yidong <cyd@gnu.org>
10664
10665 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
10666 filename argument.
10667
10668 2011-12-20 Martin Rudalics <rudalics@gmx.at>
10669
10670 * window.el (window-normalize-buffer-to-display): Remove.
10671 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
10672
10673 2011-12-19 Chong Yidong <cyd@gnu.org>
10674
10675 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
10676 Don't signal an error in a predicate function; return non-nil.
10677 (vc-dir-mark-file): Move the error here.
10678 (vc-dir-mark-unmark): If acting on the region, keep going if one
10679 of the entries cannot be marked/unmarked.
10680 (vc-dir-mark-all-files): If current entry is a directory, mark
10681 only child files, as documented.
10682
10683 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
10684
10685 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
10686 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
10687 addition.
10688
10689 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
10690
10691 * term/ns-win.el (ns-get-selection-internal)
10692 (ns-store-selection-internal): Declare.
10693 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
10694 Declare as obsolete.
10695 (ns-get-pasteboard, ns-paste-secondary):
10696 Use ns-get-selection-internal.
10697 (ns-set-pasteboard, ns-copy-including-secondary):
10698 Use ns-store-selection-internal.
10699
10700 2011-12-17 Chong Yidong <cyd@gnu.org>
10701
10702 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
10703 (vc-deduce-fileset): Doc fix.
10704
10705 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
10706
10707 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
10708
10709 2011-12-13 Sam Steingold <sds@gnu.org>
10710
10711 * man.el (Man-getpage-in-background): When running under a
10712 window-system, ignore $MANWIDTH and $COLUMNS.
10713
10714 2011-12-15 Kenichi Handa <handa@m17n.org>
10715
10716 * language/ethio-util.el: Change coding tag to utf-8-emacs.
10717 (setup-ethiopic-environment-internal): Comment out key-binding for
10718 ethio-toggle-punctuation.
10719
10720 2011-12-13 Alan Mackenzie <acm@muc.de>
10721
10722 Add the switch statement to AWK Mode.
10723
10724 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
10725 "default" to the keywords regexp.
10726
10727 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
10728 expression as the rest.
10729 (c-nonlabel-token-key): Allow string literals for AWK.
10730 Refactor for the other modes.
10731
10732 Large brace-block initialisation makes CC Mode slow: Fix.
10733 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
10734 routines. Limit backward searching in c-font-lock-enclosing.decl.
10735
10736 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
10737 pp-state and literal type in addition to the limits.
10738 (c-state-safe-place): New defun, extracted from c-state-literal-at.
10739 (c-state-literal-at): Use the above new defun.
10740 (c-slow-in-literal, c-fast-in-literal): Remove.
10741 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
10742
10743 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
10744 being in a literal. Add a limit for backward searching.
10745
10746 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
10747 c-slow-in-literal.
10748
10749 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
10750
10751 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
10752
10753 2011-12-13 Martin Rudalics <rudalics@gmx.at>
10754
10755 * window.el (delete-other-windows): Use correct frame in call to
10756 window-with-parameter.
10757
10758 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
10759
10760 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
10761 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
10762 (makefile-gmake-statements, makefile-makepp-statements):
10763 Use it and add new makepp keywords.
10764 (makefile-makepp-font-lock-keywords): Add new patterns.
10765 (makefile-match-function-end): Match new [...] and [[...]].
10766
10767 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
10768
10769 * ses.el (ses-call-printer-return, ses-cell-property-get)
10770 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
10771 (ses-create-cell-variable, ses-reset-header-string)
10772 (ses-cell-set-formula, ses-repair-cell-reference-all)
10773 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
10774 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
10775 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
10776 (ses-aset-with-undo, ses-load, ses-truncate-cell)
10777 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
10778 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
10779 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
10780 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
10781 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
10782 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
10783 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
10784 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
10785
10786 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
10787
10788 * ses.el: The overall change is to add cell renaming, that is
10789 setting fancy names for cell symbols other than name matching
10790 "\\`[A-Z]+[0-9]+\\'" regexp .
10791 (ses-create-cell-variable): New defun.
10792 (ses-relocate-formula): Relocate formulas only for cells the
10793 symbols of which are not renamed, i.e. symbols whose names do not
10794 match regexp "\\`[A-Z]+[0-9]+\\'".
10795 (ses-relocate-all): Relocate values only for cells the symbols of
10796 which are not renamed.
10797 (ses-load): Create cells variables as the (ses-cell ...) are read,
10798 in order to check row col consistency with cell symbol name only
10799 for cells that are not renamed.
10800 (ses-replace-name-in-formula): New defun.
10801 (ses-rename-cell): New defun.
10802
10803 2011-12-11 Chong Yidong <cyd@gnu.org>
10804
10805 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
10806 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
10807
10808 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
10809
10810 * window.el (other-window): Fix docstring.
10811
10812 2011-12-10 Eli Zaretskii <eliz@gnu.org>
10813
10814 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
10815 `from' or `to' address before taking its substring.
10816 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
10817 encoded name is chopped in the middle of the encoded string, and
10818 thus displayed encoded.
10819
10820 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
10821
10822 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
10823
10824 2011-12-10 Eli Zaretskii <eliz@gnu.org>
10825
10826 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
10827 to use texinfo-update-node and commands that call it if the
10828 Texinfo file uses @node lines without next/prev/up pointers.
10829 Correct outdated description about texinfo-master-menu.
10830 (texinfo-all-menus-update, texinfo-master-menu)
10831 (texinfo-update-node, texinfo-every-node-update)
10832 (texinfo-multiple-files-update): Doc fix. Warn against updating
10833 all the @node lines.
10834 (texinfo-master-menu): Only call texinfo-update-node if the prefix
10835 argument is numeric. Explain better in the doc string what the
10836 function really does.
10837 (texinfo-insert-master-menu-list): Improve the error message
10838 displayed if there's no menu in the Top node.
10839 (Bug#2975) See also this thread:
10840 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
10841
10842 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
10843
10844 * speedbar.el (speedbar-supported-extension-expressions):
10845 Add .adb and .ads, commonly used for Ada source code (bug#10256).
10846
10847 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
10848
10849 * printing.el (pr-mode-alist):
10850 * simple.el (filter-buffer-substring-functions)
10851 (completion-list-insert-choice-function):
10852 * window.el (window-with-parameter, window-atom-root)
10853 (window-sides-slots, window-size-fixed, window-min-delta)
10854 (window-max-delta, window--resize-mini-window)
10855 (window--resize-child-windows-normal, window-tree)
10856 (delete-other-windows, quit-window, split-window)
10857 (display-buffer-record-window, special-display-buffer-names)
10858 (special-display-regexps, special-display-popup-frame)
10859 (same-window-p, split-window-sensibly)
10860 (display-buffer-overriding-action, display-buffer-alist)
10861 (display-buffer-base-action, display-buffer, switch-to-buffer)
10862 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
10863 (fit-window-to-buffer, recenter-positions)
10864 (mouse-autoselect-window-state, mouse-autoselect-window-select):
10865 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
10866 and remove unneeded backslashes in docstrings.
10867
10868 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10869
10870 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
10871
10872 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
10873 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
10874 end in ".mk".
10875 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
10876 when reading the makefile (bug#10116).
10877
10878 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
10879
10880 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
10881 (bug#10116).
10882
10883 2011-12-06 Glenn Morris <rgm@gnu.org>
10884
10885 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
10886
10887 2011-12-06 Chong Yidong <cyd@gnu.org>
10888
10889 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
10890
10891 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
10892
10893 * textmodes/table.el (table-shorten-cell): Fix typo.
10894
10895 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
10896
10897 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
10898
10899 2011-12-05 Eli Zaretskii <eliz@gnu.org>
10900
10901 * descr-text.el (describe-char): Fix display of strong
10902 right-to-left characters and directional embeddings and overrides.
10903
10904 * simple.el (what-cursor-position): Fix display of codepoints of
10905 strong right-to-left characters.
10906
10907 2011-12-05 Chong Yidong <cyd@gnu.org>
10908
10909 * faces.el (read-color): Doc fix.
10910
10911 2011-12-05 Glenn Morris <rgm@gnu.org>
10912
10913 * align.el (align--set-marker): Add doc-string.
10914 Don't try to move something that is not a marker. (Bug#10216)
10915
10916 2011-12-04 Glenn Morris <rgm@gnu.org>
10917
10918 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
10919 overly zealous deletion of trailing whitespace.
10920
10921 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
10922
10923 * server.el (server-delete-client): On Windows, do not try to delete
10924 the only terminal.
10925 (server-process-filter): On Windows, treat requests for a tty frame as
10926 if they were for a GUI frame if the running server is in GUI mode.
10927
10928 2011-12-03 Glenn Morris <rgm@gnu.org>
10929
10930 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
10931
10932 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10933
10934 * electric.el: Streamline electric-indent's hook.
10935 (electric-indent-chars): Revert to simple list.
10936 (electric-indent-functions): New var.
10937 (electric-indent-post-self-insert-function): Use it.
10938
10939 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
10940 there's no inferior buffer (bug#10196).
10941 (prolog-consult-compile): Don't use toggle-read-only.
10942
10943 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
10944
10945 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
10946 interrupt. (Bug#10187)
10947
10948 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10949
10950 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
10951 (bug#9160).
10952
10953 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
10954 (bug#10191).
10955
10956 2011-12-02 Juri Linkov <juri@jurta.org>
10957
10958 * info.el (Info-search): Display "end of manual" when Isearch
10959 reaches the end of single-file Info manual. (Bug#9918)
10960
10961 2011-12-02 Eli Zaretskii <eliz@gnu.org>
10962
10963 * isearch.el (isearch-message-prefix): Run the input method part
10964 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
10965
10966 2011-12-02 Juri Linkov <juri@jurta.org>
10967
10968 * isearch.el (isearch-occur): Use `word-search-regexp' for
10969 `isearch-word'.
10970 (isearch-search-and-update): Add condition for `isearch-word' and
10971 call `word-search-regexp'. (Bug#10145)
10972
10973 2011-12-01 Glenn Morris <rgm@gnu.org>
10974
10975 * eshell/em-hist.el (eshell-hist-initialize):
10976 Handle eshell-history-size nil and HISTSIZE set or unset.
10977 (eshell-history-file-name, eshell-history-size): Fix custom type.
10978
10979 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10980
10981 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
10982
10983 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
10984
10985 * progmodes/verilog-mode.el (verilog-pretty-expr):
10986 Rework verilog-pretty-expr to handle new assignment operators in system
10987 verilog, such as += *= and the like.
10988 (verilog-assignment-operator-re): Regular expression to find the
10989 assigment operator in a verilog assignment.
10990 (verilog-assignment-operation-re): Regular expression to find an
10991 assignment statement for pretty-expr.
10992 (verilog-in-attribute-p): Query returns true if point is in an
10993 attribute context; used to skip these for expression line up from
10994 pretty-expr.
10995 (verilog-in-parameter-p): Query returns true if point is in an
10996 parameter definition context; used to skip these for expression
10997 line up from pretty-expr.
10998 (verilog-in-parenthesis-p): Query returns true if point is in a
10999 parenthetical expression, specifically ( ) but not [ ] or { };
11000 used by pretty-expr.
11001 (verilog-just-one-space): If there is no space, don't add one.
11002 (verilog-get-lineup-indent-2): Specifically skip just attribute
11003 contexts for expression lineup, rather than skipping all
11004 parenthetical expressions.
11005 (verilog-calculate-indent): Fix comment, and fix indent.
11006 (verilog-do-indent): Indent declarations in lists (suggested by
11007 Joachim Lechner).
11008 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11009 skeleton items.
11010 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11011 by Alain Mellan).
11012
11013 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
11014
11015 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11016 parameters with embedded comments. Reported by Ray Stevens.
11017 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11018 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11019 Reported by Tim Holt.
11020 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11021 instantiated by upper module causing wrong expansion until AUTOed a
11022 second time. Reported by K C Buckenmaier.
11023 (verilog-diff-auto): Fix showing .* as a difference when
11024 `verilog-auto-star-save' off. Reported by Dan Dever.
11025 (verilog-auto-reset, verilog-read-always-signals)
11026 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11027 temporary signals in reset list if
11028 verilog-auto-reset-blocking-in-non is nil, and match assignment
11029 style to each signal's assignment type, bug381.
11030 Reported by Thomas Esposito.
11031 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11032 (verilog-uvm-statement-re): Support UVM indentation and
11033 highlighting, with old OVM keywords only.
11034 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
11035 Support AUTOTIEOFF creating non-wire data types.
11036 Suggested by Jonathan Greenlaw.
11037 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11038 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11039 (verilog-inject-sense, verilog-read-inst-pins)
11040 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11041 Fix mismatching parenthesis inside commented out code when deleting
11042 AUTOINST, bug383. Reported by Jonathan Greenlaw.
11043 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11044 non-numeric vector width. Reported by Alex Reed.
11045 (verilog-auto-ascii-enum): Add "onehot" option to work around not
11046 detecting signals with parameter widths. Reported by Alex Reed.
11047 (verilog-auto-delete-trailing-whitespace):
11048 With `verilog-auto-delete-trailing-whitespace' remove trailing
11049 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11050 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11051 Fix verilog-scan-cache corruption when running user AUTO expansion
11052 hooks that call indentation routines.
11053 (verilog-simplify-range-expression): Fix typo ignoring lower case
11054 identifiers.
11055 (verilog-delete-auto): Fix delete-autos to also remove user created
11056 automatics, as long as they start with AUTO.
11057 (verilog-batch-diff-auto, verilog-diff-auto)
11058 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11059 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11060 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11061 (verilog-in-paren-quick, verilog-re-search-backward-quick)
11062 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11063 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
11064 is disabled and its cache will get corrupt, causing AUTOS not to
11065 expand. Instead use only -quick functions.
11066 (verilog-scan-region): Fix scanning over escaped quotes.
11067 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11068 (verilog-re-search-backward-quick)
11069 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11070 related functions now ignore strings, to fix misparsing of strings
11071 with magic comments embedded in them.
11072 (verilog-read-auto-template):
11073 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11074 Reported by Brad Dobbie.
11075 (verilog-read-auto-template):
11076 Fix 'verilog-auto-inst-template-numbers' with comments.
11077 Reported by Brad Dobbie.
11078 (verilog-auto-inst, verilog-auto-inst-param)
11079 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11080 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11081 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
11082 debugging templates without merge conflicts, bug357.
11083 Reported by Brad Dobbie.
11084 (verilog-read-auto-template):
11085 Fix verilog-auto-inst-template-numbers with multiple templates.
11086 Reported by Brad Dobbie.
11087 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11088 abbrevs so user won't be asked to save.
11089 (verilog-read-auto-lisp-present): Fix to start at beginning of
11090 buffer in case called outside of verilog-auto.
11091 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11092 to "X-2". Reported by Matthew Myers.
11093 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11094 all inputs from module templates. Reported by Leith Johnson.
11095 (verilog-module-inside-filename-p): Fix locating programs as with
11096 modules.
11097 (verilog-auto-inst-port): Fix vl-width expressions when using
11098 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11099 (verilog-decls-get-regs, verilog-decls-get-signals,
11100 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11101 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11102 verilog-read-decls): Combine reg and wire structures into one var
11103 structure to represent SystemVerilog concepts.
11104 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11105 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
11106 (verilog-auto-wire-type, verilog-insert-definition):
11107 Add verilog-auto-wire-type and AUTOLOGIC to support using
11108 SystemVerilog "logic" keyword instead of "wire"/"reg".
11109 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11110 to declares outputs that also have assignments (presumably in an
11111 ifdef or generate if so there's not a driver conflict).
11112 Reported by Matthew Myers.
11113 (verilog-auto-declare-nettype, verilog-insert-definition):
11114 Add verilog-auto-declare-nettype to fix declarations using
11115 `default_nettype none. Reported by Julian Gorfajn.
11116 (verilog-read-always-signals-recurse, verilog-read-decls)
11117 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11118 malformed end statement, bug325. Reported by Joshua Wise and
11119 Andrew Drake.
11120 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11121 (verilog-inst-comment-re): Fix not deleting Interfaced comment
11122 when expanding .* in interfaces, bug320.
11123 Reported by Pierre-David Pfister.
11124 (verilog-read-module-name): Fix import statements between module
11125 name and open parenthesis, bug317.
11126 Reported by Pierre-David Pfister.
11127 (verilog-simplify-range-expression): Fix simplification of
11128 multiplications inside AUTOWIRE connections, bug303.
11129 (verilog-auto-inst-port): Support parameter expansion in
11130 multidimensional arrays.
11131 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11132 after "assert property". Reported by Julian Gorfajn.
11133 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11134 with multiplication, bug303.
11135 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11136 Reported by Jan Frode Lonnum.
11137
11138 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
11139
11140 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11141 (hfy-shell-file-name, hfy-shell):
11142 * international/fontset.el (x-decompose-font-name): Fix typos.
11143
11144 2011-11-29 Ken Brown <kbrown@cornell.edu>
11145
11146 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11147 (gdb-version): Remove defvar.
11148 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11149 (gdb-gud-context-command, gdb-non-stop-handler)
11150 (gdb-current-context-command, gdb-stopped): Use it.
11151 (gdb-init-1): Enable pretty printing here.
11152 (gdb-non-stop-handler): Don't enable pretty-printing here.
11153 Check to see if the target supports non-stop mode; if not, turn off
11154 non-stop mode. Use the following.
11155 (gdb-check-target-async): New defun.
11156 (gud-watch, gdb-stopped): Fix whitespace.
11157 (gdb-get-source-file): Don't try to display the source file if
11158 `gdb-main-file' is nil.
11159
11160 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11161
11162 * align.el: Try to generate fewer markers (bug#10047).
11163 (align--set-marker): New macro.
11164 (align-region): Use it.
11165
11166 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11167
11168 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11169
11170 2011-11-29 Chong Yidong <cyd@gnu.org>
11171
11172 * indent.el (indent-for-tab-command, indent-according-to-mode):
11173 Doc fix.
11174 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11175
11176 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
11177
11178 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11179 aware of remote file names. (Bug#10124)
11180
11181 2011-11-29 Chong Yidong <cyd@gnu.org>
11182
11183 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11184
11185 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11186
11187 * files.el (find-file): Don't use force-same-window (bug#10144).
11188 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11189 use pop-to-buffer if the selected window can't be used.
11190 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11191
11192 2011-11-28 Eli Zaretskii <eliz@gnu.org>
11193
11194 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11195 special-mode-map.
11196
11197 2011-11-28 Chong Yidong <cyd@gnu.org>
11198
11199 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11200
11201 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
11202
11203 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11204 gdb-get-source-file-list on gdb-create-source-file-list.
11205
11206 2011-11-26 Eli Zaretskii <eliz@gnu.org>
11207
11208 * whitespace.el (whitespace-newline): Use a different foreground
11209 color for 16-color light-background displays.
11210
11211 2011-11-24 Chong Yidong <cyd@gnu.org>
11212
11213 * window.el (display-buffer--special-action): Doc fix.
11214
11215 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
11216
11217 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11218 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11219 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11220 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11221 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11222 (avl-tree-stack-first):
11223 * emacs-lisp/cconv.el (cconv--analyse-use):
11224 * net/gnutls.el (gnutls-negotiate): Fix typos.
11225
11226 2011-11-24 Glenn Morris <rgm@gnu.org>
11227
11228 * lpr.el (lpr-windows-system, lpr-lp-system):
11229 * mail/binhex.el (binhex-begin-line):
11230 * progmodes/grep.el (grep-history, grep-find-history):
11231 * textmodes/flyspell.el:
11232 * vc/pcvs-defs.el (cvs-global-menu):
11233 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11234 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11235 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11236
11237 * net/tls.el: Fix case of "GnuTLS".
11238
11239 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11240
11241 * version.el (emacs-build-system): Give it a doc-string.
11242
11243 2011-11-24 Juri Linkov <juri@jurta.org>
11244
11245 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11246
11247 2011-11-24 Glenn Morris <rgm@gnu.org>
11248
11249 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11250 if called on a non-mime message just toggle the headers. (Bug#8006)
11251
11252 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
11253
11254 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11255 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11256 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11257 (allout-rebullet-heading, allout-open-sibtopic)
11258 (allout-toggle-current-subtree-encryption)
11259 (allout-toggle-subtree-encryption, allout-encrypt-string)
11260 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11261 (allout-distinctive-bullets-string, allout-auto-activation):
11262 * window.el (window-normalize-buffer-to-display):
11263 * progmodes/verilog-mode.el (verilog-batch-indent):
11264 * textmodes/bibtex.el (bibtex-field-braces-opt)
11265 (bibtex-field-strings-opt):
11266 * vc/cvs-status.el (cvs-tree-merge):
11267 Fix typos.
11268
11269 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
11270
11271 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11272 `non-essential' to t, in order to avoid remote connections.
11273
11274 2011-11-23 Eli Zaretskii <eliz@gnu.org>
11275
11276 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11277 On MS-DOS and MS-Windows, compare with loaddefs.el
11278 case-insensitively.
11279
11280 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11281
11282 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11283
11284 2011-11-23 Glenn Morris <rgm@gnu.org>
11285
11286 * paths.el (rmail-file-name): Reformat the doc-string so that it
11287 is picked up.
11288
11289 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11290 (rmail-auto-file): Ignore case in the "special" field names,
11291 as mail-fetch-field does for all others.
11292
11293 * mail/rmail.el (rmail-forward):
11294 * mail/rmailkwd.el (rmail-set-label):
11295 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11296 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11297
11298 * mail/rmail.el (rmail-current-message): Doc fix.
11299
11300 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11301
11302 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11303
11304 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11305
11306 2011-11-22 Glenn Morris <rgm@gnu.org>
11307
11308 * mail/rmailmm.el (test-rmail-mime-handler)
11309 (test-rmail-mime-bulk-handler)
11310 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11311
11312 2011-11-21 Juri Linkov <juri@jurta.org>
11313
11314 * calc/calc.el (calc-read-key-sequence):
11315 Let-bind `input-method-function' to nil. (Bug#10018)
11316
11317 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11318
11319 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11320 Tell the caller that the next line needs recomputation, even
11321 though it doesn't start a sexp (bug#10094).
11322
11323 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11324
11325 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11326
11327 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11328
11329 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11330 Use force-same-window.
11331
11332 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
11333
11334 * descr-text.el (describe-char-unicode-data):
11335 * json.el (json-string-escape):
11336 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11337 (Footnote-unicode, Footnote-style-p):
11338 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11339
11340 2011-11-20 Chong Yidong <cyd@gnu.org>
11341
11342 * window.el (replace-buffer-in-windows): Restore interactive spec.
11343
11344 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11345
11346 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11347
11348 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11349 (byte-compile-global-not-obsolete-vars): New var.
11350 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11351 Use it.
11352 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11353
11354 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
11355
11356 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11357 * progmodes/pascal.el (electric-pascal-equal):
11358 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11359 * xml.el (xml-substitute-special): Fix typos.
11360
11361 2011-11-20 Glenn Morris <rgm@gnu.org>
11362
11363 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11364 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11365 Doc fixes.
11366 (rmail-decode-mime-charset): Mark as obsolete.
11367
11368 * mail/rmailsum.el (rmail-message-regexp-p-1):
11369 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11370 Before using mime functions, check they are set. (Bug#10077)
11371
11372 2011-11-19 Juri Linkov <juri@jurta.org>
11373
11374 * info.el (Info-finder-find-node): Use `package--builtins' instead
11375 of `package-alist'. Use node names formed by the pattern "Keyword "
11376 and the keyword name.
11377
11378 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11379
11380 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
11381
11382 2011-11-19 Juri Linkov <juri@jurta.org>
11383
11384 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11385 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11386 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11387 `old-history', `old-history-forward'. Add let-binding
11388 `window-selected'. Remove calls to `kill-buffer',
11389 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11390 before calling `Info-find-node', so `Info-find-node-2' will reread
11391 the Info file. Restore window positions only when `window-selected'
11392 is non-nil.
11393
11394 2011-11-19 Juri Linkov <juri@jurta.org>
11395
11396 * isearch.el (isearch-lazy-highlight-new-loop):
11397 Remove condition `(not isearch-error)'. (Bug#9918)
11398
11399 * misearch.el (multi-isearch-search-fun): Add condition
11400 `(not bound)' to ignore lazy-highlighting search.
11401 Add the search-failed message "end of multi" when the end of
11402 multi-sequence is reached. Uncapitalize the search-failed
11403 message "Repeat for next buffer".
11404
11405 * info.el (Info-search): Add the search-failed message
11406 "end of the manual" when the end of the manual is reached
11407 in Isearch mode.
11408
11409 2011-11-19 Juri Linkov <juri@jurta.org>
11410
11411 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11412 Use non-destructive `remove' instead of `delete' because
11413 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11414 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11415
11416 2011-11-19 Juri Linkov <juri@jurta.org>
11417
11418 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11419 to nil instead of binding `search-ring' and `regexp-search-ring'.
11420 (Bug#9185)
11421
11422 2011-11-19 Eli Zaretskii <eliz@gnu.org>
11423
11424 * simple.el (line-move): Force movement by logical lines for any
11425 hscrolled window, not only when auto-hscroll-mode is on.
11426 (line-move-visual): Update doc string to that effect. (Bug#10076)
11427
11428 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11429
11430 * language/european.el (macintosh): Define as alias for mac-roman.
11431
11432 2011-11-19 Eli Zaretskii <eliz@gnu.org>
11433
11434 * mail/rmailmm.el (rmail-mime-display-header)
11435 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11436 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11437 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11438 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11439 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11440 of a raw aref.
11441 (rmail-mime-entity-segment): To get past the tagline, move forward
11442 2 more lines, to account for the 2 empty lines that precede and
11443 follow the line with the buttons.
11444 (rmail-mime-update-tagline): Move one more line, to get past the
11445 empty line that follows the buttons in the tagline. (Bug#9520)
11446
11447 2011-11-19 Martin Rudalics <rudalics@gmx.at>
11448
11449 * window.el (window-max-delta-1, window-min-delta-1)
11450 (window-min-size-1, window-state-get-1, window-state-put-1)
11451 (window-state-put-2): Use "window--" prefix.
11452
11453 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11454
11455 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11456 (smie-warning-count): New var.
11457 (smie-set-prec2tab): Use it.
11458 (smie-bnf->prec2): Improve warnings. Add docstring.
11459 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11460 (smie-bnf--set-class): New function.
11461 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11462 corner case.
11463
11464 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11465 (compilation-error-properties, compilation-move-to-column):
11466 Handle compilation-first-column while in the target buffer.
11467
11468 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11469 Don't hardcode point-min==1.
11470
11471 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11472 (eshell-rewrite-for-command): Remove workaround.
11473 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11474 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11475 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11476
11477 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11478
11479 2011-11-17 Glenn Morris <rgm@gnu.org>
11480
11481 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11482 Ignore buffer-local generated-autoload-file if it is the same
11483 as the global value. (Bug#10049)
11484
11485 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
11486
11487 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11488 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11489 (reftex-toc-previous-heading, reftex-toc-max-level)
11490 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11491 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11492 (reftex-toc-do-promote, reftex-toc-promote-prepare)
11493 (reftex-toc-promote-action, reftex-toc-extract-section-number)
11494 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11495 (reftex-toc-rename-label, reftex-toc-visit-location)
11496 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11497 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11498 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11499 leaving "*toc*" only for references to the buffer.
11500
11501 2011-11-17 Martin Rudalics <rudalics@gmx.at>
11502
11503 * window.el (window-resize, delete-window, split-window):
11504 Replace window-splits by window-combination-resize.
11505 * cus-start.el (window-splits): Replace by window-combination-resize.
11506
11507 2011-11-17 Glenn Morris <rgm@gnu.org>
11508
11509 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11510 Make bash entry derive from sh entry, not shell entry.
11511
11512 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
11513
11514 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11515 local file name.
11516
11517 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
11518
11519 * menu-bar.el (menu-bar-file-menu):
11520 * printing.el (pr-ps-utility):
11521 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11522 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11523 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11524 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11525 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11526 (icalendar--convert-cyclic-to-ical)
11527 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11528 (icalendar--convert-ical-to-diary)
11529 (icalendar--convert-recurring-to-diary)
11530 (icalendar--convert-non-recurring-all-day-to-diary)
11531 (icalendar-import-format-sample):
11532 * progmodes/idlw-shell.el (idlwave-shell-mode):
11533 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11534 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11535 (vhdl-ps-print-init): Fix typos.
11536
11537 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
11538
11539 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11540 FSF and collapse date sequence, obscure author/maintainer email address
11541 better, remove extra version line, track relocation of author's webpage.
11542
11543 * progmodes/python.el (python-pdbtrack-input-prompt)
11544 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11545 regular python pdb prompts. Adjustments shamelessly taken exactly as
11546 suggested in EmacsWiki page (tiny change):
11547 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
11548
11549 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
11550
11551 * expand.el (expand-pos, expand-index, expand-point):
11552 Remove redundant info from docstring.
11553 (expand-add-abbrevs): Doc fix.
11554 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11555 (expand-sample-perl-mode-expand-list): Fix typos.
11556
11557 * net/dbus.el (dbus-event-member-name):
11558 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11559 * term/pc-win.el (msdos-create-frame-with-faces):
11560 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11561
11562 2011-11-16 Martin Rudalics <rudalics@gmx.at>
11563
11564 * window.el (split-window, window-state-get-1)
11565 (window-state-put-1, window-state-put-2): Rename occurrences of
11566 window-nest to window-combination-limit.
11567 * cus-start.el (window-nest): Rename to window-combination-limit.
11568
11569 2011-11-16 Chong Yidong <cyd@gnu.org>
11570
11571 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11572 regexp (Bug#10033).
11573
11574 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11575
11576 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11577 `completing-read' will remove *Completions* and will preserve
11578 current-buffer for us.
11579 (tmm-add-prompt): Users of *Completions* will always (re)set its
11580 major mode.
11581 (tmm-old-comp-map): Remove.
11582
11583 2011-11-16 Glenn Morris <rgm@gnu.org>
11584
11585 * mail/rmailedit.el: Require rmailmm when compiling.
11586 (rmail-old-mime-state): New declaration.
11587 (rmail-edit-current-message): If editing a mime message,
11588 edit the "raw" message from the mbox buffer.
11589 (rmail-cease-edit): Handle mime messages. (Bug#9840)
11590
11591 2011-11-15 Glenn Morris <rgm@gnu.org>
11592
11593 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11594 which wasn't being used. Add optional arg to force given state.
11595 (rmail-mime): Add optional arg to force given state.
11596
11597 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
11598
11599 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11600 * frame.el (display-mm-dimensions-alist):
11601 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11602 (outline-move-subtree-down):
11603 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11604 (newsticker--treeview-do-get-node):
11605 * net/quickurl.el (quickurl-list-buffer-name):
11606 * progmodes/dcl-mode.el (dcl-mode):
11607 * progmodes/gdb-mi.el (gdb-mapcar*):
11608 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11609
11610 2011-11-15 Glenn Morris <rgm@gnu.org>
11611
11612 * mail/rmail.el (rmail-file-coding-system): It's only ever used
11613 in a boolean sense, so just make it a boolean, and fix the doc.
11614 (rmail-show-mime-function, rmail-mime-feature)
11615 (rmail-require-mime-maybe): Doc fixes.
11616 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11617
11618 * mail/rmailmm.el (rmail-show-mime): Doc fix.
11619
11620 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
11621
11622 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
11623 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
11624 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
11625 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11626
11627 2011-11-15 Glenn Morris <rgm@gnu.org>
11628
11629 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11630 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
11631 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
11632 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
11633 (rmail-mime, rmail-show-mime): Doc fixes.
11634
11635 * term/ns-win.el (mode-line-frame-identification):
11636 Leave it alone. (Bug#10051)
11637
11638 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
11639
11640 * mail/rmailout.el (rmail-output-to-rmail-buffer):
11641 Handle empty buffers. (Bug#9978)
11642
11643 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
11644
11645 * international/mule.el (define-charset):
11646 * mail/rmailmm.el (rmail-mime-find-header-encoding):
11647 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
11648 * progmodes/verilog-mode.el (verilog-backward-token):
11649 * textmodes/ispell.el (lookup-words):
11650 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
11651
11652 2011-11-14 Glenn Morris <rgm@gnu.org>
11653
11654 * progmodes/executable.el
11655 (executable-make-buffer-file-executable-if-script-p):
11656 Handle file-modes returning nil.
11657
11658 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
11659 message - not necessary, and causes problems. (Bug#9831)
11660
11661 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
11662
11663 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
11664
11665 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
11666 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
11667 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
11668
11669 2011-11-12 Martin Rudalics <rudalics@gmx.at>
11670
11671 * window.el (window-resize, delete-window): Use window-splits
11672 variable instead of function.
11673 (window-state-get-1, window-state-put-2, window-state-put):
11674 Don't deal with windows' splits status.
11675
11676 2011-11-12 Glenn Morris <rgm@gnu.org>
11677
11678 * apropos.el (apropos-do-all, apropos-library, apropos-value)
11679 (apropos-documentation): Doc fixes.
11680
11681 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
11682
11683 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
11684 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
11685
11686 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11687
11688 * electric.el (electric-indent-post-self-insert-function): Make it
11689 possible for a char to only indent in some circumstances.
11690 (electric-indent-mode): Simplify.
11691
11692 2011-11-11 Martin Rudalics <rudalics@gmx.at>
11693
11694 * window.el (windows-with-parameter): Remove unused function.
11695 (windows-at-side): Rename to window-at-side-list.
11696 (window-check, window-atom-check, window-atom-check-1)
11697 (window-side-check, window-size-ignore, window-size-fixed-1)
11698 (window-in-direction-2): Prefix with "window--".
11699 (window-tree-1): Rename to window--subtree, fix doc-string.
11700
11701 2011-11-11 Glenn Morris <rgm@gnu.org>
11702
11703 * subr.el (eval-after-load): If FILE is already loaded,
11704 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
11705
11706 2011-11-10 Glenn Morris <rgm@gnu.org>
11707
11708 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
11709 Call svn via vc-svn-command rather than vc-do-command.
11710 (vc-svn-command): Add --non-interactive. (Bug#9993)
11711 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
11712
11713 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11714 Add toggle-read-only. (Bug#7292)
11715 * files.el (toggle-read-only): Mention that it should only
11716 be used interactively. (Bug#10006)
11717
11718 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
11719
11720 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11721 Adjust regexp for OCaml warnings.
11722
11723 * electric.el (electric-pair-post-self-insert-function): Let user
11724 turn it off buffer-locally (bug#9932).
11725
11726 * progmodes/python.el (python-beginning-of-statement):
11727 Rewrite (bug#2703).
11728
11729 * progmodes/compile.el: Better handle TABs (bug#9749).
11730 (compilation-internal-error-properties)
11731 (compilation-next-error-function): Obey the target buffer's
11732 compilation-error-screen-columns.
11733
11734 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
11735
11736 * progmodes/meta-mode.el: Remove obsolete comments.
11737 (meta-right-comment-regexp, meta-ignore-comment-regexp):
11738 Fix typos in docstrings.
11739
11740 2011-11-09 Martin Rudalics <rudalics@gmx.at>
11741
11742 * window.el (window-size-fixed-p): Rewrite doc-string.
11743 (window-resizable-p): Rename to window--resizable-p. Update callers.
11744 (window--resizable): New function. Make all callers of
11745 window-resizable call window--resizable instead.
11746 (window-resizable): Rewrite in terms of window--resizable.
11747
11748 2011-11-08 Glenn Morris <rgm@gnu.org>
11749
11750 * progmodes/delphi.el (delphi-mode-syntax-table):
11751 Let define-derived-mode define a proper syntax table. (Bug#9994)
11752
11753 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11754
11755 * window.el: Stay away from defsubst.
11756 (window-list-no-nils): Remove.
11757 (window-state-get-1, window-state-get): Use backquote instead.
11758
11759 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11760
11761 * emacs-lisp/find-func.el (find-function-read):
11762 Fix incorrect use of default argument in `completing-read'.
11763
11764 2011-11-08 Martin Rudalics <rudalics@gmx.at>
11765
11766 * window.el (display-buffer-function, special-display-function):
11767 Mention display-buffer-record-window but do not mention
11768 help-setup parameter in doc-strings.
11769 (window-min-delta): Fix doc-string typo.
11770
11771 2011-11-08 Chong Yidong <cyd@gnu.org>
11772
11773 * window.el (window-total-height, window-total-width): Doc fix.
11774 (window-body-size): Move from C.
11775 (window-body-height, window-body-width): Move to C.
11776
11777 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11778
11779 * window.el: Make special-display like display-buffer-alist (bug#9532).
11780 (display-buffer--special-action): New function, morphed
11781 from display-buffer--special.
11782 (display-buffer): Use it to handle special-display-buffers at higher
11783 priority (just after display-buffer-alist).
11784 (display-buffer-fallback-action, display-buffer--other-frame-action)
11785 (pop-to-buffer-same-window): Remove display-buffer--special.
11786
11787 2011-11-07 Glenn Morris <rgm@gnu.org>
11788
11789 * calendar/cal-menu.el (cal-menu-set-date-title):
11790 Do nothing if not in a calendar. (Bug#9976)
11791
11792 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
11793
11794 * files.el (find-file): Always use selected-window.
11795
11796 2011-11-07 Martin Rudalics <rudalics@gmx.at>
11797
11798 * window.el (window-combinations): Make WINDOW argument
11799 mandatory. Rewrite doc-string.
11800 (walk-window-subtree, window-atom-check, window-min-delta)
11801 (window-max-delta, window--resize-this-window)
11802 (window--resize-root-window-vertically, window-tree)
11803 (balance-windows, window-state-put): Rewrite doc-strings as to
11804 not mention the term "subwindow".
11805 (window--resize-subwindows-skip-p): Rename to
11806 window--resize-child-windows-skip-p.
11807 (window--resize-subwindows-normal): Rename to
11808 window--resize-child-windows-normal.
11809 (window--resize-subwindows): Rename to
11810 window--resize-child-windows.
11811 (window-or-subwindow-p): Rename to window--in-subtree-p.
11812
11813 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11814
11815 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
11816 Ensure that mbox format messages end in two newlines (Bug#9974).
11817
11818 2011-11-06 Chong Yidong <cyd@gnu.org>
11819
11820 * window.el (window-combination-p): Function deleted; its
11821 side-effect is not used in any existing code.
11822 (window-combinations, window-combined-p): Call window-*-child
11823 directly.
11824
11825 2011-11-05 Chong Yidong <cyd@gnu.org>
11826
11827 * window.el (window-valid-p): Rename from window-any-p.
11828 (window-size-ignore, window-state-get): Callers changed.
11829 (window-normalize-window): Rename from window-normalize-any-window.
11830 New arg LIVE-ONLY, replacing window-normalize-live-window.
11831 (window-normalize-live-window): Delete.
11832 (window-combination-p, window-combined-p, window-combinations)
11833 (walk-window-subtree, window-atom-root, window-min-size)
11834 (window-sizable, window-sizable-p, window-size-fixed-p)
11835 (window-min-delta, window-max-delta, window-resizable)
11836 (window-resizable-p, window-full-height-p, window-full-width-p)
11837 (window-current-scroll-bars, window-point-1, set-window-point-1)
11838 (window-at-side-p, window-in-direction, window-resize)
11839 (adjust-window-trailing-edge, maximize-window, minimize-window)
11840 (window-deletable-p, delete-window, delete-other-windows)
11841 (record-window-buffer, unrecord-window-buffer)
11842 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
11843 (quit-window, split-window, window-state-put)
11844 (set-window-text-height, fit-window-to-buffer)
11845 (shrink-window-if-larger-than-buffer): Callers changed.
11846
11847 2011-11-04 Eli Zaretskii <eliz@gnu.org>
11848
11849 * mail/rmail.el (rmail-simplified-subject): Decode subject with
11850 rfc2047-decode-string.
11851 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
11852 warnings.
11853
11854 * window.el (window-body-height, window-body-width): Mention in
11855 the doc string that the return values are in frame's canonical
11856 units. (Bug#9949)
11857
11858 2011-11-03 Alan Mackenzie <acm@muc.de>
11859
11860 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
11861 change in cc-engine.el.
11862
11863 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
11864
11865 * window.el (switch-to-buffer): Use `force-same-window' interactively.
11866
11867 2011-11-02 Martin Rudalics <rudalics@gmx.at>
11868
11869 * window.el (quit-window): Call unrecord-window-buffer after
11870 showing another buffer in the window. (Bug#9937)
11871 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
11872
11873 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
11874
11875 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
11876 Accept status with more than 9 shelves. (Bug#9935)
11877 Reported by Colin D Bennett <colin@gibibit.com>.
11878
11879 2011-11-01 Martin Rudalics <rudalics@gmx.at>
11880
11881 * help.el (with-help-window): Don't reference
11882 temp-buffer-show-specifiers in doc-string.
11883
11884 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
11885
11886 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
11887 menu-item.
11888
11889 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11890
11891 * whitespace.el: New version 13.2.2.
11892 (whitespace-newline-mode): Disable properly. Reported by Sarah
11893 <EmacsWiki>.
11894
11895 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
11896
11897 * net/newst-treeview.el: Remove "Time-stamp".
11898 (newsticker--group-manage-orphan-feeds): Do not call
11899 newsticker--treeview-tree-update.
11900 (newsticker-treeview-update, newsticker-treeview):
11901 Call newsticker--treeview-tree-update if necessary.
11902
11903 2011-10-30 Martin Rudalics <rudalics@gmx.at>
11904
11905 * window.el (window-iso-combination-p, window-iso-combined-p)
11906 (window-iso-combinations): Remove "iso-" infix.
11907 Suggested by Chong Yidong.
11908 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
11909 (window-max-delta-1, window-resize, window--resize-siblings)
11910 (window--resize-this-window, adjust-window-trailing-edge)
11911 (split-window, balance-windows-1)
11912 (shrink-window-if-larger-than-buffer):
11913 * calendar/calendar.el (calendar-generate-window):
11914 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
11915
11916 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
11917
11918 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
11919 in place (bug#9907).
11920 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
11921 (eshell-rewrite-if-command, eshell-rewrite-for-command)
11922 (eshell-structure-basic-command, eshell-rewrite-while-command)
11923 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
11924 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
11925 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
11926 (eshell-do-pipelines-synchronously, eshell-eval-command):
11927 Use backquotes and prefer setq to set.
11928 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
11929 (eshell-macrop): Use functionp.
11930 (eshell-do-eval): Handle multiple expressions in `while' body.
11931
11932 2011-10-30 Chong Yidong <cyd@gnu.org>
11933
11934 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
11935 instead of set-mark (Bug#9810).
11936
11937 2011-10-30 Chong Yidong <cyd@gnu.org>
11938
11939 * window.el (split-window-below, split-window-right): Rename from
11940 split-window-above-each-other and split-window-side-by-side
11941 respectively. All callers changed.
11942 (split-window-sensibly, split-window-sensibly): Use them.
11943 (split-window-keep-point): Doc fix.
11944
11945 * isearch.el: Add isearch-scroll property to split-window-below
11946 and split-window-right.
11947
11948 * follow.el (follow-mode):
11949 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11950 * progmodes/ada-xref.el (ada-gdb-application):
11951 * emulation/vip.el (vip-buffer-in-two-windows):
11952 * image-dired.el (image-dired-dired-with-window-configuration):
11953 * dired-x.el (dired-do-find-marked-files):
11954 * dired.el (dired-pop-to-buffer):
11955 * bs.el (bs--show-with-configuration):
11956 * vc/emerge.el (emerge-setup-windows):
11957 * textmodes/two-column.el (2C-two-columns):
11958 * textmodes/reftex-toc.el (reftex-toc):
11959 * progmodes/gdb-mi.el (gdb-setup-windows):
11960 * progmodes/fortran.el (fortran-window-create):
11961 * net/newst-treeview.el (newsticker--treeview-window-init):
11962 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
11963 * emulation/tpu-edt.el (tpu-gold-map):
11964 * emulation/crisp.el (crisp-mode-map):
11965 * calendar/calendar.el (calendar-basic-setup): Callers changed.
11966
11967 2011-10-29 Chong Yidong <cyd@gnu.org>
11968
11969 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
11970
11971 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
11972
11973 * textmodes/flyspell.el (flyspell-word): Fix char offset for
11974 forged Ispell output (Bug#7904).
11975
11976 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
11977
11978 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11979
11980 * doc-view.el: Avoid ugly errors about not finding nil.
11981 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
11982 (doc-view-dvipdf-program, doc-view-unoconv-program)
11983 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
11984 Avoid nil or absolute file name as default value.
11985 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
11986
11987 2011-10-28 Alan Mackenzie <acm@muc.de>
11988
11989 * progmodes/cc-defs.el (c-version): -> 5.32.2.
11990
11991 2011-10-28 Alan Mackenzie <acm@muc.de>
11992
11993 Amend the handling of c-beginning/end-of-defun in nested declaration
11994 scopes.
11995
11996 * progmodes/cc-vars.el (c-defun-tactic): Move here from
11997 cc-langs.el. Change it to a defcustom.
11998
11999 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12000 cc-vars.el.
12001
12002 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12003 Prevent "class foo : bar" being spuriously recognized as a label.
12004
12005 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
12006 Add parameter `inclusive' (to include enclosing braces in the region).
12007 (c-widen-to-enclosing-decl-scope): New function.
12008 (c-while-widening-to-decl-block): New macro.
12009 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12010 outward for defun boundaries, and correspondingly change symbol
12011 `respect-enclosure' to `go-outward'.
12012 (c-declaration-limits): Change algorithm to report only the "innermost"
12013 defun's boundaries.
12014
12015 2011-10-28 Deniz Dogan <deniz@dogan.se>
12016
12017 * net/rcirc.el (rcirc-mode): Use hard newlines.
12018
12019 2011-10-28 Alan Mackenzie <acm@muc.de>
12020
12021 Amend to indent and fontify macros "which include their own semicolon"
12022 correctly, using the "virtual semicolon" mechanism.
12023
12024 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
12025
12026 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
12027 Recode to scan one line at a time rather than having \n and \r
12028 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
12029 (c-forward-label): Amend for virtual semicolons.
12030 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
12031
12032 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12033 of the new C macros.
12034
12035 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
12036 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12037 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
12038 (c-opt-cpp-macro-define): Make into a full language variable.
12039 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12040 AWK Mode (including \n, \r) removed, no longer needed.
12041
12042 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12043 Invoke c-make-macro-with-semi-re.
12044
12045 * progmodes/cc-vars.el (c-macro-with-semi-re):
12046 (c-macro-names-with-semicolon): New variables.
12047 (c-make-macro-with-semi-re): New function.
12048
12049 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12050
12051 * vc/log-edit.el: Fill empty field rather than adding new one.
12052 (log-edit-add-field): New function.
12053 (log-edit-insert-changelog): Use it.
12054
12055 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12056
12057 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12058
12059 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12060
12061 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12062 (gdb--check-interpreter): New function.
12063 (gdb): Use it.
12064
12065 2011-10-27 Glenn Morris <rgm@gnu.org>
12066
12067 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12068 (least-positive-float, least-negative-float)
12069 (least-positive-normalized-float, least-negative-normalized-float)
12070 (float-epsilon, float-negative-epsilon):
12071 Remove unnecessary declarations.
12072
12073 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12074 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12075 (least-positive-float, least-negative-float)
12076 (least-positive-normalized-float, least-negative-normalized-float)
12077 (float-epsilon, float-negative-epsilon): Add doc-strings,
12078 based on those in cl.texi.
12079
12080 * files.el (set-visited-file-name): If the major-mode changed,
12081 reload the local variables. (Bug#9796)
12082
12083 2011-10-27 Chong Yidong <cyd@gnu.org>
12084
12085 * subr.el (change-major-mode-after-body-hook): New hook.
12086 (run-mode-hooks): Run it.
12087
12088 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12089 Use change-major-mode-before-body-hook.
12090
12091 * simple.el (fundamental-mode):
12092 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12093 change introducing fundamental-mode-hook.
12094
12095 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
12096
12097 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
12098
12099 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
12100
12101 * ido.el (ido-file-name-all-completions-1): Do not require
12102 tramp.el explicitly. (Bug#7583)
12103
12104 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12105
12106 * progmodes/octave-mod.el:
12107 * progmodes/octave-inf.el: Update maintainer.
12108
12109 2011-10-26 Chong Yidong <cyd@gnu.org>
12110
12111 * subr.el (with-wrapper-hook): Rewrite doc.
12112
12113 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
12114
12115 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
12116 filenames "/method:foo:". (Bug#9793)
12117
12118 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12119
12120 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12121 (bug#9865).
12122
12123 2011-10-24 Glenn Morris <rgm@gnu.org>
12124
12125 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12126
12127 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
12128
12129 * notifications.el: Add the requirement of a running D-Bus session
12130 bus to the Commentary.
12131
12132 2011-10-24 Juri Linkov <juri@jurta.org>
12133
12134 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12135 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12136 (Bug#9364)
12137
12138 2011-10-24 Juri Linkov <juri@jurta.org>
12139
12140 * info.el (Info-following-node-name-re): Add newline to the list
12141 of allowed characters for leading space. (Bug#9824)
12142
12143 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12144
12145 * progmodes/octave-inf.el (inferior-octave-mode-map):
12146 Fix C-c C-h binding.
12147 * progmodes/octave-mod.el (octave-help): Remove.
12148
12149 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
12150
12151 Sync with Tramp 2.2.3.
12152
12153 * net/tramp-cache.el (top): Pacify byte-compiler using
12154 `init-file-user' and `site-run-file'.
12155
12156 * net/trampver.el: Update release number.
12157
12158 2011-10-23 Chong Yidong <cyd@gnu.org>
12159
12160 * files.el (toggle-read-only): Remove obsolete comment about
12161 version control.
12162
12163 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12164 for toggle-read-only. Note that this hasn't called vc-next-action
12165 since 2008-05-02, though it wasn't documented at the time.
12166
12167 * vc/ediff-init.el (ediff-toggle-read-only-function):
12168 Use toggle-read-only.
12169
12170 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12171
12172 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12173 of c-parse-state.
12174
12175 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12176 correct faulty logical expression.
12177 (c-parse-state-state, c-record-parse-state-state):
12178 (c-replay-parse-state-state): New defvar/defuns.
12179 (c-debug-parse-state): Use new functions.
12180
12181 2011-10-22 Martin Rudalics <rudalics@gmx.at>
12182
12183 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
12184 last fix. Use window-in-direction correctly.
12185
12186 2011-10-21 Chong Yidong <cyd@gnu.org>
12187
12188 * progmodes/idlwave.el (idlwave-mode):
12189 * progmodes/vera-mode.el (vera-mode): No need to set
12190 require-final-newline; that's done in prog-mode.
12191 Suggested by Stefan Monnier.
12192
12193 2011-10-21 Martin Rudalics <rudalics@gmx.at>
12194
12195 * mouse.el (mouse-drag-window-above)
12196 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12197 (mouse-drag-mode-line-1, mouse-drag-header-line)
12198 (mouse-drag-vertical-line-rightward-window): Remove.
12199 (mouse-drag-line): New function.
12200 (mouse-drag-mode-line, mouse-drag-header-line)
12201 (mouse-drag-vertical-line): Call mouse-drag-line.
12202 * window.el (window-at-side-p, windows-at-side): New functions.
12203
12204 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
12205
12206 * tar-mode.el (tar-grind-file-mode):
12207 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12208
12209 2011-10-21 Chong Yidong <cyd@gnu.org>
12210
12211 * progmodes/idlwave.el (idlwave-mode):
12212 * progmodes/vera-mode.el (vera-mode):
12213 Use mode-require-final-newline.
12214
12215 2011-10-20 Glenn Morris <rgm@gnu.org>
12216
12217 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
12218
12219 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12220
12221 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12222
12223 2011-10-20 Chong Yidong <cyd@gnu.org>
12224
12225 * emulation/cua-base.el (cua-mode):
12226 * mail/footnote.el (footnote-mode):
12227 * mail/mailabbrev.el (mail-abbrevs-mode):
12228 * net/xesam.el (xesam-minor-mode):
12229 * progmodes/bug-reference.el (bug-reference-mode):
12230 * progmodes/cap-words.el (capitalized-words-mode):
12231 * progmodes/compile.el (compilation-minor-mode)
12232 (compilation-shell-minor-mode):
12233 * progmodes/gud.el (gud-tooltip-mode):
12234 * progmodes/hideif.el (hide-ifdef-mode):
12235 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12236 * progmodes/subword.el (subword-mode):
12237 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12238 * progmodes/which-func.el (which-function-mode):
12239 * term/tvi970.el (tvi970-set-keypad-mode):
12240 * term/vt100.el (vt100-wide-mode):
12241 * textmodes/flyspell.el (flyspell-mode):
12242 * textmodes/ispell.el (ispell-minor-mode):
12243 * textmodes/nroff-mode.el (nroff-electric-mode):
12244 * textmodes/paragraphs.el (use-hard-newlines):
12245 * textmodes/refill.el (refill-mode):
12246 * textmodes/reftex.el (reftex-mode):
12247 * textmodes/rst.el (rst-minor-mode):
12248 * textmodes/sgml-mode.el (html-autoview-mode)
12249 (sgml-electric-tag-pair-mode):
12250 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12251 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12252 * emulation/crisp.el (crisp-mode):
12253 * emacs-lisp/eldoc.el (eldoc-mode):
12254 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12255 minor mode behavior.
12256
12257 2011-10-19 Juri Linkov <juri@jurta.org>
12258
12259 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12260 the list of hard-coded chars with escape-glyph face.
12261
12262 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12263
12264 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12265
12266 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
12267
12268 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12269 running process.
12270
12271 2011-10-19 Glenn Morris <rgm@gnu.org>
12272
12273 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12274 Ignore ignored files. (Bug#9726)
12275
12276 2011-10-19 Chong Yidong <cyd@gnu.org>
12277
12278 Doc fix for minor modes, stating that an omitted argument enables
12279 the mode unconditionally when called from Lisp.
12280
12281 * abbrev.el (abbrev-mode):
12282 * allout.el (allout-mode):
12283 * autoinsert.el (auto-insert-mode):
12284 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12285 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12286 (global-auto-revert-mode):
12287 * battery.el (display-battery-mode):
12288 * composite.el (global-auto-composition-mode)
12289 (auto-composition-mode):
12290 * delsel.el (delete-selection-mode):
12291 * desktop.el (desktop-save-mode):
12292 * dired-x.el (dired-omit-mode):
12293 * dirtrack.el (dirtrack-mode):
12294 * doc-view.el (doc-view-minor-mode):
12295 * double.el (double-mode):
12296 * electric.el (electric-indent-mode, electric-pair-mode):
12297 * emacs-lock.el (emacs-lock-mode):
12298 * epa-hook.el (auto-encryption-mode):
12299 * follow.el (follow-mode):
12300 * font-core.el (font-lock-mode):
12301 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12302 * help.el (temp-buffer-resize-mode):
12303 * hilit-chg.el (highlight-changes-mode)
12304 (highlight-changes-visible-mode):
12305 * hi-lock.el (hi-lock-mode):
12306 * hl-line.el (hl-line-mode, global-hl-line-mode):
12307 * icomplete.el (icomplete-mode):
12308 * ido.el (ido-everywhere):
12309 * image-file.el (auto-image-file-mode):
12310 * image-mode.el (image-minor-mode):
12311 * iswitchb.el (iswitchb-mode):
12312 * jka-cmpr-hook.el (auto-compression-mode):
12313 * linum.el (linum-mode):
12314 * longlines.el (longlines-mode):
12315 * master.el (master-mode):
12316 * mb-depth.el (minibuffer-depth-indicate-mode):
12317 * menu-bar.el (menu-bar-mode):
12318 * minibuf-eldef.el (minibuffer-electric-default-mode):
12319 * mouse-sel.el (mouse-sel-mode):
12320 * msb.el (msb-mode):
12321 * mwheel.el (mouse-wheel-mode):
12322 * outline.el (outline-minor-mode):
12323 * paren.el (show-paren-mode):
12324 * recentf.el (recentf-mode):
12325 * reveal.el (reveal-mode, global-reveal-mode):
12326 * rfn-eshadow.el (file-name-shadow-mode):
12327 * ruler-mode.el (ruler-mode):
12328 * savehist.el (savehist-mode):
12329 * scroll-all.el (scroll-all-mode):
12330 * scroll-bar.el (scroll-bar-mode):
12331 * server.el (server-mode):
12332 * shell.el (shell-dirtrack-mode):
12333 * simple.el (auto-fill-mode, transient-mark-mode)
12334 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12335 (line-number-mode, column-number-mode, size-indication-mode)
12336 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12337 * strokes.el (strokes-mode):
12338 * time.el (display-time-mode):
12339 * t-mouse.el (gpm-mouse-mode):
12340 * tool-bar.el (tool-bar-mode):
12341 * tooltip.el (tooltip-mode):
12342 * type-break.el (type-break-mode-line-message-mode)
12343 (type-break-query-mode):
12344 * view.el (view-mode):
12345 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12346 (global-whitespace-mode, global-whitespace-newline-mode):
12347 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12348
12349 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12350 Fix autogenerated docstring.
12351
12352 2011-10-19 Juri Linkov <juri@jurta.org>
12353
12354 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12355 by checking environment variables "DESKTOP_SESSION" and
12356 "XDG_CURRENT_DESKTOP". (Bug#9779)
12357
12358 2011-10-19 Juri Linkov <juri@jurta.org>
12359
12360 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12361 (browse-url-chromium-program, browse-url-chromium-arguments):
12362 New defcustoms.
12363 (browse-url-default-browser): Check for `browse-url-chromium' and
12364 call `browse-url-chromium-program'.
12365 (browse-url-chromium): New command. (Bug#9779)
12366
12367 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
12368
12369 * facemenu.el (list-colors-duplicates): On Windows, detect more
12370 duplicates by assuming that only colors matching "^System" are
12371 special "system colors". (Bug#9722)
12372
12373 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12374
12375 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12376 to distinguish the author from the committer.
12377
12378 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
12379
12380 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12381
12382 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12383
12384 * international/mule.el (sgml-html-meta-auto-coding-function):
12385 Add support for detecting encoding in HTML5 specified only as
12386 <meta charset="UTF-8">. Implementation just makes http-equiv and
12387 content-type parts from HTML4 encoding string optional. (Bug#9716)
12388
12389 2011-10-18 Glenn Morris <rgm@gnu.org>
12390
12391 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12392
12393 2011-10-18 Chong Yidong <cyd@gnu.org>
12394
12395 * faces.el (cursor): Doc fix.
12396
12397 2011-10-17 Chong Yidong <cyd@gnu.org>
12398
12399 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12400
12401 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
12402
12403 * dirtrack.el (dirtrack): Support shell buffers with path
12404 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12405
12406 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12407
12408 * json.el: Bump version to 1.3 and note change in History.
12409 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12410
12411 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12412
12413 * comint.el (comint-insert-input, comint-send-input)
12414 (comint-get-old-input-default, comint-backward-matching-input)
12415 (comint-next-prompt): Use nil instead of `input' for field property of
12416 past user input (bug#114).
12417
12418 * minibuffer.el (completion--replace): Inherit surrounding properties
12419 (bug#114).
12420 (minibuffer-complete-and-exit): Use it.
12421
12422 * comint.el (comint--table-subvert): Quote the all-completions output
12423 (bug#9160).
12424
12425 2011-10-17 Martin Rudalics <rudalics@gmx.at>
12426
12427 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
12428
12429 * menu-bar.el (menu-bar-file-menu): Add entry for making new
12430 window on right of selected. (Bug#9350) Reword other window
12431 entries and separate them from frame entries.
12432
12433 2011-10-15 Glenn Morris <rgm@gnu.org>
12434
12435 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12436 Doc fixes.
12437
12438 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
12439
12440 * net/network-stream.el (network-stream-open-starttls):
12441 Improve detection of failure due to lack of TLS support.
12442
12443 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12444 putting the input text in front and in bold.
12445
12446 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12447
12448 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12449
12450 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12451 empty buffer.
12452
12453 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12454 unread-command-events rather than pushing yet-another event.
12455
12456 2011-10-14 Eli Zaretskii <eliz@gnu.org>
12457
12458 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12459 the explanation of the possible choices. Make the options passed
12460 to completing-read shorter.
12461
12462 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12463
12464 * textmodes/flyspell.el (flyspell-large-region): Make sure
12465 extended character mode is used if defined (Bug#1339).
12466
12467 2011-10-13 Eli Zaretskii <eliz@gnu.org>
12468
12469 * simple.el (what-cursor-position): Fix the display of the
12470 character info for LRE, LRO, RLE, and RLO characters by appending
12471 an invisible PDF.
12472
12473 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12474
12475 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12476 even in case of error; add debug spec; simplify data flow.
12477 (with-timeout-handler): Remove.
12478
12479 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
12480
12481 Fix Bug#6019, Bug#9315.
12482
12483 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12484 complete `buffer-file-name', the local file name part could look
12485 remotely (for example on VMS).
12486
12487 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12488 `tramp-run-real-handler'.
12489 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12490 already quoted by '"'.
12491
12492 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12493 Let `file-name-handler-alist' be nil, the local file name part
12494 could look remotely (for example on VMS).
12495
12496 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12497
12498 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12499 from here...
12500 (flyspell-post-command-hook): ...to here.
12501
12502 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12503
12504 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12505 if not needed.
12506 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12507 using completion. Protect against "slow" callers.
12508 Remove the "message hack".
12509
12510 2011-10-11 Juri Linkov <juri@jurta.org>
12511
12512 * isearch.el (isearch-lazy-highlight-word): New variable.
12513 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12514 Use it. (Bug#9727)
12515
12516 2011-10-11 Glenn Morris <rgm@gnu.org>
12517
12518 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12519 like f90-previous-statement does.
12520
12521 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12522
12523 * eshell/eshell.el (eshell-command): History should be saved
12524 only in interactive use, to avoid error.
12525
12526 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12527
12528 * minibuffer.el (completion-file-name-table): Fix last change,
12529 i.e. ignore normal errors but not the other ones.
12530
12531 2011-10-10 Martin Rudalics <rudalics@gmx.at>
12532
12533 * window.el (special-display-buffer-names)
12534 (special-display-regexps): Remove some remnants of earlier
12535 changes from doc-strings.
12536 (quit-windows-on): New function.
12537
12538 * vc/vc.el (vc-revert, vc-rollback):
12539 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12540 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
12541 (Bug#6183) (Bug#7074) (Bug#7447)
12542
12543 2011-10-09 Martin Rudalics <rudalics@gmx.at>
12544
12545 * window.el (frame-auto-hide-function): Add version tag.
12546 (Bug#9699)
12547
12548 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
12549
12550 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12551 condition.
12552
12553 2011-10-09 Leo Liu <sdl.web@gmail.com>
12554
12555 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12556 (Bug#9701)
12557
12558 2011-10-08 Glenn Morris <rgm@gnu.org>
12559
12560 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12561 before the first code statement zero indent. (Bug#9690)
12562
12563 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
12564
12565 * simple.el (count-words-region): Always count in the region.
12566 Report the number of lines and characters too.
12567 (count-words): New command, which counts in the buffer if the
12568 region is inactive, as count-words-region used to.
12569 (count-words--message): New function. Handle plurals.
12570 (count-lines-region): Make it an alias for count-words-region.
12571
12572 * bindings.el (esc-map): Replace count-lines-region with
12573 count-words-region.
12574
12575 2011-10-08 Martin Rudalics <rudalics@gmx.at>
12576
12577 * window.el (window--delete): Delete dedicated frame
12578 unconditionally when argument KILL is non-nil. (Bug#9699)
12579 (switch-to-buffer): Fix doc-string typo.
12580
12581 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12582
12583 * eshell/eshell.el (eshell-command): Avoid using hooks.
12584
12585 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
12586
12587 * bindings.el ([M-left],[M-right]): Bind to left-word and
12588 right-word respectively.
12589
12590 2011-10-07 Glenn Morris <rgm@gnu.org>
12591
12592 * cus-start.el (debug-on-quit): Fix custom type.
12593
12594 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12595
12596 * subr.el (define-key-after): Clarify that the function is not
12597 useful for non-menu keymaps.
12598
12599 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12600
12601 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12602
12603 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
12604 in current minibuffer (Fix bug with recursive minibuffers).
12605
12606 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
12607
12608 * progmodes/gdb-mi.el (gdb): Doc fix.
12609
12610 2011-10-05 Martin Rudalics <rudalics@gmx.at>
12611
12612 * window.el (frame-auto-hide-function): New option replacing
12613 frame-auto-delete. Suggested by Stefan Monnier.
12614 (window--delete): Call frame-auto-hide-function instead of
12615 investigating frame-auto-delete.
12616 (window-point-1, set-window-point-1): New functions.
12617 (window-in-direction, record-window-buffer, window-state-get-1)
12618 (display-buffer-record-window): Use window-point-1 instead of
12619 window-point.
12620 (set-window-buffer-start-and-point): Use set-window-point-1.
12621
12622 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12623
12624 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
12625
12626 2011-10-05 Glenn Morris <rgm@gnu.org>
12627
12628 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12629 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
12630
12631 2011-10-05 Leo Liu <sdl.web@gmail.com>
12632
12633 * subr.el (read-char-choice): Fix argument to buffer-live-p which
12634 works with buffer object.
12635
12636 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12637
12638 * mpc.el (mpc-tool-bar-map): Add labels.
12639
12640 2011-10-04 Glenn Morris <rgm@gnu.org>
12641
12642 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12643
12644 2011-10-04 Martin Rudalics <rudalics@gmx.at>
12645
12646 * window.el (window--delete): New function.
12647 (frame-auto-delete): Resuscitate option.
12648 (bury-buffer, replace-buffer-in-windows)
12649 (quit-window): Rewrite using window--delete.
12650 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12651 Pass display-buffer-mark-dedicated to window--display-buffer-2
12652 (Bug#9639).
12653
12654 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12655
12656 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
12657 returns a list (bug#9554). Add remote file name completion.
12658 * comint.el (comint--table-subvert): Curry and get quote&unquote
12659 functions as arguments.
12660 (comint--complete-file-name-data): Adjust call accordingly.
12661 * pcomplete.el (pcomplete--table-subvert): Remove.
12662 (pcomplete-completions-at-point): Use comint--table-subvert instead.
12663
12664 * minibuffer.el (completion-table-case-fold): Use currying.
12665 (completion--styles-type, completion--cycling-threshold-type):
12666 New constants.
12667 (completion-styles, completion-category-overrides)
12668 (completion-cycle-threshold): Use them.
12669 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
12670 completion-table-case-fold.
12671
12672 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
12673
12674 * minibuffer.el (completion-category-overrides): Fix type of styles
12675 and add more user friendly tags (bug#9660).
12676
12677 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12678
12679 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
12680 (mule-input-method-string): New widget.
12681 (default-input-method, language-info-custom-alist): Use it.
12682
12683 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
12684
12685 * pcomplete.el: Require comint.
12686 (pcomplete--common-suffix): Remove.
12687 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
12688 (pcomplete--table-subvert): Sync with comint--table-subvert.
12689 (pcomplete--entries): Use comint-completion-file-name-table.
12690 * comint.el (comint-unquote-filename): Simplify.
12691 (comint-completion-file-name-table): New function (bug#9616).
12692 (comint--complete-file-name-data): Use it.
12693
12694 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
12695 (pcmpl-gnu-tar-buffer): Remove.
12696 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
12697 around. Make sure pcomplete-suffix-list is only changed temporarily.
12698 Don't look inside the tar's file if it's too large.
12699
12700 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
12701
12702 * cus-edit.el (custom-mode-map):
12703 * epa.el (epa-key-list-mode-map):
12704 * man.el (Man-mode-map):
12705 * startup.el (splash-screen-keymap):
12706 * simple.el (special-mode-map): Use scroll-up-command and
12707 scroll-down-command.
12708
12709 * progmodes/idlw-help.el (idlwave-help-mode-map):
12710 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
12711 * net/newst-plainview.el (newsticker-mode-map):
12712 * emulation/ws-mode.el (wordstar-mode-map):
12713 * emulation/vi.el (vi-com-map):
12714 * calc/calc-graph.el (calc-graph-show-dumb):
12715 * term/sun.el (terminal-init-sun):
12716 * term/ns-win.el (global-map):
12717 * progmodes/grep.el (grep-mode-map):
12718 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
12719 * mail/rmail.el (rmail-mode-map):
12720 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
12721
12722 * custom.el (custom-safe-themes, load-theme): Treat value of t for
12723 custom-safe-themes as special.
12724
12725 2011-10-01 Julien Danjou <julien@danjou.info>
12726
12727 * notifications.el (notifications-notify): Fix docstring.
12728
12729 2011-10-01 Per Starbäck <per@starback.se>
12730
12731 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
12732
12733 2011-09-30 Martin Rudalics <rudalics@gmx.at>
12734
12735 * startup.el (command-line-1): Fix last fix by inserting
12736 initial-scratch-message into *scratch* before displaying it.
12737 (Bug#9605) and (Bug#9636)
12738
12739 2011-09-29 Eli Zaretskii <eliz@gnu.org>
12740
12741 * simple.el (line-move): If auto-hscroll-mode is disabled and the
12742 window is hscrolled, move by logical lines. (Bug#9607)
12743 (line-move-visual): Update the doc string to the above effect.
12744
12745 2011-09-29 Martin Rudalics <rudalics@gmx.at>
12746
12747 * window.el (display-buffer-record-window): When WINDOW is the
12748 selected window use `point' instead of `window-point'. (Bug#9626)
12749
12750 * startup.el (command-line-1): Use insert-before-markers when
12751 inserting initial-scratch-message. (Bug#9605)
12752
12753 * help.el (help-window): Remove variable.
12754
12755 2011-09-29 Glenn Morris <rgm@gnu.org>
12756
12757 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
12758
12759 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
12760
12761 * descr-text.el (describe-char-categories): Accept category
12762 descriptions more than one line long.
12763
12764 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
12765
12766 * simple.el (delete-trailing-whitespace): Fix last change.
12767
12768 * progmodes/perl-mode.el (perl-syntax-propertize-function):
12769 Don't confuse "y => 3" as the beginning of a `y' operation.
12770
12771 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
12772 object has more than 4 slots (bug#9613).
12773
12774 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
12775
12776 * subr.el (with-output-to-temp-buffer):
12777 * net/quickurl.el (quickurl, quickurl-browse-url):
12778 Fix typos in docstrings.
12779
12780 2011-09-27 Eli Zaretskii <eliz@gnu.org>
12781
12782 * minibuffer.el (completion-styles)
12783 (completion-category-overrides): Cross reference each other in doc
12784 strings.
12785
12786 2011-09-27 Glenn Morris <rgm@gnu.org>
12787
12788 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
12789 to split-string. (Bug#9606)
12790
12791 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12792
12793 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
12794 (bug#9615).
12795
12796 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
12797
12798 * emacs-lisp/package.el (list-packages): Fix echo area message.
12799
12800 2011-09-27 Leo Liu <sdl.web@gmail.com>
12801
12802 * ido.el (ido-read-internal): Accept cons cell HIST arg.
12803
12804 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
12805
12806 * net/dbus.el (dbus-unregister-object): Don't release services for
12807 registered signals. (Bug#9581)
12808
12809 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
12810
12811 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
12812 function that picks between cfengine 2 and 3 support
12813 automatically. Update docs accordingly.
12814
12815 2011-09-22 Kenichi Handa <handa@m17n.org>
12816
12817 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
12818 ZERO.
12819 (indian-itrans-v5-table-for-tamil): New variable.
12820 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
12821
12822 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
12823
12824 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
12825 that's true if the current command involved collapsing of text.
12826 It's reset to false at the beginning of the next command.
12827 (allout-post-command-business): Move the cursor to the beginning
12828 of entry if the cursor is hidden and collapsing activity just
12829 happened.
12830
12831 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
12832
12833 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
12834 tracking (Bug#9541).
12835
12836 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
12837
12838 * net/newst-reader.el (newsticker-html-renderer)
12839 (newsticker-show-news): Automatically load html rendering package
12840 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
12841 because w3m-fill-column is let-bound" and the error "Symbol's value
12842 as variable is void: w3m-fill-column".
12843
12844 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
12845
12846 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
12847 Release services only if they are defined. (Bug#9581)
12848
12849 2011-09-23 Richard Stallman <rms@gnu.org>
12850
12851 * textmodes/paragraphs.el (forward-sentence): For backwards case,
12852 distinguish start of paragraph from start of its text.
12853
12854 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
12855
12856 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
12857 (rmail-generate-viewer-buffer): Put that hook on view buffer.
12858 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
12859
12860 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
12861
12862 * international/mule-diag.el (mule-diag): Insert a newline after
12863 each fontset description.
12864
12865 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12866
12867 * simple.el (delete-trailing-whitespace):
12868 Document last change; simplify.
12869
12870 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
12871
12872 * simple.el (delete-trailing-whitespace): Also delete
12873 extra newlines at the end of the buffer.
12874
12875 * textmodes/picture.el: Make motion commands obey shift-select-mode.
12876 (picture-newline): Use forward-line so as to ignore fields.
12877
12878 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12879
12880 * subr.el (with-wrapper-hook): Fix edebug spec.
12881
12882 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12883
12884 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
12885 (bug#4538).
12886
12887 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
12888
12889 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
12890 Fix nasty bug using wrong cached values.
12891
12892 2011-09-23 Alan Mackenzie <acm@muc.de>
12893
12894 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
12895
12896 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
12897
12898 * window.el (pop-to-buffer): Ensure right window is selected if we
12899 chose another frame.
12900
12901 2011-09-22 Eli Zaretskii <eliz@gnu.org>
12902
12903 * simple.el (what-cursor-position): Use get-char-property-change
12904 and next-single-char-property-change, to be able to show display
12905 properties that come from overlays as well as text properties.
12906
12907 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
12908
12909 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
12910
12911 * cmuscheme.el (run-scheme, switch-to-scheme):
12912 * cus-edit.el (customize-group, custom-buffer-create)
12913 (customize-browse):
12914 * info.el (info):
12915 * shell.el (shell):
12916 * mail/sendmail.el (mail):
12917 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
12918
12919 2011-09-22 Richard Stallman <rms@gnu.org>
12920
12921 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
12922 move back only to line beg, don't move back over blank lines.
12923
12924 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
12925
12926 * files.el (copy-directory): Set directory attributes only in case
12927 they could be retrieved from the source directory. (Bug#9565)
12928
12929 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
12930
12931 * progmodes/hideshow.el (hs-looking-at-block-start-p)
12932 (hs-find-block-beginning, hs-hide-level-recursive):
12933 Ignore strings as well as comments. (Bug#9502)
12934
12935 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
12936
12937 * progmodes/sql.el (sql-comint-postgres):
12938 Convert port number to a string. (Bug#9566)
12939
12940 2011-09-22 Martin Rudalics <rudalics@gmx.at>
12941
12942 * window.el (quit-window): Undedicate window when switching to
12943 previous buffer. Reported by Thierry Volpiatto
12944 <thierry.volpiatto@gmail.com>.
12945 (special-display-popup-frame): When popping up a new frame reset
12946 its previous buffers to nil. Simplify code.
12947
12948 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
12949
12950 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
12951 and process filter, as done also in `shell-command'.
12952
12953 2011-09-21 Martin Rudalics <rudalics@gmx.at>
12954
12955 * window.el (set-window-buffer-start-and-point):
12956 Call set-window-start with NOFORCE argument t.
12957 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12958 (quit-window): Reword doc-string. Handle new format of
12959 quit-restore parameter. Don't delete window if it has a
12960 previous buffer we can show instead of the present one.
12961 (display-buffer-record-window): Rewrite using a new format for
12962 the quit-restore window parameter
12963 (special-display-popup-frame, display-buffer-same-window)
12964 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12965 (display-buffer-pop-up-window, display-buffer-use-some-window):
12966 Adapt symbol passed to display-buffer-record-window.
12967 * help.el (help-window-setup): Handle new format of quit-restore
12968 parameter.
12969
12970 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
12971
12972 * faces.el (face-list): Fix docstring (bug#9564).
12973
12974 * window.el (display-buffer--action-function-custom-type):
12975 Don't include internal functions in the Custom interface.
12976
12977 2011-09-20 Juri Linkov <juri@jurta.org>
12978
12979 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
12980 (Info-forward-node, Info-backward-node, Info-next-preorder)
12981 (Info-last-preorder): Use it. (Bug#9528)
12982
12983 2011-09-20 Juri Linkov <juri@jurta.org>
12984
12985 * info.el (Info-last-preorder): Visit last menu item only when
12986 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
12987
12988 2011-09-20 Julien Danjou <julien@danjou.info>
12989
12990 * password-cache.el (password-cache-remove): Remove entries even if the
12991 value is nil, so that password with a nil value (negative caching) is
12992 possible to invalidate.
12993
12994 2011-09-20 Lawrence Mitchell <wence@gmx.li>
12995
12996 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
12997 all whitespace around breakpoint. (Bug#9553)
12998 (f90-find-breakpoint): Only break at whitespace inside a comment.
12999
13000 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13001
13002 * minibuffer.el (completion-file-name-table): Keep track of errors.
13003 (completion-table-with-predicate): Handle the case where pred1 is nil.
13004 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13005
13006 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13007
13008 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13009 (debugger-return-value): Signal an error if the debugging context does
13010 not await any return value.
13011
13012 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13013 * image-mode.el (image-toggle-display-text)
13014 (image-toggle-display-image): Stay away from evil `intangible'.
13015
13016 2011-09-19 Leo Liu <sdl.web@gmail.com>
13017
13018 * replace.el (occur-revert-arguments): Make it permanent-local.
13019 (occur-mode): Don't call font-lock-defontify.
13020
13021 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
13022
13023 * net/ldap.el (ldap-search-internal): Don't push empty search
13024 result (Bug#9508).
13025
13026 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13027
13028 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13029
13030 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
13031
13032 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13033 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13034
13035 2011-09-18 Juri Linkov <juri@jurta.org>
13036
13037 * buff-menu.el (Buffer-menu-mode-map):
13038 * dired.el (dired-mode-map):
13039 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13040 (lisp-interaction-mode-map):
13041 * emacs-lisp/package.el (package-menu-mode-map):
13042 * epa.el (epa-key-list-mode-map):
13043 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13044 (menu-bar-options-menu):
13045 * outline.el (outline-mode-menu-bar-map):
13046 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13047 * vc/vc-dir.el (vc-dir-menu-map):
13048 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13049 Capitalize non-function content words in menu item strings.
13050
13051 * dired.el (dired-mode-map): Add menu item for
13052 `image-dired-dired-toggle-marked-thumbs'.
13053
13054 2011-09-18 Juri Linkov <juri@jurta.org>
13055
13056 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13057 to `isearch-case-fold-search' and restore its original value
13058 after the `isearch-mode' call.
13059
13060 2011-09-18 Juri Linkov <juri@jurta.org>
13061
13062 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13063 because `zgrep' returns 1 for successful matches (bug#9226).
13064
13065 2011-09-18 Juri Linkov <juri@jurta.org>
13066
13067 * info.el (Info-extract-menu-node-name): Check the second match
13068 for empty string (second test-case of bug#9528).
13069 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13070 intermediate nodes to the history (first test-case of bug#9528).
13071
13072 2011-09-18 Juri Linkov <juri@jurta.org>
13073
13074 * info.el (Info-mode-syntax-table): New variable.
13075 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
13076
13077 2011-09-18 Juri Linkov <juri@jurta.org>
13078
13079 * info.el (Info-file-supports-index-cookies):
13080 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13081 outputs one more line for long file names (bug#4142).
13082
13083 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
13084
13085 * newcomment.el (comment-normalize-vars): If prompting for
13086 comment-start, set comment-start-skip too (Bug#8424).
13087
13088 2011-09-18 Johan Bockgård <bojohan@gnu.org>
13089
13090 * icomplete.el: Fix previous fix of Bug#5849.
13091 (icomplete-mode): Don't set completion-show-inline-help.
13092 (icomplete-minibuffer-setup): Set completion-show-inline-help
13093 locally during icompletion.
13094
13095 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
13096
13097 * woman.el (woman2-process-escapes): Don't delete unrecognized
13098 escapes (Bug#7843).
13099
13100 * files.el (inhibit-first-line-modes-regexps): Add image files.
13101 (hack-local-variables-prop-line): Return nil for malformed
13102 prop-lines (Bug#9044).
13103
13104 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
13105
13106 * net/tramp.el (top): Don't require 'shell.
13107 (tramp-methods): Fix docstring.
13108 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
13109 Return complete remote file name. Handle "smb" case.
13110 Use `tramp-tmpdir', if defined for the respective method.
13111 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13112
13113 * net/tramp-compat.el (top): Require 'shell.
13114
13115 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13116 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13117 `tramp-current-host'.
13118 (tramp-get-remote-tmpdir): Remove.
13119
13120 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13121 `tramp-tmpdir' entries.
13122 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13123 (tramp-smb-handle-file-attributes): Ignore errors.
13124 (tramp-smb-wait-for-output): Check also for process end.
13125
13126 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13127
13128 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13129 when sending QUIT (bug#9312).
13130
13131 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
13132
13133 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13134 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13135 occur-mode-display-occurrence.
13136 (occur-edit-mode): Add usage message.
13137 (occur-cease-edit): New command.
13138 (occur-after-change-function): Use text properties to find the
13139 position of the prefix text.
13140 (occur-engine): Set stickiness of prefix text properties.
13141
13142 2011-09-17 Glenn Morris <rgm@gnu.org>
13143
13144 * progmodes/etags.el (complete-tag):
13145 Fix call to completion-in-region. (Bug#9526)
13146
13147 2011-09-17 Juri Linkov <juri@jurta.org>
13148
13149 * textmodes/ispell.el (ispell-word): Add to the error message
13150 the word, ispell program name and current dictionary (bug#9121).
13151 (ispell-tex-arg-end): Capitalize "error" in the error message.
13152
13153 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13154
13155 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13156 check. (Bug#4251)
13157
13158 2011-09-17 Juri Linkov <juri@jurta.org>
13159
13160 * window.el (window-safe-min-height, window-safe-min-width):
13161 Fix typos (followup to bug#9522).
13162
13163 2011-09-17 Sven Joachim <svenjoac@gmx.de>
13164
13165 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13166
13167 2011-09-16 Eli Zaretskii <eliz@gnu.org>
13168
13169 * simple.el (line-move): If goal-column is set, move by logical
13170 lines, not by display lines. (Bug#971)
13171 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13172 to reflect the above change.
13173
13174 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13175
13176 * image.el (imagemagick-register-types): Use regexp-opt.
13177
13178 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
13179
13180 * window.el (display-buffer-base-action): Rename from
13181 display-buffer-default-action. Make default value empty.
13182 (display-buffer-overriding-action): Convert to defvar.
13183 (display-buffer-fallback-action): New var.
13184
13185 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
13186
13187 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13188 declaration.
13189 (package--add-to-archive-contents): If there is a duplicate entry
13190 with an older version, remove it.
13191 (package-menu-mark-delete, package-menu-mark-install)
13192 (package-menu-mark-unmark): Make unused args optional.
13193 (package-menu-mark-obsolete-for-deletion):
13194 Use package-menu-get-status instead of a regexp search.
13195 (package-menu-get-status): Use tabulated-list-entry.
13196 (package-menu-mark-upgrades): New command.
13197 (package-menu-mode-map): Bind it to U. Add it to menu bar.
13198 (package-menu-execute): Do installation before deletion.
13199 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13200 instead of checking major-mode.
13201 (package-menu--find-upgrades): New function.
13202
13203 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13204
13205 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13206 passwords in the log buffer.
13207 (smtpmail-process-filter): Update the process marker so that the
13208 "broken by peer" status message is inserted in the right place.
13209
13210 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13211
13212 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13213 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13214 bibtex-completion-at-point-function.
13215 (bibtex-completion-at-point-function): Use them.
13216
13217 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13218
13219 * mpc.el (mpc-constraints-tag-lookup): New function.
13220 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13221 also to browser "album|playlist".
13222
13223 2011-09-14 Juri Linkov <juri@jurta.org>
13224
13225 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13226 (isearch-edit-string): Use length of `isearch-string' when
13227 `isearch-fail-pos' returns nil.
13228 (isearch-message): Remove duplicate code and call
13229 `isearch-fail-pos' with arg `t'.
13230
13231 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
13232
13233 * replace.el (occur-mode-goto-occurrence): Don't force using other
13234 window (Bug#9499).
13235
13236 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13237
13238 2011-09-14 Martin Rudalics <rudalics@gmx.at>
13239
13240 * window.el (display-buffer-window): Remove.
13241 (display-buffer-record-window): Use help-setup window parameter
13242 instead of variable display-buffer-window.
13243 (display-buffer-function, special-display-buffer-names)
13244 (special-display-function): Mention help-setup parameter instead
13245 of display-buffer-window in doc-string.
13246 * help.el (help-window-setup): New argument help-window.
13247 Use help-window-setup parameter instead of display-buffer-window.
13248 Reword some messages.
13249 (with-help-window): Pass window used for displaying the buffer
13250 to help-window-setup. Don't set display-buffer-window.
13251
13252 2011-09-13 Glenn Morris <rgm@gnu.org>
13253
13254 * emacs-lisp/debug.el (debugger-make-xrefs):
13255 Preserve point. (Bug#9462)
13256
13257 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
13258
13259 * window.el (window-deletable-p): Use next-frame.
13260
13261 2011-09-13 Martin Rudalics <rudalics@gmx.at>
13262
13263 * window.el (window-auto-delete): Remove.
13264 (window-deletable-p): Remove argument FORCE. Don't deal with
13265 dedication and previous buffers.
13266 (switch-to-prev-buffer): Don't delete window.
13267 (delete-windows-on): Delete a window's frame if and only if the
13268 window is dedicated.
13269 (replace-buffer-in-windows): Delete buffer's window or frame if
13270 and only if window is dedicated.
13271 (quit-window): Handle quit-restore as before last change.
13272 (bury-buffer): Delete window only if window-deletable-p returns t.
13273
13274 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
13275
13276 * window.el (window-deletable-p): Never delete the last frame on a
13277 given terminal.
13278
13279 2011-09-13 Glenn Morris <rgm@gnu.org>
13280
13281 * help.el (describe-key-briefly): Copy previous standard-output change.
13282
13283 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
13284
13285 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13286
13287 2011-09-13 Glenn Morris <rgm@gnu.org>
13288
13289 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13290 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13291
13292 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
13293
13294 * dired-aux.el (dired-mark-read-string): Don't return default
13295 value on empty input (Bug#9361).
13296 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13297 Omit initial minibuffer contents.
13298 (dired-do-chmod): Signal an error on empty input.
13299 (dired-mark-read-string): Don't return default on empty input.
13300
13301 * files.el (file-modes-symbolic-to-number): Doc fix.
13302
13303 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13304
13305 * international/mule-cmds.el (ucs-completions): Remove.
13306 (read-char-by-name): Use complete-with-action instead; add metadata.
13307
13308 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
13309
13310 * window.el (display-buffer--action-function-custom-type)
13311 (display-buffer--action-custom-type): New vars.
13312 (display-buffer-alist, display-buffer-default-action)
13313 (display-buffer-overriding-action): Add defcustom types.
13314
13315 * frame.el (delete-other-frames): Doc fix (Bug#276).
13316
13317 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13318
13319 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13320
13321 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
13322
13323 Change modes that used same-window-* vars to use switch-to-buffer.
13324
13325 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13326 Use switch-to-buffer.
13327
13328 * cus-edit.el (customize-group, custom-buffer-create)
13329 (customize-browse, custom-buffer-create-other-window):
13330 Use switch-to-buffer or switch-to-buffer-other-window.
13331
13332 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13333 (Info-prev, Info-up, Info-speedbar-goto-node)
13334 (info-display-manual): Use switch-to-buffer.
13335 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13336
13337 * mail/sendmail.el (mail): Use switch-to-buffer.
13338 (mail-recover): Use switch-to-buffer-other-window.
13339
13340 * cmuscheme.el (run-scheme, switch-to-scheme):
13341 * ielm.el (ielm):
13342 * shell.el (shell):
13343 * net/rlogin.el (rlogin):
13344 * net/telnet.el (telnet, rsh):
13345 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13346
13347 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13348
13349 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13350
13351 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13352
13353 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13354 so don't mention it (bug#9301).
13355 (dired-sort-toggle-or-edit): Clarify string further.
13356
13357 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13358 match `x', `w32' and `ns', like the manual says (bug#9029).
13359
13360 * subr.el (eval-after-load): Doc string clarification (bug#9125).
13361 (process-kill-buffer-query-function): Mention the buffer name in
13362 the query.
13363
13364 * image-mode.el (image-next-line): The line parameter is mandatory
13365 (bug#9258).
13366
13367 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13368 which can be useful (bug#9301).
13369
13370 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13371
13372 * subr.el (match-string): Mention that the current buffer should
13373 be the same as the search was done in (bug#9282).
13374
13375 * facemenu.el: Disable the remove-* commands if the mark isn't
13376 active (bug#9162).
13377
13378 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
13379
13380 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13381 of display-buffer.
13382 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13383
13384 * replace.el (occur-mode-goto-occurrence)
13385 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13386 and display-buffer.
13387
13388 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13389 display-buffer.
13390
13391 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13392 special-display and same-window variables.
13393 (mail-other-window): Use switch-to-buffer-other-window.
13394 (mail-other-frame): USe switch-to-buffer-other-frame.
13395
13396 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13397 Use display-buffer-other-frame.
13398 (gdb-display-gdb-buffer): Use pop-to-buffer.
13399
13400 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13401
13402 * progmodes/python.el: Don't set same-window-buffer-names.
13403
13404 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13405
13406 * window.el (display-buffer-alist): Add *Python*.
13407
13408 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
13409
13410 * window.el (display-buffer-alist): Add entry for buffers
13411 previously handled same-window-*.
13412 (display-buffer-alist, display-buffer-default-action)
13413 (display-buffer-overriding-action): Mark as risky.
13414 (display-buffer-alist): Document action function changes.
13415 (display-buffer--same-window-action)
13416 (display-buffer--other-frame-action): New variables.
13417 (switch-to-buffer, display-buffer-other-frame): Use them.
13418 (display-buffer): Rename reuse-frame entry to reusable-frames.
13419 (display-buffer-reuse-selected-window): Function deleted.
13420 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13421 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13422 (display-buffer-special): New function.
13423 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13424 display-buffer-reuse-or-pop-window. Split off special-display
13425 part into display-buffer-special.
13426 (display-buffer-use-some-window): Don't perform any special
13427 pop-up-frames handling.
13428 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
13429 (display-buffer--maybe-same-window): Rename from
13430 display-buffer-maybe-same-window.
13431
13432 * info.el: Don't set same-window-regexps.
13433 (info-setup): New function.
13434 (info-other-window, info): Call it.
13435
13436 * cus-edit.el: Don't set same-window-regexps.
13437 (customize-group): New argument.
13438 (customize-group-other-window): Use it.
13439 (customize-face, customize-face-other-window): Likewise.
13440 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13441
13442 * net/rlogin.el:
13443 * net/telnet.el:
13444 * progmodes/gud.el: Don't set same-window-regexps.
13445
13446 * cmuscheme.el:
13447 * ielm.el:
13448 * shell.el:
13449 * mail/sendmail.el:
13450 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13451
13452 2011-09-10 Juri Linkov <juri@jurta.org>
13453
13454 * isearch.el (isearch-edit-string): Remove obsolete mention of
13455 `C-w' (`isearch-yank-word-or-char') from docstring.
13456 (isearch-query-replace): Fix typo in docstring (bug#9466).
13457
13458 2011-09-10 Juri Linkov <juri@jurta.org>
13459
13460 * paren.el (show-paren-function): Don't show escaped parens.
13461 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13462
13463 2011-09-10 Eli Zaretskii <eliz@gnu.org>
13464
13465 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13466 (mm-default-file-encoding): Remove autoload forms, they are
13467 replaced with autoload cookies in mml.el and mm-encode.el.
13468 (mail-add-attachment): New command.
13469 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13470 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13471 the doc string.
13472 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13473
13474 2011-09-10 Reuben Thomas <rrt@sc3d.org>
13475
13476 * simple.el (count-words-region): Use buffer if there's no region
13477 (bug#9429).
13478
13479 2011-09-09 Juri Linkov <juri@jurta.org>
13480
13481 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13482 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13483 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13484
13485 2011-09-09 Alan Mackenzie <acm@muc.de>
13486
13487 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13488 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13489
13490 2011-09-09 Eli Zaretskii <eliz@gnu.org>
13491
13492 Fix for Savannah bug#9392.
13493 * simple.el (mail-encode-mml): New defvar.
13494
13495 * mail/rmail.el (mail-encode-mml): Add a defvar.
13496 (rmail-enable-mime-composing): Default to t.
13497 (rmail-forward): Use MIME method of forwarding only if both
13498 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13499 Set mail-encode-mml non-nil if the MIME method was used.
13500
13501 * mail/sendmail.el (mml-to-mime): Add autoload form.
13502 (mail-encode-mml): Add a defvar.
13503 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13504 to nil.
13505 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13506 message through mml-to-mime, and reset mail-encode-mml to nil.
13507
13508 2011-09-09 Glenn Morris <rgm@gnu.org>
13509
13510 * woman.el (woman-if-body): When processing an .el block,
13511 do not delete the next .el block as well. (Bug#9447)
13512 (woman-special-characters): Add oq, cq, and hy characters.
13513
13514 2011-09-08 Martin Rudalics <rudalics@gmx.at>
13515
13516 * window.el (window-deletable-p): Make sure window is live before
13517 invoking window-prev-buffers.
13518
13519 2011-09-08 Leo Liu <sdl.web@gmail.com>
13520
13521 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13522
13523 2011-09-08 Juri Linkov <juri@jurta.org>
13524
13525 * progmodes/compile.el (compilation-environment): Make it
13526 a defcustom (bug#8340).
13527
13528 2011-09-08 Martin Rudalics <rudalics@gmx.at>
13529
13530 * window.el (frame-auto-delete): Rename to window-auto-delete.
13531 Make it control auto-deletion of windows and/or frames.
13532 (window-deletable-p): New argument FORCE. Rewrite conditions
13533 for deleting window/frame. (Bug#9419)
13534 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13535 Rewrite handling of case when window/frame can be deleted.
13536 (delete-windows-on): Call window-deletable-p with new FORCE
13537 argument t. (Bug#9456)
13538
13539 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
13540
13541 * help-mode.el (help-mode): Restore autoload.
13542
13543 2011-09-07 Juri Linkov <juri@jurta.org>
13544
13545 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13546 `compilation-environment'. Set buffer-local
13547 `compilation-environment' to `thisenv' later after (funcall mode).
13548 (Bug#8340)
13549
13550 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
13551 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13552 instead of replacing its value. (Bug#8340)
13553
13554 2011-09-07 Juri Linkov <juri@jurta.org>
13555
13556 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13557 based on text properties put by `grep-filter' instead of matching
13558 escape sequences.
13559 (grep-mode): Set buffer-local `compilation-error-screen-columns'
13560 to the value of `grep-error-screen-columns' (bug#9438).
13561
13562 2011-09-07 Juri Linkov <juri@jurta.org>
13563
13564 * simple.el (next-error-highlight, next-error-highlight-no-select):
13565 Doc fix (bug#9432).
13566
13567 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
13568
13569 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13570 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
13571
13572 2011-09-07 Leo Liu <sdl.web@gmail.com>
13573
13574 * net/rcirc.el (rcirc-mode): Conditionally initialize
13575 rcirc-input-ring.
13576
13577 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
13578
13579 * emacs-lisp/find-func.el (find-function-C-source): Only set
13580 find-function-C-source-directory after checking that we found a source
13581 file there (bug#9440).
13582
13583 2011-09-06 Alan Mackenzie <acm@muc.de>
13584
13585 * isearch.el (isearch-other-meta-char): Wherever a key list is
13586 unread, "unread" the prefix arg, too. This fixes bug #8901.
13587
13588 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
13589
13590 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13591
13592 2011-09-05 Juri Linkov <juri@jurta.org>
13593
13594 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13595
13596 2011-09-05 Juri Linkov <juri@jurta.org>
13597
13598 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13599 keeping point where processing of grep matches begins, and
13600 continue to delete remaining escape sequences from the same point.
13601 (grep-filter): Make leading zero optional in "0?1;31m" because
13602 git-grep emits "\033[1;31m" escape sequences unlike expected
13603 "\033[01;31m" as GNU Grep does (bug#9408).
13604 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13605
13606 2011-09-05 Juri Linkov <juri@jurta.org>
13607
13608 * subr.el (y-or-n-p): Capitalize "yes".
13609
13610 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
13611
13612 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
13613 `tramp-cache-unload-hook' where appropriate.
13614 (tramp-methods): Rename `tramp-remote-sh' to
13615 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
13616 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13617
13618 * net/tramp-sh.el (top): Don't require 'shell.
13619 (tramp-methods): Add `tramp-remote-shell' and
13620 `tramp-remote-shell-args' entries.
13621 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
13622 (tramp-sh-handle-shell-command): Remove.
13623 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13624 Use `tramp-remote-shell'.
13625
13626 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
13627
13628 * mail/sendmail.el (sendmail-query-once-function): Delete.
13629 (sendmail-query-once): Save directly to send-mail-function.
13630 Update message-send-mail-function too.
13631
13632 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
13633
13634 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13635
13636 * progmodes/python.el (python-mode-map): Use correct function to
13637 start python interpreter from menu-bar (as reported by Geert
13638 Kloosterman).
13639 (inferior-python-mode-map): Fix typo.
13640 (python-shell-map): Remove.
13641
13642 2011-09-03 Deniz Dogan <deniz@dogan.se>
13643
13644 * net/rcirc.el (rcirc-print): Simplify code for
13645 rcirc-scroll-show-maximum-output. There is no need to walk
13646 through all windows to find the right one.
13647
13648 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13649
13650 * help.el (help-return-method): Doc fix.
13651
13652 2011-09-03 Martin Rudalics <rudalics@gmx.at>
13653
13654 * window.el (window-deletable-p): Don't return a non-nil value
13655 when there's a buffer that was shown in the window before.
13656 (Bug#9419)
13657 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13658 Set window's previous buffers to nil.
13659
13660 2011-09-03 Eli Zaretskii <eliz@gnu.org>
13661
13662 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
13663 newline before and after the tag line, so it doesn't interfere
13664 with determining the paragraph direction of bidirectional text.
13665
13666 2011-09-03 Leo Liu <sdl.web@gmail.com>
13667
13668 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
13669
13670 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
13671
13672 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
13673 (pop-to-buffer): Change interactive spec. Pass second argument
13674 directly to display-buffer.
13675 (display-buffer): Fix interactive spec. Use functionp to
13676 distinguish between a function and a list of functions.
13677
13678 * abbrev.el (edit-abbrevs):
13679 * arc-mode.el (archive-extract):
13680 * autoinsert.el (auto-insert):
13681 * bookmark.el (bookmark-bmenu-list):
13682 * files.el (find-file):
13683 * view.el (view-buffer):
13684 * progmodes/compile.el (compilation-goto-locus):
13685 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
13686
13687 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
13688
13689 * window.el (display-buffer-alist): Doc fix.
13690 (display-buffer): Add docstring. Don't treat
13691 display-buffer-default specially.
13692 (display-buffer-reuse-selected-window)
13693 (display-buffer-same-window, display-buffer-maybe-same-window)
13694 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13695 (display-buffer-pop-up-window)
13696 (display-buffer-reuse-or-pop-window)
13697 (display-buffer-use-some-window): New functions.
13698 (display-buffer-default-action): Use them.
13699 (display-buffer-default): Delete.
13700 (pop-to-buffer-1): Fix choice of actions.
13701
13702 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
13703
13704 * minibuffer.el (completion--insert-strings): Don't get confused by
13705 completion entries that end with an LF char.
13706
13707 2011-09-01 Eli Zaretskii <eliz@gnu.org>
13708
13709 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
13710
13711 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
13712
13713 * window.el (display-buffer): Restore interactive spec.
13714 (display-buffer-same-window, display-buffer-other-window):
13715 New functions.
13716 (pop-to-buffer-1): New function. Use the above.
13717 (pop-to-buffer, pop-to-buffer-same-window): Use it.
13718 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
13719
13720 * view.el (view-buffer-other-window, view-buffer-other-frame):
13721 Just use pop-to-buffer.
13722
13723 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13724
13725 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
13726
13727 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
13728
13729 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
13730
13731 2011-08-31 Richard Stallman <rms@gnu.org>
13732
13733 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
13734 of the separation of rmail-view-buffer from rmail-buffer.
13735 If you say no to "replace original", the decrypt is in the
13736 view buffer. If you say yes, the decrypt goes into the
13737 rmail buffer also.
13738
13739 2011-08-31 Martin Rudalics <rudalics@gmx.at>
13740
13741 * window.el (display-buffer-window): Rewrite doc-string.
13742 (display-buffer-record-window): New function.
13743 (display-buffer-macro-specifiers)
13744 (display-buffer-even-window-sizes, display-buffer-set-height)
13745 (display-buffer-set-width, display-buffer-in-window)
13746 (display-buffer-reuse-window, display-buffer-split-specifiers)
13747 (display-buffer-side-specifiers, display-buffer-split-window-1)
13748 (display-buffer-split-window, display-buffer-split-atom-window)
13749 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13750 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
13751 (display-buffer-other-window-means-other-frame)
13752 (display-buffer-normalize-special)
13753 (display-buffer-normalize-default)
13754 (display-buffer-normalize-argument)
13755 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
13756 (display-buffer-normalize-specifiers, display-buffer-frame)
13757 (display-buffer-same-window, display-buffer-same-frame)
13758 (display-buffer-other-window)
13759 (display-buffer-same-frame-other-window)
13760 (display-buffer-other-frame, pop-to-buffer-same-window)
13761 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
13762 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
13763 (switch-to-buffer-same-frame)
13764 (switch-to-buffer-other-window-same-frame)
13765 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
13766 (display-buffer-alist-set-1, display-buffer-alist-set-2)
13767 (display-buffer-alist-set): Remove.
13768 (display-buffer-function, special-display-buffer-names)
13769 (special-display-regexps, special-display-function):
13770 In doc-string refer to display-buffer-window and quit-restore
13771 parameter.
13772 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
13773 (special-display-frame-alist, special-display-popup-frame)
13774 (same-window-buffer-names, same-window-regexps, same-window-p)
13775 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13776 (split-window-preferred-function, split-height-threshold)
13777 (split-width-threshold, window-splittable-p)
13778 (split-window-sensibly, window--try-to-split-window)
13779 (window--frame-usable-p, even-window-heights)
13780 (window--even-window-heights, window--display-buffer-1)
13781 (window--display-buffer-2, display-buffer-other-frame):
13782 Restore old Emacs 23 code, order and doc-strings where applicable.
13783 (display-buffer-default, display-buffer-assq-regexp): New functions.
13784 (display-buffer-alist): Rewrite doc-string.
13785 (display-buffer-default-action)
13786 (display-buffer-overriding-action): New variables.
13787 (display-buffer, switch-to-buffer): Rewrite.
13788 (pop-to-buffer): Restore Emacs 23 behavior but use
13789 window-normalize-buffer-to-display.
13790 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
13791 Restore Emacs 23 behavior but use
13792 window-normalize-buffer-to-switch-to.
13793 (pop-to-buffer-same-window): Rewrite.
13794 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
13795 Rewrite using Emacs 23 options.
13796
13797 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
13798
13799 * net/tramp.el (tramp-root-regexp): Remove.
13800 (tramp-completion-file-name-regexp-unified)
13801 (tramp-completion-file-name-regexp-separate)
13802 (tramp-completion-file-name-regexp-url): Don't use leading volume
13803 letter on w32 systems. (Bug#5303, Bug#9311)
13804 (tramp-drop-volume-letter): Simplify definition.
13805 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
13806
13807 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
13808
13809 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
13810 (bug#9356).
13811
13812 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
13813
13814 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
13815
13816 2011-08-29 Juri Linkov <juri@jurta.org>
13817
13818 * isearch.el (isearch-done): Don't display message "Mark saved"
13819 when arg `edit' is non-nil to prevent its flicker in the echo area.
13820
13821 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
13822
13823 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
13824 obsolete packages for deletion.
13825
13826 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
13827
13828 * help-mode.el (help-mode-map): Add special-mode-map to parent.
13829 (help-mode): Derive help-mode from special-mode. Don't invoke
13830 view-mode from help-mode.
13831 (help-xref-override-view-map): Remove.
13832 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
13833 view-mode is not used anymore.
13834
13835 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
13836
13837 * server.el (server-port): Doc fix.
13838
13839 * cus-theme.el (custom-theme-choose-mode): Inherit from
13840 special-mode (Bug#9124).
13841 (custom-theme-choose-mode-map): Add special-mode to parent.
13842
13843 2011-08-28 Alan Mackenzie <acm@muc.de>
13844
13845 * progmodes/cc-fonts.el
13846 (c-make-font-lock-BO-decl-search-function): New function.
13847 (c-basic-matchers-after - "Fontify the clauses after various
13848 keywords"): Extract the three keyword lists for the 3 erroneous
13849 constructs from the list of four, and use the new function above
13850 in place of an old one.
13851
13852 2011-08-28 Deniz Dogan <deniz@dogan.se>
13853
13854 * net/rcirc.el (rcirc-insert-prev-input)
13855 (rcirc-insert-next-input): Remove unused argument.
13856
13857 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
13858
13859 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
13860
13861 2011-08-27 Alan Mackenzie <acm@muc.de>
13862
13863 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
13864 handle function pointer parameters properly.
13865
13866 2011-08-27 Martin Rudalics <rudalics@gmx.at>
13867
13868 * window.el (display-buffer-reuse-window): Fix case where
13869 selected window was reused with non-nil OTHER-WINDOW argument.
13870 (Bug#9381)
13871
13872 2011-08-27 Deniz Dogan <deniz@dogan.se>
13873
13874 * net/rcirc.el (rcirc-check-auth-status): Adding support for
13875 oftc's NickServ messages.
13876
13877 2011-08-27 Glenn Morris <rgm@gnu.org>
13878
13879 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
13880
13881 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
13882
13883 * emacs-lisp/package.el (package-install): Call package-initialize
13884 if called interactively.
13885
13886 2011-08-26 Leo Liu <sdl.web@gmail.com>
13887
13888 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
13889
13890 2011-08-25 Juri Linkov <juri@jurta.org>
13891
13892 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13893 `search-whitespace-regexp' (bug#9364).
13894
13895 2011-08-25 Juri Linkov <juri@jurta.org>
13896
13897 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
13898 `regexp-search-ring' to their global values to protect from
13899 updating by `read-from-minibuffer' (bug#9185).
13900
13901 2011-08-25 Juri Linkov <juri@jurta.org>
13902
13903 * textmodes/ispell.el (ispell-command-loop): Add newline
13904 at the end of the "Use option `i'..." line.
13905
13906 2011-08-25 Juri Linkov <juri@jurta.org>
13907
13908 * battery.el (display-battery-mode): If `battery-status-function'
13909 or `battery-mode-line-format' is nil, display the message and set
13910 `display-battery-mode' to nil (bug#9363).
13911
13912 2011-08-25 Eli Zaretskii <eliz@gnu.org>
13913
13914 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
13915 bidi-string-mark-left-to-right; they are unnecessary now.
13916
13917 2011-08-25 Deniz Dogan <deniz@dogan.se>
13918
13919 * net/quickurl.el: Documentation typo fixes.
13920
13921 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
13922
13923 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
13924
13925 2011-08-25 Glenn Morris <rgm@gnu.org>
13926
13927 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
13928
13929 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
13930 (smtpmail-via-smtp): Handle nil response from smtp.
13931
13932 2011-08-24 Juri Linkov <juri@jurta.org>
13933
13934 * proced.el (proced-marked): Inherit from `error' instead of
13935 `font-lock-warning-face'.
13936
13937 * ibuffer.el (ibuffer-marked-face): Change default face from
13938 `font-lock-warning-face' to `warning'.
13939 (ibuffer-deletion-face): Change default face from
13940 `font-lock-type-face' to `error'.
13941
13942 * battery.el (battery-update): Use the face `error' instead of
13943 `font-lock-warning-face' (bug#6117).
13944
13945 2011-08-24 Juri Linkov <juri@jurta.org>
13946
13947 * faces.el (success): Change face color from "Green3" to
13948 "ForestGreen" on light background (bug#9353).
13949
13950 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
13951
13952 * window.el (quit-window): Rename from quit-restore-window.
13953 Use same arglist as old quit-window.
13954 (frame-auto-delete): Doc fix.
13955
13956 * view.el (view-mode-exit): Use quit-window.
13957
13958 2011-08-24 Juri Linkov <juri@jurta.org>
13959
13960 * isearch.el (isearch-ring-adjust1): Start visiting previous
13961 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
13962 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
13963 for empty search string (when the last search string is reused
13964 automatically) to adjust the isearch ring to the last element and
13965 prepare the correct index for further M-p commands (bug#9185).
13966
13967 2011-08-24 Kenichi Handa <handa@m17n.org>
13968
13969 * international/ucs-normalize.el: If decomposition property of
13970 CHAR is the default one (i.e. a list of CHAR itself), treat it as
13971 nil.
13972 (nfd, nfkd): Likewise.
13973
13974 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
13975
13976 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
13977 from process filters aren't reliably transmitted to the surrounding
13978 accept-process-output.
13979 (mpc-proc-check): New function.
13980 (mpc-proc-sync): Use it (bug#8293)
13981
13982 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13983
13984 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
13985 Add compatibility functions (bug#9313).
13986
13987 2011-08-23 Eli Zaretskii <eliz@gnu.org>
13988
13989 * cus-start.el (all): Add entry for bidi-paragraph-direction.
13990
13991 * international/uni-bidi.el: Regenerate.
13992
13993 2011-08-23 Kenichi Handa <handa@m17n.org>
13994
13995 * international/charprop.el:
13996 * international/uni-bidi.el:
13997 * international/uni-category.el:
13998 * international/uni-combining.el:
13999 * international/uni-comment.el:
14000 * international/uni-decimal.el:
14001 * international/uni-decomposition.el:
14002 * international/uni-digit.el:
14003 * international/uni-lowercase.el:
14004 * international/uni-mirrored.el:
14005 * international/uni-name.el:
14006 * international/uni-numeric.el:
14007 * international/uni-old-name.el:
14008 * international/uni-titlecase.el:
14009 * international/uni-uppercase.el: Regenerate.
14010
14011 2011-08-23 Martin Rudalics <rudalics@gmx.at>
14012
14013 * help.el (help-window-setup): Fix message displayed when other
14014 window is reused. (Bug#9341)
14015
14016 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14017
14018 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14019 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14020
14021 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14022 Mark obsolete.
14023 * shell.el (shell-parse-pcomplete-arguments): New function.
14024 (shell-completion-vars): Use it instead (bug#9160).
14025
14026 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14027
14028 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14029 strings and comments (bug#9333).
14030
14031 * emacs-lisp/debug.el (debug-arglist): New function.
14032 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14033 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14034
14035 2011-08-22 Juri Linkov <juri@jurta.org>
14036
14037 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14038 Revert regexp that highlights output switches to its old
14039 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14040
14041 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14042 to check for empty output (bug#9226).
14043
14044 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
14045
14046 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14047 symbol-constituent as the default, as that stops font-lock from
14048 working properly (Bug#8843).
14049
14050 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14051
14052 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14053 `coding-system-for-*' around the process open call to avoid
14054 auth-source side effects.
14055 (smtpmail-try-auth-methods): Expand the secret password.
14056 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14057 probe hangs.
14058
14059 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
14060
14061 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14062
14063 * emacs-lisp/find-func.el (find-function-noselect): New arg
14064 lisp-only.
14065
14066 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14067 signal an error for built-in functions (Bug#6664).
14068
14069 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14070
14071 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14072 (smtpmail-try-auth-methods): Use it.
14073
14074 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
14075
14076 * font-lock.el (font-lock-fontify-region)
14077 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14078 (font-lock-default-unfontify-buffer)
14079 (font-lock-default-fontify-region)
14080 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14081
14082 * progmodes/compile.el (compilation-error-properties):
14083 Fix confusion between file struct and message struct (Bug#9319).
14084 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14085 `ant' regexp.
14086
14087 * net/browse-url.el (browse-url-firefox): Don't call
14088 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14089
14090 2011-08-20 Glenn Morris <rgm@gnu.org>
14091
14092 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14093
14094 * tutorial.el (tutorial--default-keys): Update some default bindings.
14095
14096 * files.el (hack-local-variables): Fully ignore case for "mode:".
14097
14098 2011-08-20 Alan Mackenzie <acm@muc.de>
14099
14100 Resolve invalid use of a regexp in regexp-opt.
14101
14102 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14103 detection for a java annotation.
14104
14105 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
14106 detection for a java annotation.
14107
14108 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14109 handling for java.
14110 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14111
14112 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
14113
14114 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14115 (Bug#9274).
14116
14117 2011-08-20 Alan Mackenzie <acm@muc.de>
14118
14119 Fontify CPP expressions correctly when starting in the middle of
14120 such a construct. Mainly for when jit-lock etc. starts a chunk
14121 here.
14122
14123 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
14124 variable.
14125 (c-make-font-lock-search-form): New function, extracted from
14126 c-make-font-lock-search-function.
14127 (c-make-font-lock-search-function): Use the above function.
14128 (c-make-font-lock-context-search-function): New function.
14129 (c-cpp-matchers): Enhance the preprocessor expression case with
14130 the above function
14131 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14132 which takes an expression.
14133
14134 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14135
14136 2011-08-20 Martin Rudalics <rudalics@gmx.at>
14137
14138 * window.el (display-buffer-reuse-window)
14139 (display-buffer-pop-up-window): Don't reuse or split a side
14140 window.
14141
14142 2011-08-19 Glenn Morris <rgm@gnu.org>
14143
14144 * files.el (hack-local-variables-prop-line, hack-local-variables):
14145 Downcase "Mode:". (Bug#9331)
14146
14147 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
14148
14149 * international/characters.el: Add L and R categories.
14150
14151 * subr.el (bidi-string-mark-left-to-right): Rename from
14152 string-mark-left-to-right. Use category search.
14153
14154 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14155
14156 2011-08-18 Juri Linkov <juri@jurta.org>
14157
14158 * faces.el (error, warning, success): New faces with definitions
14159 copied from old default values of `font-lock-warning-face',
14160 `compilation-warning', `compilation-info' (bug#6117).
14161
14162 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14163
14164 * progmodes/compile.el (compilation-error): Inherit from `error'.
14165 (compilation-warning): Inherit from `warning'.
14166 (compilation-info): Inherit from `success'.
14167
14168 * dired.el (dired-marked): Inherit from `warning'.
14169 (dired-flagged): Inherit from `error'.
14170
14171 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14172
14173 * mail/smtpmail.el (auth-source): Require to avoid problems with
14174 binding variables (bug#9298). Also clean up some unused
14175 autoloads.
14176
14177 * net/network-stream.el (network-stream-open-starttls):
14178 Support using starttls.el without using gnutls-cli.
14179
14180 2011-08-17 Juri Linkov <juri@jurta.org>
14181
14182 * progmodes/grep.el (rgrep): Handle the case when
14183 `grep-find-command' is a cons cell (bug#9278).
14184
14185 2011-08-17 Martin Rudalics <rudalics@gmx.at>
14186
14187 * window.el (display-buffer-pop-up-frame): Run frame creation
14188 function with BUFFER current (as special-display-popup-frame
14189 does). Reported by Drew Adams.
14190
14191 2011-08-17 Daiki Ueno <ueno@unixuser.org>
14192
14193 * epa-mail.el: Simplify GnuPG group expansion using
14194 epg-expand-group.
14195 (epa-mail-group-alist, epa-mail-group-modtime)
14196 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14197 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14198 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14199 Remove.
14200
14201 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
14202
14203 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14204
14205 2011-08-16 Alan Mackenzie <acm@muc.de>
14206
14207 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14208 Correct, to avoid the inside of macros.
14209
14210 2011-08-16 Richard Stallman <rms@gnu.org>
14211
14212 * epa-mail.el: Handle GnuPG group definitions.
14213 (epa-mail-group-alist, epa-mail-group-modtime)
14214 (epa-mail-gnupg-conf-file): New variables.
14215 (epa-mail-parse-groups, epa-mail-sync-groups)
14216 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14217 (epa-mail-expand-recipients): New functions.
14218 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14219
14220 * mail/rmail.el (rmail-epa-decrypt): New command.
14221
14222 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14223 Don't bind buffer-read-only, just inhibit-read-only.
14224 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14225 (epa-decrypt-armor-in-region): Make error message clearer.
14226
14227 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14228
14229 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14230 and "a2b" to "ab" for `prefix'.
14231
14232 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
14233
14234 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14235 filter groups.
14236 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14237 Fourquet (Bug#8804).
14238
14239 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
14240
14241 * startup.el (argi): Declare as global variable (bug#9275).
14242
14243 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
14244
14245 * subr.el (string-mark-left-to-right): Search the entire string
14246 for RTL script, not just the terminating character. Doc fix.
14247
14248 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14249
14250 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14251 New function.
14252 (js--regexp-literal, js-syntax-propertize-function): Remove.
14253 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14254 (js-mode-map): Don't rebind electric keys.
14255 (js-insert-and-indent): Remove.
14256 (js-mode): Setup electric-layout and electric-indent instead.
14257
14258 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14259
14260 2011-08-12 Daiki Ueno <ueno@unixuser.org>
14261
14262 * epa.el (epa-progress-callback-function): Fix the logic of
14263 displaying progress.
14264 * epa-file.el (epa-file-insert-file-contents): Make progress
14265 display more user-friendly.
14266 (epa-file-write-region): Ditto.
14267
14268 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
14269
14270 * subr.el (string-mark-left-to-right): New function.
14271
14272 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14273 Use string-mark-left-to-right.
14274 (list-buffers-noselect): Caller changed.
14275
14276 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14277 Use string-mark-left-to-right.
14278 (tabulated-list-print): Recenter after moving point.
14279
14280 2011-08-10 Juri Linkov <juri@jurta.org>
14281
14282 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14283 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14284 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14285
14286 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
14287
14288 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14289 (Bug#7554).
14290
14291 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
14292
14293 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14294 character. (Bug#6594)
14295
14296 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
14297
14298 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14299 (image-dired--with-db-file): New macro.
14300 (image-dired-write-tags, image-dired-remove-tag)
14301 (image-dired-create-gallery-lists, image-dired-write-comments)
14302 (image-dired-get-comment, image-dired-mark-tagged-files)
14303 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14304 (image-dired-gallery-generate): Use insert-file-contents.
14305
14306 * time.el (display-time-world-list, display-time-world-display):
14307 * time-stamp.el (time-stamp-string):
14308 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14309 set-time-zone-rule (Bug#7337).
14310
14311 2011-08-08 Daiki Ueno <ueno@unixuser.org>
14312
14313 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14314 (epg-error-to-string, epg-errors-to-string): New function.
14315 (epg-wait-for-completion): Reverse errors list.
14316 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14317 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14318 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14319 (epg-sign-keys, epg-generate-key-from-file)
14320 (epg-generate-key-from-string): Format errors by using
14321 epg-errors-to-string (bug#9255).
14322 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14323
14324 2011-08-07 Juri Linkov <juri@jurta.org>
14325
14326 * faces.el (list-faces-display): Remove extra angle bracket
14327 from `help-mode-map'.
14328
14329 * info.el (Info-history-toc-nodes): Doc fix.
14330
14331 * longlines.el (longlines-mode): Doc fix.
14332
14333 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14334
14335 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14336 of statements and in a few more cases (bug#9183).
14337
14338 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14339 New functions.
14340 (cl-transform-lambda): Use them (bug#9239).
14341
14342 2011-08-05 Martin Rudalics <rudalics@gmx.at>
14343
14344 * window.el (display-buffer-same-window)
14345 (display-buffer-same-frame, display-buffer-other-window)
14346 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14347 (pop-to-buffer-other-window)
14348 (pop-to-buffer-same-frame-other-window)
14349 (pop-to-buffer-other-frame): Make them defuns.
14350 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14351
14352 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14353
14354 * subr.el (make-composed-keymap): Move from C. Change calling
14355 convention, and improve docstring to bring attention to a subtle point.
14356 * minibuffer.el (completing-read-default): Adjust accordingly.
14357
14358 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
14359
14360 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14361 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14362
14363 * net/trampver.el: Update release number.
14364
14365 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14366
14367 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14368 "in" (bug#9190).
14369
14370 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14371
14372 * mail/sendmail.el (sendmail-query-once): Restore the current
14373 buffer after querying (bug#9074).
14374
14375 * dired.el (dired-flagged): Use different faces for marked and
14376 flagged files (bug#6117).
14377
14378 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14379 (bug#4433).
14380
14381 * ido.el (ido-mode): Switch off the message if called
14382 non-interactively.
14383
14384 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14385 before 587, since it appears that that's more likely to work for
14386 more people.
14387
14388 * cus-edit.el (custom-file): When running under emacs -q, always
14389 refuse to save the customizations, even if the .emacs file doesn't
14390 exist.
14391
14392 * info.el: Remove the `Info-beginning-of-buffer' function
14393 (bug#8325).
14394
14395 * net/network-stream.el (network-stream-open-starttls):
14396 Use `starttls-available-p' to see whether starttls.el can be used.
14397
14398 2011-08-01 Martin Rudalics <rudalics@gmx.at>
14399
14400 * window.el (display-buffer-in-window): Don't set dedicated status
14401 of window here (Bug#9215).
14402 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14403 (display-buffer-pop-up-side-window)
14404 (display-buffer-in-side-window): Set dedicated status of window here.
14405
14406 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14407
14408 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14409 before binding generated-autoload-file.
14410
14411 2011-08-01 Deniz Dogan <deniz@dogan.se>
14412
14413 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14414
14415 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
14416
14417 Sync with Tramp 2.2.2.
14418
14419 * net/trampver.el: Update release number.
14420
14421 2011-07-30 Juri Linkov <juri@jurta.org>
14422
14423 * dired-aux.el (dired-touch-initial): Remove function.
14424 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14425 current time, and `default' to the last modification time of the
14426 current marked file (bug#6887).
14427
14428 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14429
14430 * simple.el (goto-line): Use string-to-number to provide a
14431 numeric argument to read-number (bug#9163).
14432
14433 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
14434
14435 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14436 connection process, it could be nil.
14437
14438 2011-07-27 Leo Liu <sdl.web@gmail.com>
14439
14440 Simplify url handling in rcirc-mode.
14441
14442 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14443 (rcirc-browse-url-at-mouse): Remove.
14444 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14445
14446 2011-07-26 Alan Mackenzie <acm@muc.de>
14447
14448 Fontify bitfield declarations properly.
14449
14450 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14451 (c-symbol-chars): Now exported as a lang variable.
14452 (c-not-primitive-type-keywords): New lang variable.
14453
14454 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14455 QT keyword "more" to prevent "more slots: ...." being spuriously
14456 parsed as a bitfield declaration.
14457
14458 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14459 Refactor and enhance to handle bitfield declarations.
14460 (c-punctuation-in): New function.
14461 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14462 declarations properly.
14463
14464 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
14465
14466 * calendar/icalendar.el (icalendar--all-events): Take care of
14467 multiple vcalendars in a single file.
14468 (icalendar--convert-float-to-ical): Checkdoc fixes.
14469
14470 2011-07-25 Deniz Dogan <deniz@dogan.se>
14471
14472 * image.el (insert-image): Clarifying docstring.
14473
14474 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
14475
14476 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14477 `tramp-send-command-and-check' if there is no error.
14478 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14479
14480 2011-07-22 Alan Mackenzie <acm@muc.de>
14481
14482 Prevent cc-langs.elc being loaded at run time.
14483
14484 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14485 cc-langs.
14486
14487 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
14488 "(require 'cc-langs)". Quote a form so it will evaluate at
14489 (cc-mode's) compilation time.
14490
14491 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
14492
14493 * net/tramp.el (tramp-file-name-handler): Avoid recursive
14494 loading. (Bug#9114)
14495
14496 2011-07-21 Martin Rudalics <rudalics@gmx.at>
14497
14498 * window.el (display-buffer-pop-up-window)
14499 (display-buffer-pop-up-side-window)
14500 (display-buffer-in-side-window): Call display-buffer-set-height
14501 and display-buffer-set-width after setting the new window's
14502 buffer so `fit-window-to-buffer' and friends work on the right buffer.
14503
14504 2011-07-20 Sam Steingold <sds@gnu.org>
14505
14506 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14507 (etags-tags-included-tables): Call `convert-standard-filename' on
14508 the file names contained in TAGS so that windows Emacs can handle
14509 TAGS files created by cygwin ctags.
14510
14511 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14512
14513 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14514 which apparently didn't work.
14515
14516 2011-07-19 Roland Winkler <winkler@gnu.org>
14517
14518 * proced.el (proced-send-signal): For *Marked Processes* buffer
14519 put point at beginning of buffer.
14520
14521 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
14522
14523 * proced.el (proced-format): Make header lines align with the text
14524 (bug#1779).
14525
14526 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14527
14528 * view.el (view-buffer): Allow running in `special' modes if we're
14529 visiting a file (bug#8615).
14530
14531 2011-07-19 Martin Rudalics <rudalics@gmx.at>
14532
14533 * window.el (display-buffer-alist-of-strings-p)
14534 (display-buffer-alist-set-1, display-buffer-alist-set-2):
14535 New functions.
14536 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14537 more accurately.
14538
14539 2011-07-18 Alan Mackenzie <acm@muc.de>
14540
14541 Fontify declarators properly when, e.g., a jit-lock chunk begins
14542 inside a declaration.
14543
14544 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14545
14546 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14547 New function.
14548 (c-complex-decl-matchers): Insert reference to
14549 c-font-lock-enclosing-decls.
14550
14551 * progmodes/cc-engine.el (c-backward-single-comment):
14552 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14553 to nil around calls to (forward-comment -1).
14554
14555 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14556
14557 * image.el (put-image): Doc typo fix.
14558
14559 * progmodes/etags.el (tags-search): Doc typo fix.
14560
14561 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14562 password if we get errors 550 to 554.
14563
14564 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14565
14566 * net/gnutls.el (gnutls-log-level): Remove.
14567
14568 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14569 indentation character (bug#6380).
14570
14571 * files.el (buffer-offer-save): Made permanently local (bug#6241).
14572
14573 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14574 to clarify what the problem is (bug#4291).
14575
14576 * simple.el (current-kill): Clarify what
14577 `interprogram-paste-function' does (bug#7500).
14578 (auto-fill-mode): Document `auto-fill-function' in relation to
14579 `auto-fill-mode' (bug#2470).
14580
14581 2011-07-16 Lawrence Mitchell <wence@gmx.li>
14582
14583 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14584 method if slot is read-only (bug#9035).
14585
14586 2011-07-16 Martin Rudalics <rudalics@gmx.at>
14587
14588 * frame.el (select-frame-set-input-focus): New argument NORECORD.
14589 * window.el (pop-to-buffer): Select window used even if it was
14590 selected before, see discussion of (Bug#8615), (Bug#6954).
14591 Pass argument NORECORD on to select-frame-set-input-focus.
14592
14593 2011-07-15 Glenn Morris <rgm@gnu.org>
14594
14595 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
14596 Respect help-form.
14597
14598 2011-07-09 Lawrence Mitchell <wence@gmx.li>
14599
14600 * net/gnutls.el (gnutls-min-prime-bits): New variable.
14601 (gnutls-negotiate): Use it.
14602
14603 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14604
14605 * net/gnutls.el (gnutls-negotiate):
14606 Upcase `gnutls-algorithm-priority'.
14607
14608 2011-07-15 Glenn Morris <rgm@gnu.org>
14609
14610 * jka-compr.el (jka-compr-verbose): Move from here...
14611 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
14612 Add missing :version tag.
14613 * info.el: No need to require jka-compr when compiling.
14614
14615 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14616
14617 * net/gnutls.el (gnutls-algorithm-priority): New variable.
14618 (gnutls-negotiate): Use it.
14619
14620 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14621
14622 * info.el (Info-beginning-of-buffer): New command.
14623 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
14624 announcing `b' as the key (bug#8325).
14625 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
14626
14627 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14628
14629 * international/mule-cmds.el
14630 (describe-specified-language-support): Make the error message
14631 clearer (bug#8905).
14632
14633 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
14634
14635 * isearch.el (isearch-barrier): Add a doc string, since it's
14636 mentioned in a function doc string (bug#8678).
14637
14638 2011-07-15 Martin Rudalics <rudalics@gmx.at>
14639
14640 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
14641 buffer argument (Bug#9083) and self-identifying label argument.
14642
14643 2011-07-15 Glenn Morris <rgm@gnu.org>
14644
14645 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
14646
14647 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14648
14649 * man.el (Man-fontify-manpage): Fix message when formatting the
14650 man page (bug#7929).
14651
14652 2011-07-14 Eli Zaretskii <eliz@gnu.org>
14653
14654 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
14655 argument LRM; if non-nil, append an invisible LRM character to the
14656 buffer name.
14657 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
14658 last argument non-nil, when formatting buffer names.
14659 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
14660 paragraph direction.
14661
14662 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14663
14664 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
14665 the man page name (bug#7929).
14666
14667 * image.el (put-image): Mention the `put-image' overlay property
14668 (bug#7834).
14669
14670 * scroll-bar.el (set-scroll-bar-mode): Mention that
14671 `scroll-bar-mode' lists the values (bug#7772).
14672
14673 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
14674 command (bug#7729).
14675
14676 * rect.el (apply-on-rectangle): Return the point after the last
14677 operation.
14678 (string-rectangle): Go to the point after the last operation
14679 (bug#7522).
14680
14681 * printing.el (pr-toggle-region): Clarify the documentation
14682 slightly (bug#7493).
14683
14684 * time.el (display-time-update):
14685 Allow `display-time-mail-function' to return nil (bug#7158).
14686 Fix suggested by Detlev Zundel.
14687
14688 * vc/diff.el (diff): Clarify the order the file names are read
14689 (bug#7111).
14690
14691 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
14692 the doc string (bug#7015).
14693
14694 * font-lock.el (font-lock-maximum-decoration): Mention what
14695 numeric levels mean (bug#6935).
14696
14697 * startup.el (initial-buffer-choice): Don't mention the `none'
14698 selection, which is against policy.
14699
14700 2011-07-14 Martin Rudalics <rudalics@gmx.at>
14701
14702 * window.el (display-buffer-normalize-special):
14703 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
14704
14705 2011-07-14 Eli Zaretskii <eliz@gnu.org>
14706
14707 * subr.el (version<, version<=, version=): Mention "-CVS" and
14708 "-12345" alpha version numbers.
14709
14710 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
14711
14712 * bindings.el: Add advertised binding for set-mark-command
14713 (Bug#5772).
14714
14715 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
14716
14717 * bindings.el (mode-line-other-buffer):
14718 * bookmark.el (bookmark-bmenu-2-window):
14719 * bs.el (bs-cycle-next, bs-cycle-previous):
14720 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
14721 switch-to-buffer.
14722
14723 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14724 Delete.
14725
14726 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
14727
14728 * follow.el (follow-debug-message, follow-redisplay):
14729 * jka-cmpr-hook.el (with-auto-compression-mode):
14730 Fix typos in docstrings.
14731
14732 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14733
14734 * subr.el (with-silent-modifications): Clarify somewhat what the
14735 macro inhibits (bug#6525).
14736
14737 * simple.el (eval-expression): Note what it does if called
14738 interactively (bug#6495).
14739
14740 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
14741
14742 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
14743 Use pop-to-buffer buffer-or-name if it is nil.
14744
14745 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14746 Remove switch-to-buffer.
14747
14748 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14749
14750 * files.el (make-directory): Clarify that an error will be raised
14751 if there's an error (bug#6397).
14752
14753 * startup.el (initial-buffer-choice): Add `none' as a choice
14754 (bug#6234).
14755
14756 * subr.el (add-hook): Clarify section about buffer-local hooks
14757 (bug#6218).
14758
14759 * dired.el (dired-flagged): Clarify doc string (bug#6117).
14760
14761 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
14762
14763 * tabify.el (untabify): Preserve the current column so that point
14764 doesn't move (bug#6032).
14765
14766 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14767
14768 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
14769 Rewrite to avoid awkward possessive "s" (bug#5986).
14770
14771 2011-07-13 Glenn Morris <rgm@gnu.org>
14772
14773 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
14774 (dired-insert-directory): Give a message the first time
14775 if ls is found not to support --dired.
14776
14777 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14778
14779 * simple.el (toggle-truncate-lines): Clarify what is toggled
14780 (bug#5580). Text by Drew Adams.
14781
14782 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
14783
14784 * simple.el (blink-matching-open): Make the error message from the
14785 last change less verbose.
14786
14787 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
14788
14789 * font-lock.el (font-lock-comment-face): Use the high contrast
14790 "yellow" color for font-lock-comment-face on low color terminals
14791 using a dark background color (bug#4221).
14792
14793 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14794
14795 * dired.el (dired-insert-set-properties): Make the doc string
14796 reflect what it does now (bug#5325).
14797
14798 * simple.el (blink-matching-open): Say that we were unable to find
14799 the match within the limit, if we're limited (bug#5122).
14800
14801 * international/mule-cmds.el (prefer-coding-system): Add an
14802 example (bug#4869).
14803
14804 * progmodes/etags.el (tags-search): Document `file-list-form'
14805 (bug#4731).
14806
14807 2011-07-13 Lawrence Mitchell <wence@gmx.li>
14808
14809 * net/browse-url.el (browse-url-default-browser)
14810 (browse-url-browser-function): Make the default browser choice a
14811 bit more logical (bug#4300). Also clean up the doc string.
14812
14813 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
14814
14815 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
14816 binary endings (bug#4440).
14817
14818 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14819
14820 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
14821 which can be pretty annoying (bug#8971).
14822
14823 * jka-compr.el (jka-compr-verbose): New variable, and use
14824 throughout (bug#8971).
14825
14826 * info.el (Info-find-file): Fall back on the installation
14827 directory if we can't find the info node anywhere else.
14828
14829 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
14830
14831 * vc/vc.el (vc-revert-file):
14832 Don't set file time-stamp in the past. (Bug#5181)
14833
14834 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14835
14836 * files.el (after-find-file): Give a better error message when
14837 trying to find a symlink that points to a file that doesn't exist
14838 (bug#4398).
14839
14840 * progmodes/cc-vars.el: Remove (probably) misleading comment
14841 (bug#4396).
14842
14843 2011-07-12 Johan Bockgård <bojohan@gnu.org>
14844
14845 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
14846
14847 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
14848
14849 * mouse-sel.el: Hack restoring functionality, while keeping
14850 compatibility with 2010-07-03 changes to mouse selection.
14851 (mouse-sel-primary-overlay): New var.
14852 (mouse-sel-selection-alist): Use it.
14853 (mouse-sel-mode): Doc fix; remove points that are default features
14854 of mouse.el.
14855
14856 2011-07-12 Johan Bockgård <bojohan@gnu.org>
14857
14858 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14859 Fix previous fix (bug#2490).
14860
14861 2011-07-12 Roland Winkler <winkler@gnu.org>
14862
14863 * textmodes/bibtex.el (bibtex-initialize):
14864 Use pop-to-buffer-same-window.
14865 (bibtex-search-entries): Fix interactive call.
14866
14867 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14868
14869 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14870 Fontise bytecomp Error lines more correctly (bug#2490).
14871 Fix suggested by Johan Bockgård.
14872
14873 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
14874
14875 * dired-x.el (dired-guess-default): Use `delete-dups'.
14876
14877 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
14878
14879 * dired.el (dired-mark-prompt):
14880 * dired-aux.el (dired-read-shell-command): Doc fix.
14881
14882 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14883
14884 * mail/sendmail.el (sendmail-query-once):
14885 Use `customize-save-variable' unconditionally, now that it works under
14886 emacs -Q.
14887
14888 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14889
14890 * cus-edit.el (custom-file): Take an optional no-error variable.
14891 (customize-save-variable): Set the variable, and give a warning if
14892 running under "emacs -q".
14893
14894 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
14895
14896 * loadhist.el (unload-feature-special-hooks):
14897 Add `auto-coding-functions', `fill-nobreak-predicate' and
14898 `find-directory-functions' (bug#5327).
14899
14900 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14901
14902 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
14903
14904 * cus-edit.el (custom-guess-name-alist): -alist variables should
14905 use the `alist' type (bug#3120). Suggested by Drew Adams.
14906
14907 * printing.el: Add documentation to all the `pr-toggle-' commands.
14908
14909 2011-07-11 Leo Liu <sdl.web@gmail.com>
14910
14911 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
14912 backends where it makes sense (bug#2623).
14913
14914 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14915
14916 * dired-x.el (dired-guess-default): Remove duplicate shell command
14917 entries (bug#2028).
14918 (dired-guess-default): Fix grammar in doc string (bug#2028).
14919 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
14920
14921 * subr.el (remove-duplicates): New conveniency function.
14922
14923 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14924
14925 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
14926 (bug#1526).
14927
14928 2011-07-10 Martin Rudalics <rudalics@gmx.at>
14929
14930 * window.el (display-buffer-normalize-default): Don't invert
14931 meaning of even-window-heights. Reported by Eli Zaretskii
14932 <eliz@gnu.org>.
14933
14934 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
14935
14936 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
14937
14938 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
14939
14940 * window.el (display-buffer): Fix arguments to
14941 display-buffer-reuse-window in last change.
14942
14943 * faces.el (link): Use a less saturated blue on light backgrounds.
14944
14945 * startup.el (fancy-startup-text, fancy-about-text)
14946 (fancy-startup-tail): Use font-lock faces, for background safety.
14947
14948 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
14949
14950 * emulation/viper-cmd.el (viper-change-state-to-vi):
14951 Limit triggering of abbrev expansion (Bug#9038).
14952
14953 2011-07-09 Martin Rudalics <rudalics@gmx.at>
14954
14955 * window.el (display-buffer-default-specifiers): Remove.
14956 (display-buffer-macro-specifiers): Remove default specifiers.
14957 (display-buffer-alist): Default to nil.
14958 (display-buffer-reuse-window): New optional argument other-window.
14959 (display-buffer-pop-up-window): Allow splitting internal
14960 windows. Check whether a live window was created.
14961 (display-buffer-other-window-means-other-frame)
14962 (display-buffer-normalize-arguments): Rename to
14963 display-buffer-normalize-argument and rewrite. Set the
14964 other-window specifier.
14965 (display-buffer-normalize-special): New function.
14966 (display-buffer-normalize-options): Rename to
14967 display-buffer-normalize-default and rewrite.
14968 (display-buffer-normalize-options-inhibit): Remove.
14969 (display-buffer-normalize-specifiers): Rewrite.
14970 (display-buffer): Process other-window specifier and call
14971 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
14972 more faithfully.
14973 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
14974 (display-buffer-alist-set): Don't handle 'unset default values.
14975 (display-buffer-in-window, display-buffer-alist-set):
14976 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
14977 <tassilo@member.fsf.org>.
14978
14979 2011-07-09 Leo Liu <sdl.web@gmail.com>
14980
14981 * register.el (insert-register): Restore accidental change on
14982 2011-06-26. (Bug#9028)
14983
14984 2011-07-09 Glenn Morris <rgm@gnu.org>
14985
14986 * subr.el (remq): Handle the empty list. (Bug#9024)
14987
14988 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
14989
14990 * mail/sendmail.el (send-mail-function): No longer delay custom
14991 initialization.
14992 * custom.el (custom-initialize-delay): Doc fix.
14993
14994 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14995
14996 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
14997
14998 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
14999
15000 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15001 human-friendly prompt.
15002
15003 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15004
15005 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15006 provided by a particular plugin.
15007
15008 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15009
15010 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15011 save customizations (with "emacs -Q"), just set the variable
15012 instead of erroring out.
15013
15014 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15015
15016 2011-07-08 Juri Linkov <juri@jurta.org>
15017
15018 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15019 (archive-zip-update-case): Use 7z if found by `executable-find'.
15020 The order of searching the available programs is the same as in
15021 `archive-zip-extract' (bug#8968).
15022
15023 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15024
15025 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15026 (menu-bar-options-menu): Tweak descriptions.
15027
15028 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15029
15030 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15031 menu items into verb phrases (bug#1421). Also refill to fit under
15032 80 columns.
15033
15034 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15035
15036 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15037 (Info-read-node-name): Doc fix (Bug#1084).
15038
15039 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15040 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15041 (end-of-sexp, beginning-of-sexp)
15042 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15043 (forward-symbol, forward-same-syntax, word-at-point)
15044 (sentence-at-point): Doc fix (Bug#1144).
15045
15046 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15047
15048 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15049 should cover it (bug#1281).
15050
15051 * cus-edit.el (custom-show): Mark as obsolete.
15052
15053 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
15054 negotiation fails, then possibly try again with a non-encrypted
15055 connection (bug#9017).
15056
15057 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15058 be used.
15059
15060 2011-07-07 Richard Stallman <rms@gnu.org>
15061
15062 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15063 property, and handle its changed format.
15064 Look for the correct line number.
15065 Use file's line contents (but not past first =) to find
15066 correct line in message.
15067
15068 2011-07-07 Kenichi Handa <handa@m17n.org>
15069
15070 * international/characters.el (build-unicode-category-table):
15071 Delete it.
15072 (unicode-category-table): Set it by unicode-property-table-internal.
15073
15074 * international/mule-cmds.el (char-code-property-alist): Move to
15075 to src/chartab.c.
15076 (get-char-code-property): Call unicode-property-table-internal to
15077 load a file. Call get-unicode-property-internal where necessary.
15078 (put-char-code-property): Call unicode-property-table-internal to
15079 load a file. Call put-unicode-property-internal where necessary.
15080 put-unicode-property-internal where necessary.
15081 (char-code-property-description):
15082 Call unicode-property-table-internal to load a file.
15083
15084 * international/charprop.el:
15085 * international/uni-bidi.el:
15086 * international/uni-category.el:
15087 * international/uni-combining.el:
15088 * international/uni-comment.el:
15089 * international/uni-decimal.el:
15090 * international/uni-decomposition.el:
15091 * international/uni-digit.el:
15092 * international/uni-lowercase.el:
15093 * international/uni-mirrored.el:
15094 * international/uni-name.el:
15095 * international/uni-numeric.el:
15096 * international/uni-old-name.el:
15097 * international/uni-titlecase.el:
15098 * international/uni-uppercase.el: Regenerate.
15099
15100 * loadup.el: Load international/charprop.el before
15101 international/characters.
15102
15103 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15104
15105 * window.el (next-buffer, previous-buffer): Signal an error if
15106 called from a minibuffer window.
15107
15108 * bindings.el: Revert 2011-07-04 change.
15109
15110 2011-07-06 Richard Stallman <rms@gnu.org>
15111
15112 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15113 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15114 Treat markers like ints.
15115 (rmail-mime-entity): Doc fix.
15116
15117 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15118
15119 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15120 defcustom again for backwards compatibility.
15121
15122 * simple.el (shell-command-on-region): Fill.
15123
15124 * dired-aux.el (dired-kill-line): Add a doc string.
15125
15126 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15127 to "\\sw\\|\\s_" (bug#358).
15128
15129 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15130 (dired-unmark-backward): Ditto.
15131 (dired-flag-backup-files): Ditto.
15132
15133 * dired-x.el (dired-mark-sexp): Ditto.
15134
15135 2011-07-06 Richard Stallman <rms@gnu.org>
15136
15137 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15138 (rmail-mime-entity): New arg TRUNCATED.
15139 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15140 New functions.
15141 (rmail-mime-save): Warn if entity is truncated.
15142 (rmail-mime-toggle-hidden): Likewise, for showing.
15143 (rmail-mime-process-multipart): Record when an entity is truncated.
15144
15145 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15146 if ENTITY is a string.
15147
15148 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15149
15150 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
15151 of faces when `M-C-x'-ing their definitions (bug#8378).
15152 Also clean up the code slightly.
15153
15154 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
15155 because that makes the colors go away.
15156
15157 * mail/sendmail.el (send-mail-function): Change the default to
15158 `sendmail-query-once'.
15159 (sendmail-query-once): Add an autoload cookie.
15160
15161 * net/network-stream.el (network-stream-open-starttls): Try using
15162 a plain connection even if the server offered STARTTLS, and we
15163 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15164 capability. This should make smtpmail.el work in slightly more
15165 configurations.
15166
15167 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
15168
15169 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15170 New defun.
15171 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15172
15173 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15174
15175 * progmodes/sql.el: Version 3.0
15176 (sql-product-alist): Add product :completion-object,
15177 :completion-column, and :statement attributes.
15178 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
15179 (sql-mode-syntax-table): Mark all punctuation.
15180 (sql-font-lock-keywords-builder): Temporarily remove fallback on
15181 ansi keywords.
15182 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
15183 (sql-mode-oracle-font-lock-keywords): Improve.
15184 (sql-oracle-show-reserved-words): New function for development.
15185 (sql-product-font-lock): Simplify for source code buffers.
15186 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15187 New functions.
15188 (sql-highlight-product): Set product specific syntax table.
15189 (sql-mode-map): Add statement movement functions.
15190 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15191 New variable.
15192 (sql-statement-regexp, sql-beginning-of-statement)
15193 (sql-end-of-statement, sql-signum): New functions.
15194 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
15195 (sql-show-sqli-buffer): Bug fix.
15196 (sql-interactive-mode): Store connection data as buffer local.
15197 (sql-connect): Add NEW-NAME parameter. Redesign interaction
15198 with sql-interactive-mode.
15199 (sql-save-connection): Save buffer local settings.
15200 (sql-connection-menu-filter): Change menu entry name.
15201 (sql-product-interactive): Bug fix.
15202 (sql-preoutput-hold): New variable.
15203 (sql-interactive-remove-continuation-prompt): Bug fixes.
15204 (sql-debug-redirect): New variable.
15205 (sql-str-literal): New function.
15206 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
15207 Redesign.
15208 (sql-oracle-save-settings, sql-oracle-restore-settings)
15209 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15210 (sql-completion-object, sql-completion-column)
15211 (sql-completion-sqlbuf): New variables.
15212 (sql-build-completions-1, sql-build-completions)
15213 (sql-try-completion): New functions.
15214 (sql-read-table-name): Use them.
15215 (sql-contains-names): New buffer local variable.
15216 (sql-list-all, sql-list-table): Use it.
15217 (sql-oracle-completion-types): New variable.
15218 (sql-oracle-completion-object, sql-sqlite-completion-object)
15219 (sql-postgres-completion-object): New functions.
15220
15221 2011-07-06 Glenn Morris <rgm@gnu.org>
15222
15223 * window.el (pop-to-buffer): Doc fix.
15224
15225 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
15226
15227 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15228
15229 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
15230
15231 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
15232
15233 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
15234
15235 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
15236
15237 * button.el (button): Inherit from link face. Suggested by Dan
15238 Nicolaescu.
15239
15240 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15241
15242 * progmodes/gdb-mi.el: Fit in 80 columns.
15243 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15244 switch-to-buffer.
15245
15246 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15247 if imenu is simply not configured (bug#8941).
15248
15249 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15250
15251 * allout.el (allout-post-undo-hook): New allout outline-change
15252 event hook to signal undo activity.
15253 (allout-post-command-business): Run allout-post-undo-hook if an
15254 undo just occurred.
15255 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15256 * allout-widgets.el (allout-widgets-after-undo-function):
15257 Ensure the integrity of the current item's decoration after it has been
15258 in the vicinity of an undo.
15259 (allout-widgets-mode): Include allout-widgets-after-undo-function
15260 on the new allout-post-undo-hook.
15261
15262 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15263
15264 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15265 Let define-derived-mode define it.
15266 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15267 cycles of abbrev-table inheritance (bug#8998).
15268
15269 2011-07-05 Roland Winkler <winkler@gnu.org>
15270
15271 * textmodes/bibtex.el: Add support for biblatex.
15272 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15273 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15274 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15275 (bibtex-entry-alist, bibtex-field-alist): New variables.
15276 (bibtex-entry-field-alist): Obsolete alias for
15277 bibtex-BibTeX-entry-alist.
15278 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15279 (bibtex-set-dialect): New command.
15280 (bibtex-entry-type, bibtex-entry-head)
15281 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15282 Bind via bibtex-set-dialect.
15283 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15284 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15285 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15286 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15287 Define via bibtex-set-dialect.
15288 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15289 Obey bibtex-no-opt-remove-re.
15290 (bibtex-vec-push, bibtex-vec-incr): New functions.
15291 (bibtex-format-entry, bibtex-field-list)
15292 (bibtex-print-help-message, bibtex-validate)
15293 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15294
15295 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15296
15297 * progmodes/compile.el (compilation-goto-locus):
15298 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15299 * bs.el (bs-cycle-next, bs-cycle-previous):
15300 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15301 * bindings.el (mode-line-other-buffer):
15302 * autoinsert.el (auto-insert):
15303 * arc-mode.el (archive-extract):
15304 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15305
15306 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15307
15308 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15309 Fix check of `emacs-lock-unlockable-modes'.
15310 Coerce true values of `emacs-lock--try-unlocking' to t.
15311
15312 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15313
15314 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15315 * emacs-lock.el: New file.
15316
15317 2011-07-05 Julien Danjou <julien@danjou.info>
15318
15319 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15320 than `boundp' to check if face is set.
15321
15322 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15323
15324 * register.el (registerv-make):
15325 * window.el (window-min-height): Fix typos in docstrings.
15326
15327 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15328
15329 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
15330 Update doc string.
15331
15332 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
15333
15334 * server.el (server-execute): Catch quit and call
15335 `server-return-error' to pass the error back to emacsclient and
15336 close the connection (bug#8942).
15337
15338 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15339
15340 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15341 insecure exception for current topic. Also note that auto-saves
15342 are handled differently.
15343
15344 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
15345 State variables for tracking auto-save inhibition situation.
15346
15347 (allout-write-contents-hook-handler): Rename from
15348 'allout-write-file-hook-handler', and describe how it depends on
15349 write-contents-functions sensitivity to non-nil value to prevent
15350 file write.
15351
15352 (allout-auto-save-hook-handler): Remove. auto-save does not check
15353 this in individual buffers, only in the starting buffer, so this
15354 is not the right way for us to inhibit auto-save in a buffer
15355 according to its condition.
15356
15357 (allout-mode): Use new allout-write-contents-hook-handler, and
15358 only with write-contents-functions. Remove auto-save provisions -
15359 they're implemented elsewhere.
15360
15361 (allout-before-change-handler): If undo is in progress, note that
15362 for attention of allout-post-command-business.
15363
15364 (allout-post-command-business): If the command we're following was
15365 an undo, check for change in the status of encrypted items and
15366 adjust auto-save inhibitions accordingly.
15367
15368 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15369 according to whether there are or aren't any plain-text topics
15370 pending encryption.
15371
15372 (allout-inhibit-auto-save-info-for-decryption):
15373 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15374 if there are plain-text topics pending encryption.
15375
15376 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15377 buffer-saved-size and some allout state to not inhibit auto-saves
15378 if there are no longer any plain-text topics pending encryption.
15379
15380 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15381 No longer provide for exemption of the current topic.
15382
15383 2011-07-04 Juri Linkov <juri@jurta.org>
15384
15385 Add 7z operations to delete and save changed members (bug#8968).
15386 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15387 New defcustoms.
15388 (archive-7z-write-file-member): New function.
15389 (archive-7z-summarize): Fix the number of dashes in the
15390 listing output.
15391
15392 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15393
15394 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15395 (bug#8958).
15396
15397 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
15398
15399 * bindings.el: Ignore next-buffer and previous-buffer in
15400 minibuffer-local-map.
15401
15402 * font-lock.el (font-lock-builtin-face): Change light background
15403 color to dark slate blue (Bug#6693).
15404
15405 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15406
15407 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15408
15409 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15410
15411 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15412 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15413 Add switch-to-buffer.
15414
15415 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15416
15417 * isearch.el (isearch-search-fun-function): Clarify further the
15418 meaning of the function returned.
15419
15420 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
15421
15422 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15423
15424 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15425 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15426 Use it.
15427 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15428 `tramp-default-remote-path' does not exist.
15429 (tramp-send-command-and-read): New optional argument NOERROR.
15430 (tramp-open-connection-setup-interactive-shell)
15431 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15432 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15433 (tramp-process-sentinel): Flush also process' connection property.
15434 (tramp-sh-handle-start-file-process): Do not set process
15435 sentinel. It is done now ...
15436 (tramp-maybe-open-connection): ... here. (Bug#8929)
15437
15438 2011-07-04 MON KEY <monkey@sandpframing.com>
15439
15440 * play/animate.el (animate-string): Doc fixes and allow changing
15441 the buffer name (bug#5417).
15442
15443 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15444
15445 * play/animate.el (animation-buffer-name): Rename from *animate*.
15446
15447 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15448
15449 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15450 This is simpler and helps future-proof the code.
15451 (timer-until): Use time-subtract and float-time.
15452 (timer--time-less-p): Use time-less-p.
15453
15454 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
15455
15456 * type-break.el (timep): Use the value of `float-time' to avoid a
15457 byte-compiler warning.
15458
15459 * server.el (server-eval-and-print): Return any result, even nil.
15460
15461 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15462
15463 * type-break.el: Accept time formats that the builtins accept.
15464 (timep, type-break-time-difference): Accept any format that
15465 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15466 This is simpler and helps future-proof the code.
15467 (type-break-time-difference): Round rather than ignoring
15468 subseconds components.
15469
15470 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15471
15472 * info.el (Info-apropos-matches): Make non-interactive, since it
15473 doesn't seem to do anything useful as a command (bug#8829).
15474
15475 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
15476
15477 * frame.el (frame-background-mode, frame-set-background-mode):
15478 Move from faces.el.
15479 (frame-default-terminal-background): New function.
15480
15481 * custom.el (custom-push-theme): Don't record faces in `changed'
15482 theme; this doesn't work correctly for per-frame face settings.
15483 (disable-theme): Use face-set-after-frame-default to reset faces.
15484 (custom--frame-color-default): New function.
15485
15486 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15487
15488 * dired.el (dired-flagging-regexp): Remove unused variable
15489 (bug#8769).
15490
15491 2011-03-29 Kevin Ryde <user42@zip.com.au>
15492
15493 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15494 `perl-Test2' extend to match possible "fail #N" rep count
15495 (bug#8377).
15496
15497 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15498
15499 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15500 `smtpmail-via-smtp' now returns the error instead of nil.
15501
15502 * isearch.el (isearch-search-fun-function): Clarify the doc string
15503 (bug#8101).
15504
15505 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
15506
15507 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15508 unnecessary spaces (bug#8987).
15509
15510 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15511
15512 * net/network-stream.el (open-network-stream): Use the
15513 :end-of-capability command thoughout.
15514
15515 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15516
15517 * net/network-stream.el (open-network-stream): Add the
15518 :end-of-capability command parameter, used by pop3.el.
15519
15520 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15521
15522 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15523
15524 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15525 for list)" (bug#6475).
15526
15527 * files.el (file-expand-wildcards): Ignore non-readable
15528 sub-directories while trying to find matches instead of signaling
15529 an error (bug#6297).
15530
15531 * man.el (Man-reference-regexp): Allow matching possible
15532 word-wrapped references (bug#6289).
15533
15534 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15535 for consistency with the other vc buffers (bug#6197).
15536 (vc-checkin): Ditto.
15537
15538 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15539
15540 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15541
15542 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15543
15544 * custom.el (defcustom): Clarify that :set is only used in the
15545 Customize user interface (bug#6089).
15546
15547 * progmodes/flymake.el (flymake-mode): If the buffer isn't
15548 associated with a file, refuse to run instead of erroring out
15549 (bug#6084).
15550
15551 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15552 the doc string, since it appears that using `fill-column' always
15553 controls the width (bug#7845).
15554
15555 * simple.el (shell-command-on-region): Say where the error output
15556 went if `shell-command-default-error-buffer' is set (bug#6857).
15557
15558 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
15559
15560 * allout.el (allout-yank-processing): Adjust cursor position for
15561 backwards-deleted space.
15562
15563 (allout-rebullet-heading): Register changes with
15564 allout-exposure-changed-hook, so the modified topic is properly
15565 decorated.
15566
15567 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15568
15569 * minibuffer.el (completion-in-region): Document PREDICATE
15570 (bug#7136).
15571
15572 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15573 of keyword/argument pairs (bug#6904).
15574
15575 * replace.el (multi-occur):
15576 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
15577
15578 2011-07-02 Drew Adams <drew.adams@oracle.com>
15579
15580 * dired.el (dired-mark-if): Make the message about whether it's
15581 marking or unmarking clearer (bug#8523).
15582
15583 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15584
15585 * disp-table.el (display-table-print-array): New function.
15586 (describe-display-table): Use it to print the vectors more pretty
15587 (Bug#8859).
15588
15589 2011-07-02 Martin Rudalics <rudalics@gmx.at>
15590
15591 * window.el (window-state-get-1): Don't assign clone numbers.
15592 Add clone-of item to list of window parameters.
15593 (window-state-put-2): Don't process clone numbers.
15594 (display-buffer-alist): Fix doc-string.
15595
15596 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
15597
15598 * subr.el (remq): Don't allocate if it's not needed.
15599 (keymap--menu-item-binding, keymap--menu-item-with-binding)
15600 (keymap--merge-bindings): New functions.
15601 (keymap-canonicalize): Use them to refine the canonicalization.
15602 * minibuffer.el (minibuffer-local-completion-map)
15603 (minibuffer-local-must-match-map): Move initialization from C.
15604 (minibuffer-local-filename-completion-map): Move initialization from C;
15605 don't inherit from anything here.
15606 (minibuffer-local-filename-must-match-map): Make obsolete.
15607 (completing-read-default): Use make-composed-keymap to combine
15608 minibuffer-local-filename-completion-map with either
15609 minibuffer-local-must-match-map or
15610 minibuffer-local-filename-completion-map.
15611
15612 2011-07-01 Glenn Morris <rgm@gnu.org>
15613
15614 * type-break.el (type-break-time-sum): Use dolist.
15615
15616 * textmodes/flyspell.el (flyspell-word-search-backward):
15617 Replace CL function.
15618
15619 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15620
15621 * mouse.el (mouse--strip-first-event): New function.
15622 (function-key-map): Use it to map fringe clicks to normal clicks
15623 by default.
15624
15625 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15626 (vc-bzr-revision-completion-table): Add support for annotate and date.
15627
15628 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15629 inherit from parent.
15630
15631 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15632
15633 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
15634 (dired-show-file-type): Doc fixup (bug#8818).
15635
15636 * dired.el (dired-mode): Fix up the doc string as suggested by
15637 Drew Adams (bug#8817).
15638
15639 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
15640 cookie, since the manual says that it should be possible to add
15641 this function to `find-file-hook' (bug#8709).
15642
15643 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15644
15645 * progmodes/cfengine.el: Moved all cfengine3.el functionality
15646 here. Noted Ted Zlatanov as the maintainer.
15647 (cfengine-common-settings, cfengine-common-syntax): New functions
15648 to set up common things between `cfengine-mode' and
15649 `cfengine3-mode'.
15650 (cfengine3-mode): New mode.
15651 (cfengine3-defuns cfengine3-defuns-regex
15652 (cfengine3-class-selector-regex cfengine3-category-regex)
15653 (cfengine3-vartypes cfengine3-font-lock-keywords)
15654 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
15655 (cfengine3-indent-line): Add from cfengine3.el.
15656
15657 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
15658
15659 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
15660
15661 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
15662
15663 2011-07-01 Martin Rudalics <rudalics@gmx.at>
15664
15665 * window.el (same-window-buffer-names, same-window-regexps)
15666 (same-window-p, special-display-frame-alist)
15667 (special-display-popup-frame, special-display-function)
15668 (special-display-buffer-names, special-display-regexps)
15669 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
15670 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15671 (split-window-preferred-function, split-height-threshold)
15672 (split-width-threshold, even-window-heights)
15673 (display-buffer-mark-dedicated, window-splittable-p)
15674 (split-window-sensibly, window-safely-shrinkable-p):
15675 Un-obsolete.
15676 (display-buffer): Don't spread args with function specifier
15677 because special-display-popup-frame won't like it.
15678
15679 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
15680
15681 Time-stamp simplifications and fixes.
15682 These improve accuracy slightly, and future-proof the code
15683 against some potential changes to current-time format.
15684
15685 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
15686 by using time-since and float-time.
15687
15688 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
15689 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
15690 + NNN microseconds".
15691
15692 * type-break.el (type-break-time-sum): Rewrite using time-add.
15693
15694 * play/hanoi.el (hanoi-current-time-float): Remove.
15695 All uses replaced by float-time.
15696
15697 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
15698 This yields a more-accurate answer.
15699 (rng-time-to-float): Remove; no longer needed.
15700
15701 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
15702
15703 * calendar/timeclock.el (timeclock-seconds-to-time):
15704 Defalias to seconds-to-time, since they're the same thing.
15705
15706 * emacs-lisp/elp.el (elp-elapsed-time):
15707 * emacs-lisp/benchmark.el (benchmark-elapse):
15708 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
15709
15710 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15711
15712 * window.el (bury-buffer): Don't iconify the only frame.
15713 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
15714 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
15715
15716 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
15717
15718 * eshell/em-smart.el (eshell-smart-display-navigate-list):
15719 Add mouse-yank-primary.
15720
15721 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15722
15723 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
15724
15725 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15726
15727 * emacs-lisp/find-func.el (find-library--load-name): New fun.
15728 (find-library-name): Use it to find relative load names when provided
15729 absolute file name (bug#8803).
15730
15731 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15732
15733 * textmodes/flyspell.el (flyspell-word): Consider words that
15734 differ only in case as potential doublons (bug#5687).
15735
15736 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
15737 Remove two rather uninteresting debugging-like messages to make
15738 debbugs.el more silent.
15739
15740 * comint.el (comint-password-prompt-regexp): Accept "Response" as
15741 a password-like phrase.
15742
15743 2011-06-30 Masatake YAMATO <yamato@redhat.com>
15744
15745 * progmodes/cc-guess.el: New file.
15746
15747 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
15748
15749 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
15750 derived from `c-basic-common-init'.
15751
15752 * progmodes/cc-mode.el (top-level): Require cc-guess.
15753 (c-basic-common-init): Use `cc-choose-style-for-mode'.
15754
15755 2011-06-30 Lawrence Mitchell <wence@gmx.li>
15756
15757 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
15758
15759 2011-06-30 Alan Mackenzie <acm@muc.de>
15760
15761 * progmodes/cc-engine.el (c-guess-continued-construct):
15762 Correct the handling of template-args-cont, particularly for when font
15763 lock is disabled. Name this case as "CASE G".
15764
15765 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
15766
15767 * allout.el (allout-yank-processing): Fix injection of extra space
15768 between bullet and non-whitespace character in first topic when
15769 pasting, ensuring that the actual spacing in the pasted topic
15770 following the bullet char is preserved. This extra space was
15771 causing pasted encrypted topics to get a decrypted status even
15772 when the content was actually still encrypted. Now the decryption
15773 status from before the paste is preserved.
15774
15775 (allout-flag-region): Set all allout overlays so they evaporate
15776 when reduced to zero length (evanescent), to prevent overlay
15777 leakage.
15778
15779 2011-06-30 Glenn Morris <rgm@gnu.org>
15780
15781 * w32-fns.el (w32-charset-info-alist): Declare.
15782
15783 * find-dired.el (find-grep-options): Simplify.
15784
15785 * term/ns-win.el (ns-set-resource): Declare.
15786
15787 * ses.el (row, col): Declare dynamic variables honestly.
15788
15789 * textmodes/reftex-parse.el (index-tags): Declare.
15790
15791 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
15792
15793 * cus-edit.el (customize-push-and-save): New function.
15794
15795 * files.el (hack-local-variables-confirm): Use it.
15796
15797 * custom.el (load-theme): New arg NO-CONFIRM.
15798 Use customize-push-and-save (Bug#8720).
15799 (custom-enabled-themes): Doc fix.
15800
15801 * cus-theme.el (customize-create-theme)
15802 (custom-theme-merge-theme): Callers to load-theme changed.
15803
15804 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15805
15806 * thingatpt.el (thing-at-point-short-url-regexp): Require that
15807 short URLs have at least one dot in them (bug #7614).
15808
15809 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
15810 nil, because using a pty is apparently too slow (bug #895).
15811
15812 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
15813
15814 * mail/sendmail.el (sendmail-query-once): New function.
15815 (sendmail-query-once-function): New variable.
15816
15817 2011-06-29 Glenn Morris <rgm@gnu.org>
15818
15819 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
15820
15821 * ses.el (top-level): Require cl when compiling.
15822 (ses-set-localvars): Fix error statement.
15823 Call it at compile time to silence a storm of warnings.
15824
15825 2011-06-29 Martin Rudalics <rudalics@gmx.at>
15826
15827 * window.el (normalize-live-buffer): Rename to
15828 window-normalize-buffer.
15829 (normalize-live-frame): Rename to window-normalize-frame.
15830 (normalize-any-window): Rename to window-normalize-any-window.
15831 (normalize-live-window): Rename to window-normalize-live-window.
15832 (make-window-atom): Rename to window-make-atom.
15833 (window-resize-reset): Rename to window--resize-reset.
15834 (window-resize-reset-1): Rename to window--resize-reset-1.
15835 (resize-mini-window): Rename to window--resize-mini-window.
15836 (resize-subwindows-skip-p): Rename to
15837 window--resize-subwindows-skip-p.
15838 (resize-subwindows-normal): Rename to
15839 window--resize-subwindows-normal.
15840 (resize-subwindows): Rename to window--resize-subwindows.
15841 (resize-other-windows): Rename to window--resize-siblings.
15842 (resize-this-window): Rename to window--resize-this-window.
15843 (resize-root-window): Rename to window--resize-root-window.
15844 (resize-root-window-vertically): Rename to
15845 window--resize-root-window-vertically.
15846 (normalize-buffer-to-display): Rename to
15847 window-normalize-buffer-to-display.
15848 (normalize-buffer-to-switch-to): Rename to
15849 window-normalize-buffer-to-switch-to.
15850 Correspondingly update all callers of the functions listed
15851 above.
15852 (display-buffer-alist, display-buffer-normalize-arguments)
15853 (display-buffer-normalize-options, display-buffer)
15854 (display-buffer-alist-set): Use "function" instead of
15855 "fun-with-args".
15856
15857 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
15858
15859 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
15860 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
15861 debbugs.gnu.org. Mention acknowledgment email.
15862
15863 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
15864
15865 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
15866 buffer multibyteness, since it shouldn't matter.
15867
15868 2011-06-28 Martin Rudalics <rudalics@gmx.at>
15869
15870 * window.el (display-buffer-in-side-window): Handle dedicated
15871 windows as in display-buffer-reuse-window.
15872 (display-buffer-normalize-alist): Use value of override
15873 specifier.
15874 (display-buffer-normalize-specifiers): Use value of
15875 other-window-means-other-frame specifier.
15876 (display-buffer-alist): Rewrite some texts in widgets.
15877 (display-buffer): Spread arguments when calling function
15878 specified by fun-with-args.
15879
15880 2011-06-28 Deniz Dogan <deniz@dogan.se>
15881
15882 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15883 Unnest `let'.
15884
15885 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
15886 selectors (Bug#5732).
15887 (css-proprietary-nmstart-re): Use `regexp-opt'.
15888
15889 2011-06-27 Jari Aalto <jari.aalto@cante.net>
15890
15891 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
15892 (eshell-ls-date-format): New defcustom.
15893 (eshell-ls-file): Use it.
15894
15895 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15896
15897 * help-fns.el (describe-variable): Fix message for terminal-local vars.
15898
15899 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
15900
15901 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
15902 (ange-ftp-make-tmp-name): New arg.
15903 (ange-ftp-file-local-copy): Use it.
15904
15905 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
15906
15907 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
15908 no-conversion (Bug#8870).
15909
15910 2011-06-27 Martin Rudalics <rudalics@gmx.at>
15911
15912 * window.el (window-right, window-left, window-child)
15913 (window-child-count, window-last-child)
15914 (window-iso-combination-p, walk-window-tree-1)
15915 (window-atom-check-1, window-tree-1, delete-window)
15916 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
15917 new naming conventions - window-vchild, window-hchild,
15918 window-next and window-prev are now called window-top-child,
15919 window-left-child, window-next-sibling and window-prev-sibling
15920 respectively.
15921 (resize-window-reset): Rename to window-resize-reset.
15922 (resize-window-reset-1): Rename to window-resize-reset-1.
15923 (resize-window): Rename to window-resize.
15924 (window-min-height, window-min-width)
15925 (resize-mini-window, resize-this-window, resize-root-window)
15926 (resize-root-window-vertically, adjust-window-trailing-edge)
15927 (enlarge-window, shrink-window, maximize-window)
15928 (minimize-window, delete-window, quit-restore-window)
15929 (split-window, balance-windows, balance-windows-area-adjust)
15930 (balance-windows-area, window-state-put-2)
15931 (display-buffer-even-window-sizes, display-buffer-set-height)
15932 (display-buffer-set-width, set-window-text-height)
15933 (fit-window-to-buffer): Rename all "resize-window" prefixed
15934 calls to use the "window-resize" prefix convention.
15935 (display-buffer-alist): Fix symbol for label specifier.
15936 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
15937 corresponding specifier.
15938 Reported by Juanma Barranquero <lekktu@gmail.com>.
15939
15940 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15941
15942 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
15943 convention.
15944 (ses-call-printer): Does not pass an empty string to formatter when the
15945 cell is empty to keep from barking printer Calc math-format-value.
15946
15947 2011-06-27 Richard Stallman <rms@gnu.org>
15948
15949 * battery.el (battery-mode-line-limit): New variable.
15950 (battery-update): Handle it.
15951
15952 * mail/rmailmm.el (rmail-mime-process-multipart):
15953 Handle truncated messages.
15954
15955 2011-06-27 Glenn Morris <rgm@gnu.org>
15956
15957 * progmodes/flymake.el (flymake-err-line-patterns):
15958 Allow for column numbers in the ant/javac pattern. (Bug#8866)
15959
15960 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15961
15962 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
15963 (ses--clean-!, ses--clean-_): New functions.
15964 (ses-range): Add configurability of readout order, and conversion
15965 to Calc vector.
15966
15967 * ses.el (ses-repair-cell-reference-all): New function.
15968 (ses-cell-symbol): Set macro as safe, so that it can be used in
15969 formulas.
15970
15971 * ses.el: Update cycle detection algorithm.
15972 (ses-localvars): Add ses--Dijkstra-attempt-nb and
15973 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
15974 (ses-set-localvars): New function.
15975 (ses-make-cell): Add property-list as a cell element.
15976 (ses-cell-property-get-fun, ses-cell-property-get)
15977 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
15978 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
15979 New functions.
15980 (ses-cell-property-set, ses-cell-property-pop)
15981 (ses-cell-property-get-handle): New macro.
15982 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
15983 New aliases, used for code readability.
15984 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
15985 cycle detection.
15986 (ses-self-reference-early-detection): New defcustom.
15987 (ses-formula-references): Robustify against self-referring cells.
15988 (ses-mode): Use ses-set-localvars.
15989 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
15990 before lauching the update processing.
15991 (ses-initialize-Dijkstra-attempt): New function.
15992 (ses-recalculate-cell): Update for cycle detection based on
15993 Dijkstra algorithm.
15994
15995 * ses.el: Fix commenting and indenting convention.
15996
15997 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15998
15999 * bs.el (bs-cycle-next): Complete last change.
16000
16001 2011-06-27 Drew Adams <drew.adams@oracle.com>
16002
16003 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16004
16005 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16006
16007 * net/network-stream.el (network-stream-open-starttls):
16008 Don't re-get capabilities unless we've reestablished connection.
16009 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16010
16011 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16012 to binary to possibly avoid line encoding issues on Windows (among
16013 other things).
16014
16015 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16016
16017 * net/network-stream.el (open-network-stream): Return an :error
16018 saying what the problem was, if possible.
16019
16020 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16021 server.
16022
16023 * net/network-stream.el (network-stream-open-starttls): If we
16024 wanted to use STARTTLS, and the server offered it, but we weren't
16025 able to because we had no STARTTLS support, then close the connection.
16026 (open-network-stream): Return an :error element, if present.
16027
16028 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
16029
16030 * hl-line.el (hl-line-sticky-flag): Doc fix.
16031 (global-hl-line-sticky-flag): New option (Bug#8323).
16032 (global-hl-line-highlight): Obey it.
16033
16034 * vc/vc.el (vc-revert-show-diff): Default to t.
16035
16036 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16037
16038 * allout-widgets.el (allout-widgets-post-command-business):
16039 Stop decorating intermediate isearch matches. They're not being
16040 undecorated when an isearch is continued past, and isearch
16041 automatically collapses them. This leads to "widget leaks", where
16042 decorated items accumulate in collapsed areas. Lines with lots of
16043 hidden widgets can slow down cursor travel, substantially.
16044 Too much complicated machinery would be needed to ensure undecoration,
16045 so we're doing without this nicety.
16046
16047 (allout-widgets-tally-string): Don't try to do a hash-table-count
16048 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16049 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16050 *Messages* when allout-widgets-maintain-tally is t.
16051
16052 2011-06-26 Martin Rudalics <rudalics@gmx.at>
16053
16054 * window.el (display-buffer-normalize-argument): Rename to
16055 display-buffer-normalize-arguments. Handle special meaning of
16056 LABEL argument. Respect special-display-function when popping up
16057 a new frame. Fix code searching for a window showing the buffer
16058 on another frame.
16059 (display-buffer-normalize-specifiers):
16060 Call display-buffer-normalize-arguments.
16061 (display-buffer-in-window): Don't undedicate the window if its
16062 buffer remains the same.
16063 Reported by Drew Adams <drew.adams@oracle.com>.
16064 (display-buffer-alist): Add choice for same-window macro
16065 specfier.
16066 (display-buffer): Mention special meaning of LABEL argument in
16067 doc-string. Fix quoting. Don't pop up a new frame even as
16068 fallback.
16069
16070 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
16071
16072 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16073 avoid deleting the current window in some cases (bug#8911).
16074
16075 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16076
16077 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16078 (Bug#8934)
16079
16080 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16081
16082 * net/network-stream.el (network-stream-open-starttls):
16083 Use built-in TLS support if `gnutls-available-p' is true.
16084 (network-stream-open-tls): Ditto.
16085
16086 2011-06-26 Leo Liu <sdl.web@gmail.com>
16087
16088 * register.el (registerv): New struct.
16089 (registerv-make): New function.
16090 (jump-to-register, describe-register-1, insert-register):
16091 Support the jump-func, print-func and insert-func slot of a registerv
16092 struct. (Bug#8415)
16093
16094 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
16095
16096 * vc/vc.el (vc-revert-show-diff): New defcustom.
16097 (vc-diff-internal): New arg specifying diff buffer.
16098 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16099 reuse an existing *vc-diff* buffer (Bug#8927).
16100
16101 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16102
16103 2011-06-26 Glenn Morris <rgm@gnu.org>
16104
16105 * progmodes/f90.el (f90-critical-indent): New option.
16106 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16107 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16108 (f90-mode): Doc fix.
16109 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16110 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16111 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16112 (f90-match-end): Handle block, critical.
16113
16114 2011-06-25 Glenn Morris <rgm@gnu.org>
16115
16116 * calendar/diary-lib.el (diary-included-files): Doc fix.
16117 (diary-include-files): New function, extracted from
16118 diary-include-other-diary-files and diary-mark-included-diary-files.
16119 (diary-include-other-diary-files, diary-mark-included-diary-files):
16120 Just call diary-include-files.
16121 (diary-mark-entries): Reset diary-included-files on first call.
16122
16123 * calendar/diary-lib.el (diary-mark-entries)
16124 (diary-mark-included-diary-files):
16125 Visit included diary-files in temp buffers.
16126
16127 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16128 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16129 (f90-start-block-re, f90-imenu-generic-expression)
16130 (f90-looking-at-program-block-start, f90-no-block-limit):
16131 Add support for submodules.
16132
16133 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16134 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
16135
16136 2011-06-25 Eli Zaretskii <eliz@gnu.org>
16137
16138 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16139 buffer-file-type before setting its value, to avoid disastrous
16140 global effects on decoding files for DOS/Windows systems. (Bug#8780)
16141
16142 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
16143
16144 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16145
16146 * ses.el (ses-unload-function):
16147 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16148
16149 * proced.el (proced-unload-function):
16150 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16151
16152 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16153
16154 * server.el (server-create-window-system-frame): Add parameters arg.
16155 (server-process-filter): Doc fix. Handle frame-parameters.
16156
16157 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
16158
16159 Fix bug#8730, bug#8781.
16160
16161 * loadhist.el (unload--set-major-mode): New function.
16162 (unload-feature): Use it.
16163
16164 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16165 (python-unload-function): New function.
16166
16167 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16168
16169 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16170
16171 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16172
16173 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16174 the candidates list.
16175
16176 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
16177
16178 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16179
16180 2011-06-23 Richard Stallman <rms@gnu.org>
16181
16182 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16183 (rmail-variables): Set next-error-move-function.
16184 (rmail-what-message): Take argument POS.
16185 (rmail-next-error-move): New function.
16186
16187 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16188
16189 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16190 messages for adjacent non-terminals.
16191
16192 2011-06-23 Richard Stallman <rms@gnu.org>
16193
16194 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
16195 (rmail-show-message-1): Preserve buffer modified flag.
16196 (rmail-start-mail): Don't specify use of rmail-mail-return;
16197 that's done by mail-bury now.
16198 (rmail-mail-return): Handle arg NEWBUF.
16199
16200 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
16201
16202 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16203 SIZE is a number.
16204
16205 2011-06-23 Martin Rudalics <rudalics@gmx.at>
16206
16207 * window.el (get-lru-window, get-mru-window)
16208 (get-largest-window): Never return a minibuffer window.
16209 (display-buffer-pop-up-window): Fix a bug that could lead to
16210 reusing the minibuffer window.
16211 (display-buffer): Pass original specifier argument to
16212 display-buffer-function instead of the normalized one.
16213 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16214
16215 2011-06-22 Leo Liu <sdl.web@gmail.com>
16216
16217 * minibuffer.el (completing-read-function)
16218 (completing-read-default): Move from minibuf.c
16219
16220 2011-06-22 Richard Stallman <rms@gnu.org>
16221
16222 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16223 to Rmail even if not started by a special Rmail command.
16224
16225 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16226 Copy the buffer currently showing just one message.
16227
16228 2011-06-22 Roland Winkler <winkler@gnu.org>
16229
16230 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16231 (bibtex-clean-entry): First delete the old key so that a
16232 customized algorithm for generating the new key does not get
16233 confused by the old key.
16234 (bibtex-url): Obey regexp of first step.
16235 (bibtex-search-entries): Do not use add-to-list with local
16236 list-var.
16237
16238 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16239
16240 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16241 stored a user name, then query for the password first, instead of
16242 waiting for SMTP to give an error message and the trying again.
16243
16244 2011-06-22 Lawrence Mitchell <wence@gmx.li>
16245
16246 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16247 BUFFER in call-process.
16248
16249 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16250
16251 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16252 QUIT twice.
16253 (smtpmail-try-auth-methods): Require user name and password from
16254 auth-source.
16255
16256 2011-06-22 Martin Rudalics <rudalics@gmx.at>
16257
16258 * window.el (display-buffer-default-specifiers)
16259 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16260 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
16261 (split-window): Normalize SIDE argument (Bug#8916).
16262
16263 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16264 (special-display-frame-alist, special-display-popup-frame):
16265 Remove duplicate declarations. These are now in window.el.
16266
16267 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16268
16269 * mail/smtpmail.el (smtpmail-via-smtp):
16270 Set :use-starttls-if-possible so that we always use STARTTLS if the
16271 server supports it. SMTP servers that support STARTTLS commonly
16272 require it.
16273
16274 * net/network-stream.el (network-stream-open-starttls): Support
16275 upgrading to STARTTLS always, even if we don't have built-in support.
16276 (open-network-stream): Add the :always-query-capabilities keyword.
16277
16278 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16279 upgrades with `open-network-stream', and rely solely on
16280 auth-source for all credentials. Big changes throughout the file,
16281 but in particular:
16282 (smtpmail-auth-credentials): Remove.
16283 (smtpmail-starttls-credentials): Remove.
16284 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16285 MAIL FROM, too.
16286
16287 * net/network-stream.el (network-stream-open-starttls):
16288 Provide support for client certificates both for external and built-in
16289 STARTTLS.
16290 (auth-source): Require.
16291 (open-network-stream): Document the :client-certificate keyword.
16292 (network-stream-certificate): Change cert-cert to cert and
16293 cert-key to key.
16294
16295 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
16296
16297 * net/tramp-cache.el (top): Don't load the persistency file when
16298 "emacs -Q" has been called.
16299
16300 2011-06-21 Tim Harper <timcharper@gmail.com>
16301
16302 * term/ns-win.el (ns-initialize-window-system):
16303 Set application-specific `ApplePressAndHoldEnabled' system
16304 resource to NO as it is not yet supported by the NS port.
16305
16306 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
16307
16308 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16309 (list-dynamic-libraries): ...not here.
16310
16311 2011-06-21 Leo Liu <sdl.web@gmail.com>
16312
16313 * subr.el (sha1): Implement sha1 using secure-hash.
16314
16315 2011-06-21 Martin Rudalics <rudalics@gmx.at>
16316
16317 * window.el (display-buffer-alist): In default value do not
16318 enforce searching a window on any but the selected frame.
16319 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16320 (display-buffer-select-window): Remove function.
16321 (display-buffer-in-window): When a window on another frame gets
16322 reused, do not select it any more but just raise its frame if
16323 necessary (Bug#8851) and (Bug#8856).
16324 (display-buffer-normalize-options): Handle pop-up-frames related
16325 options more faithfully.
16326 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16327 window if it is on another frame.
16328 (display-buffer-alist, display-buffer-default-specifiers):
16329 Don't make new frame unsplittable by default.
16330 (display-buffer-normalize-argument): Fix doc-string typo and use
16331 'same-frame-other-window instead of 'other-window when associating
16332 with display-buffer-macro-specifiers.
16333
16334 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16335
16336 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16337 New functions.
16338 (5x5-mode-map, 5x5-mode-menu): Bind them.
16339 (5x5-draw-grid): Tweak the solver's rendering.
16340
16341 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16342
16343 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16344 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16345
16346 2011-06-21 Drew Adams <drew.adams@oracle.com>
16347
16348 * menu-bar.el: Use function variable instead of switch-to-buffer.
16349 (menu-bar-select-buffer-function): New variable.
16350 (menu-bar-update-buffers): Use it (bug#8876).
16351
16352 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16353
16354 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16355 variable's status.
16356
16357 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16358
16359 * x-dnd.el (x-dnd-version-from-flags)
16360 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16361 and long as number (Bug#8899).
16362 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16363
16364 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16365
16366 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
16367 (completion-try-completion, completion-all-completions): Compute the
16368 metadata argument if it's missing; make it optional (bug#8795).
16369
16370 * wid-edit.el: Use lex-bind and move towards completion-at-point.
16371 (widget-complete): Use new :completion-function property.
16372 (widget-completions-at-point): New function.
16373 (default): Use :completion-function instead of :complete.
16374 (widget-default-completions): Rename from widget-default-complete;
16375 Rewrite.
16376 (widget-string-complete, widget-file-complete, widget-color-complete):
16377 Remove functions.
16378 (file, symbol, function, variable, coding-system, color):
16379 * international/mule-cmds.el (default-input-method, charset)
16380 (language-info-custom-alist):
16381 * cus-edit.el (face): Use new property :completions.
16382
16383 * progmodes/pascal.el (pascal-completions-at-point): New function.
16384 (pascal-mode): Use it.
16385 (pascal-mode-map): Use completion-at-point.
16386 (pascal-toggle-completions): Make obsolete.
16387 (pascal-complete-word, pascal-show-completions):
16388 * progmodes/octave-mod.el (octave-complete-symbol):
16389 Redefine as obsolete alias.
16390 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16391 Signal absence of completion info for old Octave,
16392 (inferior-octave-complete): Redefine as obsolete alias.
16393 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16394 (meta-completions-at-point): Rename from meta-complete-symbol and
16395 adapt it for use on completion-at-point-functions.
16396 (meta-common-mode): Use it.
16397 (meta-looking-at-backward, meta-match-buffer): Remove.
16398 (meta-complete-symbol): Redefine as obsolete alias.
16399 (meta-common-mode-map): Use completion-at-point.
16400 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16401 (makefile-mode-map): Use completion-at-point.
16402 (makefile-completions-at-point): Rename from makefile-complete and
16403 adapt it for use on completion-at-point-functions.
16404 (makefile-mode): Use it.
16405 (makefile-complete): Redefine as obsolete alias.
16406
16407 2011-06-20 Deniz Dogan <deniz@dogan.se>
16408
16409 * net/rcirc.el: Delete trailing whitespaces once and for all.
16410
16411 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16412
16413 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16414
16415 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
16416
16417 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16418
16419 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16420
16421 2011-06-19 Martin Rudalics <rudalics@gmx.at>
16422
16423 * window.el (display-buffer-other-window-means-other-frame):
16424 Call display-buffer-normalize-alist.
16425 (display-buffer-normalize-specifiers-1): Rename to
16426 display-buffer-normalize-argument. New argument other-frame.
16427 Rewrite.
16428 (display-buffer-normalize-specifiers-2): Rename to
16429 display-buffer-normalize-options.
16430 (display-buffer-normalize-alist-1): New function.
16431 (display-buffer-normalize-specifiers-3): Rename to
16432 display-buffer-normalize-alist.
16433 Call display-buffer-normalize-alist-1.
16434 (display-buffer-normalize-options-inhibit): New variable.
16435 (display-buffer-normalize-specifiers): Rewrite calling
16436 display-buffer-normalize-alist,
16437 display-buffer-normalize-argument, and
16438 display-buffer-normalize-options. Don't call the latter if
16439 display-buffer-normalize-options-inhibit is non-nil.
16440 (frame-auto-delete): New option.
16441 (window-deletable-p): Use frame-auto-delete.
16442 (window-list-no-nils, window-state-ignored-parameters)
16443 (window-state-get-1, window-state-get, window-state-put-list)
16444 (window-state-put-1, window-state-put-2, window-state-put):
16445 New functions.
16446 (display-buffer-normalize-options): Move special-display-p group
16447 after pop-up-frame group (Bug#8851) and (Bug#8856).
16448
16449 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
16450
16451 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16452 groups (Bug#8776).
16453 (rx-submatch-n): New function.
16454 (rx): Document it.
16455
16456 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16457 (Bug#8768).
16458
16459 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16460
16461 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16462
16463 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16464 anytime existing face settings are present (Bug#8889).
16465
16466 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16467 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16468 Remove unused argument.
16469
16470 2011-06-18 Martin Rudalics <rudalics@gmx.at>
16471
16472 * window.el (display-buffer-default-specifiers):
16473 Remove pop-up-frame. Add pop-up-window-min-height,
16474 pop-up-window-min-width, and another reuse-window specifier
16475 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
16476 (display-buffer-normalize-specifiers-2):
16477 Handle split-height-threshold and split-width-threshold also when
16478 pop-up-windows is unset. Add a reuse-window specifier for the
16479 case popping up a new window fails.
16480 (special-display-popup-frame): Remove double quoting.
16481 (display-buffer-normalize-specifiers-1): Fix thinko.
16482
16483 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16484
16485 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16486 according to comint-completion-addsuffix.
16487
16488 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16489 (pcomplete-suffix-list): Mark as obsolete.
16490 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16491 pcomplete-seen in the closure.
16492 (pcomplete-comint-setup): Setup completion-at-point as well.
16493 (pcomplete--entries): New function.
16494 (pcomplete--env-regexp): New var.
16495 (pcomplete-entries): Rewrite to work with partial-completion and
16496 without relying on pcomplete-suffix-list.
16497 (pcomplete-pare-list): Remove, unused.
16498
16499 2011-06-17 Martin Rudalics <rudalics@gmx.at>
16500
16501 * window.el (display-buffer-alist): Set pop-up-window-min-height
16502 and pop-up-window-min-width in default value. Reported by
16503 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16504 other-window-means-other-frame.
16505 (display-buffer-macro-specifiers): Comment out entry for
16506 other-window specifier.
16507 (display-buffer-other-window-means-other-frame): New function.
16508 (display-buffer-normalize-specifiers-1): New arguments
16509 buffer-name and label. Treat other-window case specially.
16510 (display-buffer-normalize-specifiers-2): Treat other-window case
16511 specially.
16512 (display-buffer-normalize-specifiers-3): New function.
16513 (display-buffer-normalize-specifiers):
16514 Call display-buffer-normalize-specifiers-3.
16515
16516 2011-06-17 Martin Rudalics <rudalics@gmx.at>
16517
16518 * window.el (same-window-p): Fix two typos introduced when
16519 adding with-no-warnings.
16520 (display-buffer-normalize-specifiers-1): Don't check
16521 pop-up-frames for 'unset initialization.
16522 (display-buffer-normalize-specifiers-2): Major rewrite using
16523 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16524 (pop-up-frames, display-buffer-reuse-frames)
16525 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16526 Suggested by David Engster <deng@randomsample.de>.
16527 (even-window-heights): Initialize to 'unset.
16528 (display-buffer-alist-set): Handle new 'unset initializations.
16529 (display-buffer-macro-specifiers): Don't pop up a new frame in the
16530 other window case.
16531
16532 2011-06-16 Martin Rudalics <rudalics@gmx.at>
16533
16534 * window.el (display-buffer-normalize-specifiers-1):
16535 Respect current value of pop-up-frames for most reasonable values of
16536 second argument of display-buffer (Bug#8865).
16537 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16538 (switch-to-buffer-other-window-same-frame)
16539 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
16540 Adams (Bug#8875).
16541 (display-buffer): Don't check noninteractive when calling
16542 display-buffer-pop-up-frame.
16543 (display-buffer-pop-up-frame): Never pop up a frame in
16544 noninteractive mode (Bug#8857).
16545 (enlarge-window, shrink-window): Don't report an error when the
16546 window can't be resized as requested (Bug#8862).
16547
16548 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16549
16550 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16551
16552 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16553
16554 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16555
16556 2011-06-15 Alan Mackenzie <acm@muc.de>
16557
16558 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16559 for declarators, disable knr checking to speed up for normal files.
16560 2: Refactor, replacing a sequence of nested if forms by a cond form.
16561
16562 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16563
16564 * net/network-stream.el (open-network-stream): Add the keyword
16565 :always-query-capabilities for the case where you want to force a
16566 `plain' network connection, but the protocol still requires the
16567 capabilitiy command (i.e., SMTP and EHLO).
16568
16569 * subr.el (process-live-p): Rename from `process-alive-p' for
16570 consistency with other `-live-p' functions.
16571
16572 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16573
16574 * window.el (same-window-buffer-names, same-window-regexps)
16575 (special-display-frame-alist, special-display-popup-frame)
16576 (special-display-function, special-display-buffer-names)
16577 (special-display-regexps, pop-up-frame-alist)
16578 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16579 (pop-up-windows, split-window-preferred-function)
16580 (split-height-threshold, split-width-threshold, even-window-heights)
16581 (display-buffer-mark-dedicated): Don't encourage the use of
16582 display-buffer-alist from Elisp code.
16583
16584 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
16585
16586 * progmodes/python.el (python-mode): Derive from prog-mode.
16587 * progmodes/ps-mode.el (ps-mode):
16588 * progmodes/mixal-mode.el (mixal-mode):
16589 * progmodes/cfengine.el (cfengine-mode):
16590 * progmodes/ld-script.el (ld-script-mode): Likewise.
16591
16592 2011-06-15 Martin Rudalics <rudalics@gmx.at>
16593
16594 * window.el (display-buffer-alist): Trim default value to avoid
16595 popping up a new frame (Bug#8857) or reusing an arbitrary window
16596 on another frame.
16597 (display-buffer): Do not fall back on popping up a new frame in
16598 batch mode (Bug#8857).
16599
16600 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
16601
16602 * cus-theme.el (describe-theme-1): Use custom-theme-p.
16603 (custom-theme-summary): New function.
16604 (customize-themes): Use it.
16605
16606 2011-06-13 Glenn Morris <rgm@gnu.org>
16607
16608 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16609
16610 2011-06-13 Martin Rudalics <rudalics@gmx.at>
16611
16612 * help.el (help-window): Remove variable.
16613 (help-window-point-marker, temp-buffer-max-height)
16614 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16615 (help-print-return-message): Don't set help-window.
16616 (resize-temp-buffer-window): Rewrite cod eand doc-string.
16617 (help-window-setup-finish): Remove.
16618 (help-window-display-message, help-window-setup)
16619 (with-help-window): Major rewrite based on new
16620 display-buffer-window variable.
16621
16622 * help-mode.el (help-mode-finish): Remove help-window related
16623 code.
16624
16625 * view.el (view-exits-all-viewing-windows): Remove reference to
16626 view-return-to-alist in doc-string.
16627 (view-return-to-alist): Make obsolete.
16628 (view-buffer): Call pop-to-buffer-same-window and remove
16629 undo-window code.
16630 (view-buffer-other-window): Call pop-to-buffer-other-window and
16631 simplify code. Ignore second argument.
16632 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
16633 simplify code. Ignore second argument.
16634 (view-return-to-alist-update): Make obsolete.
16635 (view-mode-enter): Rename second argument to QUIT-RESTORE.
16636 Rewrite using quit-restore window parameters.
16637 (view-mode-exit): Rename second argument to EXIT-ONLY.
16638 Rewrite using quit-restore-window.
16639 (View-exit, View-exit-and-edit, View-leave, View-quit)
16640 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
16641 appropriate arguments.
16642 (view-end-message): Use quit-restore window parameter.
16643
16644 * window.el (display-buffer-function): Rewrite doc-string.
16645 (display-buffer-window, display-buffer-alist): New variables.
16646 (display-buffer-split-specifiers)
16647 (display-buffer-side-specifiers)
16648 (display-buffer-macro-specifiers): New constants.
16649 (display-buffer-even-window-sizes, display-buffer-set-height)
16650 (display-buffer-set-width, display-buffer-select-window)
16651 (display-buffer-in-window, display-buffer-reuse-window)
16652 (display-buffer-split-window-1, display-buffer-split-window)
16653 (display-buffer-split-atom-window, display-buffer-pop-up-window)
16654 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
16655 (display-buffer-in-side-window, normalize-buffer-to-display)
16656 (display-buffer-normalize-specifiers-1)
16657 (display-buffer-normalize-specifiers-2)
16658 (display-buffer-normalize-specifiers, display-buffer-frame):
16659 New functions.
16660 (display-buffer): Major rewrite.
16661 (display-buffer-other-window, display-buffer-other-frame)
16662 (pop-to-buffer, switch-to-buffer-other-window)
16663 (switch-to-buffer-other-frame): Rewrite.
16664 (display-buffer-same-window, display-buffer-same-frame)
16665 (display-buffer-same-frame-other-window)
16666 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16667 (pop-to-buffer-other-window)
16668 (pop-to-buffer-same-frame-other-window)
16669 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
16670 (switch-to-buffer-other-window-same-frame): New functions.
16671 (same-window-p, special-display-p): Rewrite disabling warnings.
16672 Make obsolete.
16673 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16674 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
16675 Make obsolete
16676 (same-window-buffer-names, same-window-regexps)
16677 (special-display-frame-alist, special-display-popup-frame)
16678 (special-display-function, special-display-buffer-names)
16679 (special-display-regexps, pop-up-frame-alist)
16680 (pop-up-frame-function, split-window-preferred-function)
16681 (split-height-threshold, split-width-threshold)
16682 (even-window-heights): Make obsolete.
16683
16684 2011-06-12 Glenn Morris <rgm@gnu.org>
16685
16686 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
16687 Misc simplifications.
16688
16689 2011-06-12 Martin Rudalics <rudalics@gmx.at>
16690
16691 * window.el (window-safely-shrinkable-p): Restore function which
16692 was inadvertently removed in change from 2011-06-11. Declare as
16693 obsolete.
16694
16695 * calendar/calendar.el (calendar-generate-window):
16696 Use window-iso-combined-p instead of combination of one-window-p and
16697 window-safely-shrinkable-p.
16698
16699 2011-06-12 Glenn Morris <rgm@gnu.org>
16700
16701 * progmodes/fortran.el (fortran-mode-syntax-table):
16702 * progmodes/f90.el (f90-mode-syntax-table):
16703 Set % to punctuation. (Bug#8820)
16704 (f90-find-tag-default): Remove, no longer needed.
16705
16706 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
16707
16708 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
16709
16710 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
16711
16712 * image.el (image-animated-p): Return animation delay in seconds.
16713 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
16714 (image-animate-timeout): Remove DELAY argument. Don't assume
16715 every subimage has the same delay; get it from image-animated-p.
16716 (image-animate): Caller changed.
16717
16718 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
16719
16720 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
16721 to ignored backtrace functions.
16722
16723 2011-06-11 Glenn Morris <rgm@gnu.org>
16724
16725 * calendar/appt.el (appt-disp-window-function): Doc fix.
16726 (appt-check): Handle overlapping appointments. (Bug#8337)
16727
16728 2011-06-11 Martin Rudalics <rudalics@gmx.at>
16729
16730 * window.el (window-tree-1, window-tree): New functions, moving
16731 the latter to window.el.
16732 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
16733 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
16734 (bw-refresh-edges): Remove.
16735 (balance-windows-1, balance-windows-2): New functions.
16736 (balance-windows): Rewrite in terms of window tree functions,
16737 balance-windows-1 and balance-windows-2.
16738 (bw-adjust-window): Remove.
16739 (balance-windows-area-adjust): New function with functionality of
16740 bw-adjust-window but using resize-window.
16741 (set-window-text-height): Rewrite doc-string.
16742 Use normalize-live-window and resize-window.
16743 (enlarge-window-horizontally, shrink-window-horizontally):
16744 Rename argument to DELTA.
16745 (window-buffer-height): New function.
16746 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
16747 Rewrite using new window resize routines.
16748 (kill-buffer-and-window, mouse-autoselect-window-select):
16749 Use ignore-errors instead of condition-case.
16750 (quit-window): Call delete-frame instead of delete-windows-on
16751 for the only buffer on frame.
16752
16753 2011-06-10 Martin Rudalics <rudalics@gmx.at>
16754
16755 * loadup.el (top-level): Load window before files for the sake
16756 of replace-buffer-in-windows.
16757
16758 * files.el (read-buffer-to-switch)
16759 (switch-to-buffer-other-window)
16760 (switch-to-buffer-other-frame, display-buffer-other-frame):
16761 Move to window.el.
16762
16763 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
16764 (previous-buffer): Move to window.el.
16765
16766 * bindings.el (unbury-buffer): Move to window.el.
16767
16768 * window.el (delete-other-windows-vertically): Move after
16769 definition of delete-other-windows.
16770 (other-window, delete-windows-on, replace-buffer-in-windows):
16771 Move here from window.c.
16772 (record-window-buffer, unrecord-window-buffer)
16773 (set-window-buffer-start-and-point, switch-to-prev-buffer)
16774 (switch-to-next-buffer): New functions.
16775 (get-next-valid-buffer, last-buffer, next-buffer): Move here
16776 from simple.el. Call switch-to-next-buffer.
16777 (previous-buffer): Move here from simple.el.
16778 Call switch-to-prev-buffer.
16779 (bury-buffer): Move here from buffer.c. Switch to previous
16780 buffer when window cannot be deleted.
16781 (unbury-buffer): Move here from bindings.el.
16782 (ctl-x-map): Move binding for other-window from window.c to
16783 here.
16784 (read-buffer-to-switch, switch-to-buffer-other-window)
16785 (switch-to-buffer-other-frame): Move here from files.el.
16786 (normalize-buffer-to-switch-to): New functions.
16787 (switch-to-buffer): Move here from buffer.c.
16788 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
16789
16790 2011-06-10 Martin Rudalics <rudalics@gmx.at>
16791
16792 * window.el (window-min-height, window-min-width): Move here
16793 from window.c. Add defcustoms and rewrite doc-strings.
16794 (resize-mini-window, resize-window): New functions.
16795 (adjust-window-trailing-edge, enlarge-window, shrink-window):
16796 Move here from window.c.
16797 (maximize-window, minimize-window): New functions.
16798 (delete-window, delete-other-windows, split-window): Move here
16799 from window.c.
16800 (window-split-min-size): New function.
16801 (split-window-keep-point): Mention split-window-above-each-other
16802 instead of split-window-vertically.
16803 (split-window-above-each-other, split-window-vertically):
16804 Rename split-window-vertically to split-window-above-each-other
16805 and provide defalias for old definition.
16806 (split-window-side-by-side, split-window-horizontally):
16807 Rename split-window-horizontally to split-window-side-by-side
16808 and provide defalias for the old definition.
16809 (ctl-x-map): Move bindings for delete-window,
16810 delete-other-windows and enlarge-window here from window.c.
16811 Replace bindings for split-window-vertically and
16812 split-window-horizontally by bindings for
16813 split-window-above-each-other and split-window-side-by-side.
16814
16815 * cus-start.el (all): Remove entries for window-min-height and
16816 window-min-width. Add entries for window-splits and
16817 window-nest.
16818
16819 2011-06-09 Glenn Morris <rgm@gnu.org>
16820
16821 * calendar/appt.el (appt-mode-line): New function.
16822 (appt-check, appt-disp-window): Use it.
16823
16824 * files.el (hack-one-local-variable-eval-safep):
16825 Allow minor-modes with explicit +/-1 arguments.
16826
16827 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
16828
16829 * term/xterm.el (xterm): Add defgroup.
16830 (xterm-extra-capabilities): Add defcustom to supply known xterm
16831 capabilities, skip querying them, or query them (default).
16832 (terminal-init-xterm): Use it.
16833 (terminal-init-xterm-modify-other-keys): New function to set up
16834 modifyOtherKeys support to simplify `terminal-init-xterm'.
16835
16836 2011-06-09 Martin Rudalics <rudalics@gmx.at>
16837
16838 * window.el (resize-window-reset, resize-window-reset-1)
16839 (resize-subwindows-skip-p, resize-subwindows-normal)
16840 (resize-subwindows, resize-other-windows, resize-this-window)
16841 (resize-root-window, resize-root-window-vertically)
16842 (window-deletable-p, window-or-subwindow-p)
16843 (frame-root-window-p): New functions.
16844
16845 2011-06-09 Glenn Morris <rgm@gnu.org>
16846
16847 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
16848 (ange-ftp-get-files): Use it.
16849
16850 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
16851
16852 * mail/sendmail.el (mail-recover-1, mail-recover):
16853 * files.el (recover-file, recover-session):
16854 Handle dired-listing-switches not being just a single short option.
16855
16856 2011-06-09 Glenn Morris <rgm@gnu.org>
16857
16858 * calendar/appt.el (appt-display-message, appt-disp-window):
16859 Handle lists of appointments.
16860
16861 2011-06-08 Martin Rudalics <rudalics@gmx.at>
16862
16863 * window.el (one-window-p): Move down in code.
16864 Rewrite doc-string.
16865 (window-current-scroll-bars): Rewrite doc-string.
16866 Normalize live window argument.
16867 (walk-windows, get-window-with-predicate, count-windows):
16868 Rewrite doc-string. Use window-list-1.
16869 (window-in-direction-2, window-in-direction, get-mru-window):
16870 New functions.
16871
16872 2011-06-08 Reuben Thomas <rrt@sc3d.org>
16873
16874 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
16875 Doc fix (Bug#8713).
16876
16877 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
16878
16879 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
16880
16881 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
16882
16883 * loadhist.el (unload-feature-special-hooks):
16884 Add `comint-output-filter-functions'.
16885
16886 2011-06-08 Ivan Kanis <gnu@kanis.fr>
16887
16888 * calendar/appt.el (appt-check): Move some initializations into the let.
16889
16890 2011-06-08 Martin Rudalics <rudalics@gmx.at>
16891
16892 * window.el (window-height): Defalias to window-total-height.
16893 (window-width): Defalias to window-body-width.
16894
16895 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
16896
16897 * image-mode.el (image-toggle-animation): New command.
16898 (image-mode-map): Bind it to RET.
16899 (image-mode): Update message.
16900 (image-toggle-display-image): Avoid a spurious cache flush.
16901 (image-transform-rotation): Doc fix.
16902 (image-transform-properties): Return quickly in the normal case.
16903 (image-animate-loop): Rename from image-animate-max-time.
16904
16905 * image.el (image-animate-max-time): Move to image-mode.el.
16906 (create-animated-image): Remove unnecessary function.
16907 (image-animate): Rename from image-animate-start. New arg.
16908 (image-animate-stop): Remove; just use image-animate-timer.
16909 (image-animate-timer): Use car-safe.
16910 (image-animate-timeout): Rename argument.
16911
16912 2011-06-07 Martin Rudalics <rudalics@gmx.at>
16913
16914 * window.el (get-lru-window, get-largest-window): Move here from
16915 window.c. Rename first argument to ALL-FRAMES.
16916 Rephrase doc-strings.
16917 (get-buffer-window-list): Rewrite using window-list-1.
16918 Rephrase doc-string.
16919 (window-safe-min-height, window-safe-min-width): New constants.
16920 (window-size-ignore, window-min-size, window-min-size-1)
16921 (window-sizable, window-sizable-p, window-size-fixed-1)
16922 (window-size-fixed-p, window-min-delta-1, window-min-delta)
16923 (window-max-delta-1, window-max-delta, window-resizable)
16924 (window-resizable-p, window-total-height, window-total-width)
16925 (window-body-width): New functions.
16926 (window-full-height-p, window-full-width-p): Rewrite using
16927 window-total-size.
16928 (window-body-height): Rewrite using window-body-size.
16929
16930 2011-06-06 Martin Rudalics <rudalics@gmx.at>
16931
16932 * window.el (window-right, window-left, window-child)
16933 (window-child-count, window-last-child, window-any-p)
16934 (normalize-live-buffer, normalize-live-frame)
16935 (normalize-any-window, normalize-live-window)
16936 (window-iso-combination-p, window-iso-combined-p)
16937 (window-iso-combinations)
16938 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
16939 (windows-with-parameter, window-with-parameter)
16940 (window-atom-root, make-window-atom, window-atom-check-1)
16941 (window-atom-check, window-side-check, window-check):
16942 New functions.
16943 (ignore-window-parameters, window-sides, window-sides-vertical)
16944 (window-sides-slots): New variables.
16945 (window-size-fixed): Move down in code. Minor doc-string fix.
16946
16947 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
16948
16949 * comint.el (comint-dynamic-complete-as-filename)
16950 (comint-dynamic-complete-filename): Correctly call
16951 completion-in-region.
16952
16953 2011-06-05 Deniz Dogan <deniz@dogan.se>
16954
16955 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
16956 in last change.
16957
16958 2011-06-05 Deniz Dogan <deniz@dogan.se>
16959
16960 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
16961 (rcirc): Use it to prompt for encryption.
16962
16963 2011-06-05 Roland Winkler <winkler@gnu.org>
16964
16965 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
16966 (bibtex-search-entries): New command bound to C-c C-a.
16967 (bibtex-display-entries): New function.
16968
16969 2011-06-05 Roland Winkler <winkler@gnu.org>
16970
16971 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
16972 (bibtex-insert-kill): After yanking insert newline if necessary.
16973 (bibtex-initialize): Call bibtex-string-files-init only once.
16974 (bibtex-mode): Do not call easy-menu-add.
16975 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
16976 (bibtex-yank): Set arg properly if nil.
16977
16978 2011-06-05 Roland Winkler <winkler@gnu.org>
16979
16980 * textmodes/bibtex.el (bibtex-search-entry-globally):
16981 New variable.
16982 (bibtex-search-entry): Use it.
16983
16984 2011-06-05 Roland Winkler <winkler@gnu.org>
16985
16986 * textmodes/bibtex.el (bibtex-entry-format): New option
16987 sort-fields.
16988 (bibtex-format-entry, bibtex-reformat): Honor this option.
16989 (bibtex-parse-entry): Return fields in proper order.
16990
16991 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
16992
16993 * doc-view.el (doc-view-remove-if): Move computation of result out
16994 of `dolist' to silence misleading lexical-binding warning.
16995
16996 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
16997
16998 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
16999 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17000
17001 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
17002
17003 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17004 "SunOS 5.10".
17005
17006 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
17007
17008 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17009 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17010 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17011 (tramp-parse-putty):
17012 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17013 (tramp-completion-function-alist-ssh)
17014 (tramp-completion-function-alist-telnet)
17015 (tramp-completion-function-alist-su)
17016 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17017 cookie.
17018
17019 * net/tramp-ftp.el:
17020 * net/tramp-sh.el:
17021 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17022 load "tramp.el" `tramp-set-completion-function'.
17023
17024 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17025
17026 * shell.el: Require and use pcomplete.
17027 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17028 (shell-completion-vars): Set pcomplete-default-completion-function.
17029
17030 2011-06-04 Deniz Dogan <deniz@dogan.se>
17031
17032 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17033 `memq' (Bug#8799).
17034
17035 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17036
17037 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17038
17039 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
17040
17041 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17042 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17043 * vc/log-view.el (log-view-beginning-of-defun):
17044 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17045 (smerge-refine-forward, smerge-refine-chopup-region):
17046 Silence warning for unused `dotimes' counter variables.
17047
17048 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17049
17050 * net/tramp.el (tramp-with-progress-reporter): Rename from
17051 with-progress-reporter. Use `declare'.
17052 * net/tramp-smb.el:
17053 * net/tramp-sh.el:
17054 * net/tramp-gvfs.el: Update all uses.
17055
17056 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17057
17058 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17059 buffer isn't killed before making it current.
17060
17061 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17062
17063 Silence various byte-compiler warnings.
17064 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17065 `access-type' and new obsolescence format.
17066 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17067 new format.
17068 (byte-compile-check-variable): New `access-type' argument.
17069 Only warn if the access-type is obsolete.
17070 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17071 (byte-compile-variable-set): Adjust callers.
17072 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17073 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17074 setting it as obsolete.
17075 * simple.el (minibuffer-completing-symbol):
17076 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17077 access as obsolete.
17078 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17079 obsolete yet.
17080 * international/quail.el (quail-mouse-choose-completion): Remove unused
17081 code referring to obsolete var.
17082 (quail-choose-completion-string): Remove.
17083 * server.el (server-clients-with, server-kill-buffer-query-function)
17084 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17085 * proced.el (proced-send-signal):
17086 * emacs-lisp/lisp.el (lisp-complete-symbol):
17087 Replace completion-annotate-function with completion-extra-properties.
17088
17089 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17090
17091 * simple.el (goto-line): Use read-number.
17092 (overriding-map-is-bound): Remove.
17093 (saved-overriding-map): Change default.
17094 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17095 Take the map as argument.
17096 (universal-argument, negative-argument, digit-argument): Use it.
17097 (restore-overriding-map): Adjust.
17098 (do-auto-fill): Use fill-forward-paragraph.
17099 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17100
17101 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17102 (minibuffer-inactive-mode): New major mode.
17103 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17104 the *Messages* buffer" hack.
17105 (mouse-popup-menubar): Don't burp if the event is a normal key.
17106
17107 Miscellaneous tweaks.
17108 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17109 lexical scoping as in subr.el's dolist and dotimes.
17110 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17111 Silence compiler warning.
17112 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17113 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17114 * international/ccl.el (ccl-compile): Trivial simplification.
17115 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17116 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17117 `printflag' argument.
17118 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17119 Purecopy the whole obsolescence data.
17120
17121 2011-06-01 Leo Liu <sdl.web@gmail.com>
17122
17123 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17124 improve doc-string as suggested by Marco Pessotto
17125 <melmothx@gmail.com>.
17126 (rcirc-print): Fix last change.
17127
17128 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17129
17130 * minibuffer.el (complete-with-action): Return nil for the metadata and
17131 boundaries of non-functional tables.
17132 (completion-table-dynamic): Return nil for the metadata.
17133 (completion-table-with-terminator): Add default case, using
17134 complete-with-action.
17135 (completion--metadata): New function.
17136 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17137 to try and avoid pathological performance problems.
17138 (completion--embedded-envvar-table): Return `category' metadata.
17139
17140 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17141
17142 * subr.el (process-alive-p): New tiny convenience function.
17143
17144 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17145
17146 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17147 content but also its previous major mode.
17148
17149 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
17150
17151 * emacs-lisp/debug.el (debug): Restore the previous content of the
17152 *Backtrace* buffer when we exit with C-M-c.
17153
17154 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17155
17156 * minibuffer.el: Add metadata method to completion tables.
17157 (completion-category-overrides): New defcustom.
17158 (completion-metadata, completion--field-metadata)
17159 (completion-metadata-get, completion--styles)
17160 (completion--cycle-threshold): New functions.
17161 (completion-try-completion, completion-all-completions):
17162 Add `metadata' argument to choose completion-styles.
17163 (completion--do-completion): Use metadata to choose cycling.
17164 (completion-all-sorted-completions): Use metadata for sorting.
17165 Remove :completion-cycle-penalty which is not needed any more.
17166 (completion--try-word-completion): Add `metadata' argument.
17167 (minibuffer-completion-help): Check metadata for annotation function
17168 and sorting.
17169 (completion-file-name-table): Return `category' metadata.
17170 (minibuffer-completing-file-name): Make obsolete.
17171 * simple.el (minibuffer-completing-symbol): Make obsolete.
17172 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17173 completion-try-completion.
17174
17175 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17176
17177 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17178
17179 2011-05-30 Leo Liu <sdl.web@gmail.com>
17180
17181 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
17182 (rcirc-print): Decode all incoming messages (bug#8744).
17183 (rcirc-decode-coding-system): Allow value nil for automatic coding
17184 system detection.
17185
17186 2011-06-01 Glenn Morris <rgm@gnu.org>
17187
17188 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17189
17190 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17191
17192 * image.el (image-animate-max-time): Allow nil and t values.
17193 Default to nil.
17194 (create-animated-image): Doc fix.
17195 (image-animate-start): Remove second arg; just use
17196 image-animate-max-time.
17197 (image-animate-timeout): Doc fix. Args changed.
17198
17199 * image-mode.el (image-toggle-display-image): Ensure that the
17200 image spec passed to the animate timer is the same object as in
17201 the buffer's display property (Bug#6981).
17202 (image-transform-properties): Doc fix.
17203
17204 * image.el (image-animate-max-time): Default to nil.
17205
17206 2011-05-29 Martin Rudalics <rudalics@gmx.at>
17207
17208 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17209 entire buffer list (Bug#8184).
17210
17211 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17212
17213 * image.el (imagemagick-types-inhibit)
17214 (imagemagick-register-types): Doc fix.
17215
17216 2011-05-29 Deniz Dogan <deniz@dogan.se>
17217
17218 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17219 default.
17220
17221 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17222
17223 * select.el: Don't perform clipboard-manager saving in hooks;
17224 leave the hooks empty.
17225
17226 2011-05-28 Leo Liu <sdl.web@gmail.com>
17227
17228 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17229 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17230 (occur-edit-mode): New major mode (Bug#8463).
17231 (occur-after-change-function): New function.
17232 (occur-engine): Give Occur tags a read-only property.
17233
17234 2011-05-28 Kevin Ryde <user42@zip.com.au>
17235
17236 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17237
17238 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17239
17240 * bindings.el (help-echo): Make the initial non-indicator dash
17241 empty on graphical terminals (Bug#7295).
17242
17243 * files.el (auto-mode-alist): Move config rule after the
17244 in-stripping one (Bug#8547).
17245
17246 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17247
17248 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17249 setting (Bug#8740).
17250
17251 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17252
17253 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17254 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17255 (Bug#8539).
17256
17257 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17258
17259 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17260
17261 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17262
17263 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17264 (hs-hide-block-at-point, hs-find-block-beginning)
17265 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17266 (Bug#8279).
17267
17268 2011-05-28 Glenn Morris <rgm@gnu.org>
17269
17270 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17271
17272 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17273
17274 * help-fns.el (describe-function-1): If the function is a derived
17275 major mode, print the parent mode.
17276
17277 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17278 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17279
17280 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17281
17282 * minibuffer.el (completion--capf-wrapper): Check applicability before
17283 returning non-nil for non-exclusive completion data.
17284 * progmodes/etags.el (tags-completion-at-point-function):
17285 * info-look.el (info-lookup-completions-at-point): Mark as
17286 non-exclusive.
17287 (info-complete): Adjust accordingly.
17288
17289 * info-look.el: Convert to lexical-binding and completion-at-point.
17290 (info-lookup-completions-at-point): New function.
17291 (info-complete): Use it and completion-in-region.
17292
17293 2011-05-28 Drew Adams <drew.adams@oracle.com>
17294
17295 * isearch.el: Let M-e start with point at the first mismatched char.
17296 (isearch-fail-pos): New function.
17297 (isearch-edit-string): Use it.
17298
17299 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17300
17301 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17302
17303 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
17304
17305 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17306 traversal functions for avl-trees.
17307 (avl-tree--stack): New struct.
17308 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17309 (avl-tree-enter): Add optional `updatefun' arg.
17310 (avl-tree--do-enter): Add optional `updatefun' arg.
17311 Change return value.
17312 (avl-tree-delete): Add optional `test' and `nilflag' args.
17313 (avl-tree--do-delete): Add `test' and `nilflag' args.
17314 Change return value.
17315 (avl-tree-member): Add optional `nilflag'
17316 (avl-tree-member-p): New function.
17317 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17318 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17319 (avl-tree-stack-empty-p): New functions.
17320
17321 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17322 avl-tree--del-balance1 and make it work both ways.
17323 (avl-tree--del-balance2): Remove.
17324 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17325 make it work both ways.
17326 (avl-tree--enter-balance2): Remove.
17327 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17328 New macros.
17329 (avl-tree--mapc, avl-tree-map): Add direction argument.
17330
17331 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
17332
17333 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17334
17335 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
17336
17337 * select.el: Support clipboard managers with built-in function
17338 x-clipboard-manager-save, via delete-frame-functions and
17339 kill-emacs-hook.
17340 (xselect-convert-to-targets): Add MULTIPLE target to list.
17341 (xselect-convert-to-save-targets): New function.
17342
17343 2011-05-27 Kenichi Handa <handa@m17n.org>
17344
17345 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17346 let-binding rfc2047-encode-encoded-words to nil.
17347
17348 2011-05-27 Glenn Morris <rgm@gnu.org>
17349
17350 * mail/emacsbug.el: Don't require url-util.
17351
17352 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17353
17354 * files.el (set-auto-mode):
17355 Also respect mode: entries at the end of the file. (Bug#8586)
17356
17357 2011-05-26 Glenn Morris <rgm@gnu.org>
17358
17359 * files.el (hack-local-variables-prop-line, hack-local-variables):
17360 Downcase mode names, as seems to be traditional.
17361 (hack-local-variables, hack-local-variables-apply): Doc fixes.
17362
17363 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17364 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17365
17366 2011-05-25 Julien Danjou <julien@danjou.info>
17367
17368 * textmodes/rst.el (rst-define-level-faces): Do not define face
17369 symbol if it is already defined.
17370
17371 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17372
17373 * play/5x5.el (5x5-new-game, 5x5-randomize):
17374 Reset 5x5-solver-output to nil when a new grid is cast.
17375 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17376 these debugging traces, as defmacro breaks the compiled code.
17377
17378 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17379
17380 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17381
17382 2011-05-24 Leo Liu <sdl.web@gmail.com>
17383
17384 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17385 (vc-bzr-sha1): Adapt.
17386
17387 * sha1.el: Remove. Function `sha1' is now builtin.
17388
17389 * bindings.el: Provide sha1 feature.
17390
17391 2011-05-24 Kenichi Handa <handa@m17n.org>
17392
17393 * mail/sendmail.el: Require `rfc2047'.
17394 (mail-insert-from-field): Do not perform RFC2047 encoding.
17395 (mail-encode-header): New function.
17396 (sendmail-send-it): Set buffer-file-coding-system of the work
17397 buffer to the return value of select-message-coding-system.
17398 Call mail-encode-header.
17399
17400 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17401
17402 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
17403
17404 * mail/supercite.el (sc-default-cite-frame):
17405 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
17406
17407 2011-05-24 Glenn Morris <rgm@gnu.org>
17408
17409 * progmodes/python.el (brm-menu): Declare.
17410
17411 * emulation/viper.el (viper-set-hooks): Declare.
17412
17413 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17414 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17415 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17416 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17417 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17418 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17419
17420 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17421
17422 Add an :exit-function for completion-at-point.
17423
17424 * minibuffer.el (completion--done): New fun.
17425 (completion--do-completion): Use it. New arg `expect-exact'.
17426 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17427 since completion--do-completion does it for us now.
17428 (minibuffer-force-complete): Use completion--done and
17429 completion--replace. Handle sole-completion case with more care.
17430 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17431 (completion-extra-properties): New var.
17432 (completion-annotate-function): Make obsolete.
17433 (minibuffer-completion-help): Adjust accordingly.
17434 Use completion-list-insert-choice-function.
17435 (completion-at-point, completion-help-at-point):
17436 Bind completion-extra-properties.
17437 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17438 * simple.el (completion-list-insert-choice-function): New var.
17439 (completion-setup-function): Preserve it.
17440 (choose-completion): Pay attention to it, shuffle the code a bit.
17441 (choose-completion-string): New arg `insert-function'.
17442
17443 * textmodes/bibtex.el: Convert to lexical binding.
17444 (bibtex-mode-map): Use completion-at-point.
17445 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17446 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17447 (bibtex-complete): Define as obsolete alias.
17448 (bibtex-complete-internal): Remove.
17449 (bibtex-format-entry): Remove unused sub-group in regexp.
17450 * shell.el (shell--command-completion-data)
17451 (shell-environment-variable-completion):
17452 * pcomplete.el (pcomplete-completions-at-point):
17453 * comint.el (comint--complete-file-name-data): Use :exit-function
17454 instead of completion-table-with-terminator so it also works for
17455 choose-completion.
17456
17457 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17458
17459 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17460
17461 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17462 (bug#8710).
17463
17464 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17465
17466 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17467
17468 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17469 customization variable and implement: If non-nil, auto-fill will
17470 be inhibited while on topic's header line.
17471
17472 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17473
17474 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
17475 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
17476 always have a solution in grid size = 5 cases.
17477 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17478 (5x5-solver-output, 5x5-log-buffer): New vars.
17479 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17480 Make these variables buffer local to achieve 5x5 multi-session-ness.
17481 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17482 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17483 (5x5-solve-suggest): New funs.
17484 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17485 randomize a grid so that we ensure that there is always a solution.
17486 (5x5-make-random-grid): Allow other movement than flipping.
17487
17488 2011-05-23 Kevin Ryde <user42@zip.com.au>
17489
17490 * emacs-lisp/advice.el (ad-read-advised-function):
17491 Use `function-called-at-point' as the default, if it has
17492 advice and passes PREDICATE.
17493
17494 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17495
17496 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17497 byte-compile-lambda if it's actually a lambda.
17498
17499 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17500 Fix function quoting. Use backquote better.
17501
17502 2011-05-22 Yuanle Song <sylecn@gmail.com>
17503
17504 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17505 matching (Bug#8516).
17506
17507 2011-01-22 Jari Aalto <jari.aalto@cante.net>
17508
17509 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17510 different face (Bug#8178).
17511
17512 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
17513
17514 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17515 defface (Bug#8144).
17516
17517 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17518
17519 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17520 funcall as well (bug#8712). Warn when performing those conversions.
17521 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17522
17523 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17524
17525 2011-05-22 Glenn Morris <rgm@gnu.org>
17526
17527 * files.el (hack-local-variables-prop-line): Small simplifications.
17528 (hack-local-variables, hack-local-variables-prop-line):
17529 If MODE-ONLY, return the mode, rather than just `t'.
17530
17531 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
17532
17533 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17534
17535 2011-05-21 Glenn Morris <rgm@gnu.org>
17536
17537 * files.el (hack-local-variables-prop-line, hack-local-variables):
17538 If only interested in the mode, don't bother doing the other stuff.
17539
17540 * image-mode.el (image-after-revert-hook):
17541 Redraw all frames on which the image is visible. (Bug#8567)
17542
17543 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
17544
17545 * wid-edit.el (widget-checklist-match-inline):
17546 Fix 2011-04-19 change. (Bug#8649)
17547
17548 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
17549
17550 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17551 Also allow singlespace after single-letter capitals followed by a dot.
17552
17553 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17554 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17555
17556 2011-05-20 Nix <nix@esperi.org.uk>
17557
17558 * files.el (basic-save-buffer-2):
17559 Fix handling of break-hardlink-on-save with non-existent files.
17560
17561 2011-05-19 Deniz Dogan <deniz@dogan.se>
17562
17563 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
17564 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
17565
17566 2011-05-19 Glenn Morris <rgm@gnu.org>
17567
17568 * progmodes/f90.el (f90-type-def-re):
17569 Handle "type, bind(c)". (Bug#8691)
17570
17571 * emacs-lisp/autoload.el (batch-update-autoloads):
17572 Set autoload-excludes by parsing loadup.el rather than Makefiles.
17573
17574 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
17575
17576 * net/tramp.el (tramp-process-actions): Set "first-password-request"
17577 property for the correct connection in case of multihops.
17578
17579 2011-05-18 Glenn Morris <rgm@gnu.org>
17580
17581 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
17582 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17583
17584 Rationalize calendar handling of day and month abbrev-arrays.
17585 * calendar/calendar.el (calendar-customized-p): New function.
17586 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17587 (calendar-day-name-array, calendar-month-name-array): Doc fix.
17588 Add :set function.
17589 (calendar-abbrev-length, calendar-day-abbrev-array)
17590 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17591 (calendar-day-abbrev-array, calendar-month-abbrev-array):
17592 Elements may no longer be nil.
17593 (calendar-day-name, calendar-month-name):
17594 Update for changed nature of abbrev arrays.
17595 * calendar/diary-lib.el (diary-name-pattern):
17596 Update for changed nature of abbrev arrays.
17597 (diary-mark-entries-1): Update calendar-make-alist calls.
17598 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17599 * calendar/cal-html.el (cal-html-day-abbrev-array):
17600 Simply inherit from calendar-day-abbrev-array.
17601
17602 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17603
17604 * progmodes/grep.el (grep-mode): Disable default
17605 compilation-directory-matcher setting (bug#8684).
17606
17607 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
17608
17609 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17610 instead of "head" and "tail". There were problems with SunOS 5.9,
17611 and it performs better.
17612
17613 2011-05-17 Glenn Morris <rgm@gnu.org>
17614
17615 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17616
17617 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17618 Replace obsolete function.
17619
17620 * shell.el (pcomplete-parse-arguments-function): Declare.
17621
17622 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
17623 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
17624 (appt-check): Doc fixes.
17625 (appt-disp-window-function, appt-delete-window-function):
17626 Remove needless special case in custom :type.
17627 (appt-display-count): Default to 0, not nil.
17628 (appt-check): Reset appt-display-count to 0, not nil.
17629
17630 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
17631
17632 * progmodes/python.el (python-font-lock-keywords):
17633 Add the Python 3.X keyword "nonlocal" (bug#8639).
17634
17635 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
17636
17637 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
17638
17639 2011-05-16 Kevin Ryde <user42@zip.com.au>
17640
17641 * info-look.el (makefile-automake-mode): New setups, looking in
17642 automake manual, then makefile-mode.
17643 (makefile-mode): Remove automake manual, have it just in
17644 makefile-automake-mode since there's various things different or
17645 not relevant to plain make.
17646 (makefile-mode): Remove "other-modes" non-existent automake-mode,
17647 believe a hypothetical automake-mode would go to makefile-mode,
17648 not the other way around.
17649
17650 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
17651
17652 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
17653 hunk-end tags (Bug#8672).
17654
17655 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
17656 vc-annotate-show-diff-revision-at-line (Bug#8671).
17657
17658 2011-05-14 Glenn Morris <rgm@gnu.org>
17659
17660 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
17661 in the middle of an existing one with multiple authors. (Bug#8645)
17662 (change-log-font-lock-keywords): Also handle multiple author lines
17663 with leading tabs. (Bug#8644)
17664
17665 * calendar/appt.el (appt-check): Rename some local variables.
17666 Some simplification/reordering.
17667
17668 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
17669 (feedmail-sendmail-f-doesnt-sell-me-out)
17670 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17671 (feedmail-debug-sit-for, feedmail-queue-express-hook)
17672 (feedmail-queue-runner-message-sender): Set :version.
17673 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
17674 (bbdb-dwim-net-address, vm-mail): Declare.
17675 (feedmail-binmail-gnulinuxish-template):
17676 Rename from feedmail-binmail-linuxish-template.
17677 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
17678 Use insert-buffer-substring.
17679
17680 2011-05-14 Bill Carpenter <bill@carpenter.org>
17681
17682 * mail/feedmail.el (feedmail-patch-level): Increase.
17683 (feedmail-debug): New custom group.
17684 (feedmail-confirm-outgoing-timeout)
17685 (feedmail-sendmail-f-doesnt-sell-me-out)
17686 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17687 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
17688 (feedmail-sender-line, feedmail-from-line)
17689 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
17690 (feedmail-spray-this-address)
17691 (feedmail-spray-address-fiddle-plex-list)
17692 (feedmail-queue-use-send-time-for-date)
17693 (feedmail-queue-use-send-time-for-message-id)
17694 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
17695 (feedmail-buffer-eating-function):
17696 Doc fixes.
17697 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
17698 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
17699 (feedmail-message-action-scroll-down): New functions.
17700 (feedmail-queue-directory, feedmail-queue-draft-directory):
17701 Use expand-file-name.
17702 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
17703 Remove C-v help entry.
17704 (feedmail-queue-buffer-file-name): New variable.
17705 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
17706 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
17707 (feedmail-message-action-send-strong, feedmail-message-action-edit)
17708 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
17709 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
17710 (feedmail-message-action-toggle-spray)
17711 (feedmail-run-the-queue-no-prompts)
17712 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
17713 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
17714 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
17715 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
17716 (feedmail-envelope-deducer, feedmail-fiddle-from)
17717 (feedmail-fiddle-sender, feedmail-default-date-generator)
17718 (feedmail-fiddle-date, feedmail-fiddle-message-id)
17719 (feedmail-fiddle-spray-address)
17720 (feedmail-fiddle-list-of-spray-fiddle-plexes)
17721 (feedmail-fiddle-list-of-fiddle-plexes)
17722 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
17723 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
17724 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
17725 Change default. Doc fix.
17726 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
17727 (feedmail-binmail-linuxish-template): New constant.
17728 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
17729 Respect feedmail-sendmail-f-doesnt-sell-me-out.
17730 (feedmail-send-it): Add debug call.
17731 Use feedmail-queue-buffer-file-name, and
17732 feedmail-send-it-immediately-wrapper.
17733 (feedmail-message-action-send): Add debug call.
17734 Use feedmail-send-it-immediately-wrapper.
17735 (feedmail-queue-express-to-queue): Add debug call.
17736 Run feedmail-queue-express-hook.
17737 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
17738 (feedmail-message-action-help-blat):
17739 Rename from feedmail-queue-send-edit-prompt-help-first.
17740 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
17741 Check line-endings. Handle errors better.
17742 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
17743 Doc fix. Add debug call.
17744 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
17745 Use feedmail-queue-send-edit-prompt-inner.
17746 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
17747 (feedmail-queue-send-edit-prompt-inner): New function, extracted
17748 from feedmail-queue-send-edit-prompt.
17749 (feedmail-queue-send-edit-prompt-help)
17750 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
17751 (feedmail-tidy-up-slug): Add debug call.
17752 Respect feedmail-queue-slug-suspect-regexp.
17753 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
17754 (feedmail-dump-message-to-queue): Add debug call.
17755 Expand queue-directory.
17756 (feedmail-dump-message-to-queue): Change message slightly.
17757 Use feedmail-say-chatter.
17758 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
17759 (feedmail-send-it-immediately-wrapper): New function.
17760 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
17761 Insert empty string rather than newline. Handle full-frame case.
17762 Use catch/throw. Use feedmail-say-chatter.
17763 (feedmail-fiddle-from): Try mail-host-address.
17764 (feedmail-default-message-id-generator): Doc fix.
17765 Bind system-time-locale. Handle missing end.
17766 (feedmail-fiddle-x-mailer): Add debug call.
17767 Handle feedmail-x-mailer-line being nil.
17768 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
17769 Add debug call. Use buffer-substring-no-properties.
17770 (feedmail-say-debug, feedmail-say-chatter): New functions.
17771 (feedmail-find-eoh): Give an explicit error.
17772
17773 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
17774
17775 * net/newst-treeview.el (newsticker-treeview-face): Change default
17776 family from helvetica to sans.
17777 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
17778 etc/images/newsticker.
17779
17780 * net/newst-reader.el (newsticker-feed-face): Change default
17781 family from helvetica to sans.
17782
17783 * net/newst-plainview.el (newsticker-new-item-face)
17784 (newsticker-old-item-face, newsticker-immortal-item-face)
17785 (newsticker-obsolete-item-face, newsticker-date-face)
17786 (newsticker-statistics-face): Change default family from
17787 helvetica to sans.
17788 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
17789 etc/images/newsticker.
17790
17791 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
17792 (newsticker--process-auto-mark-filter-match): Tell user about
17793 auto-marking.
17794
17795 2011-05-13 Didier Verna <didier@xemacs.org>
17796
17797 Common Lisp indentation improvements on defmethod and lambda-lists.
17798 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
17799 TODO entries.
17800 (lisp-lambda-list-keyword-parameter-indentation)
17801 (lisp-lambda-list-keyword-parameter-alignment)
17802 (lisp-lambda-list-keyword-alignment): New customizable user options.
17803 (lisp-indent-defun-method): Improve docstring.
17804 (extended-loop-p): Fix comment.
17805 (lisp-indent-lambda-list-keywords-regexp): New variable.
17806 (lisp-indent-lambda-list): New function.
17807 (lisp-indent-259): Use it.
17808 (lisp-indent-defmethod): Support for more than one
17809 method qualifier and properly indent methods lambda-lists.
17810 (defgeneric): Provide a missing common-lisp-indent-function property.
17811
17812 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
17813
17814 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
17815 bounds for the empty string (bug#8667).
17816
17817 2011-05-13 Glenn Morris <rgm@gnu.org>
17818
17819 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
17820
17821 * mail/sendmail.el (sendmail-program): Try executable-find first.
17822 (sendmail-send-it): `sendmail-program' cannot be unbound.
17823
17824 * calendar/appt.el (appt-make-list): Simplify.
17825 (appt-time-msg-list): Doc fix.
17826 (appt-check): Change mode-line message at the time of the appointment.
17827
17828 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
17829
17830 * progmodes/ld-script.el (ld-script-keywords)
17831 (ld-script-builtins): Update keywords list.
17832
17833 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17834
17835 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
17836
17837 * shell.el (shell-completion-vars): New function.
17838 (shell-mode):
17839 * simple.el (read-shell-command): Use it.
17840 (blink-matching-open): No need for " [...]" in minibuffer-message.
17841
17842 2011-05-12 Glenn Morris <rgm@gnu.org>
17843
17844 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
17845 (appt-check): Simplify.
17846
17847 2011-05-12 Eli Zaretskii <eliz@gnu.org>
17848
17849 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
17850 literal "/dev/null".
17851
17852 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17853
17854 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
17855 Fix typo.
17856
17857 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
17858
17859 * progmodes/which-func.el (which-function):
17860 Use add-log-current-defun instead of add-log-current-defun-function,
17861 which might not be defined (Bug#8260).
17862
17863 2011-05-12 Glenn Morris <rgm@gnu.org>
17864
17865 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
17866 Let byte-compile-initial-macro-environment always take precedence.
17867
17868 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17869
17870 * net/rcirc.el: Add support for SSL/TLS connections.
17871 (rcirc-server-alist): New field `encryption'.
17872 (rcirc): Check `encryption' settings.
17873 (rcirc-connect): New arg `encryption'. Use open-network-stream.
17874 Merge make-local-variable into `set'.
17875 (rcirc--connection-open-p): New function.
17876 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
17877 the process is not a network process (e.g. running gnutls-cli).
17878 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
17879 Make rcirc-(en|de)code-coding-system local here.
17880 (rcirc-mode): Merge make-local-variable into `set'.
17881 (rcirc-parent-buffer): Make permanent buffer-local.
17882 (rcirc-multiline-minor-mode): Don't do it here.
17883 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
17884 there's no server buffer.
17885
17886 2011-05-11 Glenn Morris <rgm@gnu.org>
17887
17888 * newcomment.el (comment-kill): Prefix "unused" local.
17889
17890 * term/w32console.el (get-screen-color): Declare.
17891
17892 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
17893 Handle symbol elements of byte-compile-initial-macro-environment.
17894
17895 2011-05-10 Leo Liu <sdl.web@gmail.com>
17896
17897 * bookmark.el (bookmark-bmenu-mode-map):
17898 Bind bookmark-bmenu-search to `/'.
17899
17900 * mail/footnote.el: Convert to utf-8 encoding.
17901 (footnote-unicode-string, footnote-unicode-regexp): New variable.
17902 (Footnote-unicode): New function.
17903 (footnote-style-alist): Add unicode style to the list.
17904 (footnote-style): Doc fix.
17905
17906 2011-05-10 Jim Meyering <meyering@redhat.com>
17907
17908 Fix doubled-word typos.
17909 * international/quail.el (quail-insert-kbd-layout): and and -> and
17910 * kermit.el: and and -> and
17911 * net/ldap.el (ldap-search-internal): to to -> to
17912 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
17913 * progmodes/js.el (js-mode): and and -> and
17914 * textmodes/artist.el (artist-move-to-xy): at at -> at
17915 (artist-draw-region-trim-line-endings): if if -> if
17916 And Safetyc -> Safety.
17917 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
17918
17919 2011-05-10 Glenn Morris <rgm@gnu.org>
17920 Stefan Monnier <monnier@iro.umontreal.ca>
17921
17922 * files.el (hack-one-local-variable-eval-safep):
17923 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
17924
17925 2011-05-10 Glenn Morris <rgm@gnu.org>
17926
17927 * calendar/diary-lib.el (diary-list-entries-hook)
17928 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
17929 (diary-nongregorian-marking-hook, diary-list-entries)
17930 (diary-include-other-diary-files, diary-mark-entries)
17931 (diary-mark-included-diary-files): Doc fixes.
17932
17933 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
17934
17935 * misc.el: Require tabulated-list.el during compilation.
17936
17937 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
17938
17939 * progmodes/compile.el (compilation-start):
17940 Run compilation-filter-hook for the async case too.
17941 (compilation-filter-hook): Doc fix.
17942
17943 2011-05-09 Deniz Dogan <deniz@dogan.se>
17944
17945 * wdired.el: Remove outdated installation comment. Fix usage
17946 comment.
17947
17948 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
17949
17950 * misc.el: Implement new command `list-dynamic-libraries'.
17951 (list-dynamic-libraries--loaded-only-p): New variable.
17952 (list-dynamic-libraries--refresh): New function.
17953 (list-dynamic-libraries): New command.
17954
17955 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
17956
17957 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17958 Fix the ant regexp to handle end-line and end-column info from jikes.
17959 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
17960 higher priority to avoid clobbering by gnu.
17961
17962 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
17963
17964 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
17965 if the face has existing theme settings (Bug#8454).
17966
17967 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
17968
17969 * progmodes/perl-mode.el (perl-imenu-generic-expression):
17970 Only match variables declared via `my' or `our' (Bug#8261).
17971
17972 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
17973 special file names `.' and `..' (Bug#8259).
17974
17975 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
17976
17977 * progmodes/grep.el (grep-mode-font-lock-keywords):
17978 Remove buffer-changing entries.
17979 (grep-filter): New function.
17980 (grep-mode): Add it to compilation-filter-hook.
17981
17982 * progmodes/compile.el (compilation-filter-hook)
17983 (compilation-filter-start): New defvars.
17984 (compilation-filter): Call compilation-filter-hook prior to
17985 updating the process mark.
17986
17987 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17988
17989 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
17990
17991 2011-05-07 Eli Zaretskii <eliz@gnu.org>
17992
17993 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
17994 mailclient-send-it even if window-system is nil. (Bug#8595)
17995
17996 * term/w32console.el (terminal-init-w32console):
17997 Call get-screen-color and use its output to set the frame
17998 background-mode. (Bug#8597)
17999
18000 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18001
18002 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18003 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18004 New functions.
18005 (defgeneric, eieio--defmethod): Use them.
18006 (eieio-defgeneric): Remove.
18007 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18008
18009 2011-05-07 Glenn Morris <rgm@gnu.org>
18010
18011 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18012 Use let rather than let*.
18013 (timeclock-find-discrep): Remove unused local.
18014
18015 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18016
18017 * calendar/appt.el (appt-time-msg-list): Doc fix.
18018
18019 2011-05-06 Noah Friedman <friedman@splode.com>
18020
18021 * apropos.el (apropos-print-doc): Only use
18022 emacs-lisp-docstring-fill-column when it is bound to an integer,
18023 per that variable's documentation.
18024
18025 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18026
18027 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
18028 and warnings are not silently discarded (e.g. use -d instead of -P).
18029
18030 2011-05-06 Glenn Morris <rgm@gnu.org>
18031
18032 * calendar/appt.el (appt-message-warning-time): Doc fix.
18033 (appt-warning-time-regexp): New option.
18034 (appt-make-list): Respect appt-message-warning-time.
18035
18036 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18037 New options.
18038 (diary-add-to-list): Strip comments from the displayed string.
18039 (diary-mode): Set comment-start and comment-end.
18040
18041 * vc/diff-mode.el (smerge-refine-subst): Declare.
18042 (diff-refine-hunk): Don't require smerge-mode when compiling.
18043
18044 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
18045
18046 * simple.el (list-processes): Return nil as the docstring says.
18047
18048 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
18049
18050 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18051 to "".
18052 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18053 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18054 determining of binary transfer. (Bug#7383)
18055
18056 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
18057
18058 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18059 Fix port computation bug. (Bug#8618)
18060
18061 2011-05-05 Glenn Morris <rgm@gnu.org>
18062
18063 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18064
18065 * simple.el (shell-dynamic-complete-functions)
18066 (comint-dynamic-complete-functions): Declare.
18067
18068 * net/network-stream.el (gnutls-negotiate):
18069 * simple.el (tabulated-list-print): Fix declarations.
18070
18071 * progmodes/gud.el (syntax-symbol, syntax-point):
18072 Remove unnecessary and incorrect declarations.
18073
18074 * emacs-lisp/check-declare.el (check-declare-scan):
18075 Handle byte-compile-initial-macro-environment in bytecomp.el
18076
18077 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18078
18079 Fix earlier half-done eieio-defmethod change (bug#8338).
18080 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18081 Streamline and change calling convention.
18082 (defmethod): Adjust accordingly and simplify.
18083 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18084 new eieio--defmethod.
18085 (slot-boundp): Minor CSE simplification.
18086
18087 2011-05-05 Milan Zamazal <pdm@zamazal.org>
18088
18089 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18090 (glasses-make-readable): Use glasses-separate-capital-groups.
18091
18092 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
18093
18094 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18095 (warning-series): Doc fix.
18096 (display-warning): Don't try to create the buffer if we just found it.
18097
18098 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
18099
18100 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18101 (autoload-find-generated-file): New function.
18102 (generate-file-autoloads): Bind generated-autoload-file to
18103 buffer-file-name.
18104 (update-file-autoloads, update-directory-autoloads):
18105 Use autoload-find-generated-file. If called interactively, prompt for
18106 output file (Bug#7989).
18107 (batch-update-autoloads): Doc fix.
18108
18109 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
18110
18111 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18112
18113 2011-05-04 Glenn Morris <rgm@gnu.org>
18114
18115 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18116 function, so it follows changes in calendar-date-style.
18117 (diary-fancy-date-matcher): New function.
18118 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18119 (diary-fancy-font-lock-fontify-region-function):
18120 Use diary-fancy-date-pattern as a function.
18121
18122 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18123 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18124
18125 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18126
18127 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18128 instead of positional arguments. Allow :keylist and :crlfiles
18129 arguments.
18130 (open-gnutls-stream): Call it.
18131
18132 * net/network-stream.el (network-stream-open-starttls): Adjust to
18133 call `gnutls-negotiate' with :process and :hostname arguments.
18134
18135 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18136
18137 * minibuffer.el (completion--message): New function.
18138 (completion--do-completion, minibuffer-complete)
18139 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18140 (completion--do-completion): Don't ignore completion-auto-help when in
18141 icomplete-mode.
18142
18143 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18144 internal encoding (e.g. tibetan zero is not whitespace).
18145 (global-whitespace-mode): Prefer save-current-buffer.
18146 (whitespace-trailing-regexp): Remove useless save-match-data.
18147 (whitespace-empty-at-bob-regexp): Minor simplification.
18148
18149 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
18150
18151 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18152
18153 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18154
18155 * textmodes/ispell.el (ispell-add-per-file-word-list):
18156 Use `concat' to create string for insertion.
18157
18158 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18159
18160 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18161 Avoid open-line which runs post-self-insert-hook.
18162 (bibtex-fill-entry): Remove unused `end' var.
18163
18164 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18165
18166 * textmodes/ispell.el (ispell-add-per-file-word-list):
18167 Protect against `nil' value of `comment-start' (Bug#8579).
18168
18169 2011-05-03 Leo Liu <sdl.web@gmail.com>
18170
18171 * isearch.el (isearch-yank-pop): New command.
18172 (isearch-mode-map): Bind it to `M-y'.
18173 (isearch-forward): Mention it.
18174
18175 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18176
18177 * simple.el (minibuffer-complete-shell-command): Remove.
18178 (minibuffer-local-shell-command-map): Use completion-at-point.
18179 (read-shell-command): Setup completion vars here instead.
18180 (read-expression-map): Bind TAB to symbol completion.
18181
18182 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18183 error directly rather via storing it into `results'.
18184
18185 2011-05-02 Leo Liu <sdl.web@gmail.com>
18186
18187 * vc/diff.el: Fix description.
18188
18189 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18190
18191 * server.el (server-eval-at): New function.
18192
18193 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18194
18195 * net/network-stream.el (open-network-stream): Take a :nowait
18196 parameter and pass it on to `make-network-process'.
18197 (network-stream-open-plain): Ditto.
18198
18199 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18200
18201 * faces.el (face-spec-set-match-display): Don't match toolkit
18202 options on terminal frames.
18203
18204 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18205
18206 * progmodes/pascal.el: Use lexical binding.
18207 (pascal-mode-map): Remove author preferences.
18208
18209 * pcomplete.el (pcomplete-std-complete): Don't abuse
18210 completion-at-point.
18211
18212 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
18213
18214 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18215 removing code that has been dead since 1991 or so.
18216
18217 * startup.el (command-line): When warning about "_emacs", use a
18218 delayed warning to allow the user to filter it out.
18219
18220 2011-04-28 Deniz Dogan <deniz@dogan.se>
18221
18222 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18223 user has not joined.
18224
18225 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18226
18227 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18228 aren't any completions at point.
18229
18230 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
18231
18232 * subr.el (display-delayed-warnings): New function.
18233 (delayed-warnings-hook): New variable.
18234
18235 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18236
18237 * minibuffer.el (completion-at-point, completion-help-at-point):
18238 Don't presume that a given completion-at-point-function will always
18239 use the same calling convention.
18240
18241 * pcomplete.el (pcomplete-completions-at-point):
18242 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18243 pcomplete-seen is non-nil.
18244 (pcomplete-comint-setup): Also recognize the new comint/shell
18245 completion functions.
18246 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18247 pcomplete-seen is non-nil.
18248
18249 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
18250
18251 * calendar/icalendar.el (diary-lib): Add require statement.
18252 (icalendar--create-uid): Read out a uid from a text-property on
18253 the first character in the entry. This allows for code to add its
18254 own uid to the entry.
18255 (icalendar--convert-float-to-ical): Add export of
18256 `diary-float'-entries save for those with the optional DAY
18257 argument.
18258
18259 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18260
18261 * subr.el (shell-quote-argument): Use alternate escaping strategy
18262 when we spot a variable reference in a string.
18263
18264 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18265
18266 * cus-start.el (all): Define customization for debug-on-event.
18267
18268 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18269
18270 * subr.el (shell-quote-argument): Escape correctly under Windows.
18271
18272 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18273
18274 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18275
18276 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
18277
18278 * net/tramp.el (tramp-process-actions): Add POS argument.
18279 Delete region between POS and (pos).
18280
18281 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18282 Use `nil' position in `tramp-process-actions' call.
18283 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18284
18285 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18286 position in `tramp-process-actions' call.
18287
18288 * net/trampver.el: Update release number.
18289
18290 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18291
18292 * custom.el (defcustom): Obey lexical-binding.
18293
18294 Fix octave-inf completion problems reported by Alexander Klimov.
18295 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18296 Inherit from octave-mode-syntax-table.
18297 (inferior-octave-mode): Set info-lookup-mode.
18298 (inferior-octave-completion-at-point): New function.
18299 (inferior-octave-complete): Use it and completion-in-region.
18300 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18301 comint-filename-completion.
18302 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18303 symbol elements which shouldn't be word elements.
18304 (octave-font-lock-keywords, octave-beginning-of-defun)
18305 (octave-function-header-regexp): Adjust regexps accordingly.
18306 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18307
18308 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
18309
18310 * net/gnutls.el (gnutls-errorp): Declare before first use.
18311
18312 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18313
18314 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18315 verify-error, and verify-hostname-error parameters. Check whether
18316 default trustfile exists before going to use it. Add missing
18317 argument to gnutls-message-maybe call. Return value.
18318 Reported by Claudio Bley <claudio.bley@gmail.com>.
18319 (open-gnutls-stream): Add usage example.
18320
18321 * net/network-stream.el (network-stream-open-starttls): Give host
18322 parameter to `gnutls-negotiate'.
18323 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
18324 * subr.el (shell-quote-argument): Escape correctly under Windows.
18325
18326 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
18327
18328 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18329 Use correct match group (bug#8438).
18330
18331 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
18332
18333 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18334 (package-menu--generate): New arg specifying packages to show.
18335 (package-menu-refresh, package-menu-execute, list-packages):
18336 Callers changed.
18337 (package-show-package-list): New function, replacing deleted
18338 package--list-packages (renamed because it is non-internal).
18339
18340 * finder.el (finder-list-matches): Use package-show-package-list
18341 instead of deleted package--list-packages.
18342
18343 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18344 Based on a previous implementation by Juanma Barranquero (Bug#8366).
18345 (vc-annotate-mode-map): Bind it to RET.
18346
18347 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18348
18349 * progmodes/etags.el (next-file): Don't use set-buffer to change
18350 buffers (Bug#8478).
18351
18352 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
18353
18354 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18355
18356 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18357 (apropos-accumulator): Doc fix.
18358 (apropos-function, apropos-macro, apropos-command)
18359 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18360 (apropos-plist): Add face property.
18361 (apropos-symbols-internal): Fix indentation.
18362 (apropos-print): Simplify help, and recognize apropos-multi-type.
18363 (apropos-print-doc): Use button-type-get to extract the button's
18364 face property. Fill docstring (Bug#8352).
18365
18366 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
18367
18368 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18369
18370 * play/mpuz.el (mpuz-silent): Doc fix.
18371 (mpuz-mode-map): Use mapc.
18372 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18373 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18374 Fix typos in docstrings.
18375
18376 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18377 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18378
18379 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18380
18381 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
18382
18383 * minibuffer.el (completion--do-completion): Avoid the "Next char
18384 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18385
18386 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18387 mouse-2 into unread-command-events, it is interpreted correctly.
18388
18389 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
18390 (image-toggle-display): Doc fix.
18391
18392 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
18393
18394 * textmodes/page.el (what-page): Use line-number-at-pos to
18395 calculate line number (Bug#6825).
18396
18397 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
18398
18399 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18400 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18401 Pass argument NO-DEFAULT to `find-tag-interactive'.
18402
18403 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
18404
18405 Lexical-binding cleanup.
18406
18407 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18408 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18409 * progmodes/ada-prj.el (ada-prj-initialize-values)
18410 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18411 (ada-prj-show-value):
18412 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18413 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18414 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18415 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18416 * progmodes/bug-reference.el (bug-reference-push-button):
18417 * progmodes/fortran.el (fortran-line-length):
18418 * progmodes/glasses.el (glasses-change):
18419 * progmodes/octave-mod.el (octave-fill-paragraph):
18420 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18421 (python-pdbtrack-grub-for-buffer, python-sentinel):
18422 * progmodes/sql.el (sql-save-connection):
18423 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18424 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18425 Mark unused parameters.
18426
18427 * progmodes/compile.el (compilation--flush-directory-cache)
18428 (compilation--flush-parse, compile-internal): Mark unused parameters.
18429 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18430 (compilation-next-error-function): Remove unused variable `timestamp'.
18431
18432 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18433 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18434
18435 * progmodes/dcl-mode.el (dcl-end-of-command):
18436 Remove unused variable `start'.
18437 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18438 (dcl-option-value-basic, dcl-option-value-offset)
18439 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18440 Mark unused parameters.
18441 (dcl-save-local-variable): Remove unused variable `val'.
18442 (mode): Declare.
18443
18444 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18445 Mark unused parameters.
18446 (delphi-ignore-changes): Move before first use.
18447 (delphi-charset-token-at): Remove unused variable `start'.
18448 (delphi-else-start): Remove unused variable `if-count'.
18449 (delphi-comment-block-start, delphi-comment-block-end):
18450 Remove unused variable `kind'.
18451 (delphi-indent-line): Remove unused variable `new-point'.
18452
18453 * progmodes/ebrowse.el (ebrowse-files-list)
18454 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18455 Mark unused parameters. Don't quote `lambda'.
18456 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18457 Don't quote `lambda'.
18458 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18459 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18460 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18461 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18462 Use `ignore-errors'.
18463 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18464 (ebrowse-view/find-file-and-search-pattern)
18465 (ebrowse-view/find-member-declaration/definition):
18466 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18467 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18468 Rename parameter PREFIX-ARG to PREFIX.
18469 (ebrowse-tags-read-name): Remove unused variables `start' and
18470 `member-info'.
18471 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18472 to `tags-file'.
18473
18474 * progmodes/etags.el (local-find-tag-hook): Declare.
18475 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18476 Mark unused parameters.
18477
18478 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18479 (executable-interpret): Mark unused parameter.
18480
18481 * progmodes/flymake.el (flymake-process-sentinel)
18482 (flymake-after-change-function)
18483 (flymake-create-temp-with-folder-structure)
18484 (flymake-get-include-dirs-dot): Mark unused parameters.
18485 (flymake-safe-delete-directory): Remove unused variable `err'.
18486
18487 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18488 (speedbar-timer-fn, speedbar-line-text)
18489 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18490 (speedbar-center-buffer-smartly): Declare functions.
18491 (gdb-find-watch-expression): Remove unused variable `array'.
18492 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18493 (gdb-starting): Mark unused parameters.
18494 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18495 (gdb-table-string): Remove unused variable `res'.
18496 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18497 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18498 (gdb-display-buffer): Remove unused variable `cur-size'.
18499
18500 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18501 allow lexical-binding compilation.
18502 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18503 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18504 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18505 Mark unused parameters.
18506 (gud-gdb-marker-filter): Remove unused variable `match'.
18507 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18508 lambda expressions and funcall them, instead of using `fset'.
18509
18510 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18511 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18512
18513 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18514 variable `header-beg'; use `let'.
18515
18516 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18517 `restart', `last-sexp' and `at-do'.
18518
18519 * progmodes/js.el (js--debug): Mark unused parameter.
18520 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18521 (js--splice-into-items): Remove unused variable `item'.
18522 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18523
18524 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18525 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18526 (makefile-complete): Remove unused variable `try'.
18527 (makefile-fill-paragraph, makefile-match-function-end):
18528 Mark unused parameters.
18529
18530 * progmodes/octave-inf.el (inferior-octave-complete):
18531 Remove unused variable `proc'.
18532 (inferior-octave-output-digest): Mark unused parameter.
18533
18534 * progmodes/perl-mode.el (perl-calculate-indent):
18535 Remove unused variable `err'.
18536
18537 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18538 (prolog-indent-line): Mark unused parameters.
18539 (prolog-indent-line): Remove unused variable `beg'.
18540
18541 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18542 (reporter-dont-compact-list): Declare.
18543
18544 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18545 Remove unused variable `char'.
18546 (sh-debug): Mark unused parameter.
18547 (sh-get-indent-info): Remove unused variable `start'.
18548 (sh-calculate-indent): Remove unused variable `var'.
18549
18550 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18551 (simula-electric-keyword): Remove unused variable `null'.
18552 (simula-search-backward, simula-search-forward): Remove unused
18553 variables `begin' and `end'.
18554
18555 * progmodes/vera-mode.el (vera-guess-basic-syntax):
18556 Remove unused variable `pos'.
18557 (vera-electric-tab, vera-comment-uncomment-region):
18558 Mark unused parameters.
18559 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18560
18561 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
18562
18563 * emacs-lisp/package.el (package--builtins, package-alist)
18564 (package-load-descriptor, package-built-in-p, package-activate)
18565 (define-package, package-installed-p)
18566 (package-compute-transaction, package-buffer-info)
18567 (package--push): Doc fix. Distinguish more clearly between
18568 version strings and version lists.
18569
18570 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
18571
18572 Lexical-binding cleanup.
18573
18574 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18575 (5x5-make-mutate-best):
18576 * play/fortune.el (fortune-in-buffer):
18577 * play/gomoku.el (gomoku-init-display):
18578 * play/solitaire.el (solitaire, solitaire-do-check):
18579 * play/tetris.el (tetris-default-update-speed-function):
18580 Mark unused parameters.
18581
18582 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18583 (bubbles--shift): Remove unused variable `char-org'.
18584 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
18585 (bubbles--show-images): Remove unused variable `char'.
18586
18587 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18588 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18589 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18590 (decipher-analyze-buffer): Use ?\s.
18591 (decipher-make-checkpoint): Remove unused variable `mapping'.
18592
18593 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18594
18595 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18596 Remove unused variable `result'; use `let'.
18597
18598 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18599 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18600 (gametree-children-shown-p, gametree-compute-reduced-score):
18601 Use `ignore-errors'.
18602
18603 * play/handwrite.el (ps-lpr-switches): Declare.
18604 (handwrite): Remove unused variables `pmin' and `lastp'.
18605
18606 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18607
18608 * play/landmark.el (landmark-init-display)
18609 (landmark-update-naught-weights): Mark unused parameters.
18610 (landmark-y): Remove unused variable `noise'. Simplify.
18611 (landmark-human-plays): Remove unused variable `score'.
18612
18613 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18614 (mpuz-try-proposal): Remove unused variable `game'.
18615
18616 * play/zone.el (life-patterns): Declare.
18617
18618 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
18619
18620 * vc/vc.el (ediff-vc-internal): Declare function.
18621
18622 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18623
18624 * shell.el: Use lexical-binding and std completion UI.
18625 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18626 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18627 comint-preoutput-filter-functions rather than on
18628 comint-output-filter-functions.
18629 (shell-command-completion, shell--command-completion-data)
18630 (shell-filename-completion, shell-environment-variable-completion)
18631 (shell-c-a-p-replace-by-expanded-directory): New functions.
18632 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
18633 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
18634 (shell-dynamic-complete-environment-variable): Use them.
18635 (shell-dynamic-complete-as-environment-variable)
18636 (shell-dynamic-complete-as-command): Remove.
18637 (shell-match-partial-variable): Match past point.
18638 * comint.el: Clean up use of completion-at-point-functions.
18639 (comint-completion-at-point): New function.
18640 (comint-mode): Use it completion-at-point-functions.
18641 (comint-dynamic-complete): Make it obsolete.
18642 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
18643 (comint-c-a-p-replace-by-expanded-history): New function.
18644 (comint-dynamic-complete-functions)
18645 (comint-replace-by-expanded-history): Use it.
18646 * minibuffer.el (completion-table-with-terminator): Allow dynamic
18647 termination strings. Try harder to avoid second try-completion.
18648 (completion-in-region-mode-map): Disable bindings that don't work yet.
18649
18650 * comint.el: Use lexical-binding. Require CL.
18651 (comint-dynamic-complete-functions): Use comint-filename-completion.
18652 (comint-completion-addsuffix): Tweak custom type.
18653 (comint-filename-completion, comint--common-suffix)
18654 (comint--common-quoted-suffix, comint--table-subvert)
18655 (comint--complete-file-name-data): New functions.
18656 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
18657 (comint-dynamic-list-filename-completions): Use them.
18658 (comint-dynamic-simple-complete): Make obsolete.
18659
18660 * minibuffer.el (completion-in-region-mode):
18661 Keep completion-in-region-mode--predicate global.
18662 (completion-in-region--postch):
18663 Assume completion-in-region-mode--predicate is not null.
18664
18665 * progmodes/flymake.el (flymake-start-syntax-check-process):
18666 Obey `dir'. Simplify.
18667
18668 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
18669 we're in VC after all.
18670
18671 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
18672
18673 * vc/vc.el (vc-diff-build-argument-list-internal)
18674 (vc-version-ediff, vc-ediff): New commands.
18675 (vc-version-diff): Use vc-diff-build-argument-list-internal.
18676
18677 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18678
18679 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
18680 add sanity check.
18681
18682 * obsolete/erc-hecomplete.el: Make obsolete.
18683 * obsolete/: Standardize obsolescence info in the header.
18684
18685 2011-04-20 Glenn Morris <rgm@gnu.org>
18686
18687 * calendar/solar.el (solar-horizontal-coordinates):
18688 Use the longitude argument rather than `calendar-longitude'.
18689 (solar-date-next-longitude): Remove unused locals.
18690
18691 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18692
18693 * whitespace.el: New version 13.2.1.
18694
18695 2011-04-20 felix <EmacsWiki> (tiny change)
18696
18697 * whitespace.el (global-whitespace-mode): Keep highlight when
18698 switching between major modes on a file.
18699
18700 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
18701
18702 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
18703 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
18704 multi-line comments as well.
18705
18706 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
18707
18708 Lexical-binding cleanup.
18709
18710 * arc-mode.el (archive-mode-revert):
18711 * cmuscheme.el (scheme-interactively-start-process):
18712 * custom.el (custom-initialize-delay):
18713 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
18714 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
18715 * emacs-lock.el (emacs-lock-clear-sentinel):
18716 * ezimage.el (defezimage):
18717 * follow.el (follow-avoid-tail-recenter):
18718 * fringe.el (set-fringe-mode-1):
18719 * generic-x.el (bat-generic-mode-compile):
18720 * help-mode.el (help-info-variable, help-do-xref)
18721 (help-mode-revert-buffer):
18722 * help.el (view-emacs-todo):
18723 * iswitchb.el (iswitchb-completion-help):
18724 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
18725 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
18726 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
18727 * locate.el (locate-update):
18728 * longlines.el (longlines-encode-region)
18729 (longlines-after-change-function):
18730 * outline.el (outline-isearch-open-invisible):
18731 * ps-def.el (declare-function, charset-dimension, char-width)
18732 (encode-char):
18733 * ps-mule.el (ps-mule-plot-string):
18734 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
18735 (recentf-edit-list-select, recentf-edit-list-validate)
18736 (recentf-open-files-action):
18737 * rect.el (delete-whitespace-rectangle-line)
18738 (rectangle-number-line-callback):
18739 * register.el (window-configuration-to-register)
18740 (frame-configuration-to-register):
18741 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
18742 * select.el (xselect-convert-to-string, xselect-convert-to-length)
18743 (xselect-convert-to-targets, xselect-convert-to-delete)
18744 (xselect-convert-to-filename, xselect-convert-to-charpos)
18745 (xselect-convert-to-lineno, xselect-convert-to-colno)
18746 (xselect-convert-to-os, xselect-convert-to-host)
18747 (xselect-convert-to-user, xselect-convert-to-class)
18748 (xselect-convert-to-name, xselect-convert-to-integer)
18749 (xselect-convert-to-atom, xselect-convert-to-identity):
18750 * subr.el (declare, ignore, process-kill-without-query)
18751 (text-clone-maintain):
18752 * terminal.el (te-get-char, te-tic-sentinel):
18753 * tool-bar.el (tool-bar-make-keymap):
18754 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
18755 * type-break.el (type-break-mode, type-break-noninteractive-query):
18756 * view.el (View-back-to-mark):
18757 * wid-browse.el (widget-browse-action, widget-browse-widget)
18758 (widget-browse-widgets, widget-browse-sexp):
18759 * widget.el (define-widget-keywords):
18760 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
18761 Mark unused parameters.
18762
18763 * align.el (align-adjust-col-for-rule): Mark unused parameter.
18764 (align-areas): Remove unused variable `look'.
18765 (align-region): Remove unused variables `real-end' and `pos-list'.
18766
18767 * apropos.el (apropos-score-doc): Remove unused variable `i'.
18768
18769 * bindings.el (mode-line-modified, mode-line-remote):
18770 Mark unused parameters.
18771 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
18772
18773 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
18774 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
18775
18776 * comint.el (comint-history-isearch-pop-state)
18777 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
18778 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
18779 (comint-substitute-in-file-name): Doc fix.
18780
18781 * completion.el (cmpl-statistics-block): Mark unused parameter.
18782 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
18783 (save-completions-to-file, load-completions-from-file):
18784 Remove unused local variable `e'.
18785
18786 * composite.el (compose-chars): Remove unused variable `len'.
18787 (lgstring-insert-glyph): Remove unused variable `g'.
18788 (compose-glyph-string): Remove unused variables `ascent',
18789 `descent', `lbearing' and `rbearing'.
18790 (compose-glyph-string-relative): Remove unused variables
18791 `lbearing', `rbearing' and `wadjust'.
18792 (compose-gstring-for-graphic): Remove unused variables `header',
18793 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
18794 (compose-gstring-for-terminal): Remove unused variables `header'
18795 and `nchars'. Use `let', not `let*'.
18796
18797 * cus-edit.el (Custom-set, Custom-save, custom-reset)
18798 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
18799 (Custom-buffer-done, custom-buffer-create-internal)
18800 (custom-browse-visibility-action, custom-browse-group-tag-action)
18801 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
18802 (widget-magic-mouse-down-action, custom-toggle-parent)
18803 (custom-add-parent-links, custom-toggle-hide-variable)
18804 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
18805 (custom-toggle-hide-face, face, hook, custom-group-link-action)
18806 (custom-face-menu-create, custom-variable-menu-create, get)
18807 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
18808 (custom-reset-standard-save-and-update): Remove unused variable `value'.
18809 (customize-apropos): Remove unused variable `tests'.
18810 (custom-group-value-create): Remove unused variable `hidden-p'.
18811 (sort-fold-case): Declare.
18812
18813 * cus-theme.el (custom-reset-standard-faces-list)
18814 (custom-reset-standard-variables-list): Declare.
18815 (customize-create-theme, custom-theme-revert, custom-theme-write)
18816 (custom-theme-choose-mode, customize-themes, custom-theme-save):
18817 Mark unused parameters.
18818
18819 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
18820
18821 * delim-col.el (delimit-columns-max): Move defvar before first use.
18822
18823 * descr-text.el (describe-char-categories): Don't quote `lambda'.
18824 (describe-char): Don't quote `lambda'. Mark unused parameter.
18825
18826 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
18827 (auto-insert): Declare.
18828 (desktop-restore-file-buffer): Rename desktop-* parameters;
18829 mark unused ones.
18830 (desktop-create-buffer): Rename desktop-* parameters and bind them.
18831 (desktop-buffer): Rename desktop-* parameters.
18832
18833 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18834 (dframe-reposition-frame-xemacs, dframe-help-echo)
18835 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
18836 Mark unused parameters.
18837
18838 * dired-aux.el (backup-extract-version-start, overwrite-query)
18839 (overwrite-backup-query, rename-regexp-query)
18840 (rename-non-directory-query): Declare.
18841 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
18842 (dired-add-entry): Remove unused variable `orig-file-name'.
18843 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
18844 Use parameter PRESERVE-TIME instead of accessing dynamic variable
18845 `dired-copy-preserve-time' directly.
18846 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
18847 (dired-insert-subdir-newpos): Rename unused variable `pos'.
18848
18849 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
18850 (dired-virtual-revert, dired-make-relative-symlink):
18851 Mark unused parameters.
18852 (manual-program): Declare.
18853 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
18854 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
18855 wrapped in `with-no-warnings' to avoid replacing one warning by another.
18856
18857 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
18858
18859 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
18860
18861 * echistory.el (electric-history-in-progress, Helper-return-blurb):
18862 Declare.
18863
18864 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
18865
18866 * electric.el (Electric-command-loop): Rename parameter
18867 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
18868
18869 * expand.el (expand-in-literal): Remove unused variable `here'.
18870
18871 * facemenu.el (facemenu-add-new-color):
18872 Remove unused variable `docstring'.
18873
18874 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
18875 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
18876 (face-attr-construct): Mark unused parameter. Doc fix.
18877 (read-color): Remove unused variable `hex-string'.
18878
18879 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
18880 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
18881 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
18882 (display-buffer-other-frame): Remove unused variable `old-window'.
18883 (kill-buffer-hook): Declare.
18884 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
18885 Mark unused parameters.
18886 (after-find-file): Pass 1 to `auto-save-mode', not t.
18887
18888 * files-x.el (auto-insert): Declare.
18889 (modify-file-local-variable-prop-line): Remove unused variable `val'.
18890
18891 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
18892 variable `buf'. Mark unused parameter.
18893 (find-lisp-insert-directory): Mark unused parameter.
18894
18895 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
18896 (format-encode-region): Remove unused variables `cur-buf' and `result'.
18897 (format-common-tail): Remove, unused.
18898 (format-deannotate-region): Remove unused variable `loc'.
18899 (format-annotate-region): Remove unused variable `p'.
18900 (format-annotate-single-property-change): Remove unused variables
18901 `default' and `tail'.
18902
18903 * forms.el (read-file-filter): Declare.
18904 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
18905
18906 * frame.el (frame-creation-function-alist): Mark unused parameter.
18907 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
18908
18909 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
18910 Remove unused parameters.
18911 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
18912 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
18913
18914 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
18915 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
18916 (hfy-prepare-tag-map): Mark unused parameters.
18917 (htmlfontify-buffer): Use `called-interactively-p'.
18918
18919 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
18920 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
18921 (ibuffer-do-occur): Mark unused parameters.
18922 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
18923 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
18924
18925 * ibuffer.el: Don't quote `lambda'.
18926 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
18927 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
18928 Mark unused parameters.
18929
18930 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
18931 (ido-completing-read): Mark unused parameters.
18932 (ido-copy-current-word): Mark unused parameters;
18933 remove unused variable `name'.
18934 (ido-sort-merged-list): Remove unused parameter `dirs'.
18935
18936 * ielm.el (ielm-input-sender): Mark unused parameter.
18937 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
18938 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
18939 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
18940 `ielm-string' as a dynamic variable accessible from the IELM prompt.
18941 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
18942
18943 * image-dired.el (image-dired-display-thumbs): Remove unused
18944 variables `curr-file' and `count'.
18945 (image-dired-remove-tag): Remove unused variable `start'.
18946 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
18947 variable `curr-file'
18948 (image-dired-rotate-original): Remove unused variable `temp-file'.
18949 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
18950 Remove unused variable `file'.
18951 (image-dired-gallery-generate): Remove unused variable `curr'.
18952 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
18953
18954 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
18955
18956 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
18957
18958 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
18959
18960 * isearch.el (minibuffer-history-symbol): Declare.
18961 (isearch-edit-string): Remove unused variable `err'.
18962 (isearch-message-prefix, isearch-message-suffix):
18963 Mark unused parameters.
18964
18965 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
18966
18967 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
18968
18969 * makesum.el (double-column): Remove unused variable `cnt'.
18970
18971 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
18972 (ido-ignore-item-temp-list): Declare.
18973
18974 * mouse-drag.el (mouse-drag-throw): Remove unused variables
18975 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
18976 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
18977 (mouse-drag-drag): Remove unused variables `mouse-delta' and
18978 `mouse-col-delta'.
18979
18980 * mouse-sel.el (mouse-extend-internal):
18981 Remove unused variable `orig-window-frame'.
18982
18983 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
18984 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
18985 Move declarations before first use.
18986 (pcomplete-opt): Mark unused parameters; doc fix.
18987
18988 * proced.el (proced-revert): Mark unused parameter.
18989 (proced-send-signal): Remove unused variable `err'.
18990
18991 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
18992 Rename parameter PREFIX-ARG to ARG.
18993 (ps-basic-plot-string, ps-basic-plot-whitespace):
18994 Mark unused parameters.
18995
18996 * replace.el (replace-count): Define.
18997 (occur-revert-function): Mark unused parameters.
18998 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
18999 (isearch-case-fold-search, isearch-string): Declare.
19000 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19001 bind `case-fold-search'. Remove unused variables `beg' and `end',
19002 and simplify.
19003 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19004 COUNT and bind `replace-count'.
19005 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19006 to COUNT.
19007
19008 * savehist.el (print-readably, print-string-length): Declare.
19009
19010 * shadowfile.el (shadow-expand-cluster-in-file-name):
19011 Remove unused variable `cluster'.
19012 (shadow-copy-file): Remove unused variable `i'.
19013 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19014 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19015 (shadow-define-literal-group, shadow-define-regexp-group)
19016 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19017
19018 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19019 (shell): Use `called-interactively-p'.
19020 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19021
19022 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19023 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19024 (delete-backward-char): Remove unused variable `ocol'.
19025 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19026 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19027 (event-apply-hyper-modifier, event-apply-shift-modifier)
19028 (event-apply-control-modifier, event-apply-meta-modifier):
19029 Mark unused parameters.
19030 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19031 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19032
19033 * speedbar.el (speedbar-ignored-directory-expressions)
19034 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19035 (speedbar-find-file, speedbar-dir-follow)
19036 (speedbar-directory-buttons-follow, speedbar-tag-find)
19037 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19038 (speedbar-buffers-line-directory, speedbar-buffer-click):
19039 Mark unused parameters.
19040 (speedbar-tag-file): Remove unused variable `mode'.
19041 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19042
19043 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19044
19045 * talk.el (talk): Remove unused variable `display'.
19046
19047 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19048 (tar-write-region-annotate): Mark unused parameter.
19049
19050 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19051 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19052 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19053 warning by another.
19054
19055 * time-stamp.el (time-stamp-string-preprocess):
19056 Remove unused variable `require-padding'.
19057
19058 * tree-widget.el (widget-glyph-enable): Declare.
19059 (tree-widget-action): Mark unused parameter.
19060
19061 * w32-fns.el (x-get-selection): Mark unused parameter.
19062 (autoload-make-program, generated-autoload-file): Declare.
19063
19064 * wdired.el (wdired-revert): Mark unused parameters.
19065 (wdired-xcase-word): Remove unused variable `err'.
19066
19067 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19068 (whitespace-help-scroll): Remove unused variable `data-help'.
19069
19070 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19071 (widget-image-insert, widget-after-change, default)
19072 (widget-default-format-handler, widget-default-notify)
19073 (widget-default-prompt-value, widget-info-link-action)
19074 (widget-url-link-action, widget-function-link-action)
19075 (widget-variable-link-action, widget-file-link-action)
19076 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19077 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19078 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19079 (widget-insert-button-action, widget-delete-button-action, visibility)
19080 (widget-documentation-link-action, widget-documentation-string-action)
19081 (widget-const-prompt-value, widget-regexp-match, symbol)
19082 (widget-coding-system-prompt-value)
19083 (widget-key-sequence-value-to-external, sexp)
19084 (widget-sexp-value-to-internal, character, vector, cons)
19085 (widget-choice-prompt-value, widget-boolean-prompt-value)
19086 (widget-color--choose-action): Mark unused parameters.
19087 (widget-item-match-inline, widget-choice-match-inline)
19088 (widget-checklist-match, widget-checklist-match-inline)
19089 (widget-group-match): Rename parameter VALUES to VALS.
19090 (widget-field-value-set): Remove unused variable `size'.
19091 (widget-color-action): Remove unused variables `value' and `start'.
19092
19093 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
19094 variable `dir'. Doc fix.
19095 (windmove-find-other-window): Don't pass it.
19096
19097 * window.el (count-windows): Mark unused parameter.
19098 (bw-adjust-window): Remove unused variable `err'.
19099
19100 * woman.el (woman-file-name): Remove unused variable `default'.
19101 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19102 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19103 (global-font-lock-mode): Declare.
19104 (woman-decode-region): Mark unused parameter.
19105 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19106
19107 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19108 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19109 (x-dnd-handle-moz-url): Remove unused variable `title'.
19110 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19111
19112 * xml.el (xml-parse-tag, xml-parse-attlist):
19113 Remove unused variable `pos'.
19114
19115 2011-04-19 Glenn Morris <rgm@gnu.org>
19116
19117 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19118 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19119 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19120 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19121 * calendar/cal-html.el (cal-html-insert-minical):
19122 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19123 (calendar-mark-date-pattern):
19124 Prefix "unused" locals.
19125
19126 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19127 optional argument `style'.
19128
19129 * calendar/appt.el (appt-make-list):
19130 * calendar/cal-china.el (calendar-chinese-date-string):
19131 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19132 (diary-hebrew-yahrzeit):
19133 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19134 * calendar/calendar.el (calendar-generate-window):
19135 * calendar/time-date.el (time-to-days):
19136 Remove unused local variables.
19137
19138 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
19139
19140 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19141 glyphless-char-display table.
19142 (tabulated-list-glyphless-char-display): New var.
19143
19144 2011-04-18 Sam Steingold <sds@gnu.org>
19145
19146 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19147 to acknowledgments.
19148
19149 2011-04-17 Glenn Morris <rgm@gnu.org>
19150
19151 * calendar/diary-lib.el (diary-sexp-entry):
19152 * calendar/holidays.el (holiday-sexp):
19153 Set debug-on-error rather than the removed stack-trace-on-error.
19154
19155 2011-04-16 Glenn Morris <rgm@gnu.org>
19156
19157 * progmodes/f90.el: Use lexical-binding.
19158 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19159
19160 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19161
19162 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19163 (mail-mode): Setup mailalias completion here instead.
19164 * mail/mailalias.el: Use lexical-binding.
19165 (pattern, mailalias-done): Declare dynamic.
19166 (mail-completion-at-point-function): New function, from mail-complete.
19167 (mail-complete): Use it.
19168 (mail-completion-expand): New function.
19169 (mail-get-names): Use it.
19170 (mail-directory, mail-directory-process, mail-directory-stream):
19171 Don't use `pattern' for lexically bound arg.
19172
19173 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19174
19175 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19176 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19177 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19178
19179 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19180 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19181 (byte-interactive-p): Define them again, for use when inlining
19182 old code.
19183
19184 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
19185
19186 * loadup.el: Use `string-to-number', not `string-to-int'.
19187
19188 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19189
19190 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19191 gud-gdb-complete-command.
19192 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19193 (gud-gdb-completion-at-point): New function.
19194 (gud-gdb-completions): Remove.
19195
19196 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
19197
19198 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19199 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19200 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19201 whether `executable-find' is bound.
19202
19203 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19204
19205 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19206
19207 * minibuffer.el (completion-in-region-mode-predicate)
19208 (completion-in-region-mode--predicate): New vars.
19209 (completion-in-region, completion-in-region--postch)
19210 (completion-in-region-mode): Use them.
19211 (completion--capf-wrapper): Also return the hook function.
19212 (completion-at-point, completion-help-at-point):
19213 Adjust and provide a predicate.
19214
19215 Preserve arg names for advice of subr and lexical functions (bug#8457).
19216 * help-fns.el (help-function-arglist): Consolidate the subr and
19217 new-byte-code cases. Add argument `preserve-names' to extract names
19218 from the docstring when needed.
19219 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19220 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19221 (ad-arglist): Use help-function-arglist's new arg.
19222 (ad-definition-type): Use cond.
19223
19224 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
19225
19226 * autorevert.el (auto-revert-handler):
19227 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19228 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19229 Don't quote lambda.
19230
19231 * image-mode.el (image-transform-set-scale):
19232 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19233
19234 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19235
19236 * net/network-stream.el (network-stream-open-starttls): Only do
19237 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
19238 Upgrades via gnutls-cli are too slow to be done opportunistically.
19239
19240 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
19241
19242 * dframe.el (dframe-current-frame): Remove spurious quote.
19243
19244 2011-04-12 Glenn Morris <rgm@gnu.org>
19245
19246 * calendar/cal-tex.el (cal-tex-end-document):
19247 Try to automatically use latin1 input if needed.
19248
19249 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19250 Don't try to cons a mark onto an empty element.
19251
19252 2011-04-11 Leo Liu <sdl.web@gmail.com>
19253
19254 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19255 buffers.
19256 (ido-kill-buffer-at-head): Support killing virtual buffers.
19257
19258 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
19259
19260 * minibuffer.el (completion-show-inline-help): New var.
19261 (completion--do-completion, minibuffer-complete)
19262 (minibuffer-force-complete, minibuffer-complete-word):
19263 Inhibit minibuffer messages if completion-show-inline-help is nil.
19264
19265 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19266 to avoid interference from inline help (Bug#5849).
19267
19268 2011-04-10 Leo Liu <sdl.web@gmail.com>
19269
19270 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19271 Fix typo.
19272
19273 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
19274
19275 * image-mode.el (image-toggle-display-image): Signal an error if
19276 not in Image mode.
19277 (image-transform-mode, image-transform-resize)
19278 (image-transform-set-rotation): Doc fix.
19279 (image-transform-set-resize): Delete.
19280 (image-transform-set-scale, image-transform-fit-to-height)
19281 (image-transform-fit-to-width): Handle image-toggle-display-image
19282 and image-transform-resize directly.
19283
19284 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
19285
19286 * doc-view.el (doc-view-fit-width-to-window)
19287 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19288 New functions for fitting the shown image to the Emacs window size.
19289 (doc-view-mode-map): Add bindings for the new functions.
19290
19291 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
19292
19293 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
19294 Fix typo in docstring.
19295
19296 2011-04-08 Eli Zaretskii <eliz@gnu.org>
19297
19298 * files.el (file-size-human-readable): Produce one digit after
19299 decimal, like "ls -lh" does.
19300
19301 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19302 the file size representation.
19303
19304 * simple.el (list-processes): If async subprocesses are not
19305 available, error out with a clear error message.
19306
19307 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
19308
19309 * help.el (help-form-show): New function, to be called from C.
19310 Put help-form output in a buffer named differently than *Help*.
19311
19312 2011-04-08 Eli Zaretskii <eliz@gnu.org>
19313
19314 * files.el (file-size-human-readable): New function.
19315
19316 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19317 computing the representation inline. Don't require `cl'.
19318
19319 2011-04-08 Glenn Morris <rgm@gnu.org>
19320
19321 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19322
19323 * net/browse-url.el (browse-url-firefox):
19324 Test system-type, not system-configuration.
19325
19326 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19327 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19328 Use log-edit-empty-buffer-p. (Bug#7598)
19329
19330 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19331 (rlogin-mode-map): Initialize in the defvar.
19332 (rlogin): Use ignore-errors.
19333
19334 * replace.el (occur-mode-map): Some fixes for menu items.
19335
19336 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19337
19338 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19339
19340 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
19341
19342 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19343 issuing unused warnings.
19344
19345 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19346 macro directly.
19347
19348 * simple.el: Lisp reimplement of list-processes. Based on an
19349 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19350 (process-menu-mode): New major mode.
19351 (list-processes--refresh, list-processes):
19352 (process-menu-visit-buffer): New functions.
19353
19354 * files.el (save-buffers-kill-emacs): Don't assume any return
19355 value of list-processes, which is undocumented anyway.
19356
19357 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
19358
19359 * emacs-lisp/tabulated-list.el: New file.
19360
19361 * emacs-lisp/package.el: Use Tabulated List mode.
19362 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19363 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19364 table format using Tabulated List mode variables.
19365 (package--push): New macro, replacing package-list-maybe-add.
19366 (package-menu--generate): Use package--push. Renamed from
19367 package--generate-package-list.
19368 (package-menu-refresh, list-packages): Use it.
19369 (package-menu--print-info): Rename from package-print-package.
19370 Return insertion data instead of inserting it directly.
19371 (package-menu-describe-package, package-menu-execute):
19372 Use tabulated-list-get-id.
19373 (package-menu-mark-delete, package-menu-mark-install)
19374 (package-menu-mark-unmark, package-menu-backup-unmark)
19375 (package-menu-mark-obsolete-for-deletion):
19376 Use tabulated-list-put-tag.
19377 (package--list-packages, package-menu-revert)
19378 (package-menu-get-package, package-menu-get-version)
19379 (package-menu-sort-by-column): Functions deleted.
19380 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19381 (package-menu--status-predicate, package-menu--version-predicate)
19382 (package-menu--name-predicate)
19383 (package-menu--description-predicate): Handle arguments in the
19384 Tabulated List format.
19385 (package-list-packages-no-fetch): Call list-packages.
19386
19387 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
19388
19389 * files.el (after-find-file-from-revert-buffer): Remove variable.
19390 (after-find-file): Don't bind it.
19391 (revert-buffer-in-progress-p): New variable.
19392 (revert-buffer): Bind it.
19393 Pass nil for `after-find-file-from-revert-buffer'.
19394
19395 * saveplace.el (save-place-find-file-hook): Use new variable
19396 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19397
19398 2011-04-06 Glenn Morris <rgm@gnu.org>
19399
19400 * Makefile.in (AUTOGEN_VCS): New variable.
19401 (autoloads): Use $AUTOGEN_VCS.
19402
19403 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19404 * calendar/calendar.el (calendar-mode-map):
19405 Check for toolkit scroll bars. (Bug#8305)
19406
19407 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
19408
19409 * minibuffer.el (completion-in-region--postch)
19410 (completion-in-region-mode): Remove unnecessary messages.
19411
19412 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
19413
19414 * font-lock.el (font-lock-refresh-defaults):
19415 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19416 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19417
19418 * info.el (Info-directory-list, Info-read-node-name-2)
19419 (Info-split-parameter-string): Doc fixes.
19420 (Info-virtual-nodes): Reflow docstring.
19421 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19422 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19423 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19424 Fix typos in docstrings.
19425 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19426 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19427 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19428 (Info-restore-desktop-buffer): Mark unused parameters.
19429 (Info-directory-find-file, Info-directory-find-node)
19430 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19431 (Info-virtual-index-find-node, Info-apropos-find-file)
19432 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
19433 Mark unused parameters; fix typos in docstrings.
19434 (Info-virtual-index): Remove unused local variable `nodename'.
19435
19436 2011-04-05 Deniz Dogan <deniz@dogan.se>
19437
19438 * net/rcirc.el: Update my e-mail address.
19439 (rcirc-mode-map): Remove M-o binding.
19440
19441 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
19442
19443 * startup.el (command-line): Save the cursor's theme-face
19444 directly, instead of using face-override-spec.
19445
19446 * custom.el (load-theme): Minor optimization in assigning faces.
19447
19448 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
19449
19450 * help-fns.el (describe-variable): Complete all variables having
19451 documentation, including keywords.
19452 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19453
19454 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
19455
19456 Convert to lexical-binding.
19457
19458 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19459 (bs--get-marked-string, bs--get-modified-string)
19460 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19461 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19462 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19463
19464 * ehelp.el (electric-help-execute-extended)
19465 (electric-help-ctrl-x-prefix):
19466 * hexl.el (hexl-revert-buffer-function):
19467 * linum.el (linum-after-change, linum-after-scroll):
19468 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19469
19470 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19471
19472 2011-04-04 Daiki Ueno <ueno@unixuser.org>
19473
19474 * epa-dired.el:
19475 * epa-mail.el:
19476 * epa-hook.el:
19477 * epa-file.el:
19478 * epa.el:
19479 * epg.el: Use lexical binding.
19480
19481 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
19482
19483 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19484
19485 * textmodes/flyspell.el (flyspell-word): Recognize default
19486 dictionary case for flyspell-mark-duplications-exceptions.
19487 Use regexp matching for languages.
19488 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19489 default dictionary (Bug#7926).
19490
19491 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
19492
19493 * emacs-lisp/package.el (package--with-work-buffer):
19494 Recognize https URLs.
19495
19496 * net/network-stream.el: Move from gnus/proto-stream.el.
19497 Change prefix to network-stream throughout.
19498 (open-protocol-stream): Merge into open-network-stream, leaving
19499 open-protocol-stream as an alias. Handle nil BUFFER args.
19500
19501 * subr.el (open-network-stream): Move to net/network-stream.el.
19502
19503 2011-04-02 Glenn Morris <rgm@gnu.org>
19504
19505 * find-dired.el (find-exec-terminator): New option.
19506 (find-ls-option): Test for -ls support.
19507 (find-ls-subdir-switches): Test for -b in find-ls-option.
19508 (find-dired, find-grep-dired): Doc fixes.
19509 (find-dired): Use find-exec-terminator.
19510
19511 * find-dired.el (find-ls-option, find-ls-subdir-switches)
19512 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19513 (find-name-arg): Remove purecopy.
19514
19515 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19516 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19517 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19518 accordingly. Don't add the null-device if not needed.
19519
19520 * files.el (save-some-buffers): Doc fix.
19521
19522 2011-04-02 Eli Zaretskii <eliz@gnu.org>
19523
19524 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19525
19526 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
19527
19528 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19529 Use `dolist' rather than `mapcar'.
19530
19531 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19532
19533 Add lexical binding.
19534
19535 * subr.el (apply-partially): Use new closures rather than CL.
19536 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19537 (dolist, dotimes): Use slightly different expansion for lexical code.
19538 (functionp): Move to C.
19539 (letrec): New macro.
19540 (with-wrapper-hook): Use it and apply-partially instead of CL.
19541 (eval-after-load): Preserve lexical-binding.
19542 (save-window-excursion, with-output-to-temp-buffer): Turn them
19543 into macros.
19544
19545 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19546
19547 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19548 than the arglist.
19549 (help-add-fundoc-usage): Don't add `Not documented'.
19550 (help-function-arglist): Handle closures, subroutines, and new
19551 byte-code-functions.
19552 (help-make-usage): Remove leading underscores.
19553 (describe-function-1): Handle closures.
19554 (describe-variable): Use special-variable-p for completion.
19555
19556 * files.el (lexical-binding): Declare safe.
19557
19558 * emacs-lisp/pcase.el: Don't use destructuring-bind.
19559 (pcase--memoize): Rename from pcase-memoize. Change weakness.
19560 (pcase): Add `let' pattern.
19561 Change memoization so it actually works.
19562 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19563 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19564 <let>: New case.
19565
19566 * emacs-lisp/macroexp.el: Use lexical binding.
19567 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
19568 Don't convert ' to #' without checking that it's indeed quoting
19569 a lambda.
19570
19571 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
19572 Use eval-sexp-add-defvars.
19573 (eval-sexp-add-defvars): New fun.
19574
19575 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19576
19577 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19578 Don't autoload.
19579 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19580 than the internal `byte-compile-lambda'.
19581 (defmethod): Don't hide code under quotes.
19582 (eieio-defmethod): New `code' argument.
19583
19584 * emacs-lisp/eieio-comp.el: Remove.
19585
19586 * emacs-lisp/edebug.el (edebug-eval-defun)
19587 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19588 (edebug-toggle): Avoid `eval'.
19589
19590 * emacs-lisp/disass.el (disassemble-internal): Handle new
19591 `closure' objects.
19592 (disassemble-1): Handle new byte codes.
19593
19594 * emacs-lisp/cl.el (pushnew): Silence warning.
19595
19596 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19597 (cl-byte-compile-throw): Remove.
19598 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19599
19600 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19601 closures.
19602
19603 * emacs-lisp/cconv.el: New file.
19604
19605 * emacs-lisp/bytecomp.el: Use lexical binding instead of
19606 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
19607 (byte-compile-initial-macro-environment):
19608 Handle declare-function here.
19609 (byte-compile--lexical-environment): New var.
19610 (byte-stack-ref, byte-stack-set, byte-discardN)
19611 (byte-discardN-preserve-tos): New lap codes.
19612 (byte-interactive-p): Don't use any more.
19613 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19614 New macros.
19615 (byte-compile-lapcode): Use them and handle new lap codes.
19616 (byte-compile-obsolete): Remove.
19617 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19618 (byte-compile-arglist-warn): Check late def of inlinable funs.
19619 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19620 since they should have been expanded by now.
19621 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
19622 (byte-compile-from-buffer): Remove unused second arg.
19623 (byte-compile-preprocess): New function.
19624 (byte-compile-toplevel-file-form): New function to distinguish
19625 file-form calls from outside from file-form calls from hunk-handlers.
19626 (byte-compile-file-form): Simplify.
19627 (byte-compile-file-form-defsubst): Remove.
19628 (byte-compile-file-form-defmumble): Simplify now that
19629 byte-compile-lambda always returns a byte-code-function.
19630 (byte-compile): Preprocess.
19631 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
19632 Remove, not used any more.
19633 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
19634 (byte-compile-make-args-desc): New funs.
19635 (byte-compile-lambda): Handle lexical functions. Always return
19636 a byte-code-function.
19637 (byte-compile-reserved-constants): New var, to make up room for
19638 closed-over variables.
19639 (byte-compile-constants-vector): Obey it.
19640 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
19641 (byte-compile-macroexpand-declare-function): New function.
19642 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
19643 byte-code-functions.
19644 (byte-compile-form): Check obsolescence here.
19645 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
19646 (byte-compile-variable-ref): Remove.
19647 (byte-compile-dynamic-variable-op): New fun.
19648 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19649 (byte-compile-variable-set): New funs.
19650 (byte-compile-discard): Add 2 args.
19651 (byte-compile-stack-ref, byte-compile-stack-set)
19652 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
19653 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
19654 macroexpand-all instead.
19655 (byte-compile-quote-form): Remove.
19656 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
19657 (byte-compile-bind, byte-compile-unbind): New funs.
19658 (byte-compile-let): Handle let* and lexical binding.
19659 (byte-compile-let*): Remove.
19660 (byte-compile-catch, byte-compile-unwind-protect)
19661 (byte-compile-track-mouse, byte-compile-condition-case):
19662 Handle a new :fun-body form, used for lexical scoping.
19663 (byte-compile-save-window-excursion)
19664 (byte-compile-with-output-to-temp-buffer): Remove.
19665 (byte-compile-defun): Simplify.
19666 (byte-compile-stack-adjustment): New fun.
19667 (byte-compile-out): Use it.
19668 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
19669
19670 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
19671 handler any more.
19672
19673 * emacs-lisp/byte-opt.el: Use lexical binding.
19674 (byte-inline-lapcode): Remove (to bytecomp).
19675 (byte-compile-inline-expand): Pay attention to inlining to/from
19676 lexically bound code.
19677 (byte-compile-unfold-lambda): Don't handle byte-code-functions
19678 any more.
19679 (byte-optimize-form-code-walker): Don't handle save-window-excursion
19680 any more and don't call compiler-macros.
19681 (byte-compile-splice-in-already-compiled-code): Remove.
19682 (byte-code): Don't inline any more.
19683 (disassemble-offset): Receive `bytes' as argument rather than via
19684 dynamic scoping.
19685 (byte-compile-tag-number): Declare before first use.
19686 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
19687 `return' even if make-spliceable.
19688 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
19689 obsolete interactive-p.
19690 (byte-optimize-lapcode): Optimize new lap-codes.
19691 Don't trip up on new form of `byte-constant' lap code.
19692
19693 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
19694
19695 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
19696
19697 * custom.el (custom-initialize-default, custom-declare-variable):
19698 Use `defvar'.
19699
19700 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
19701 New variables.
19702 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
19703 (COMPILE_FIRST): Add macroexp and cconv.
19704 * makefile.w32-in: Mirror changes in Makefile.in.
19705
19706 * vc/cvs-status.el:
19707 * vc/diff-mode.el:
19708 * vc/log-edit.el:
19709 * vc/log-view.el:
19710 * vc/smerge-mode.el:
19711 * textmodes/bibtex-style.el:
19712 * textmodes/css-mode.el:
19713 * startup.el:
19714 * uniquify.el:
19715 * minibuffer.el:
19716 * newcomment.el:
19717 * reveal.el:
19718 * server.el:
19719 * mpc.el:
19720 * emacs-lisp/smie.el:
19721 * doc-view.el:
19722 * dired.el:
19723 * abbrev.el: Use lexical binding.
19724
19725 2011-04-01 Eli Zaretskii <eliz@gnu.org>
19726
19727 * info.el (info-display-manual): New function.
19728
19729 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
19730
19731 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
19732
19733 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
19734
19735 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
19736 an entry for that server in rcirc-authinfo. (Bug#8385)
19737
19738 2011-03-31 Glenn Morris <rgm@gnu.org>
19739
19740 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
19741
19742 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
19743
19744 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
19745
19746 * progmodes/python.el (python-default-interpreter)
19747 (python-python-command-args, python-jython-command-args)
19748 (python-which-shell, python-which-args, python-which-bufname)
19749 (python-file-queue, python-comint-output-filter-function)
19750 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
19751 variables and functions.
19752
19753 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
19754
19755 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
19756 (completion-in-region-mode): New minor mode.
19757 (completion-in-region): Use it.
19758 (completion-in-region--data, completion-in-region-mode-map): New vars.
19759 (completion-in-region--postch): New function.
19760 (completion--capf-misbehave-funs, completion--capf-safe-funs):
19761 New vars.
19762 (completion--capf-wrapper): New function.
19763 (completion-at-point): Use it to track well-behavedness of
19764 hook functions.
19765 (completion-help-at-point): New command.
19766
19767 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
19768
19769 * vc/add-log.el (add-change-log-entry): Don't use whitespace
19770 syntax class to search for whitespace on a single line
19771 (Message-ID: <4D938140.4030905@redhat.com>).
19772
19773 2011-03-30 Leo Liu <sdl.web@gmail.com>
19774
19775 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
19776 New commands.
19777 (edit-abbrevs-map): Bind them here.
19778 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
19779
19780 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
19781
19782 * allout.el (allout-hide-by-annotation, allout-flag-region):
19783 Reduce possibility of overlay leakage by making them volatile.
19784
19785 * allout-widgets.el (allout-widgets-tally): Define as nil so the
19786 hash is not shared between buffers. Mode initialization is
19787 responsible for giving it a useful starting value.
19788 (allout-item-span): Reduce possibility of overlay leakage by
19789 making them volatile.
19790 (allout-widgets-count-buttons-in-region): Add diagnostic function
19791 for tracking down button overlay leaks.
19792
19793 2011-03-29 Leo Liu <sdl.web@gmail.com>
19794
19795 * ido.el (ido-read-internal): Use the default history var
19796 minibuffer-history if no HISTORY is specified.
19797
19798 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
19799
19800 * net/imap.el (imap-shell-open, imap-process-connection-type):
19801 Use imap-process-connection-type for 'shell' streams as well as
19802 Kerberos, SSL, other subprocesses.
19803
19804 2011-03-28 Leo Liu <sdl.web@gmail.com>
19805
19806 * abbrev.el (abbrev-table-empty-p): New function.
19807 (prepare-abbrev-list-buffer): Place empty abbrev tables after
19808 nonempty ones. (Bug#5937)
19809
19810 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
19811
19812 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
19813
19814 2011-03-27 Leo Liu <sdl.web@gmail.com>
19815
19816 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
19817 for foreground and background colors.
19818 (ansi-color-make-color-map): Adapt.
19819
19820 2011-03-25 Leo Liu <sdl.web@gmail.com>
19821
19822 * midnight.el (midnight-time-float): Remove. Note it calculates
19823 the microsecond component incorrectly and seconds-to-time does the
19824 same job.
19825 Remove redundant (require 'timer).
19826
19827 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
19828 (ido-completions): Remove unused arguments. (Bug#8329)
19829
19830 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
19831
19832 * minibuffer.el (completion--flush-all-sorted-completions):
19833 Remove itself from hook.
19834 (completion-at-point): Let the functions perform the completion
19835 immediately and return nil or t.
19836 * comint.el (comint-dynamic-complete-functions): Now identical to
19837 completion-at-point-functions.
19838 (comint-dynamic-list-input-ring): Remove unused var `index'.
19839 (comint--match-partial-filename, comint--unquote&expand-filename):
19840 New funs, split from comint-match-partial-filename.
19841 (comint-dynamic-complete): Use completion-at-point.
19842 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
19843
19844 2011-03-24 Drew Adams <drew.adams@oracle.com>
19845
19846 * thingatpt.el: Support `defun'.
19847
19848 2011-03-23 Leo Liu <sdl.web@gmail.com>
19849
19850 * abbrevlist.el: Move to obsolete/abbrevlist.el.
19851
19852 * help-mode.el (help-mode-finish): Tweak regexp.
19853
19854 2011-03-23 Glenn Morris <rgm@gnu.org>
19855
19856 * eshell/esh-opt.el (eshell-eval-using-options):
19857 Do not bind unused local variable `eshell-option-stub'.
19858
19859 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
19860
19861 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
19862
19863 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
19864 keymap variable in `with-no-warnings' to avoid a warning when the
19865 keymap has been already `defconst'ed.
19866
19867 2011-03-22 Leo Liu <sdl.web@gmail.com>
19868
19869 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
19870 encode all chars in abbrevs; otherwise use emacs-mule or
19871 utf-8-emacs. (Bug#8308)
19872
19873 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
19874
19875 * simple.el (backward-delete-char-untabify):
19876 Avoid warning about using `delete-backward-char'.
19877
19878 * image.el (image-type-file-name-regexps): Make it variable.
19879 `imagemagick-register-types' modifies it, and the user may want
19880 to add new extensions for known image types.
19881 (imagemagick-register-types): Throw error if not using ImageMagick.
19882
19883 2011-03-22 Leo Liu <sdl.web@gmail.com>
19884
19885 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
19886 located before rcirc-prompt-end-marker.
19887 (rcirc-complete): Error if point is not after rcirc prompt.
19888 Handle the case when table is nil.
19889 (rcirc-user-authenticated): Define to fix compiler warning.
19890
19891 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
19892
19893 * custom.el (custom--inhibit-theme-enable): Make it affect only
19894 custom-theme-set-variables and custom-theme-set-faces.
19895 (provide-theme): Ignore custom--inhibit-theme-enable.
19896 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
19897 (custom-enabling-themes): Delete variable.
19898 (enable-theme): Accept only loaded themes as arguments.
19899 Ignore the special custom-enabled-themes variable.
19900 (custom-enabled-themes): Forbid themes from setting this.
19901 Eliminate use of custom-enabling-themes.
19902 (custom-push-theme): Quote "changed" custom var entry.
19903
19904 2011-03-21 Leo Liu <sdl.web@gmail.com>
19905
19906 * ido.el (ido-read-internal): Add ido-selected to history instead
19907 of user input.
19908
19909 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
19910
19911 * subr.el (deferred-action-list, deferred-action-function):
19912 Mark obsolete.
19913
19914 2011-03-21 Leo Liu <sdl.web@gmail.com>
19915
19916 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
19917 change on 2011-02-13 (bug#8309).
19918
19919 * minibuffer.el (read-file-name-function): Change default value.
19920 (read-file-name--defaults): Rename from read-file-name-defaults.
19921 (read-file-name-default): Rename from read-file-name.
19922 (read-file-name): Call read-file-name-function.
19923
19924 2011-03-21 Glenn Morris <rgm@gnu.org>
19925
19926 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
19927 Doc fixes.
19928
19929 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
19930
19931 * cus-theme.el: Add missing provide statement.
19932 (customize-create-theme): Extract theme value correctly.
19933 (custom-theme-visit-theme): Autoload.
19934 (customize-create-theme): Prompt before inserting default faces.
19935
19936 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
19937
19938 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
19939 units and musical notes.
19940
19941 2011-03-20 Leo Liu <sdl.web@gmail.com>
19942
19943 * ido.el (ido-read-internal): Use completing-read-default.
19944 (ido-completing-read): Fix compatibility with completing-read.
19945
19946 2011-03-20 Christian Ohler <ohler@gnu.org>
19947
19948 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
19949 (ert-delete-all-tests): Use `called-interactively-p' rather than
19950 `interactive-p'.
19951 (ert--make-xrefs-region): Respect END.
19952
19953 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
19954
19955 * dired-aux.el (dired-create-directory): Signal an error if the
19956 directory already exists (Bug#8246).
19957
19958 * facemenu.el (list-colors-display): Call list-faces-display
19959 inside with-help-window.
19960 (list-colors-print): Use display property to align the final
19961 column, instead of checking window-width.
19962
19963 2011-03-19 Eli Zaretskii <eliz@gnu.org>
19964
19965 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
19966 windows-nt systems.
19967 (emerge-protect-metachars): Quote correctly for ms-dos and
19968 windows-nt systems.
19969
19970 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
19971
19972 * info.el (info-initialize): Replace all uses of `:' with
19973 path-separator for compatibility with non-Unix systems.
19974 Cache quoting of path-separator. (Bug#8258)
19975
19976 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
19977
19978 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
19979 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
19980 (mouse-avoidance-mode): Fix typos in docstrings.
19981
19982 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
19983
19984 * startup.el (package-subdirectory-regexp): Move from package.el.
19985 Omit \\` and \\', and let callers add them.
19986
19987 * emacs-lisp/package.el (package-strip-version)
19988 (package-load-all-descriptors): Add \\` and \\' to
19989 package-subdirectory-regexp before using it.
19990 (package-untar-buffer): New arg DIR; ensure that file untars only
19991 into this expected directory. Remove superfluous delete-region.
19992 (package-unpack): Caller changed.
19993 (package-tar-file-info): Use package-subdirectory-regexp.
19994
19995 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
19996
19997 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
19998 diff-mode-shared-map (bug#8284).
19999 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
20000
20001 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20002
20003 * calendar/time-date.el (format-seconds): Use assoc instead of
20004 assoc-string, since assoc-string doesn't exist in XEmacs.
20005
20006 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
20007
20008 * custom.el (custom-known-themes): Reflow docstring.
20009 (custom-theme-load-path): Fix typo in docstring.
20010 (load-theme): Fix typo in error message.
20011 (custom-available-themes, custom-variable-theme-value):
20012 Use `let', not `let*'.
20013
20014 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20015
20016 * calc/README: Mention inclusion of musical notes.
20017
20018 * calc/calc-units.el (calc-lu-quant): Rename from
20019 `calc-logunits-quantity'.
20020 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20021 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20022 (calc-db): Rename from `calc-dblevel'.
20023 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20024 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20025 (calc-np): Rename from `calc-nplevel'.
20026 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20027 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20028 (calc-lu-plus): Rename from `calc-logunits-add'.
20029 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20030 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20031 (calc-lu-minus): Rename from `calc-logunits-sub'.
20032 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20033 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20034 (calc-lu-times): Rename from `calc-logunits-mul'.
20035 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20036 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20037 (calc-lu-divide): Rename from `calc-logunits-div'.
20038 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20039 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20040
20041 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20042 functions being autoloaded.
20043
20044 * calc/calc.el (calc-lu-power-reference): Rename from
20045 `calc-logunits-power-reference'.
20046 (calc-lu-field-reference): Rename from
20047 `calc-logunits-field-reference'.
20048
20049 * calc/calc-help.el (calc-l-prefix-help):
20050 Mention musical note functions.
20051
20052 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20053
20054 * minibuffer.el (completion-all-sorted-completions):
20055 Use :completion-cycle-penalty text property if present.
20056
20057 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20058
20059 * allout.el (allout-yank-processing): Adjust for new rebulleting
20060 regime so bullet being yanked is used without prompting the user
20061 for a choice.
20062
20063 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
20064
20065 * startup.el (command-line): Warn the user that _emacs is deprecated.
20066
20067 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
20068
20069 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20070 (delphi-verbose, delphi-comment-face, delphi-string-face)
20071 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20072 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20073 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20074 (delphi-new-comment-line, delphi-font-lock-defaults)
20075 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20076 Fix typos in docstrings.
20077
20078 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20079
20080 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
20081 Invert the roles of character and string values for INSTEAD, so a
20082 string is used for the more common case of a defaulting prompt.
20083
20084 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20085
20086 * progmodes/ruby-mode.el (ruby-backward-sexp):
20087 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20088 * play/gamegrid.el (gamegrid-make-face):
20089 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20090 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20091 * notifications.el (notifications-notify):
20092 * net/xesam.el (xesam-search-engines):
20093 * net/quickurl.el (quickurl-list-insert):
20094 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20095
20096 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
20097
20098 * startup.el (command-line): Update package subdirectory regexp.
20099
20100 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20101
20102 * allout.el (allout-abbreviate-flattened-numbering)
20103 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20104
20105 * subr.el (read-char-choice): Only show the cursor after the prompt,
20106 not after the answer.
20107
20108 2011-03-15 Kevin Ryde <user42@zip.com.au>
20109
20110 * help-fns.el (variable-at-point): Skip leading quotes, if any
20111 (bug#8253).
20112
20113 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20114
20115 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20116 warning message.
20117
20118 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
20119
20120 * shell.el (shell): When called interactively, offer to change the
20121 shell file name on remote hosts.
20122
20123 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20124
20125 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20126 integration for LDAP parameters. The host, base, user or binddn,
20127 and secret tokens can be specified in a netrc file, for instance.
20128 This is optional because an `auth-source' parameter must be
20129 specified in the search attributes.
20130
20131 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
20132
20133 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20134
20135 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20136
20137 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20138 into declaration. Remove redundant and harmful binding.
20139
20140 2011-03-12 Eli Zaretskii <eliz@gnu.org>
20141
20142 * files.el (file-ownership-preserved-p): Pass `integer' as an
20143 explicit 2nd argument to `file-attributes'. If the file's owner
20144 is the Administrators group on Windows, and the current user is
20145 Administrator, consider that a match.
20146
20147 * server.el (server-ensure-safe-dir): Consider server directory
20148 safe on MS-Windows if its owner is the Administrators group while
20149 the current Emacs user is Administrator. Use `=' to compare
20150 numerical UIDs, since they could be integers or floats.
20151
20152 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
20153
20154 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20155
20156 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
20157
20158 Sync with Tramp 2.2.1.
20159
20160 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20161
20162 * net/trampver.el: Update release number.
20163
20164 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20165
20166 * progmodes/compile.el (compilation--previous-directory): Fix up
20167 various nil/dead-marker mismatches (bug#8014).
20168 (compilation-directory-properties, compilation-error-properties):
20169 Don't call it at a position past the one we're about to change.
20170
20171 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20172 Disable obsolescence warnings in the file that declares it.
20173
20174 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20175
20176 * allout-widgets.el (allout-widgets-tally):
20177 Initialize allout-widgets-tally as a hash table rather than nil to
20178 prevent mode-line redisplay warnings. Also, clarify the module
20179 description and fix a comment typo.
20180
20181 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
20182
20183 * help-fns.el (describe-variable): Don't complete keywords.
20184 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20185
20186 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
20187
20188 * emacs-lisp/package.el (package-version-join): Impose a standard
20189 string representation for pre/alpha/beta version lists.
20190 (package-unpack-single): Standardize the directory name by passing
20191 it through package-version-join.
20192 (package-strip-rcs-id): Accept any version string that does not
20193 signal an error in version-to-list.
20194
20195 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
20196
20197 * simple.el (delete-trailing-whitespace): Return nil for the
20198 benefit of `write-file-functions'.
20199
20200 2011-03-10 Glenn Morris <rgm@gnu.org>
20201
20202 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20203
20204 * vc/vc-git.el (vc-git-program): New option.
20205 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20206 (vc-git--call): Use it.
20207
20208 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20209
20210 * cus-edit.el (Custom-newline): If no button at point, look
20211 for a subgroup button at start-of-line. (Bug#2298)
20212
20213 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20214
20215 2011-03-10 Julien Danjou <julien@danjou.info>
20216
20217 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20218 `cursor-type' is nil.
20219
20220 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20221
20222 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20223
20224 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20225
20226 * allout.el: Change so yank of distinctive-bullet items
20227 preserves the existing header prefix, rebulleting it if necessary,
20228 rather than replacing it. This is necessary for proper operation
20229 of cooperative addons like allout-widgets.
20230 (allout-make-topic-prefix, allout-rebullet-heading):
20231 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20232 value as alternate bullet to be used, instead of prompting the user
20233 for a bullet character.
20234
20235 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
20236
20237 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20238 Do not use `tramp-file-name-port', because this returns also
20239 `tramp-default-port'.
20240
20241 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20242
20243 * net/rcirc.el (rcirc-handler-001): Remove useless
20244 with-rcirc-process-buffer.
20245 (rcirc-check-auth-status): Swap arguments to string-match.
20246
20247 2011-03-09 Glenn Morris <rgm@gnu.org>
20248
20249 * shell.el (shell-mode):
20250 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20251
20252 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20253 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20254
20255 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
20256
20257 * emacs-lisp/package.el (package-refresh-contents)
20258 (package-menu-execute): Use condition-case-no-debug.
20259
20260 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
20261
20262 * simple.el (shell-command-to-string): Use `process-file'.
20263
20264 * emacs-lisp/package.el (package-tar-file-info): Handle also
20265 remote files.
20266
20267 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20268 Use `equal' for upload base check.
20269
20270 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20271
20272 * textmodes/texinfo.el (texinfo-environments):
20273 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20274
20275 2011-03-08 Glenn Morris <rgm@gnu.org>
20276
20277 * cus-start.el (cursor-in-non-selected-windows):
20278 Fix :set quoting oddness. (Bug#8192)
20279
20280 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20281 in some setf expressions. (Bug#2159)
20282
20283 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
20284
20285 * custom.el (custom-available-themes): Return themes in
20286 alphabetical order.
20287
20288 See ChangeLog.15 for earlier changes.
20289
20290 ;; Local Variables:
20291 ;; coding: utf-8
20292 ;; End:
20293
20294 Copyright (C) 2011-2012 Free Software Foundation, Inc.
20295
20296 This file is part of GNU Emacs.
20297
20298 GNU Emacs is free software: you can redistribute it and/or modify
20299 it under the terms of the GNU General Public License as published by
20300 the Free Software Foundation, either version 3 of the License, or
20301 (at your option) any later version.
20302
20303 GNU Emacs is distributed in the hope that it will be useful,
20304 but WITHOUT ANY WARRANTY; without even the implied warranty of
20305 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20306 GNU General Public License for more details.
20307
20308 You should have received a copy of the GNU General Public License
20309 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.